2016-01-15 Steve Ellcey <sellcey@imgtec.com>
[official-gcc.git] / libstdc++-v3 / configure
blob38f14f6729ebfd76816ebf34d301eecc65ea0035
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") || (\$ 2 == "L")) && (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") || (\$ 2 == "L")) && (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*)
15835 enable_clocale_flag=darwin
15837 dragonfly* | freebsd*)
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" >&5
15969 $as_echo "darwin" >&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 or freebsd" >&5
15987 $as_echo "dragonfly or freebsd" >&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
16545 ac_ext=cpp
16546 ac_cpp='$CXXCPP $CPPFLAGS'
16547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16552 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16553 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16554 # to be spuriously enabled.
16555 ac_save_CXXFLAGS="$CXXFLAGS"
16556 CXXFLAGS="$CXXFLAGS -std=c++98"
16557 ac_save_LIBS="$LIBS"
16558 ac_save_gcc_no_link="$gcc_no_link"
16560 if test x$gcc_no_link != xyes; then
16561 # Use -fno-exceptions to that the C driver can link these tests without
16562 # hitting undefined references to personality routines.
16563 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16565 $as_echo_n "checking for sin in -lm... " >&6; }
16566 if test "${ac_cv_lib_m_sin+set}" = set; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 ac_check_lib_save_LIBS=$LIBS
16570 LIBS="-lm $LIBS"
16571 if test x$gcc_no_link = xyes; then
16572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16577 /* Override any GCC internal prototype to avoid an error.
16578 Use char because int might match the return type of a GCC
16579 builtin and then its argument prototype would still apply. */
16580 #ifdef __cplusplus
16581 extern "C"
16582 #endif
16583 char sin ();
16585 main ()
16587 return sin ();
16589 return 0;
16591 _ACEOF
16592 if ac_fn_cxx_try_link "$LINENO"; then :
16593 ac_cv_lib_m_sin=yes
16594 else
16595 ac_cv_lib_m_sin=no
16597 rm -f core conftest.err conftest.$ac_objext \
16598 conftest$ac_exeext conftest.$ac_ext
16599 LIBS=$ac_check_lib_save_LIBS
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16602 $as_echo "$ac_cv_lib_m_sin" >&6; }
16603 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16604 LIBS="$LIBS -lm"
16605 else
16607 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16608 gcc_no_link=yes
16614 # Check for the existence of <math.h> functions used if C99 is enabled.
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16616 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16617 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16618 $as_echo_n "(cached) " >&6
16619 else
16621 if test x$gcc_no_link = xyes; then
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #include <math.h>
16625 volatile double d1, d2;
16626 volatile int i;
16628 main ()
16630 i = fpclassify(d1);
16631 i = isfinite(d1);
16632 i = isinf(d1);
16633 i = isnan(d1);
16634 i = isnormal(d1);
16635 i = signbit(d1);
16636 i = isgreater(d1, d2);
16637 i = isgreaterequal(d1, d2);
16638 i = isless(d1, d2);
16639 i = islessequal(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = islessgreater(d1, d2);
16642 i = isunordered(d1, d2);
16645 return 0;
16647 _ACEOF
16648 if ac_fn_cxx_try_compile "$LINENO"; then :
16649 glibcxx_cv_c99_math_cxx98=yes
16650 else
16651 glibcxx_cv_c99_math_cxx98=no
16653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16654 else
16655 if test x$gcc_no_link = xyes; then
16656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <math.h>
16661 volatile double d1, d2;
16662 volatile int i;
16664 main ()
16666 i = fpclassify(d1);
16667 i = isfinite(d1);
16668 i = isinf(d1);
16669 i = isnan(d1);
16670 i = isnormal(d1);
16671 i = signbit(d1);
16672 i = isgreater(d1, d2);
16673 i = isgreaterequal(d1, d2);
16674 i = isless(d1, d2);
16675 i = islessequal(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = islessgreater(d1, d2);
16678 i = isunordered(d1, d2);
16681 return 0;
16683 _ACEOF
16684 if ac_fn_cxx_try_link "$LINENO"; then :
16685 glibcxx_cv_c99_math_cxx98=yes
16686 else
16687 glibcxx_cv_c99_math_cxx98=no
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16696 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16697 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16699 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16703 # Check for the existence of <complex.h> complex math functions.
16704 # This is necessary even though libstdc++ uses the builtin versions
16705 # of these functions, because if the builtin cannot be used, a reference
16706 # to the library function is emitted.
16707 for ac_header in tgmath.h
16708 do :
16709 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define HAVE_TGMATH_H 1
16713 _ACEOF
16714 ac_has_tgmath_h=yes
16715 else
16716 ac_has_tgmath_h=no
16719 done
16721 for ac_header in complex.h
16722 do :
16723 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16724 if test "x$ac_cv_header_complex_h" = x""yes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_COMPLEX_H 1
16727 _ACEOF
16728 ac_has_complex_h=yes
16729 else
16730 ac_has_complex_h=no
16733 done
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16738 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16739 $as_echo_n "(cached) " >&6
16740 else
16742 if test x$gcc_no_link = xyes; then
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <complex.h>
16746 typedef __complex__ float float_type;
16747 typedef __complex__ double double_type;
16748 typedef __complex__ long double ld_type;
16749 volatile float_type tmpf;
16750 volatile double_type tmpd;
16751 volatile ld_type tmpld;
16752 volatile float f;
16753 volatile double d;
16754 volatile long double ld;
16756 main ()
16758 f = cabsf(tmpf);
16759 f = cargf(tmpf);
16760 tmpf = ccosf(tmpf);
16761 tmpf = ccoshf(tmpf);
16762 tmpf = cexpf(tmpf);
16763 tmpf = clogf(tmpf);
16764 tmpf = csinf(tmpf);
16765 tmpf = csinhf(tmpf);
16766 tmpf = csqrtf(tmpf);
16767 tmpf = ctanf(tmpf);
16768 tmpf = ctanhf(tmpf);
16769 tmpf = cpowf(tmpf, tmpf);
16770 tmpf = cprojf(tmpf);
16771 d = cabs(tmpd);
16772 d = carg(tmpd);
16773 tmpd = ccos(tmpd);
16774 tmpd = ccosh(tmpd);
16775 tmpd = cexp(tmpd);
16776 tmpd = clog(tmpd);
16777 tmpd = csin(tmpd);
16778 tmpd = csinh(tmpd);
16779 tmpd = csqrt(tmpd);
16780 tmpd = ctan(tmpd);
16781 tmpd = ctanh(tmpd);
16782 tmpd = cpow(tmpd, tmpd);
16783 tmpd = cproj(tmpd);
16784 ld = cabsl(tmpld);
16785 ld = cargl(tmpld);
16786 tmpld = ccosl(tmpld);
16787 tmpld = ccoshl(tmpld);
16788 tmpld = cexpl(tmpld);
16789 tmpld = clogl(tmpld);
16790 tmpld = csinl(tmpld);
16791 tmpld = csinhl(tmpld);
16792 tmpld = csqrtl(tmpld);
16793 tmpld = ctanl(tmpld);
16794 tmpld = ctanhl(tmpld);
16795 tmpld = cpowl(tmpld, tmpld);
16796 tmpld = cprojl(tmpld);
16799 return 0;
16801 _ACEOF
16802 if ac_fn_cxx_try_compile "$LINENO"; then :
16803 glibcxx_cv_c99_complex_cxx98=yes
16804 else
16805 glibcxx_cv_c99_complex_cxx98=no
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 else
16809 if test x$gcc_no_link = xyes; then
16810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <complex.h>
16815 typedef __complex__ float float_type;
16816 typedef __complex__ double double_type;
16817 typedef __complex__ long double ld_type;
16818 volatile float_type tmpf;
16819 volatile double_type tmpd;
16820 volatile ld_type tmpld;
16821 volatile float f;
16822 volatile double d;
16823 volatile long double ld;
16825 main ()
16827 f = cabsf(tmpf);
16828 f = cargf(tmpf);
16829 tmpf = ccosf(tmpf);
16830 tmpf = ccoshf(tmpf);
16831 tmpf = cexpf(tmpf);
16832 tmpf = clogf(tmpf);
16833 tmpf = csinf(tmpf);
16834 tmpf = csinhf(tmpf);
16835 tmpf = csqrtf(tmpf);
16836 tmpf = ctanf(tmpf);
16837 tmpf = ctanhf(tmpf);
16838 tmpf = cpowf(tmpf, tmpf);
16839 tmpf = cprojf(tmpf);
16840 d = cabs(tmpd);
16841 d = carg(tmpd);
16842 tmpd = ccos(tmpd);
16843 tmpd = ccosh(tmpd);
16844 tmpd = cexp(tmpd);
16845 tmpd = clog(tmpd);
16846 tmpd = csin(tmpd);
16847 tmpd = csinh(tmpd);
16848 tmpd = csqrt(tmpd);
16849 tmpd = ctan(tmpd);
16850 tmpd = ctanh(tmpd);
16851 tmpd = cpow(tmpd, tmpd);
16852 tmpd = cproj(tmpd);
16853 ld = cabsl(tmpld);
16854 ld = cargl(tmpld);
16855 tmpld = ccosl(tmpld);
16856 tmpld = ccoshl(tmpld);
16857 tmpld = cexpl(tmpld);
16858 tmpld = clogl(tmpld);
16859 tmpld = csinl(tmpld);
16860 tmpld = csinhl(tmpld);
16861 tmpld = csqrtl(tmpld);
16862 tmpld = ctanl(tmpld);
16863 tmpld = ctanhl(tmpld);
16864 tmpld = cpowl(tmpld, tmpld);
16865 tmpld = cprojl(tmpld);
16868 return 0;
16870 _ACEOF
16871 if ac_fn_cxx_try_link "$LINENO"; then :
16872 glibcxx_cv_c99_complex_cxx98=yes
16873 else
16874 glibcxx_cv_c99_complex_cxx98=no
16876 rm -f core conftest.err conftest.$ac_objext \
16877 conftest$ac_exeext conftest.$ac_ext
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16884 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16885 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16887 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16891 # Check for the existence in <stdio.h> of vscanf, et. al.
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16893 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16894 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16898 if test x$gcc_no_link = xyes; then
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #include <stdio.h>
16902 #include <stdarg.h>
16903 void foo(char* fmt, ...)
16905 va_list args; va_start(args, fmt);
16906 vfscanf(stderr, "%i", args);
16907 vscanf("%i", args);
16908 vsnprintf(fmt, 0, "%i", args);
16909 vsscanf(fmt, "%i", args);
16910 snprintf(fmt, 0, "%i");
16913 main ()
16917 return 0;
16919 _ACEOF
16920 if ac_fn_cxx_try_compile "$LINENO"; then :
16921 glibcxx_cv_c99_stdio_cxx98=yes
16922 else
16923 glibcxx_cv_c99_stdio_cxx98=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 else
16927 if test x$gcc_no_link = xyes; then
16928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16932 #include <stdio.h>
16933 #include <stdarg.h>
16934 void foo(char* fmt, ...)
16936 va_list args; va_start(args, fmt);
16937 vfscanf(stderr, "%i", args);
16938 vscanf("%i", args);
16939 vsnprintf(fmt, 0, "%i", args);
16940 vsscanf(fmt, "%i", args);
16941 snprintf(fmt, 0, "%i");
16944 main ()
16948 return 0;
16950 _ACEOF
16951 if ac_fn_cxx_try_link "$LINENO"; then :
16952 glibcxx_cv_c99_stdio_cxx98=yes
16953 else
16954 glibcxx_cv_c99_stdio_cxx98=no
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext conftest.$ac_ext
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16963 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16964 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16966 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16970 # Check for the existence in <wchar.h> of wcstold, etc.
16971 if test x"$ac_has_wchar_h" = xyes &&
16972 test x"$ac_has_wctype_h" = xyes; then
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
16974 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
16975 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <wchar.h>
16982 namespace test
16984 using ::wcstold;
16985 using ::wcstoll;
16986 using ::wcstoull;
16990 main ()
16994 return 0;
16996 _ACEOF
16997 if ac_fn_cxx_try_compile "$LINENO"; then :
16998 glibcxx_cv_c99_wchar_cxx98=yes
16999 else
17000 glibcxx_cv_c99_wchar_cxx98=no
17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 # Checks for wide character functions that may not be present.
17008 # Injection of these is wrapped with guard macros.
17009 # NB: only put functions here, instead of immediately above, if
17010 # absolutely necessary.
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #include <wchar.h>
17014 namespace test { using ::vfwscanf; }
17016 main ()
17020 return 0;
17022 _ACEOF
17023 if ac_fn_cxx_try_compile "$LINENO"; then :
17025 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <wchar.h>
17033 namespace test { using ::vswscanf; }
17035 main ()
17039 return 0;
17041 _ACEOF
17042 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 #include <wchar.h>
17052 namespace test { using ::vwscanf; }
17054 main ()
17058 return 0;
17060 _ACEOF
17061 if ac_fn_cxx_try_compile "$LINENO"; then :
17063 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #include <wchar.h>
17071 namespace test { using ::wcstof; }
17073 main ()
17077 return 0;
17079 _ACEOF
17080 if ac_fn_cxx_try_compile "$LINENO"; then :
17082 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <wctype.h>
17091 main ()
17093 wint_t t; int i = iswblank(t);
17095 return 0;
17097 _ACEOF
17098 if ac_fn_cxx_try_compile "$LINENO"; then :
17100 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17106 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17107 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17109 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17114 # Option parsed, now set things appropriately.
17115 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17116 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17117 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17118 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17119 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17120 enable_c99=no;
17121 else
17123 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17127 gcc_no_link="$ac_save_gcc_no_link"
17128 LIBS="$ac_save_LIBS"
17129 CXXFLAGS="$ac_save_CXXFLAGS"
17130 ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17138 ac_ext=cpp
17139 ac_cpp='$CXXCPP $CPPFLAGS'
17140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17145 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17146 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17147 ac_save_CXXFLAGS="$CXXFLAGS"
17148 CXXFLAGS="$CXXFLAGS -std=c++11"
17149 ac_save_LIBS="$LIBS"
17150 ac_save_gcc_no_link="$gcc_no_link"
17152 if test x$gcc_no_link != xyes; then
17153 # Use -fno-exceptions to that the C driver can link these tests without
17154 # hitting undefined references to personality routines.
17155 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17157 $as_echo_n "checking for sin in -lm... " >&6; }
17158 if test "${ac_cv_lib_m_sin+set}" = set; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_check_lib_save_LIBS=$LIBS
17162 LIBS="-lm $LIBS"
17163 if test x$gcc_no_link = xyes; then
17164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17169 /* Override any GCC internal prototype to avoid an error.
17170 Use char because int might match the return type of a GCC
17171 builtin and then its argument prototype would still apply. */
17172 #ifdef __cplusplus
17173 extern "C"
17174 #endif
17175 char sin ();
17177 main ()
17179 return sin ();
17181 return 0;
17183 _ACEOF
17184 if ac_fn_cxx_try_link "$LINENO"; then :
17185 ac_cv_lib_m_sin=yes
17186 else
17187 ac_cv_lib_m_sin=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 LIBS=$ac_check_lib_save_LIBS
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17194 $as_echo "$ac_cv_lib_m_sin" >&6; }
17195 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17196 LIBS="$LIBS -lm"
17197 else
17199 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17200 gcc_no_link=yes
17206 # Check for the existence of <math.h> functions used if C99 is enabled.
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17208 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17209 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17213 if test x$gcc_no_link = xyes; then
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 #include <math.h>
17217 volatile double d1, d2;
17218 volatile int i;
17220 main ()
17222 i = fpclassify(d1);
17223 i = isfinite(d1);
17224 i = isinf(d1);
17225 i = isnan(d1);
17226 i = isnormal(d1);
17227 i = signbit(d1);
17228 i = isgreater(d1, d2);
17229 i = isgreaterequal(d1, d2);
17230 i = isless(d1, d2);
17231 i = islessequal(d1, d2);
17232 i = islessgreater(d1, d2);
17233 i = islessgreater(d1, d2);
17234 i = isunordered(d1, d2);
17237 return 0;
17239 _ACEOF
17240 if ac_fn_cxx_try_compile "$LINENO"; then :
17241 glibcxx_cv_c99_math_cxx11=yes
17242 else
17243 glibcxx_cv_c99_math_cxx11=no
17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246 else
17247 if test x$gcc_no_link = xyes; then
17248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252 #include <math.h>
17253 volatile double d1, d2;
17254 volatile int i;
17256 main ()
17258 i = fpclassify(d1);
17259 i = isfinite(d1);
17260 i = isinf(d1);
17261 i = isnan(d1);
17262 i = isnormal(d1);
17263 i = signbit(d1);
17264 i = isgreater(d1, d2);
17265 i = isgreaterequal(d1, d2);
17266 i = isless(d1, d2);
17267 i = islessequal(d1, d2);
17268 i = islessgreater(d1, d2);
17269 i = islessgreater(d1, d2);
17270 i = isunordered(d1, d2);
17273 return 0;
17275 _ACEOF
17276 if ac_fn_cxx_try_link "$LINENO"; then :
17277 glibcxx_cv_c99_math_cxx11=yes
17278 else
17279 glibcxx_cv_c99_math_cxx11=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17288 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17289 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17291 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17295 # Check for the existence of <complex.h> complex math functions.
17296 # This is necessary even though libstdc++ uses the builtin versions
17297 # of these functions, because if the builtin cannot be used, a reference
17298 # to the library function is emitted.
17299 for ac_header in tgmath.h
17300 do :
17301 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17302 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_TGMATH_H 1
17305 _ACEOF
17306 ac_has_tgmath_h=yes
17307 else
17308 ac_has_tgmath_h=no
17311 done
17313 for ac_header in complex.h
17314 do :
17315 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17316 if test "x$ac_cv_header_complex_h" = x""yes; then :
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_COMPLEX_H 1
17319 _ACEOF
17320 ac_has_complex_h=yes
17321 else
17322 ac_has_complex_h=no
17325 done
17327 if test x"$ac_has_complex_h" = x"yes"; then
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17329 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17330 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17334 if test x$gcc_no_link = xyes; then
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 #include <complex.h>
17338 typedef __complex__ float float_type;
17339 typedef __complex__ double double_type;
17340 typedef __complex__ long double ld_type;
17341 volatile float_type tmpf;
17342 volatile double_type tmpd;
17343 volatile ld_type tmpld;
17344 volatile float f;
17345 volatile double d;
17346 volatile long double ld;
17348 main ()
17350 f = cabsf(tmpf);
17351 f = cargf(tmpf);
17352 tmpf = ccosf(tmpf);
17353 tmpf = ccoshf(tmpf);
17354 tmpf = cexpf(tmpf);
17355 tmpf = clogf(tmpf);
17356 tmpf = csinf(tmpf);
17357 tmpf = csinhf(tmpf);
17358 tmpf = csqrtf(tmpf);
17359 tmpf = ctanf(tmpf);
17360 tmpf = ctanhf(tmpf);
17361 tmpf = cpowf(tmpf, tmpf);
17362 tmpf = cprojf(tmpf);
17363 d = cabs(tmpd);
17364 d = carg(tmpd);
17365 tmpd = ccos(tmpd);
17366 tmpd = ccosh(tmpd);
17367 tmpd = cexp(tmpd);
17368 tmpd = clog(tmpd);
17369 tmpd = csin(tmpd);
17370 tmpd = csinh(tmpd);
17371 tmpd = csqrt(tmpd);
17372 tmpd = ctan(tmpd);
17373 tmpd = ctanh(tmpd);
17374 tmpd = cpow(tmpd, tmpd);
17375 tmpd = cproj(tmpd);
17376 ld = cabsl(tmpld);
17377 ld = cargl(tmpld);
17378 tmpld = ccosl(tmpld);
17379 tmpld = ccoshl(tmpld);
17380 tmpld = cexpl(tmpld);
17381 tmpld = clogl(tmpld);
17382 tmpld = csinl(tmpld);
17383 tmpld = csinhl(tmpld);
17384 tmpld = csqrtl(tmpld);
17385 tmpld = ctanl(tmpld);
17386 tmpld = ctanhl(tmpld);
17387 tmpld = cpowl(tmpld, tmpld);
17388 tmpld = cprojl(tmpld);
17391 return 0;
17393 _ACEOF
17394 if ac_fn_cxx_try_compile "$LINENO"; then :
17395 glibcxx_cv_c99_complex_cxx11=yes
17396 else
17397 glibcxx_cv_c99_complex_cxx11=no
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 else
17401 if test x$gcc_no_link = xyes; then
17402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 #include <complex.h>
17407 typedef __complex__ float float_type;
17408 typedef __complex__ double double_type;
17409 typedef __complex__ long double ld_type;
17410 volatile float_type tmpf;
17411 volatile double_type tmpd;
17412 volatile ld_type tmpld;
17413 volatile float f;
17414 volatile double d;
17415 volatile long double ld;
17417 main ()
17419 f = cabsf(tmpf);
17420 f = cargf(tmpf);
17421 tmpf = ccosf(tmpf);
17422 tmpf = ccoshf(tmpf);
17423 tmpf = cexpf(tmpf);
17424 tmpf = clogf(tmpf);
17425 tmpf = csinf(tmpf);
17426 tmpf = csinhf(tmpf);
17427 tmpf = csqrtf(tmpf);
17428 tmpf = ctanf(tmpf);
17429 tmpf = ctanhf(tmpf);
17430 tmpf = cpowf(tmpf, tmpf);
17431 tmpf = cprojf(tmpf);
17432 d = cabs(tmpd);
17433 d = carg(tmpd);
17434 tmpd = ccos(tmpd);
17435 tmpd = ccosh(tmpd);
17436 tmpd = cexp(tmpd);
17437 tmpd = clog(tmpd);
17438 tmpd = csin(tmpd);
17439 tmpd = csinh(tmpd);
17440 tmpd = csqrt(tmpd);
17441 tmpd = ctan(tmpd);
17442 tmpd = ctanh(tmpd);
17443 tmpd = cpow(tmpd, tmpd);
17444 tmpd = cproj(tmpd);
17445 ld = cabsl(tmpld);
17446 ld = cargl(tmpld);
17447 tmpld = ccosl(tmpld);
17448 tmpld = ccoshl(tmpld);
17449 tmpld = cexpl(tmpld);
17450 tmpld = clogl(tmpld);
17451 tmpld = csinl(tmpld);
17452 tmpld = csinhl(tmpld);
17453 tmpld = csqrtl(tmpld);
17454 tmpld = ctanl(tmpld);
17455 tmpld = ctanhl(tmpld);
17456 tmpld = cpowl(tmpld, tmpld);
17457 tmpld = cprojl(tmpld);
17460 return 0;
17462 _ACEOF
17463 if ac_fn_cxx_try_link "$LINENO"; then :
17464 glibcxx_cv_c99_complex_cxx11=yes
17465 else
17466 glibcxx_cv_c99_complex_cxx11=no
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17476 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17477 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17479 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17483 # Check for the existence in <stdio.h> of vscanf, et. al.
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17485 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17486 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17490 if test x$gcc_no_link = xyes; then
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <stdio.h>
17494 #include <stdarg.h>
17495 void foo(char* fmt, ...)
17497 va_list args; va_start(args, fmt);
17498 vfscanf(stderr, "%i", args);
17499 vscanf("%i", args);
17500 vsnprintf(fmt, 0, "%i", args);
17501 vsscanf(fmt, "%i", args);
17502 snprintf(fmt, 0, "%i");
17505 main ()
17509 return 0;
17511 _ACEOF
17512 if ac_fn_cxx_try_compile "$LINENO"; then :
17513 glibcxx_cv_c99_stdio_cxx11=yes
17514 else
17515 glibcxx_cv_c99_stdio_cxx11=no
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 else
17519 if test x$gcc_no_link = xyes; then
17520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17524 #include <stdio.h>
17525 #include <stdarg.h>
17526 void foo(char* fmt, ...)
17528 va_list args; va_start(args, fmt);
17529 vfscanf(stderr, "%i", args);
17530 vscanf("%i", args);
17531 vsnprintf(fmt, 0, "%i", args);
17532 vsscanf(fmt, "%i", args);
17533 snprintf(fmt, 0, "%i");
17536 main ()
17540 return 0;
17542 _ACEOF
17543 if ac_fn_cxx_try_link "$LINENO"; then :
17544 glibcxx_cv_c99_stdio_cxx11=yes
17545 else
17546 glibcxx_cv_c99_stdio_cxx11=no
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext conftest.$ac_ext
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17555 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17556 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17558 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17562 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17564 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17565 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17569 if test x$gcc_no_link = xyes; then
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <stdlib.h>
17573 volatile float f;
17574 volatile long double ld;
17575 volatile unsigned long long ll;
17576 lldiv_t mydivt;
17578 main ()
17580 char* tmp;
17581 f = strtof("gnu", &tmp);
17582 ld = strtold("gnu", &tmp);
17583 ll = strtoll("gnu", &tmp, 10);
17584 ll = strtoull("gnu", &tmp, 10);
17585 ll = llabs(10);
17586 mydivt = lldiv(10,1);
17587 ll = mydivt.quot;
17588 ll = mydivt.rem;
17589 ll = atoll("10");
17590 _Exit(0);
17593 return 0;
17595 _ACEOF
17596 if ac_fn_cxx_try_compile "$LINENO"; then :
17597 glibcxx_cv_c99_stdlib_cxx11=yes
17598 else
17599 glibcxx_cv_c99_stdlib_cxx11=no
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 else
17603 if test x$gcc_no_link = xyes; then
17604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <stdlib.h>
17609 volatile float f;
17610 volatile long double ld;
17611 volatile unsigned long long ll;
17612 lldiv_t mydivt;
17614 main ()
17616 char* tmp;
17617 f = strtof("gnu", &tmp);
17618 ld = strtold("gnu", &tmp);
17619 ll = strtoll("gnu", &tmp, 10);
17620 ll = strtoull("gnu", &tmp, 10);
17621 ll = llabs(10);
17622 mydivt = lldiv(10,1);
17623 ll = mydivt.quot;
17624 ll = mydivt.rem;
17625 ll = atoll("10");
17626 _Exit(0);
17629 return 0;
17631 _ACEOF
17632 if ac_fn_cxx_try_link "$LINENO"; then :
17633 glibcxx_cv_c99_stdlib_cxx11=yes
17634 else
17635 glibcxx_cv_c99_stdlib_cxx11=no
17637 rm -f core conftest.err conftest.$ac_objext \
17638 conftest$ac_exeext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17644 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17645 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17647 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17651 # Check for the existence in <wchar.h> of wcstold, etc.
17652 if test x"$ac_has_wchar_h" = xyes &&
17653 test x"$ac_has_wctype_h" = xyes; then
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17655 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17656 if test "${glibcxx_cv_c99_wchar_cxx11+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 <wchar.h>
17663 namespace test
17665 using ::wcstold;
17666 using ::wcstoll;
17667 using ::wcstoull;
17671 main ()
17675 return 0;
17677 _ACEOF
17678 if ac_fn_cxx_try_compile "$LINENO"; then :
17679 glibcxx_cv_c99_wchar_cxx11=yes
17680 else
17681 glibcxx_cv_c99_wchar_cxx11=no
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 # Checks for wide character functions that may not be present.
17689 # Injection of these is wrapped with guard macros.
17690 # NB: only put functions here, instead of immediately above, if
17691 # absolutely necessary.
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #include <wchar.h>
17695 namespace test { using ::vfwscanf; }
17697 main ()
17701 return 0;
17703 _ACEOF
17704 if ac_fn_cxx_try_compile "$LINENO"; then :
17706 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <wchar.h>
17714 namespace test { using ::vswscanf; }
17716 main ()
17720 return 0;
17722 _ACEOF
17723 if ac_fn_cxx_try_compile "$LINENO"; then :
17725 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 #include <wchar.h>
17733 namespace test { using ::vwscanf; }
17735 main ()
17739 return 0;
17741 _ACEOF
17742 if ac_fn_cxx_try_compile "$LINENO"; then :
17744 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 #include <wchar.h>
17752 namespace test { using ::wcstof; }
17754 main ()
17758 return 0;
17760 _ACEOF
17761 if ac_fn_cxx_try_compile "$LINENO"; then :
17763 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wctype.h>
17772 main ()
17774 wint_t t; int i = iswblank(t);
17776 return 0;
17778 _ACEOF
17779 if ac_fn_cxx_try_compile "$LINENO"; then :
17781 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17787 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17788 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17790 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17795 gcc_no_link="$ac_save_gcc_no_link"
17796 LIBS="$ac_save_LIBS"
17797 CXXFLAGS="$ac_save_CXXFLAGS"
17798 ac_ext=c
17799 ac_cpp='$CPP $CPPFLAGS'
17800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17807 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17809 $as_echo "$enable_c99" >&6; }
17812 # Check whether --enable-concept-checks was given.
17813 if test "${enable_concept_checks+set}" = set; then :
17814 enableval=$enable_concept_checks;
17815 case "$enableval" in
17816 yes|no) ;;
17817 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17818 esac
17820 else
17821 enable_concept_checks=no
17825 if test $enable_concept_checks = yes; then
17827 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17832 # Check whether --enable-libstdcxx-debug-flags was given.
17833 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17834 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17835 xno | x) enable_libstdcxx_debug_flags= ;;
17836 x-*) ;;
17837 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17838 esac
17839 else
17840 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17845 # Option parsed, now set things appropriately
17846 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17850 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17854 $as_echo_n "checking for additional debug build... " >&6; }
17855 # Check whether --enable-libstdcxx-debug was given.
17856 if test "${enable_libstdcxx_debug+set}" = set; then :
17857 enableval=$enable_libstdcxx_debug;
17858 case "$enableval" in
17859 yes|no) ;;
17860 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17861 esac
17863 else
17864 enable_libstdcxx_debug=no
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17869 $as_echo "$enable_libstdcxx_debug" >&6; }
17874 enable_parallel=no;
17876 # See if configured libgomp/omp.h exists. (libgomp may be in
17877 # noconfigdirs but not explicitly disabled.)
17878 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17879 enable_parallel=yes;
17880 else
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17882 $as_echo "$as_me: target-libgomp not built" >&6;}
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17886 $as_echo_n "checking for parallel mode support... " >&6; }
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17888 $as_echo "$enable_parallel" >&6; }
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17891 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17892 # Check whether --enable-cxx-flags was given.
17893 if test "${enable_cxx_flags+set}" = set; then :
17894 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17895 xno | x) enable_cxx_flags= ;;
17896 x-*) ;;
17897 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17898 esac
17899 else
17900 enable_cxx_flags=
17905 # Run through flags (either default or command-line) and set anything
17906 # extra (e.g., #defines) that must accompany particular g++ options.
17907 if test -n "$enable_cxx_flags"; then
17908 for f in $enable_cxx_flags; do
17909 case "$f" in
17910 -fhonor-std) ;;
17911 -*) ;;
17912 *) # and we're trying to pass /what/ exactly?
17913 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17914 esac
17915 done
17918 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17920 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17924 # Check whether --enable-fully-dynamic-string was given.
17925 if test "${enable_fully_dynamic_string+set}" = set; then :
17926 enableval=$enable_fully_dynamic_string;
17927 case "$enableval" in
17928 yes|no) ;;
17929 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17930 esac
17932 else
17933 enable_fully_dynamic_string=no
17937 if test $enable_fully_dynamic_string = yes; then
17938 enable_fully_dynamic_string_def=1
17939 else
17940 enable_fully_dynamic_string_def=0
17943 cat >>confdefs.h <<_ACEOF
17944 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17945 _ACEOF
17950 # Check whether --enable-extern-template was given.
17951 if test "${enable_extern_template+set}" = set; then :
17952 enableval=$enable_extern_template;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17956 esac
17958 else
17959 enable_extern_template=yes
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17965 $as_echo_n "checking for extern template support... " >&6; }
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17967 $as_echo "$enable_extern_template" >&6; }
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17974 $as_echo_n "checking for custom python install directory... " >&6; }
17976 # Check whether --with-python-dir was given.
17977 if test "${with_python_dir+set}" = set; then :
17978 withval=$with_python_dir; with_python_dir=$withval
17979 else
17980 with_python_dir="no"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17984 $as_echo "${with_python_dir}" >&6; }
17986 # Needed for installing Python modules during make install.
17987 python_mod_dir="${with_python_dir}"
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17993 $as_echo_n "checking for -Werror... " >&6; }
17994 # Check whether --enable-werror was given.
17995 if test "${enable_werror+set}" = set; then :
17996 enableval=$enable_werror;
17997 case "$enableval" in
17998 yes|no) ;;
17999 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18000 esac
18002 else
18003 enable_werror=yes
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18008 $as_echo "$enable_werror" >&6; }
18013 # Check whether --enable-vtable-verify was given.
18014 if test "${enable_vtable_verify+set}" = set; then :
18015 enableval=$enable_vtable_verify;
18016 case "$enableval" in
18017 yes|no) ;;
18018 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18019 esac
18021 else
18022 enable_vtable_verify=no
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18028 $as_echo_n "checking for vtable verify support... " >&6; }
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18030 $as_echo "$enable_vtable_verify" >&6; }
18032 vtv_cygmin=no
18033 if test $enable_vtable_verify = yes; then
18034 case ${target_os} in
18035 cygwin*|mingw32*)
18036 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18037 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18038 vtv_cygmin=yes
18040 darwin*)
18041 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18042 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18044 solaris2*)
18045 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18046 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18049 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18050 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18052 esac
18053 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18054 else
18055 VTV_CXXFLAGS=
18056 VTV_PCH_CXXFLAGS=
18057 VTV_CXXLINKFLAGS=
18063 if test x$vtv_cygmin = xyes; then
18064 VTV_CYGMIN_TRUE=
18065 VTV_CYGMIN_FALSE='#'
18066 else
18067 VTV_CYGMIN_TRUE='#'
18068 VTV_CYGMIN_FALSE=
18074 # Checks for operating systems support that doesn't require linking.
18078 ac_ext=cpp
18079 ac_cpp='$CXXCPP $CPPFLAGS'
18080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18086 $as_echo_n "checking for gets declaration... " >&6; }
18087 if test "${glibcxx_cv_gets+set}" = set; then :
18088 $as_echo_n "(cached) " >&6
18089 else
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18093 #include <stdio.h>
18094 namespace test
18096 using ::gets;
18099 _ACEOF
18100 if ac_fn_cxx_try_compile "$LINENO"; then :
18101 glibcxx_cv_gets=yes
18102 else
18103 glibcxx_cv_gets=no
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110 if test $glibcxx_cv_gets = yes; then
18112 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18116 $as_echo "$glibcxx_cv_gets" >&6; }
18118 ac_ext=c
18119 ac_cpp='$CPP $CPPFLAGS'
18120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18128 ac_ext=cpp
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18134 ac_save_CXXFLAGS="$CXXFLAGS"
18135 CXXFLAGS="$CXXFLAGS -std=c++11"
18137 case "$host" in
18138 *-*-solaris2.*)
18139 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18140 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18142 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18143 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18144 $as_echo_n "(cached) " >&6
18145 else
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 #include <math.h>
18150 #undef isfinite
18151 namespace std {
18152 inline bool isfinite(float __x)
18153 { return __builtin_isfinite(__x); }
18156 _ACEOF
18157 if ac_fn_cxx_try_compile "$LINENO"; then :
18158 glibcxx_cv_math11_overload=no
18159 else
18160 glibcxx_cv_math11_overload=yes
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18167 # autoheader cannot handle indented templates.
18170 if test $glibcxx_cv_math11_overload = yes; then
18171 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18175 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18177 *-*-*gnu*)
18178 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18179 # functions (instead of or as well as the C99 generic macros) then we
18180 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18181 # and must use the ones from <math.h> instead.
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf and isnan functions in <math.h>" >&5
18183 $as_echo_n "checking for obsolete isinf and isnan functions in <math.h>... " >&6; }
18184 if test "${glibcxx_cv_obsolete_isinf_isnan+set}" = set; then :
18185 $as_echo_n "(cached) " >&6
18186 else
18188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18189 /* end confdefs.h. */
18190 #include <math.h>
18191 #undef isinf
18192 #undef isnan
18193 namespace std {
18194 using ::isinf;
18195 bool isinf(float);
18196 bool isinf(long double);
18197 using ::isnan;
18198 bool isnan(float);
18199 bool isnan(long double);
18201 using std::isinf;
18202 using std::isnan;
18203 bool b = isinf(0.0) || isnan(0.0);
18205 _ACEOF
18206 if ac_fn_cxx_try_compile "$LINENO"; then :
18207 glibcxx_cv_obsolete_isinf_isnan=yes
18208 else
18209 glibcxx_cv_obsolete_isinf_isnan=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 if test $glibcxx_cv_obsolete_isinf_isnan = yes; then
18219 $as_echo "#define HAVE_OBSOLETE_ISINF_ISNAN 1" >>confdefs.h
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf_isnan" >&5
18223 $as_echo "$glibcxx_cv_obsolete_isinf_isnan" >&6; }
18225 esac
18227 CXXFLAGS="$ac_save_CXXFLAGS"
18228 ac_ext=c
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18238 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18239 if test "${glibcxx_cv_system_error1+set}" = set; then :
18240 $as_echo_n "(cached) " >&6
18241 else
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <errno.h>
18247 main ()
18249 int i = EOWNERDEAD;
18251 return 0;
18253 _ACEOF
18254 if ac_fn_c_try_compile "$LINENO"; then :
18255 glibcxx_cv_system_error1=yes
18256 else
18257 glibcxx_cv_system_error1=no
18259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18264 $as_echo "$glibcxx_cv_system_error1" >&6; }
18265 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18267 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18271 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18272 if test "${glibcxx_cv_system_error2+set}" = set; then :
18273 $as_echo_n "(cached) " >&6
18274 else
18276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h. */
18278 #include <errno.h>
18280 main ()
18282 int i = ENOTRECOVERABLE;
18284 return 0;
18286 _ACEOF
18287 if ac_fn_c_try_compile "$LINENO"; then :
18288 glibcxx_cv_system_error2=yes
18289 else
18290 glibcxx_cv_system_error2=no
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18297 $as_echo "$glibcxx_cv_system_error2" >&6; }
18298 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18300 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18304 $as_echo_n "checking for ENOLINK... " >&6; }
18305 if test "${glibcxx_cv_system_error3+set}" = set; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18311 #include <errno.h>
18313 main ()
18315 int i = ENOLINK;
18317 return 0;
18319 _ACEOF
18320 if ac_fn_c_try_compile "$LINENO"; then :
18321 glibcxx_cv_system_error3=yes
18322 else
18323 glibcxx_cv_system_error3=no
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18330 $as_echo "$glibcxx_cv_system_error3" >&6; }
18331 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18333 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18337 $as_echo_n "checking for EPROTO... " >&6; }
18338 if test "${glibcxx_cv_system_error4+set}" = set; then :
18339 $as_echo_n "(cached) " >&6
18340 else
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18344 #include <errno.h>
18346 main ()
18348 int i = EPROTO;
18350 return 0;
18352 _ACEOF
18353 if ac_fn_c_try_compile "$LINENO"; then :
18354 glibcxx_cv_system_error4=yes
18355 else
18356 glibcxx_cv_system_error4=no
18358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18363 $as_echo "$glibcxx_cv_system_error4" >&6; }
18364 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18366 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18370 $as_echo_n "checking for ENODATA... " >&6; }
18371 if test "${glibcxx_cv_system_error5+set}" = set; then :
18372 $as_echo_n "(cached) " >&6
18373 else
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377 #include <errno.h>
18379 main ()
18381 int i = ENODATA;
18383 return 0;
18385 _ACEOF
18386 if ac_fn_c_try_compile "$LINENO"; then :
18387 glibcxx_cv_system_error5=yes
18388 else
18389 glibcxx_cv_system_error5=no
18391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18396 $as_echo "$glibcxx_cv_system_error5" >&6; }
18397 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18399 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18403 $as_echo_n "checking for ENOSR... " >&6; }
18404 if test "${glibcxx_cv_system_error6+set}" = set; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 #include <errno.h>
18412 main ()
18414 int i = ENOSR;
18416 return 0;
18418 _ACEOF
18419 if ac_fn_c_try_compile "$LINENO"; then :
18420 glibcxx_cv_system_error6=yes
18421 else
18422 glibcxx_cv_system_error6=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18429 $as_echo "$glibcxx_cv_system_error6" >&6; }
18430 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18432 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18436 $as_echo_n "checking for ENOSTR... " >&6; }
18437 if test "${glibcxx_cv_system_error7+set}" = set; then :
18438 $as_echo_n "(cached) " >&6
18439 else
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <errno.h>
18445 main ()
18447 int i = ENOSTR;
18449 return 0;
18451 _ACEOF
18452 if ac_fn_c_try_compile "$LINENO"; then :
18453 glibcxx_cv_system_error7=yes
18454 else
18455 glibcxx_cv_system_error7=no
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18462 $as_echo "$glibcxx_cv_system_error7" >&6; }
18463 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18465 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18469 $as_echo_n "checking for ETIME... " >&6; }
18470 if test "${glibcxx_cv_system_error8+set}" = set; then :
18471 $as_echo_n "(cached) " >&6
18472 else
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 #include <errno.h>
18478 main ()
18480 int i = ETIME;
18482 return 0;
18484 _ACEOF
18485 if ac_fn_c_try_compile "$LINENO"; then :
18486 glibcxx_cv_system_error8=yes
18487 else
18488 glibcxx_cv_system_error8=no
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18495 $as_echo "$glibcxx_cv_system_error8" >&6; }
18496 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18498 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18502 $as_echo_n "checking for EBADMSG... " >&6; }
18503 if test "${glibcxx_cv_system_error9+set}" = set; then :
18504 $as_echo_n "(cached) " >&6
18505 else
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #include <errno.h>
18511 main ()
18513 int i = EBADMSG;
18515 return 0;
18517 _ACEOF
18518 if ac_fn_c_try_compile "$LINENO"; then :
18519 glibcxx_cv_system_error9=yes
18520 else
18521 glibcxx_cv_system_error9=no
18523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18528 $as_echo "$glibcxx_cv_system_error9" >&6; }
18529 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18531 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18535 $as_echo_n "checking for ECANCELED... " >&6; }
18536 if test "${glibcxx_cv_system_error10+set}" = set; then :
18537 $as_echo_n "(cached) " >&6
18538 else
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #include <errno.h>
18544 main ()
18546 int i = ECANCELED;
18548 return 0;
18550 _ACEOF
18551 if ac_fn_c_try_compile "$LINENO"; then :
18552 glibcxx_cv_system_error10=yes
18553 else
18554 glibcxx_cv_system_error10=no
18556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18561 $as_echo "$glibcxx_cv_system_error10" >&6; }
18562 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18564 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18568 $as_echo_n "checking for EOVERFLOW... " >&6; }
18569 if test "${glibcxx_cv_system_error11+set}" = set; then :
18570 $as_echo_n "(cached) " >&6
18571 else
18573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18574 /* end confdefs.h. */
18575 #include <errno.h>
18577 main ()
18579 int i = EOVERFLOW;
18581 return 0;
18583 _ACEOF
18584 if ac_fn_c_try_compile "$LINENO"; then :
18585 glibcxx_cv_system_error11=yes
18586 else
18587 glibcxx_cv_system_error11=no
18589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18594 $as_echo "$glibcxx_cv_system_error11" >&6; }
18595 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18597 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18601 $as_echo_n "checking for ENOTSUP... " >&6; }
18602 if test "${glibcxx_cv_system_error12+set}" = set; then :
18603 $as_echo_n "(cached) " >&6
18604 else
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 #include <errno.h>
18610 main ()
18612 int i = ENOTSUP;
18614 return 0;
18616 _ACEOF
18617 if ac_fn_c_try_compile "$LINENO"; then :
18618 glibcxx_cv_system_error12=yes
18619 else
18620 glibcxx_cv_system_error12=no
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18627 $as_echo "$glibcxx_cv_system_error12" >&6; }
18628 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18630 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18634 $as_echo_n "checking for EIDRM... " >&6; }
18635 if test "${glibcxx_cv_system_error13+set}" = set; then :
18636 $as_echo_n "(cached) " >&6
18637 else
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 #include <errno.h>
18643 main ()
18645 int i = EIDRM;
18647 return 0;
18649 _ACEOF
18650 if ac_fn_c_try_compile "$LINENO"; then :
18651 glibcxx_cv_system_error13=yes
18652 else
18653 glibcxx_cv_system_error13=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18660 $as_echo "$glibcxx_cv_system_error13" >&6; }
18661 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18663 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18667 $as_echo_n "checking for ETXTBSY... " >&6; }
18668 if test "${glibcxx_cv_system_error14+set}" = set; then :
18669 $as_echo_n "(cached) " >&6
18670 else
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18674 #include <errno.h>
18676 main ()
18678 int i = ETXTBSY;
18680 return 0;
18682 _ACEOF
18683 if ac_fn_c_try_compile "$LINENO"; then :
18684 glibcxx_cv_system_error14=yes
18685 else
18686 glibcxx_cv_system_error14=no
18688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18693 $as_echo "$glibcxx_cv_system_error14" >&6; }
18694 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18696 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18700 $as_echo_n "checking for ECHILD... " >&6; }
18701 if test "${glibcxx_cv_system_error15+set}" = set; then :
18702 $as_echo_n "(cached) " >&6
18703 else
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 #include <errno.h>
18709 main ()
18711 int i = ECHILD;
18713 return 0;
18715 _ACEOF
18716 if ac_fn_c_try_compile "$LINENO"; then :
18717 glibcxx_cv_system_error15=yes
18718 else
18719 glibcxx_cv_system_error15=no
18721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18726 $as_echo "$glibcxx_cv_system_error15" >&6; }
18727 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18729 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18733 $as_echo_n "checking for ENOSPC... " >&6; }
18734 if test "${glibcxx_cv_system_error16+set}" = set; then :
18735 $as_echo_n "(cached) " >&6
18736 else
18738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18739 /* end confdefs.h. */
18740 #include <errno.h>
18742 main ()
18744 int i = ENOSPC;
18746 return 0;
18748 _ACEOF
18749 if ac_fn_c_try_compile "$LINENO"; then :
18750 glibcxx_cv_system_error16=yes
18751 else
18752 glibcxx_cv_system_error16=no
18754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18759 $as_echo "$glibcxx_cv_system_error16" >&6; }
18760 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18762 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18766 $as_echo_n "checking for EPERM... " >&6; }
18767 if test "${glibcxx_cv_system_error17+set}" = set; then :
18768 $as_echo_n "(cached) " >&6
18769 else
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 #include <errno.h>
18775 main ()
18777 int i = EPERM;
18779 return 0;
18781 _ACEOF
18782 if ac_fn_c_try_compile "$LINENO"; then :
18783 glibcxx_cv_system_error17=yes
18784 else
18785 glibcxx_cv_system_error17=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18792 $as_echo "$glibcxx_cv_system_error17" >&6; }
18793 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18795 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18799 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18800 if test "${glibcxx_cv_system_error18+set}" = set; then :
18801 $as_echo_n "(cached) " >&6
18802 else
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806 #include <errno.h>
18808 main ()
18810 int i = ETIMEDOUT;
18812 return 0;
18814 _ACEOF
18815 if ac_fn_c_try_compile "$LINENO"; then :
18816 glibcxx_cv_system_error18=yes
18817 else
18818 glibcxx_cv_system_error18=no
18820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18825 $as_echo "$glibcxx_cv_system_error18" >&6; }
18826 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18828 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18832 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18833 if test "${glibcxx_cv_system_error19+set}" = set; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 #include <errno.h>
18841 main ()
18843 int i = EWOULDBLOCK;
18845 return 0;
18847 _ACEOF
18848 if ac_fn_c_try_compile "$LINENO"; then :
18849 glibcxx_cv_system_error19=yes
18850 else
18851 glibcxx_cv_system_error19=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18858 $as_echo "$glibcxx_cv_system_error19" >&6; }
18859 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18861 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18868 # Test uchar.h.
18869 for ac_header in uchar.h
18870 do :
18871 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18872 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_UCHAR_H 1
18875 _ACEOF
18876 ac_has_uchar_h=yes
18877 else
18878 ac_has_uchar_h=no
18881 done
18885 ac_ext=cpp
18886 ac_cpp='$CXXCPP $CPPFLAGS'
18887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18891 ac_save_CXXFLAGS="$CXXFLAGS"
18892 CXXFLAGS="$CXXFLAGS -std=c++11"
18894 if test x"$ac_has_uchar_h" = x"yes"; then
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
18896 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 #include <uchar.h>
18900 #ifdef __STDC_UTF_16__
18901 long i = __STDC_UTF_16__;
18902 #endif
18903 #ifdef __STDC_UTF_32__
18904 long j = __STDC_UTF_32__;
18905 #endif
18906 namespace test
18908 using ::c16rtomb;
18909 using ::c32rtomb;
18910 using ::mbrtoc16;
18911 using ::mbrtoc32;
18915 main ()
18919 return 0;
18921 _ACEOF
18922 if ac_fn_cxx_try_compile "$LINENO"; then :
18923 ac_c11_uchar_cxx11=yes
18924 else
18925 ac_c11_uchar_cxx11=no
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 else
18929 ac_c11_uchar_cxx11=no
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
18932 $as_echo "$ac_c11_uchar_cxx11" >&6; }
18933 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
18935 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
18939 CXXFLAGS="$ac_save_CXXFLAGS"
18940 ac_ext=c
18941 ac_cpp='$CPP $CPPFLAGS'
18942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18948 # For the streamoff typedef.
18952 ac_ext=cpp
18953 ac_cpp='$CXXCPP $CPPFLAGS'
18954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18960 $as_echo_n "checking for int64_t... " >&6; }
18961 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18962 $as_echo_n "(cached) " >&6
18963 else
18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h. */
18967 #include <stdint.h>
18969 main ()
18971 int64_t var;
18973 return 0;
18975 _ACEOF
18976 if ac_fn_cxx_try_compile "$LINENO"; then :
18977 glibcxx_cv_INT64_T=yes
18978 else
18979 glibcxx_cv_INT64_T=no
18981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18986 if test $glibcxx_cv_INT64_T = yes; then
18988 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18991 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18994 $as_echo_n "checking for int64_t as long... " >&6; }
18995 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18996 $as_echo_n "(cached) " >&6
18997 else
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19001 #include <stdint.h>
19002 template<typename, typename> struct same { enum { value = -1 }; };
19003 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19004 int array[same<int64_t, long>::value];
19006 main ()
19010 return 0;
19012 _ACEOF
19013 if ac_fn_cxx_try_compile "$LINENO"; then :
19014 glibcxx_cv_int64_t_long=yes
19015 else
19016 glibcxx_cv_int64_t_long=no
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 if test $glibcxx_cv_int64_t_long = yes; then
19025 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19028 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19032 $as_echo_n "checking for int64_t as long long... " >&6; }
19033 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19034 $as_echo_n "(cached) " >&6
19035 else
19037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19039 #include <stdint.h>
19040 template<typename, typename> struct same { enum { value = -1 }; };
19041 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19042 int array[same<int64_t, long long>::value];
19044 main ()
19048 return 0;
19050 _ACEOF
19051 if ac_fn_cxx_try_compile "$LINENO"; then :
19052 glibcxx_cv_int64_t_long_long=yes
19053 else
19054 glibcxx_cv_int64_t_long_long=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19061 if test $glibcxx_cv_int64_t_long_long = yes; then
19063 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19066 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19070 ac_ext=c
19071 ac_cpp='$CPP $CPPFLAGS'
19072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19078 # For LFS support.
19081 ac_ext=cpp
19082 ac_cpp='$CXXCPP $CPPFLAGS'
19083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19087 ac_save_CXXFLAGS="$CXXFLAGS"
19088 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19090 $as_echo_n "checking for LFS support... " >&6; }
19091 if test "${glibcxx_cv_LFS+set}" = set; then :
19092 $as_echo_n "(cached) " >&6
19093 else
19095 if test x$gcc_no_link = xyes; then
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19098 #include <unistd.h>
19099 #include <stdio.h>
19100 #include <sys/stat.h>
19103 main ()
19105 FILE* fp;
19106 fopen64("t", "w");
19107 fseeko64(fp, 0, SEEK_CUR);
19108 ftello64(fp);
19109 lseek64(1, 0, SEEK_CUR);
19110 struct stat64 buf;
19111 fstat64(1, &buf);
19113 return 0;
19115 _ACEOF
19116 if ac_fn_cxx_try_compile "$LINENO"; then :
19117 glibcxx_cv_LFS=yes
19118 else
19119 glibcxx_cv_LFS=no
19121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19122 else
19123 if test x$gcc_no_link = xyes; then
19124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 #include <unistd.h>
19129 #include <stdio.h>
19130 #include <sys/stat.h>
19133 main ()
19135 FILE* fp;
19136 fopen64("t", "w");
19137 fseeko64(fp, 0, SEEK_CUR);
19138 ftello64(fp);
19139 lseek64(1, 0, SEEK_CUR);
19140 struct stat64 buf;
19141 fstat64(1, &buf);
19143 return 0;
19145 _ACEOF
19146 if ac_fn_cxx_try_link "$LINENO"; then :
19147 glibcxx_cv_LFS=yes
19148 else
19149 glibcxx_cv_LFS=no
19151 rm -f core conftest.err conftest.$ac_objext \
19152 conftest$ac_exeext conftest.$ac_ext
19157 if test $glibcxx_cv_LFS = yes; then
19159 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19163 $as_echo "$glibcxx_cv_LFS" >&6; }
19164 CXXFLAGS="$ac_save_CXXFLAGS"
19165 ac_ext=c
19166 ac_cpp='$CPP $CPPFLAGS'
19167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19173 # For showmanyc_helper().
19174 for ac_header in sys/ioctl.h sys/filio.h
19175 do :
19176 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19177 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19178 eval as_val=\$$as_ac_Header
19179 if test "x$as_val" = x""yes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19182 _ACEOF
19186 done
19191 ac_ext=cpp
19192 ac_cpp='$CXXCPP $CPPFLAGS'
19193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19197 ac_save_CXXFLAGS="$CXXFLAGS"
19198 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19201 $as_echo_n "checking for poll... " >&6; }
19202 if test "${glibcxx_cv_POLL+set}" = set; then :
19203 $as_echo_n "(cached) " >&6
19204 else
19206 if test x$gcc_no_link = xyes; then
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #include <poll.h>
19211 main ()
19213 struct pollfd pfd[1];
19214 pfd[0].events = POLLIN;
19215 poll(pfd, 1, 0);
19217 return 0;
19219 _ACEOF
19220 if ac_fn_cxx_try_compile "$LINENO"; then :
19221 glibcxx_cv_POLL=yes
19222 else
19223 glibcxx_cv_POLL=no
19225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19226 else
19227 if test x$gcc_no_link = xyes; then
19228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <poll.h>
19234 main ()
19236 struct pollfd pfd[1];
19237 pfd[0].events = POLLIN;
19238 poll(pfd, 1, 0);
19240 return 0;
19242 _ACEOF
19243 if ac_fn_cxx_try_link "$LINENO"; then :
19244 glibcxx_cv_POLL=yes
19245 else
19246 glibcxx_cv_POLL=no
19248 rm -f core conftest.err conftest.$ac_objext \
19249 conftest$ac_exeext conftest.$ac_ext
19254 if test $glibcxx_cv_POLL = yes; then
19256 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19260 $as_echo "$glibcxx_cv_POLL" >&6; }
19262 CXXFLAGS="$ac_save_CXXFLAGS"
19263 ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19273 ac_ext=cpp
19274 ac_cpp='$CXXCPP $CPPFLAGS'
19275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279 ac_save_CXXFLAGS="$CXXFLAGS"
19280 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19283 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19284 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19288 if test x$gcc_no_link = xyes; then
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <sys/stat.h>
19293 main ()
19295 struct stat buffer;
19296 fstat(0, &buffer);
19297 S_ISREG(buffer.st_mode);
19299 return 0;
19301 _ACEOF
19302 if ac_fn_cxx_try_compile "$LINENO"; then :
19303 glibcxx_cv_S_ISREG=yes
19304 else
19305 glibcxx_cv_S_ISREG=no
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 else
19309 if test x$gcc_no_link = xyes; then
19310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #include <sys/stat.h>
19316 main ()
19318 struct stat buffer;
19319 fstat(0, &buffer);
19320 S_ISREG(buffer.st_mode);
19322 return 0;
19324 _ACEOF
19325 if ac_fn_cxx_try_link "$LINENO"; then :
19326 glibcxx_cv_S_ISREG=yes
19327 else
19328 glibcxx_cv_S_ISREG=no
19330 rm -f core conftest.err conftest.$ac_objext \
19331 conftest$ac_exeext conftest.$ac_ext
19336 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19337 $as_echo_n "(cached) " >&6
19338 else
19340 if test x$gcc_no_link = xyes; then
19341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19342 /* end confdefs.h. */
19343 #include <sys/stat.h>
19345 main ()
19347 struct stat buffer;
19348 fstat(0, &buffer);
19349 S_IFREG & buffer.st_mode;
19351 return 0;
19353 _ACEOF
19354 if ac_fn_cxx_try_compile "$LINENO"; then :
19355 glibcxx_cv_S_IFREG=yes
19356 else
19357 glibcxx_cv_S_IFREG=no
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 else
19361 if test x$gcc_no_link = xyes; then
19362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19365 /* end confdefs.h. */
19366 #include <sys/stat.h>
19368 main ()
19370 struct stat buffer;
19371 fstat(0, &buffer);
19372 S_IFREG & buffer.st_mode;
19374 return 0;
19376 _ACEOF
19377 if ac_fn_cxx_try_link "$LINENO"; then :
19378 glibcxx_cv_S_IFREG=yes
19379 else
19380 glibcxx_cv_S_IFREG=no
19382 rm -f core conftest.err conftest.$ac_objext \
19383 conftest$ac_exeext conftest.$ac_ext
19388 res=no
19389 if test $glibcxx_cv_S_ISREG = yes; then
19391 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19393 res=S_ISREG
19394 elif test $glibcxx_cv_S_IFREG = yes; then
19396 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19398 res=S_IFREG
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19401 $as_echo "$res" >&6; }
19403 CXXFLAGS="$ac_save_CXXFLAGS"
19404 ac_ext=c
19405 ac_cpp='$CPP $CPPFLAGS'
19406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19412 # For xsputn_2().
19413 for ac_header in sys/uio.h
19414 do :
19415 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19416 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19417 cat >>confdefs.h <<_ACEOF
19418 #define HAVE_SYS_UIO_H 1
19419 _ACEOF
19423 done
19428 ac_ext=cpp
19429 ac_cpp='$CXXCPP $CPPFLAGS'
19430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19434 ac_save_CXXFLAGS="$CXXFLAGS"
19435 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19438 $as_echo_n "checking for writev... " >&6; }
19439 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19440 $as_echo_n "(cached) " >&6
19441 else
19443 if test x$gcc_no_link = xyes; then
19444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 #include <sys/uio.h>
19448 main ()
19450 struct iovec iov[2];
19451 writev(0, iov, 0);
19453 return 0;
19455 _ACEOF
19456 if ac_fn_cxx_try_compile "$LINENO"; then :
19457 glibcxx_cv_WRITEV=yes
19458 else
19459 glibcxx_cv_WRITEV=no
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 else
19463 if test x$gcc_no_link = xyes; then
19464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 #include <sys/uio.h>
19470 main ()
19472 struct iovec iov[2];
19473 writev(0, iov, 0);
19475 return 0;
19477 _ACEOF
19478 if ac_fn_cxx_try_link "$LINENO"; then :
19479 glibcxx_cv_WRITEV=yes
19480 else
19481 glibcxx_cv_WRITEV=no
19483 rm -f core conftest.err conftest.$ac_objext \
19484 conftest$ac_exeext conftest.$ac_ext
19489 if test $glibcxx_cv_WRITEV = yes; then
19491 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19495 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19497 CXXFLAGS="$ac_save_CXXFLAGS"
19498 ac_ext=c
19499 ac_cpp='$CPP $CPPFLAGS'
19500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19506 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19507 # so that the check is done with the C compiler (not C++).
19508 # Checking with C++ can break a canadian cross build if either
19509 # file does not exist in C but does in C++.
19510 for ac_header in fenv.h complex.h
19511 do :
19512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19513 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19514 eval as_val=\$$as_ac_Header
19515 if test "x$as_val" = x""yes; then :
19516 cat >>confdefs.h <<_ACEOF
19517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19518 _ACEOF
19522 done
19525 # For C99 support to TR1.
19529 ac_ext=cpp
19530 ac_cpp='$CXXCPP $CPPFLAGS'
19531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19536 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19537 # undefined and fake C99 facilities may be spuriously enabled.
19538 ac_save_CXXFLAGS="$CXXFLAGS"
19539 CXXFLAGS="$CXXFLAGS -std=c++98"
19541 # Check for the existence of <complex.h> complex math functions used
19542 # by tr1/complex.
19543 for ac_header in complex.h
19544 do :
19545 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19546 if test "x$ac_cv_header_complex_h" = x""yes; then :
19547 cat >>confdefs.h <<_ACEOF
19548 #define HAVE_COMPLEX_H 1
19549 _ACEOF
19550 ac_has_complex_h=yes
19551 else
19552 ac_has_complex_h=no
19555 done
19557 ac_c99_complex_tr1=no;
19558 if test x"$ac_has_complex_h" = x"yes"; then
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19560 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563 #include <complex.h>
19565 main ()
19567 typedef __complex__ float float_type; float_type tmpf;
19568 cacosf(tmpf);
19569 casinf(tmpf);
19570 catanf(tmpf);
19571 cacoshf(tmpf);
19572 casinhf(tmpf);
19573 catanhf(tmpf);
19574 typedef __complex__ double double_type; double_type tmpd;
19575 cacos(tmpd);
19576 casin(tmpd);
19577 catan(tmpd);
19578 cacosh(tmpd);
19579 casinh(tmpd);
19580 catanh(tmpd);
19581 typedef __complex__ long double ld_type; ld_type tmpld;
19582 cacosl(tmpld);
19583 casinl(tmpld);
19584 catanl(tmpld);
19585 cacoshl(tmpld);
19586 casinhl(tmpld);
19587 catanhl(tmpld);
19590 return 0;
19592 _ACEOF
19593 if ac_fn_cxx_try_compile "$LINENO"; then :
19594 ac_c99_complex_tr1=yes
19595 else
19596 ac_c99_complex_tr1=no
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19601 $as_echo "$ac_c99_complex_tr1" >&6; }
19602 if test x"$ac_c99_complex_tr1" = x"yes"; then
19604 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19608 # Check for the existence of <ctype.h> functions.
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19610 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19611 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19612 $as_echo_n "(cached) " >&6
19613 else
19615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19617 #include <ctype.h>
19619 main ()
19621 int ch;
19622 int ret;
19623 ret = isblank(ch);
19626 return 0;
19628 _ACEOF
19629 if ac_fn_cxx_try_compile "$LINENO"; then :
19630 glibcxx_cv_c99_ctype_tr1=yes
19631 else
19632 glibcxx_cv_c99_ctype_tr1=no
19634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19639 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19640 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19642 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19646 # Check for the existence of <fenv.h> functions.
19647 for ac_header in fenv.h
19648 do :
19649 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19650 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19651 cat >>confdefs.h <<_ACEOF
19652 #define HAVE_FENV_H 1
19653 _ACEOF
19654 ac_has_fenv_h=yes
19655 else
19656 ac_has_fenv_h=no
19659 done
19661 ac_c99_fenv_tr1=no;
19662 if test x"$ac_has_fenv_h" = x"yes"; then
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19664 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 #include <fenv.h>
19669 main ()
19671 int except, mode;
19672 fexcept_t* pflag;
19673 fenv_t* penv;
19674 int ret;
19675 ret = feclearexcept(except);
19676 ret = fegetexceptflag(pflag, except);
19677 ret = feraiseexcept(except);
19678 ret = fesetexceptflag(pflag, except);
19679 ret = fetestexcept(except);
19680 ret = fegetround();
19681 ret = fesetround(mode);
19682 ret = fegetenv(penv);
19683 ret = feholdexcept(penv);
19684 ret = fesetenv(penv);
19685 ret = feupdateenv(penv);
19688 return 0;
19690 _ACEOF
19691 if ac_fn_cxx_try_compile "$LINENO"; then :
19692 ac_c99_fenv_tr1=yes
19693 else
19694 ac_c99_fenv_tr1=no
19696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19699 $as_echo "$ac_c99_fenv_tr1" >&6; }
19700 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19702 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19706 # Check for the existence of <stdint.h> types.
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19708 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19709 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #define __STDC_LIMIT_MACROS
19716 #define __STDC_CONSTANT_MACROS
19717 #include <stdint.h>
19719 main ()
19721 typedef int8_t my_int8_t;
19722 my_int8_t i8 = INT8_MIN;
19723 i8 = INT8_MAX;
19724 typedef int16_t my_int16_t;
19725 my_int16_t i16 = INT16_MIN;
19726 i16 = INT16_MAX;
19727 typedef int32_t my_int32_t;
19728 my_int32_t i32 = INT32_MIN;
19729 i32 = INT32_MAX;
19730 typedef int64_t my_int64_t;
19731 my_int64_t i64 = INT64_MIN;
19732 i64 = INT64_MAX;
19733 typedef int_fast8_t my_int_fast8_t;
19734 my_int_fast8_t if8 = INT_FAST8_MIN;
19735 if8 = INT_FAST8_MAX;
19736 typedef int_fast16_t my_int_fast16_t;
19737 my_int_fast16_t if16 = INT_FAST16_MIN;
19738 if16 = INT_FAST16_MAX;
19739 typedef int_fast32_t my_int_fast32_t;
19740 my_int_fast32_t if32 = INT_FAST32_MIN;
19741 if32 = INT_FAST32_MAX;
19742 typedef int_fast64_t my_int_fast64_t;
19743 my_int_fast64_t if64 = INT_FAST64_MIN;
19744 if64 = INT_FAST64_MAX;
19745 typedef int_least8_t my_int_least8_t;
19746 my_int_least8_t il8 = INT_LEAST8_MIN;
19747 il8 = INT_LEAST8_MAX;
19748 typedef int_least16_t my_int_least16_t;
19749 my_int_least16_t il16 = INT_LEAST16_MIN;
19750 il16 = INT_LEAST16_MAX;
19751 typedef int_least32_t my_int_least32_t;
19752 my_int_least32_t il32 = INT_LEAST32_MIN;
19753 il32 = INT_LEAST32_MAX;
19754 typedef int_least64_t my_int_least64_t;
19755 my_int_least64_t il64 = INT_LEAST64_MIN;
19756 il64 = INT_LEAST64_MAX;
19757 typedef intmax_t my_intmax_t;
19758 my_intmax_t im = INTMAX_MAX;
19759 im = INTMAX_MIN;
19760 typedef intptr_t my_intptr_t;
19761 my_intptr_t ip = INTPTR_MAX;
19762 ip = INTPTR_MIN;
19763 typedef uint8_t my_uint8_t;
19764 my_uint8_t ui8 = UINT8_MAX;
19765 ui8 = UINT8_MAX;
19766 typedef uint16_t my_uint16_t;
19767 my_uint16_t ui16 = UINT16_MAX;
19768 ui16 = UINT16_MAX;
19769 typedef uint32_t my_uint32_t;
19770 my_uint32_t ui32 = UINT32_MAX;
19771 ui32 = UINT32_MAX;
19772 typedef uint64_t my_uint64_t;
19773 my_uint64_t ui64 = UINT64_MAX;
19774 ui64 = UINT64_MAX;
19775 typedef uint_fast8_t my_uint_fast8_t;
19776 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19777 uif8 = UINT_FAST8_MAX;
19778 typedef uint_fast16_t my_uint_fast16_t;
19779 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19780 uif16 = UINT_FAST16_MAX;
19781 typedef uint_fast32_t my_uint_fast32_t;
19782 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19783 uif32 = UINT_FAST32_MAX;
19784 typedef uint_fast64_t my_uint_fast64_t;
19785 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19786 uif64 = UINT_FAST64_MAX;
19787 typedef uint_least8_t my_uint_least8_t;
19788 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19789 uil8 = UINT_LEAST8_MAX;
19790 typedef uint_least16_t my_uint_least16_t;
19791 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19792 uil16 = UINT_LEAST16_MAX;
19793 typedef uint_least32_t my_uint_least32_t;
19794 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19795 uil32 = UINT_LEAST32_MAX;
19796 typedef uint_least64_t my_uint_least64_t;
19797 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19798 uil64 = UINT_LEAST64_MAX;
19799 typedef uintmax_t my_uintmax_t;
19800 my_uintmax_t uim = UINTMAX_MAX;
19801 uim = UINTMAX_MAX;
19802 typedef uintptr_t my_uintptr_t;
19803 my_uintptr_t uip = UINTPTR_MAX;
19804 uip = UINTPTR_MAX;
19807 return 0;
19809 _ACEOF
19810 if ac_fn_cxx_try_compile "$LINENO"; then :
19811 glibcxx_cv_c99_stdint_tr1=yes
19812 else
19813 glibcxx_cv_c99_stdint_tr1=no
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19820 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19821 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19823 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19827 # Check for the existence of <math.h> functions.
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19829 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19830 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19831 $as_echo_n "(cached) " >&6
19832 else
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 #include <math.h>
19838 main ()
19840 typedef double_t my_double_t;
19841 typedef float_t my_float_t;
19842 acosh(0.0);
19843 acoshf(0.0f);
19844 acoshl(0.0l);
19845 asinh(0.0);
19846 asinhf(0.0f);
19847 asinhl(0.0l);
19848 atanh(0.0);
19849 atanhf(0.0f);
19850 atanhl(0.0l);
19851 cbrt(0.0);
19852 cbrtf(0.0f);
19853 cbrtl(0.0l);
19854 copysign(0.0, 0.0);
19855 copysignf(0.0f, 0.0f);
19856 copysignl(0.0l, 0.0l);
19857 erf(0.0);
19858 erff(0.0f);
19859 erfl(0.0l);
19860 erfc(0.0);
19861 erfcf(0.0f);
19862 erfcl(0.0l);
19863 exp2(0.0);
19864 exp2f(0.0f);
19865 exp2l(0.0l);
19866 expm1(0.0);
19867 expm1f(0.0f);
19868 expm1l(0.0l);
19869 fdim(0.0, 0.0);
19870 fdimf(0.0f, 0.0f);
19871 fdiml(0.0l, 0.0l);
19872 fma(0.0, 0.0, 0.0);
19873 fmaf(0.0f, 0.0f, 0.0f);
19874 fmal(0.0l, 0.0l, 0.0l);
19875 fmax(0.0, 0.0);
19876 fmaxf(0.0f, 0.0f);
19877 fmaxl(0.0l, 0.0l);
19878 fmin(0.0, 0.0);
19879 fminf(0.0f, 0.0f);
19880 fminl(0.0l, 0.0l);
19881 hypot(0.0, 0.0);
19882 hypotf(0.0f, 0.0f);
19883 hypotl(0.0l, 0.0l);
19884 ilogb(0.0);
19885 ilogbf(0.0f);
19886 ilogbl(0.0l);
19887 lgamma(0.0);
19888 lgammaf(0.0f);
19889 lgammal(0.0l);
19890 llrint(0.0);
19891 llrintf(0.0f);
19892 llrintl(0.0l);
19893 llround(0.0);
19894 llroundf(0.0f);
19895 llroundl(0.0l);
19896 log1p(0.0);
19897 log1pf(0.0f);
19898 log1pl(0.0l);
19899 log2(0.0);
19900 log2f(0.0f);
19901 log2l(0.0l);
19902 logb(0.0);
19903 logbf(0.0f);
19904 logbl(0.0l);
19905 lrint(0.0);
19906 lrintf(0.0f);
19907 lrintl(0.0l);
19908 lround(0.0);
19909 lroundf(0.0f);
19910 lroundl(0.0l);
19911 nan(0);
19912 nanf(0);
19913 nanl(0);
19914 nearbyint(0.0);
19915 nearbyintf(0.0f);
19916 nearbyintl(0.0l);
19917 nextafter(0.0, 0.0);
19918 nextafterf(0.0f, 0.0f);
19919 nextafterl(0.0l, 0.0l);
19920 nexttoward(0.0, 0.0);
19921 nexttowardf(0.0f, 0.0f);
19922 nexttowardl(0.0l, 0.0l);
19923 remainder(0.0, 0.0);
19924 remainderf(0.0f, 0.0f);
19925 remainderl(0.0l, 0.0l);
19926 remquo(0.0, 0.0, 0);
19927 remquof(0.0f, 0.0f, 0);
19928 remquol(0.0l, 0.0l, 0);
19929 rint(0.0);
19930 rintf(0.0f);
19931 rintl(0.0l);
19932 round(0.0);
19933 roundf(0.0f);
19934 roundl(0.0l);
19935 scalbln(0.0, 0l);
19936 scalblnf(0.0f, 0l);
19937 scalblnl(0.0l, 0l);
19938 scalbn(0.0, 0);
19939 scalbnf(0.0f, 0);
19940 scalbnl(0.0l, 0);
19941 tgamma(0.0);
19942 tgammaf(0.0f);
19943 tgammal(0.0l);
19944 trunc(0.0);
19945 truncf(0.0f);
19946 truncl(0.0l);
19949 return 0;
19951 _ACEOF
19952 if ac_fn_cxx_try_compile "$LINENO"; then :
19953 glibcxx_cv_c99_math_tr1=yes
19954 else
19955 glibcxx_cv_c99_math_tr1=no
19957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19962 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19963 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19965 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19969 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19970 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19971 ac_c99_inttypes_tr1=no;
19972 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19974 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19976 /* end confdefs.h. */
19977 #include <inttypes.h>
19979 main ()
19981 intmax_t i, numer, denom, base;
19982 const char* s;
19983 char** endptr;
19984 intmax_t ret = imaxabs(i);
19985 imaxdiv_t dret = imaxdiv(numer, denom);
19986 ret = strtoimax(s, endptr, base);
19987 uintmax_t uret = strtoumax(s, endptr, base);
19990 return 0;
19992 _ACEOF
19993 if ac_fn_cxx_try_compile "$LINENO"; then :
19994 ac_c99_inttypes_tr1=yes
19995 else
19996 ac_c99_inttypes_tr1=no
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20001 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20002 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20004 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20008 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20009 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20010 ac_c99_inttypes_wchar_t_tr1=no;
20011 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20013 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20016 #include <inttypes.h>
20018 main ()
20020 intmax_t base;
20021 const wchar_t* s;
20022 wchar_t** endptr;
20023 intmax_t ret = wcstoimax(s, endptr, base);
20024 uintmax_t uret = wcstoumax(s, endptr, base);
20027 return 0;
20029 _ACEOF
20030 if ac_fn_cxx_try_compile "$LINENO"; then :
20031 ac_c99_inttypes_wchar_t_tr1=yes
20032 else
20033 ac_c99_inttypes_wchar_t_tr1=no
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20038 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20039 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20041 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20045 # Check for the existence of the <stdbool.h> header.
20046 for ac_header in stdbool.h
20047 do :
20048 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20050 cat >>confdefs.h <<_ACEOF
20051 #define HAVE_STDBOOL_H 1
20052 _ACEOF
20056 done
20059 # Check for the existence of the <stdalign.h> header.
20060 for ac_header in stdalign.h
20061 do :
20062 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20063 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20064 cat >>confdefs.h <<_ACEOF
20065 #define HAVE_STDALIGN_H 1
20066 _ACEOF
20070 done
20073 CXXFLAGS="$ac_save_CXXFLAGS"
20074 ac_ext=c
20075 ac_cpp='$CPP $CPPFLAGS'
20076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20082 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20086 $as_echo_n "checking for the value of EOF... " >&6; }
20087 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20088 $as_echo_n "(cached) " >&6
20089 else
20091 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20093 else
20094 as_fn_error "computing EOF failed" "$LINENO" 5
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20100 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20102 cat >>confdefs.h <<_ACEOF
20103 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20104 _ACEOF
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20108 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20109 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20110 $as_echo_n "(cached) " >&6
20111 else
20113 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20115 else
20116 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20122 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20124 cat >>confdefs.h <<_ACEOF
20125 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20126 _ACEOF
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20130 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20131 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20132 $as_echo_n "(cached) " >&6
20133 else
20135 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20137 else
20138 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20144 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20146 cat >>confdefs.h <<_ACEOF
20147 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20148 _ACEOF
20152 # For gettimeofday support.
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20156 $as_echo_n "checking for gettimeofday... " >&6; }
20159 ac_ext=cpp
20160 ac_cpp='$CXXCPP $CPPFLAGS'
20161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20165 ac_save_CXXFLAGS="$CXXFLAGS"
20166 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20168 ac_has_gettimeofday=no;
20169 for ac_header in sys/time.h
20170 do :
20171 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20172 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20173 cat >>confdefs.h <<_ACEOF
20174 #define HAVE_SYS_TIME_H 1
20175 _ACEOF
20176 ac_has_sys_time_h=yes
20177 else
20178 ac_has_sys_time_h=no
20181 done
20183 if test x"$ac_has_sys_time_h" = x"yes"; then
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20185 $as_echo_n "checking for gettimeofday... " >&6; }
20186 if test x$gcc_no_link = xyes; then
20187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20188 /* end confdefs.h. */
20189 #include <sys/time.h>
20191 main ()
20193 timeval tv; gettimeofday(&tv, 0);
20195 return 0;
20197 _ACEOF
20198 if ac_fn_cxx_try_compile "$LINENO"; then :
20199 ac_has_gettimeofday=yes
20200 else
20201 ac_has_gettimeofday=no
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204 else
20205 if test x$gcc_no_link = xyes; then
20206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20209 /* end confdefs.h. */
20210 #include <sys/time.h>
20212 main ()
20214 timeval tv; gettimeofday(&tv, 0);
20216 return 0;
20218 _ACEOF
20219 if ac_fn_cxx_try_link "$LINENO"; then :
20220 ac_has_gettimeofday=yes
20221 else
20222 ac_has_gettimeofday=no
20224 rm -f core conftest.err conftest.$ac_objext \
20225 conftest$ac_exeext conftest.$ac_ext
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20229 $as_echo "$ac_has_gettimeofday" >&6; }
20232 if test x"$ac_has_gettimeofday" = x"yes"; then
20234 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20238 CXXFLAGS="$ac_save_CXXFLAGS"
20239 ac_ext=c
20240 ac_cpp='$CPP $CPPFLAGS'
20241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20247 # For clock_gettime, nanosleep and sched_yield support.
20250 # Check whether --enable-libstdcxx-time was given.
20251 if test "${enable_libstdcxx_time+set}" = set; then :
20252 enableval=$enable_libstdcxx_time;
20253 case "$enableval" in
20254 yes|no|rt) ;;
20255 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20256 esac
20258 else
20259 enable_libstdcxx_time=auto
20265 ac_ext=cpp
20266 ac_cpp='$CXXCPP $CPPFLAGS'
20267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20271 ac_save_CXXFLAGS="$CXXFLAGS"
20272 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20273 ac_save_LIBS="$LIBS"
20275 ac_has_clock_monotonic=no
20276 ac_has_clock_realtime=no
20277 ac_has_nanosleep=no
20278 ac_has_sched_yield=no
20280 if test x"$enable_libstdcxx_time" = x"auto"; then
20282 case "${target_os}" in
20283 cygwin*)
20284 ac_has_nanosleep=yes
20286 darwin*)
20287 ac_has_nanosleep=yes
20288 ac_has_sched_yield=yes
20290 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20292 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20295 #include <features.h>
20297 main ()
20300 #if ! __GLIBC_PREREQ(2, 17)
20301 #error
20302 #endif
20305 return 0;
20307 _ACEOF
20308 if ac_fn_cxx_try_compile "$LINENO"; then :
20309 glibcxx_glibc217=yes
20310 else
20311 glibcxx_glibc217=no
20313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20315 $as_echo "$glibcxx_glibc217" >&6; }
20317 if test x"$glibcxx_glibc217" = x"yes"; then
20318 ac_has_clock_monotonic=yes
20319 ac_has_clock_realtime=yes
20321 ac_has_nanosleep=yes
20322 ac_has_sched_yield=yes
20324 freebsd*|netbsd*|dragonfly*)
20325 ac_has_clock_monotonic=yes
20326 ac_has_clock_realtime=yes
20327 ac_has_nanosleep=yes
20328 ac_has_sched_yield=yes
20330 openbsd*)
20331 ac_has_clock_monotonic=yes
20332 ac_has_clock_realtime=yes
20333 ac_has_nanosleep=yes
20335 solaris*)
20336 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20337 ac_has_clock_monotonic=yes
20338 ac_has_clock_realtime=yes
20339 ac_has_nanosleep=yes
20340 ac_has_sched_yield=yes
20342 esac
20344 elif test x"$enable_libstdcxx_time" != x"no"; then
20346 if test x"$enable_libstdcxx_time" = x"rt"; then
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20348 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20349 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20350 $as_echo_n "(cached) " >&6
20351 else
20352 ac_func_search_save_LIBS=$LIBS
20353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20354 /* end confdefs.h. */
20356 /* Override any GCC internal prototype to avoid an error.
20357 Use char because int might match the return type of a GCC
20358 builtin and then its argument prototype would still apply. */
20359 #ifdef __cplusplus
20360 extern "C"
20361 #endif
20362 char clock_gettime ();
20364 main ()
20366 return clock_gettime ();
20368 return 0;
20370 _ACEOF
20371 for ac_lib in '' rt posix4; do
20372 if test -z "$ac_lib"; then
20373 ac_res="none required"
20374 else
20375 ac_res=-l$ac_lib
20376 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20378 if test x$gcc_no_link = xyes; then
20379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20381 if ac_fn_cxx_try_link "$LINENO"; then :
20382 ac_cv_search_clock_gettime=$ac_res
20384 rm -f core conftest.err conftest.$ac_objext \
20385 conftest$ac_exeext
20386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20387 break
20389 done
20390 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20392 else
20393 ac_cv_search_clock_gettime=no
20395 rm conftest.$ac_ext
20396 LIBS=$ac_func_search_save_LIBS
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20399 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20400 ac_res=$ac_cv_search_clock_gettime
20401 if test "$ac_res" != no; then :
20402 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20407 $as_echo_n "checking for library containing nanosleep... " >&6; }
20408 if test "${ac_cv_search_nanosleep+set}" = set; then :
20409 $as_echo_n "(cached) " >&6
20410 else
20411 ac_func_search_save_LIBS=$LIBS
20412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20413 /* end confdefs.h. */
20415 /* Override any GCC internal prototype to avoid an error.
20416 Use char because int might match the return type of a GCC
20417 builtin and then its argument prototype would still apply. */
20418 #ifdef __cplusplus
20419 extern "C"
20420 #endif
20421 char nanosleep ();
20423 main ()
20425 return nanosleep ();
20427 return 0;
20429 _ACEOF
20430 for ac_lib in '' rt posix4; do
20431 if test -z "$ac_lib"; then
20432 ac_res="none required"
20433 else
20434 ac_res=-l$ac_lib
20435 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20437 if test x$gcc_no_link = xyes; then
20438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20440 if ac_fn_cxx_try_link "$LINENO"; then :
20441 ac_cv_search_nanosleep=$ac_res
20443 rm -f core conftest.err conftest.$ac_objext \
20444 conftest$ac_exeext
20445 if test "${ac_cv_search_nanosleep+set}" = set; then :
20446 break
20448 done
20449 if test "${ac_cv_search_nanosleep+set}" = set; then :
20451 else
20452 ac_cv_search_nanosleep=no
20454 rm conftest.$ac_ext
20455 LIBS=$ac_func_search_save_LIBS
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20458 $as_echo "$ac_cv_search_nanosleep" >&6; }
20459 ac_res=$ac_cv_search_nanosleep
20460 if test "$ac_res" != no; then :
20461 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20465 else
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20467 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20468 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20469 $as_echo_n "(cached) " >&6
20470 else
20471 ac_func_search_save_LIBS=$LIBS
20472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20473 /* end confdefs.h. */
20475 /* Override any GCC internal prototype to avoid an error.
20476 Use char because int might match the return type of a GCC
20477 builtin and then its argument prototype would still apply. */
20478 #ifdef __cplusplus
20479 extern "C"
20480 #endif
20481 char clock_gettime ();
20483 main ()
20485 return clock_gettime ();
20487 return 0;
20489 _ACEOF
20490 for ac_lib in '' posix4; do
20491 if test -z "$ac_lib"; then
20492 ac_res="none required"
20493 else
20494 ac_res=-l$ac_lib
20495 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20497 if test x$gcc_no_link = xyes; then
20498 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20500 if ac_fn_cxx_try_link "$LINENO"; then :
20501 ac_cv_search_clock_gettime=$ac_res
20503 rm -f core conftest.err conftest.$ac_objext \
20504 conftest$ac_exeext
20505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20506 break
20508 done
20509 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20511 else
20512 ac_cv_search_clock_gettime=no
20514 rm conftest.$ac_ext
20515 LIBS=$ac_func_search_save_LIBS
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20518 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20519 ac_res=$ac_cv_search_clock_gettime
20520 if test "$ac_res" != no; then :
20521 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20526 $as_echo_n "checking for library containing nanosleep... " >&6; }
20527 if test "${ac_cv_search_nanosleep+set}" = set; then :
20528 $as_echo_n "(cached) " >&6
20529 else
20530 ac_func_search_save_LIBS=$LIBS
20531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20532 /* end confdefs.h. */
20534 /* Override any GCC internal prototype to avoid an error.
20535 Use char because int might match the return type of a GCC
20536 builtin and then its argument prototype would still apply. */
20537 #ifdef __cplusplus
20538 extern "C"
20539 #endif
20540 char nanosleep ();
20542 main ()
20544 return nanosleep ();
20546 return 0;
20548 _ACEOF
20549 for ac_lib in '' posix4; do
20550 if test -z "$ac_lib"; then
20551 ac_res="none required"
20552 else
20553 ac_res=-l$ac_lib
20554 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20556 if test x$gcc_no_link = xyes; then
20557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20559 if ac_fn_cxx_try_link "$LINENO"; then :
20560 ac_cv_search_nanosleep=$ac_res
20562 rm -f core conftest.err conftest.$ac_objext \
20563 conftest$ac_exeext
20564 if test "${ac_cv_search_nanosleep+set}" = set; then :
20565 break
20567 done
20568 if test "${ac_cv_search_nanosleep+set}" = set; then :
20570 else
20571 ac_cv_search_nanosleep=no
20573 rm conftest.$ac_ext
20574 LIBS=$ac_func_search_save_LIBS
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20577 $as_echo "$ac_cv_search_nanosleep" >&6; }
20578 ac_res=$ac_cv_search_nanosleep
20579 if test "$ac_res" != no; then :
20580 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20586 case "$ac_cv_search_clock_gettime" in
20587 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20589 esac
20590 case "$ac_cv_search_nanosleep" in
20591 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20593 esac
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20596 $as_echo_n "checking for library containing sched_yield... " >&6; }
20597 if test "${ac_cv_search_sched_yield+set}" = set; then :
20598 $as_echo_n "(cached) " >&6
20599 else
20600 ac_func_search_save_LIBS=$LIBS
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20604 /* Override any GCC internal prototype to avoid an error.
20605 Use char because int might match the return type of a GCC
20606 builtin and then its argument prototype would still apply. */
20607 #ifdef __cplusplus
20608 extern "C"
20609 #endif
20610 char sched_yield ();
20612 main ()
20614 return sched_yield ();
20616 return 0;
20618 _ACEOF
20619 for ac_lib in '' rt posix4; do
20620 if test -z "$ac_lib"; then
20621 ac_res="none required"
20622 else
20623 ac_res=-l$ac_lib
20624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 if ac_fn_cxx_try_link "$LINENO"; then :
20630 ac_cv_search_sched_yield=$ac_res
20632 rm -f core conftest.err conftest.$ac_objext \
20633 conftest$ac_exeext
20634 if test "${ac_cv_search_sched_yield+set}" = set; then :
20635 break
20637 done
20638 if test "${ac_cv_search_sched_yield+set}" = set; then :
20640 else
20641 ac_cv_search_sched_yield=no
20643 rm conftest.$ac_ext
20644 LIBS=$ac_func_search_save_LIBS
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20647 $as_echo "$ac_cv_search_sched_yield" >&6; }
20648 ac_res=$ac_cv_search_sched_yield
20649 if test "$ac_res" != no; then :
20650 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20655 case "$ac_cv_search_sched_yield" in
20656 -lposix4*)
20657 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20658 ac_has_sched_yield=yes
20660 -lrt*)
20661 if test x"$enable_libstdcxx_time" = x"rt"; then
20662 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20663 ac_has_sched_yield=yes
20667 ac_has_sched_yield=yes
20669 esac
20671 for ac_header in unistd.h
20672 do :
20673 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20674 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20675 cat >>confdefs.h <<_ACEOF
20676 #define HAVE_UNISTD_H 1
20677 _ACEOF
20678 ac_has_unistd_h=yes
20679 else
20680 ac_has_unistd_h=no
20683 done
20686 if test x"$ac_has_unistd_h" = x"yes"; then
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20688 $as_echo_n "checking for monotonic clock... " >&6; }
20689 if test x$gcc_no_link = xyes; then
20690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h. */
20694 #include <unistd.h>
20695 #include <time.h>
20698 main ()
20700 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20701 timespec tp;
20702 #endif
20703 clock_gettime(CLOCK_MONOTONIC, &tp);
20706 return 0;
20708 _ACEOF
20709 if ac_fn_cxx_try_link "$LINENO"; then :
20710 ac_has_clock_monotonic=yes
20711 else
20712 ac_has_clock_monotonic=no
20714 rm -f core conftest.err conftest.$ac_objext \
20715 conftest$ac_exeext conftest.$ac_ext
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20718 $as_echo "$ac_has_clock_monotonic" >&6; }
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20721 $as_echo_n "checking for realtime clock... " >&6; }
20722 if test x$gcc_no_link = xyes; then
20723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20727 #include <unistd.h>
20728 #include <time.h>
20731 main ()
20733 #if _POSIX_TIMERS > 0
20734 timespec tp;
20735 #endif
20736 clock_gettime(CLOCK_REALTIME, &tp);
20739 return 0;
20741 _ACEOF
20742 if ac_fn_cxx_try_link "$LINENO"; then :
20743 ac_has_clock_realtime=yes
20744 else
20745 ac_has_clock_realtime=no
20747 rm -f core conftest.err conftest.$ac_objext \
20748 conftest$ac_exeext conftest.$ac_ext
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20751 $as_echo "$ac_has_clock_realtime" >&6; }
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20754 $as_echo_n "checking for nanosleep... " >&6; }
20755 if test x$gcc_no_link = xyes; then
20756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #include <unistd.h>
20761 #include <time.h>
20764 main ()
20766 #if _POSIX_TIMERS > 0
20767 timespec tp;
20768 #endif
20769 nanosleep(&tp, 0);
20772 return 0;
20774 _ACEOF
20775 if ac_fn_cxx_try_link "$LINENO"; then :
20776 ac_has_nanosleep=yes
20777 else
20778 ac_has_nanosleep=no
20780 rm -f core conftest.err conftest.$ac_objext \
20781 conftest$ac_exeext conftest.$ac_ext
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20784 $as_echo "$ac_has_nanosleep" >&6; }
20788 if test x"$ac_has_clock_monotonic" != x"yes"; then
20789 case ${target_os} in
20790 linux*)
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20792 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20794 /* end confdefs.h. */
20795 #include <unistd.h>
20796 #include <time.h>
20797 #include <sys/syscall.h>
20800 main ()
20802 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20803 timespec tp;
20804 #endif
20805 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20806 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20809 return 0;
20811 _ACEOF
20812 if ac_fn_cxx_try_compile "$LINENO"; then :
20813 ac_has_clock_monotonic_syscall=yes
20814 else
20815 ac_has_clock_monotonic_syscall=no
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20819 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20820 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20822 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20824 ac_has_clock_monotonic=yes
20825 ac_has_clock_realtime=yes
20826 fi;;
20827 esac
20830 if test x"$ac_has_clock_monotonic" = x"yes"; then
20832 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20836 if test x"$ac_has_clock_realtime" = x"yes"; then
20838 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20842 if test x"$ac_has_sched_yield" = x"yes"; then
20844 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20848 if test x"$ac_has_nanosleep" = x"yes"; then
20850 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20852 else
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20854 $as_echo_n "checking for sleep... " >&6; }
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857 #include <unistd.h>
20859 main ()
20861 sleep(1)
20863 return 0;
20865 _ACEOF
20866 if ac_fn_cxx_try_compile "$LINENO"; then :
20867 ac_has_sleep=yes
20868 else
20869 ac_has_sleep=no
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872 if test x"$ac_has_sleep" = x"yes"; then
20874 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20878 $as_echo "$ac_has_sleep" >&6; }
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20880 $as_echo_n "checking for usleep... " >&6; }
20881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20882 /* end confdefs.h. */
20883 #include <unistd.h>
20885 main ()
20887 sleep(1);
20888 usleep(100);
20890 return 0;
20892 _ACEOF
20893 if ac_fn_cxx_try_compile "$LINENO"; then :
20894 ac_has_usleep=yes
20895 else
20896 ac_has_usleep=no
20898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899 if test x"$ac_has_usleep" = x"yes"; then
20901 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20905 $as_echo "$ac_has_usleep" >&6; }
20908 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20910 $as_echo_n "checking for Sleep... " >&6; }
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h. */
20913 #include <windows.h>
20915 main ()
20917 Sleep(1)
20919 return 0;
20921 _ACEOF
20922 if ac_fn_cxx_try_compile "$LINENO"; then :
20923 ac_has_win32_sleep=yes
20924 else
20925 ac_has_win32_sleep=no
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20928 if test x"$ac_has_win32_sleep" = x"yes"; then
20930 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20934 $as_echo "$ac_has_win32_sleep" >&6; }
20939 CXXFLAGS="$ac_save_CXXFLAGS"
20940 LIBS="$ac_save_LIBS"
20941 ac_ext=c
20942 ac_cpp='$CPP $CPPFLAGS'
20943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20949 # Check for tmpnam which is obsolescent in POSIX.1-2008
20951 ac_ext=cpp
20952 ac_cpp='$CXXCPP $CPPFLAGS'
20953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20957 ac_save_CXXFLAGS="$CXXFLAGS"
20958 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20960 $as_echo_n "checking for tmpnam... " >&6; }
20961 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20962 $as_echo_n "(cached) " >&6
20963 else
20964 if test x$gcc_no_link = xyes; then
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <stdio.h>
20969 main ()
20971 char *tmp = tmpnam(NULL);
20973 return 0;
20975 _ACEOF
20976 if ac_fn_cxx_try_compile "$LINENO"; then :
20977 glibcxx_cv_TMPNAM=yes
20978 else
20979 glibcxx_cv_TMPNAM=no
20981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 else
20983 if test x$gcc_no_link = xyes; then
20984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #include <stdio.h>
20990 main ()
20992 char *tmp = tmpnam(NULL);
20994 return 0;
20996 _ACEOF
20997 if ac_fn_cxx_try_link "$LINENO"; then :
20998 glibcxx_cv_TMPNAM=yes
20999 else
21000 glibcxx_cv_TMPNAM=no
21002 rm -f core conftest.err conftest.$ac_objext \
21003 conftest$ac_exeext conftest.$ac_ext
21008 if test $glibcxx_cv_TMPNAM = yes; then
21010 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21014 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21015 CXXFLAGS="$ac_save_CXXFLAGS"
21016 ac_ext=c
21017 ac_cpp='$CPP $CPPFLAGS'
21018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21025 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21026 if test "x$ac_cv_header_locale_h" = x""yes; then :
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21029 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21030 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21031 $as_echo_n "(cached) " >&6
21032 else
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #include <locale.h>
21037 main ()
21039 return LC_MESSAGES
21041 return 0;
21043 _ACEOF
21044 if ac_fn_c_try_compile "$LINENO"; then :
21045 ac_cv_val_LC_MESSAGES=yes
21046 else
21047 ac_cv_val_LC_MESSAGES=no
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21052 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21053 if test $ac_cv_val_LC_MESSAGES = yes; then
21055 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21064 # For hardware_concurrency
21065 for ac_header in sys/sysinfo.h
21066 do :
21067 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21068 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21069 cat >>confdefs.h <<_ACEOF
21070 #define HAVE_SYS_SYSINFO_H 1
21071 _ACEOF
21075 done
21080 ac_ext=cpp
21081 ac_cpp='$CXXCPP $CPPFLAGS'
21082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21086 ac_save_CXXFLAGS="$CXXFLAGS"
21087 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21090 $as_echo_n "checking for get_nprocs... " >&6; }
21091 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21092 $as_echo_n "(cached) " >&6
21093 else
21095 if test x$gcc_no_link = xyes; then
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #include <sys/sysinfo.h>
21100 main ()
21102 int n = get_nprocs();
21104 return 0;
21106 _ACEOF
21107 if ac_fn_cxx_try_compile "$LINENO"; then :
21108 glibcxx_cv_GET_NPROCS=yes
21109 else
21110 glibcxx_cv_GET_NPROCS=no
21112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21113 else
21114 if test x$gcc_no_link = xyes; then
21115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 /* end confdefs.h. */
21119 #include <sys/sysinfo.h>
21121 main ()
21123 int n = get_nprocs();
21125 return 0;
21127 _ACEOF
21128 if ac_fn_cxx_try_link "$LINENO"; then :
21129 glibcxx_cv_GET_NPROCS=yes
21130 else
21131 glibcxx_cv_GET_NPROCS=no
21133 rm -f core conftest.err conftest.$ac_objext \
21134 conftest$ac_exeext conftest.$ac_ext
21139 if test $glibcxx_cv_GET_NPROCS = yes; then
21141 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21145 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21147 CXXFLAGS="$ac_save_CXXFLAGS"
21148 ac_ext=c
21149 ac_cpp='$CPP $CPPFLAGS'
21150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21155 for ac_header in unistd.h
21156 do :
21157 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21158 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21159 cat >>confdefs.h <<_ACEOF
21160 #define HAVE_UNISTD_H 1
21161 _ACEOF
21165 done
21170 ac_ext=cpp
21171 ac_cpp='$CXXCPP $CPPFLAGS'
21172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21176 ac_save_CXXFLAGS="$CXXFLAGS"
21177 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21180 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21181 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21182 $as_echo_n "(cached) " >&6
21183 else
21185 if test x$gcc_no_link = xyes; then
21186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21187 /* end confdefs.h. */
21188 #include <unistd.h>
21190 main ()
21192 int n = sysconf(_SC_NPROCESSORS_ONLN);
21194 return 0;
21196 _ACEOF
21197 if ac_fn_cxx_try_compile "$LINENO"; then :
21198 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21199 else
21200 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21203 else
21204 if test x$gcc_no_link = xyes; then
21205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209 #include <unistd.h>
21211 main ()
21213 int n = sysconf(_SC_NPROCESSORS_ONLN);
21215 return 0;
21217 _ACEOF
21218 if ac_fn_cxx_try_link "$LINENO"; then :
21219 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21220 else
21221 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21223 rm -f core conftest.err conftest.$ac_objext \
21224 conftest$ac_exeext conftest.$ac_ext
21229 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21231 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21235 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21237 CXXFLAGS="$ac_save_CXXFLAGS"
21238 ac_ext=c
21239 ac_cpp='$CPP $CPPFLAGS'
21240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21248 ac_ext=cpp
21249 ac_cpp='$CXXCPP $CPPFLAGS'
21250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21254 ac_save_CXXFLAGS="$CXXFLAGS"
21255 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21258 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21259 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21260 $as_echo_n "(cached) " >&6
21261 else
21263 if test x$gcc_no_link = xyes; then
21264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21265 /* end confdefs.h. */
21266 #include <unistd.h>
21268 main ()
21270 int n = sysconf(_SC_NPROC_ONLN);
21272 return 0;
21274 _ACEOF
21275 if ac_fn_cxx_try_compile "$LINENO"; then :
21276 glibcxx_cv_SC_NPROC_ONLN=yes
21277 else
21278 glibcxx_cv_SC_NPROC_ONLN=no
21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21281 else
21282 if test x$gcc_no_link = xyes; then
21283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <unistd.h>
21289 main ()
21291 int n = sysconf(_SC_NPROC_ONLN);
21293 return 0;
21295 _ACEOF
21296 if ac_fn_cxx_try_link "$LINENO"; then :
21297 glibcxx_cv_SC_NPROC_ONLN=yes
21298 else
21299 glibcxx_cv_SC_NPROC_ONLN=no
21301 rm -f core conftest.err conftest.$ac_objext \
21302 conftest$ac_exeext conftest.$ac_ext
21307 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21309 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21313 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21315 CXXFLAGS="$ac_save_CXXFLAGS"
21316 ac_ext=c
21317 ac_cpp='$CPP $CPPFLAGS'
21318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21326 ac_ext=cpp
21327 ac_cpp='$CXXCPP $CPPFLAGS'
21328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21332 ac_save_CXXFLAGS="$CXXFLAGS"
21333 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21336 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21337 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21338 $as_echo_n "(cached) " >&6
21339 else
21341 if test x$gcc_no_link = xyes; then
21342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21343 /* end confdefs.h. */
21344 #include <pthread.h>
21346 main ()
21348 int n = pthread_num_processors_np();
21350 return 0;
21352 _ACEOF
21353 if ac_fn_cxx_try_compile "$LINENO"; then :
21354 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21355 else
21356 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21359 else
21360 if test x$gcc_no_link = xyes; then
21361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21364 /* end confdefs.h. */
21365 #include <pthread.h>
21367 main ()
21369 int n = pthread_num_processors_np();
21371 return 0;
21373 _ACEOF
21374 if ac_fn_cxx_try_link "$LINENO"; then :
21375 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21376 else
21377 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21379 rm -f core conftest.err conftest.$ac_objext \
21380 conftest$ac_exeext conftest.$ac_ext
21385 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21387 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21391 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21393 CXXFLAGS="$ac_save_CXXFLAGS"
21394 ac_ext=c
21395 ac_cpp='$CPP $CPPFLAGS'
21396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21404 ac_ext=cpp
21405 ac_cpp='$CXXCPP $CPPFLAGS'
21406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21410 ac_save_CXXFLAGS="$CXXFLAGS"
21411 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21414 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21415 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21416 $as_echo_n "(cached) " >&6
21417 else
21419 if test x$gcc_no_link = xyes; then
21420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h. */
21423 #include <stddef.h>
21424 #include <sys/sysctl.h>
21427 main ()
21430 int count;
21431 size_t size = sizeof(count);
21432 int mib[] = { CTL_HW, HW_NCPU };
21433 sysctl(mib, 2, &count, &size, NULL, 0);
21436 return 0;
21438 _ACEOF
21439 if ac_fn_cxx_try_compile "$LINENO"; then :
21440 glibcxx_cv_SYSCTL_HW_NCPU=yes
21441 else
21442 glibcxx_cv_SYSCTL_HW_NCPU=no
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 else
21446 if test x$gcc_no_link = xyes; then
21447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21450 /* end confdefs.h. */
21452 #include <stddef.h>
21453 #include <sys/sysctl.h>
21456 main ()
21459 int count;
21460 size_t size = sizeof(count);
21461 int mib[] = { CTL_HW, HW_NCPU };
21462 sysctl(mib, 2, &count, &size, NULL, 0);
21465 return 0;
21467 _ACEOF
21468 if ac_fn_cxx_try_link "$LINENO"; then :
21469 glibcxx_cv_SYSCTL_HW_NCPU=yes
21470 else
21471 glibcxx_cv_SYSCTL_HW_NCPU=no
21473 rm -f core conftest.err conftest.$ac_objext \
21474 conftest$ac_exeext conftest.$ac_ext
21479 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21481 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21485 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21487 CXXFLAGS="$ac_save_CXXFLAGS"
21488 ac_ext=c
21489 ac_cpp='$CPP $CPPFLAGS'
21490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21497 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21498 # Note that this test has to be run with the C language.
21499 # Otherwise, sdt.h will try to include some headers from
21500 # libstdc++ itself.
21502 ac_ext=c
21503 ac_cpp='$CPP $CPPFLAGS'
21504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21512 # Because we have to run the test in C, we use grep rather
21513 # than the compiler to check for the bug. The bug is that
21514 # were strings without trailing whitespace, causing g++
21515 # to look for operator"". The pattern searches for the fixed
21516 # output.
21517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21518 /* end confdefs.h. */
21520 #include <sys/sdt.h>
21521 int f() { STAP_PROBE(hi, bob); }
21523 _ACEOF
21524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21525 $EGREP " \",\" " >/dev/null 2>&1; then :
21526 glibcxx_cv_sys_sdt_h=yes
21527 else
21528 glibcxx_cv_sys_sdt_h=no
21530 rm -f conftest*
21535 ac_ext=c
21536 ac_cpp='$CPP $CPPFLAGS'
21537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21541 if test $glibcxx_cv_sys_sdt_h = yes; then
21543 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21547 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21550 # Check for available headers.
21551 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21552 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21553 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21554 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21555 wchar.h wctype.h
21556 do :
21557 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21558 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21559 eval as_val=\$$as_ac_Header
21560 if test "x$as_val" = x""yes; then :
21561 cat >>confdefs.h <<_ACEOF
21562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21563 _ACEOF
21567 done
21570 # Only do link tests if native. Else, hardcode.
21571 if $GLIBCXX_IS_NATIVE; then
21573 # We can do more elaborate tests that assume a working linker.
21574 CANADIAN=no
21578 # Check whether --with-gnu-ld was given.
21579 if test "${with_gnu_ld+set}" = set; then :
21580 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21581 else
21582 with_gnu_ld=no
21585 ac_prog=ld
21586 if test "$GCC" = yes; then
21587 # Check if gcc -print-prog-name=ld gives a path.
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21589 $as_echo_n "checking for ld used by $CC... " >&6; }
21590 case $host in
21591 *-*-mingw*)
21592 # gcc leaves a trailing carriage return which upsets mingw
21593 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21595 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21596 esac
21597 case $ac_prog in
21598 # Accept absolute paths.
21599 [\\/]* | ?:[\\/]*)
21600 re_direlt='/[^/][^/]*/\.\./'
21601 # Canonicalize the pathname of ld
21602 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21603 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21604 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21605 done
21606 test -z "$LD" && LD="$ac_prog"
21609 # If it fails, then pretend we aren't using GCC.
21610 ac_prog=ld
21613 # If it is relative, then search for the first ld in PATH.
21614 with_gnu_ld=unknown
21616 esac
21617 elif test "$with_gnu_ld" = yes; then
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21619 $as_echo_n "checking for GNU ld... " >&6; }
21620 else
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21622 $as_echo_n "checking for non-GNU ld... " >&6; }
21624 if test "${lt_cv_path_LD+set}" = set; then :
21625 $as_echo_n "(cached) " >&6
21626 else
21627 if test -z "$LD"; then
21628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21629 for ac_dir in $PATH; do
21630 IFS="$lt_save_ifs"
21631 test -z "$ac_dir" && ac_dir=.
21632 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21633 lt_cv_path_LD="$ac_dir/$ac_prog"
21634 # Check to see if the program is GNU ld. I'd rather use --version,
21635 # but apparently some variants of GNU ld only accept -v.
21636 # Break only if it was the GNU/non-GNU ld that we prefer.
21637 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21638 *GNU* | *'with BFD'*)
21639 test "$with_gnu_ld" != no && break
21642 test "$with_gnu_ld" != yes && break
21644 esac
21646 done
21647 IFS="$lt_save_ifs"
21648 else
21649 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21653 LD="$lt_cv_path_LD"
21654 if test -n "$LD"; then
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21656 $as_echo "$LD" >&6; }
21657 else
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21659 $as_echo "no" >&6; }
21661 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21663 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21664 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21665 $as_echo_n "(cached) " >&6
21666 else
21667 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21668 case `$LD -v 2>&1 </dev/null` in
21669 *GNU* | *'with BFD'*)
21670 lt_cv_prog_gnu_ld=yes
21673 lt_cv_prog_gnu_ld=no
21675 esac
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21678 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21679 with_gnu_ld=$lt_cv_prog_gnu_ld
21687 # If we're not using GNU ld, then there's no point in even trying these
21688 # tests. Check for that first. We should have already tested for gld
21689 # by now (in libtool), but require it now just to be safe...
21690 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21691 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21695 # The name set by libtool depends on the version of libtool. Shame on us
21696 # for depending on an impl detail, but c'est la vie. Older versions used
21697 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21698 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21699 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21700 # set (hence we're using an older libtool), then set it.
21701 if test x${with_gnu_ld+set} != xset; then
21702 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21703 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21704 with_gnu_ld=no
21705 else
21706 with_gnu_ld=$ac_cv_prog_gnu_ld
21710 # Start by getting the version number. I think the libtool test already
21711 # does some of this, but throws away the result.
21712 glibcxx_ld_is_gold=no
21713 if test x"$with_gnu_ld" = x"yes"; then
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21715 $as_echo_n "checking for ld version... " >&6; }
21717 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21718 glibcxx_ld_is_gold=yes
21720 ldver=`$LD --version 2>/dev/null |
21721 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'`
21723 glibcxx_gnu_ld_version=`echo $ldver | \
21724 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21726 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21729 # Set --gc-sections.
21730 glibcxx_have_gc_sections=no
21731 if test "$glibcxx_ld_is_gold" = "yes"; then
21732 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21733 glibcxx_have_gc_sections=yes
21735 else
21736 glibcxx_gcsections_min_ld=21602
21737 if test x"$with_gnu_ld" = x"yes" &&
21738 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21739 glibcxx_have_gc_sections=yes
21742 if test "$glibcxx_have_gc_sections" = "yes"; then
21743 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21744 # NB: This flag only works reliably after 2.16.1. Configure tests
21745 # for this are difficult, so hard wire a value that should work.
21747 ac_test_CFLAGS="${CFLAGS+set}"
21748 ac_save_CFLAGS="$CFLAGS"
21749 CFLAGS='-Wl,--gc-sections'
21751 # Check for -Wl,--gc-sections
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21753 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21754 if test x$gcc_no_link = xyes; then
21755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21759 int one(void) { return 1; }
21760 int two(void) { return 2; }
21763 main ()
21765 two();
21767 return 0;
21769 _ACEOF
21770 if ac_fn_c_try_link "$LINENO"; then :
21771 ac_gcsections=yes
21772 else
21773 ac_gcsections=no
21775 rm -f core conftest.err conftest.$ac_objext \
21776 conftest$ac_exeext conftest.$ac_ext
21777 if test "$ac_gcsections" = "yes"; then
21778 rm -f conftest.c
21779 touch conftest.c
21780 if $CC -c conftest.c; then
21781 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21782 grep "Warning: gc-sections option ignored" > /dev/null; then
21783 ac_gcsections=no
21786 rm -f conftest.c conftest.o conftest
21788 if test "$ac_gcsections" = "yes"; then
21789 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21792 $as_echo "$ac_gcsections" >&6; }
21794 if test "$ac_test_CFLAGS" = set; then
21795 CFLAGS="$ac_save_CFLAGS"
21796 else
21797 # this is the suspicious part
21798 CFLAGS=''
21802 # Set -z,relro.
21803 # Note this is only for shared objects.
21804 ac_ld_relro=no
21805 if test x"$with_gnu_ld" = x"yes"; then
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21807 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21808 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21809 if test -n "$cxx_z_relo"; then
21810 OPT_LDFLAGS="-Wl,-z,relro"
21811 ac_ld_relro=yes
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21814 $as_echo "$ac_ld_relro" >&6; }
21817 # Set linker optimization flags.
21818 if test x"$with_gnu_ld" = x"yes"; then
21819 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21827 ac_save_CXXFLAGS="$CXXFLAGS"
21828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21831 $as_echo_n "checking for sin in -lm... " >&6; }
21832 if test "${ac_cv_lib_m_sin+set}" = set; then :
21833 $as_echo_n "(cached) " >&6
21834 else
21835 ac_check_lib_save_LIBS=$LIBS
21836 LIBS="-lm $LIBS"
21837 if test x$gcc_no_link = xyes; then
21838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21843 /* Override any GCC internal prototype to avoid an error.
21844 Use char because int might match the return type of a GCC
21845 builtin and then its argument prototype would still apply. */
21846 #ifdef __cplusplus
21847 extern "C"
21848 #endif
21849 char sin ();
21851 main ()
21853 return sin ();
21855 return 0;
21857 _ACEOF
21858 if ac_fn_c_try_link "$LINENO"; then :
21859 ac_cv_lib_m_sin=yes
21860 else
21861 ac_cv_lib_m_sin=no
21863 rm -f core conftest.err conftest.$ac_objext \
21864 conftest$ac_exeext conftest.$ac_ext
21865 LIBS=$ac_check_lib_save_LIBS
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21868 $as_echo "$ac_cv_lib_m_sin" >&6; }
21869 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21870 libm="-lm"
21873 ac_save_LIBS="$LIBS"
21874 LIBS="$LIBS $libm"
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21879 $as_echo_n "checking for isinf declaration... " >&6; }
21880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21881 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21882 $as_echo_n "(cached) " >&6
21883 else
21886 ac_ext=cpp
21887 ac_cpp='$CXXCPP $CPPFLAGS'
21888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21894 #include <math.h>
21895 #ifdef HAVE_IEEEFP_H
21896 #include <ieeefp.h>
21897 #endif
21900 main ()
21902 isinf(0);
21904 return 0;
21906 _ACEOF
21907 if ac_fn_cxx_try_compile "$LINENO"; then :
21908 glibcxx_cv_func_isinf_use=yes
21909 else
21910 glibcxx_cv_func_isinf_use=no
21912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21913 ac_ext=c
21914 ac_cpp='$CPP $CPPFLAGS'
21915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21924 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21926 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21927 for ac_func in isinf
21928 do :
21929 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21930 if test "x$ac_cv_func_isinf" = x""yes; then :
21931 cat >>confdefs.h <<_ACEOF
21932 #define HAVE_ISINF 1
21933 _ACEOF
21936 done
21938 else
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21941 $as_echo_n "checking for _isinf declaration... " >&6; }
21942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21943 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21944 $as_echo_n "(cached) " >&6
21945 else
21948 ac_ext=cpp
21949 ac_cpp='$CXXCPP $CPPFLAGS'
21950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21955 /* end confdefs.h. */
21956 #include <math.h>
21957 #ifdef HAVE_IEEEFP_H
21958 #include <ieeefp.h>
21959 #endif
21962 main ()
21964 _isinf(0);
21966 return 0;
21968 _ACEOF
21969 if ac_fn_cxx_try_compile "$LINENO"; then :
21970 glibcxx_cv_func__isinf_use=yes
21971 else
21972 glibcxx_cv_func__isinf_use=no
21974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21975 ac_ext=c
21976 ac_cpp='$CPP $CPPFLAGS'
21977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21986 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21988 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21989 for ac_func in _isinf
21990 do :
21991 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21992 if test "x$ac_cv_func__isinf" = x""yes; then :
21993 cat >>confdefs.h <<_ACEOF
21994 #define HAVE__ISINF 1
21995 _ACEOF
21998 done
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22008 $as_echo_n "checking for isnan declaration... " >&6; }
22009 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22010 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22011 $as_echo_n "(cached) " >&6
22012 else
22015 ac_ext=cpp
22016 ac_cpp='$CXXCPP $CPPFLAGS'
22017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22023 #include <math.h>
22024 #ifdef HAVE_IEEEFP_H
22025 #include <ieeefp.h>
22026 #endif
22029 main ()
22031 isnan(0);
22033 return 0;
22035 _ACEOF
22036 if ac_fn_cxx_try_compile "$LINENO"; then :
22037 glibcxx_cv_func_isnan_use=yes
22038 else
22039 glibcxx_cv_func_isnan_use=no
22041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22042 ac_ext=c
22043 ac_cpp='$CPP $CPPFLAGS'
22044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22053 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22055 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22056 for ac_func in isnan
22057 do :
22058 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22059 if test "x$ac_cv_func_isnan" = x""yes; then :
22060 cat >>confdefs.h <<_ACEOF
22061 #define HAVE_ISNAN 1
22062 _ACEOF
22065 done
22067 else
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22070 $as_echo_n "checking for _isnan declaration... " >&6; }
22071 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22072 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22073 $as_echo_n "(cached) " >&6
22074 else
22077 ac_ext=cpp
22078 ac_cpp='$CXXCPP $CPPFLAGS'
22079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22084 /* end confdefs.h. */
22085 #include <math.h>
22086 #ifdef HAVE_IEEEFP_H
22087 #include <ieeefp.h>
22088 #endif
22091 main ()
22093 _isnan(0);
22095 return 0;
22097 _ACEOF
22098 if ac_fn_cxx_try_compile "$LINENO"; then :
22099 glibcxx_cv_func__isnan_use=yes
22100 else
22101 glibcxx_cv_func__isnan_use=no
22103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22104 ac_ext=c
22105 ac_cpp='$CPP $CPPFLAGS'
22106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22115 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22117 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22118 for ac_func in _isnan
22119 do :
22120 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22121 if test "x$ac_cv_func__isnan" = x""yes; then :
22122 cat >>confdefs.h <<_ACEOF
22123 #define HAVE__ISNAN 1
22124 _ACEOF
22127 done
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22137 $as_echo_n "checking for finite declaration... " >&6; }
22138 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22139 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22140 $as_echo_n "(cached) " >&6
22141 else
22144 ac_ext=cpp
22145 ac_cpp='$CXXCPP $CPPFLAGS'
22146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22151 /* end confdefs.h. */
22152 #include <math.h>
22153 #ifdef HAVE_IEEEFP_H
22154 #include <ieeefp.h>
22155 #endif
22158 main ()
22160 finite(0);
22162 return 0;
22164 _ACEOF
22165 if ac_fn_cxx_try_compile "$LINENO"; then :
22166 glibcxx_cv_func_finite_use=yes
22167 else
22168 glibcxx_cv_func_finite_use=no
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22171 ac_ext=c
22172 ac_cpp='$CPP $CPPFLAGS'
22173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22182 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22184 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22185 for ac_func in finite
22186 do :
22187 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22188 if test "x$ac_cv_func_finite" = x""yes; then :
22189 cat >>confdefs.h <<_ACEOF
22190 #define HAVE_FINITE 1
22191 _ACEOF
22194 done
22196 else
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22199 $as_echo_n "checking for _finite declaration... " >&6; }
22200 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22201 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22202 $as_echo_n "(cached) " >&6
22203 else
22206 ac_ext=cpp
22207 ac_cpp='$CXXCPP $CPPFLAGS'
22208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22213 /* end confdefs.h. */
22214 #include <math.h>
22215 #ifdef HAVE_IEEEFP_H
22216 #include <ieeefp.h>
22217 #endif
22220 main ()
22222 _finite(0);
22224 return 0;
22226 _ACEOF
22227 if ac_fn_cxx_try_compile "$LINENO"; then :
22228 glibcxx_cv_func__finite_use=yes
22229 else
22230 glibcxx_cv_func__finite_use=no
22232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22233 ac_ext=c
22234 ac_cpp='$CPP $CPPFLAGS'
22235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22244 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22246 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22247 for ac_func in _finite
22248 do :
22249 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22250 if test "x$ac_cv_func__finite" = x""yes; then :
22251 cat >>confdefs.h <<_ACEOF
22252 #define HAVE__FINITE 1
22253 _ACEOF
22256 done
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22266 $as_echo_n "checking for sincos declaration... " >&6; }
22267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22268 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22269 $as_echo_n "(cached) " >&6
22270 else
22273 ac_ext=cpp
22274 ac_cpp='$CXXCPP $CPPFLAGS'
22275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h. */
22281 #include <math.h>
22283 main ()
22285 sincos(0, 0, 0);
22287 return 0;
22289 _ACEOF
22290 if ac_fn_cxx_try_compile "$LINENO"; then :
22291 glibcxx_cv_func_sincos_use=yes
22292 else
22293 glibcxx_cv_func_sincos_use=no
22295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 ac_ext=c
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22307 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22309 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22310 for ac_func in sincos
22311 do :
22312 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22313 if test "x$ac_cv_func_sincos" = x""yes; then :
22314 cat >>confdefs.h <<_ACEOF
22315 #define HAVE_SINCOS 1
22316 _ACEOF
22319 done
22321 else
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22324 $as_echo_n "checking for _sincos declaration... " >&6; }
22325 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22326 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22327 $as_echo_n "(cached) " >&6
22328 else
22331 ac_ext=cpp
22332 ac_cpp='$CXXCPP $CPPFLAGS'
22333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 /* end confdefs.h. */
22339 #include <math.h>
22341 main ()
22343 _sincos(0, 0, 0);
22345 return 0;
22347 _ACEOF
22348 if ac_fn_cxx_try_compile "$LINENO"; then :
22349 glibcxx_cv_func__sincos_use=yes
22350 else
22351 glibcxx_cv_func__sincos_use=no
22353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 ac_ext=c
22355 ac_cpp='$CPP $CPPFLAGS'
22356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22365 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22368 for ac_func in _sincos
22369 do :
22370 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22371 if test "x$ac_cv_func__sincos" = x""yes; then :
22372 cat >>confdefs.h <<_ACEOF
22373 #define HAVE__SINCOS 1
22374 _ACEOF
22377 done
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22387 $as_echo_n "checking for fpclass declaration... " >&6; }
22388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22389 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22390 $as_echo_n "(cached) " >&6
22391 else
22394 ac_ext=cpp
22395 ac_cpp='$CXXCPP $CPPFLAGS'
22396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401 /* end confdefs.h. */
22402 #include <math.h>
22403 #ifdef HAVE_IEEEFP_H
22404 #include <ieeefp.h>
22405 #endif
22408 main ()
22410 fpclass(0);
22412 return 0;
22414 _ACEOF
22415 if ac_fn_cxx_try_compile "$LINENO"; then :
22416 glibcxx_cv_func_fpclass_use=yes
22417 else
22418 glibcxx_cv_func_fpclass_use=no
22420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 ac_ext=c
22422 ac_cpp='$CPP $CPPFLAGS'
22423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22432 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22434 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22435 for ac_func in fpclass
22436 do :
22437 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22438 if test "x$ac_cv_func_fpclass" = x""yes; then :
22439 cat >>confdefs.h <<_ACEOF
22440 #define HAVE_FPCLASS 1
22441 _ACEOF
22444 done
22446 else
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22449 $as_echo_n "checking for _fpclass declaration... " >&6; }
22450 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22451 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22452 $as_echo_n "(cached) " >&6
22453 else
22456 ac_ext=cpp
22457 ac_cpp='$CXXCPP $CPPFLAGS'
22458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22463 /* end confdefs.h. */
22464 #include <math.h>
22465 #ifdef HAVE_IEEEFP_H
22466 #include <ieeefp.h>
22467 #endif
22470 main ()
22472 _fpclass(0);
22474 return 0;
22476 _ACEOF
22477 if ac_fn_cxx_try_compile "$LINENO"; then :
22478 glibcxx_cv_func__fpclass_use=yes
22479 else
22480 glibcxx_cv_func__fpclass_use=no
22482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22483 ac_ext=c
22484 ac_cpp='$CPP $CPPFLAGS'
22485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22494 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22496 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22497 for ac_func in _fpclass
22498 do :
22499 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22500 if test "x$ac_cv_func__fpclass" = x""yes; then :
22501 cat >>confdefs.h <<_ACEOF
22502 #define HAVE__FPCLASS 1
22503 _ACEOF
22506 done
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22516 $as_echo_n "checking for qfpclass declaration... " >&6; }
22517 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22518 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22532 #ifdef HAVE_IEEEFP_H
22533 #include <ieeefp.h>
22534 #endif
22537 main ()
22539 qfpclass(0);
22541 return 0;
22543 _ACEOF
22544 if ac_fn_cxx_try_compile "$LINENO"; then :
22545 glibcxx_cv_func_qfpclass_use=yes
22546 else
22547 glibcxx_cv_func_qfpclass_use=no
22549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22550 ac_ext=c
22551 ac_cpp='$CPP $CPPFLAGS'
22552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22561 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22563 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22564 for ac_func in qfpclass
22565 do :
22566 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22567 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22568 cat >>confdefs.h <<_ACEOF
22569 #define HAVE_QFPCLASS 1
22570 _ACEOF
22573 done
22575 else
22577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22578 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22579 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22580 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22581 $as_echo_n "(cached) " >&6
22582 else
22585 ac_ext=cpp
22586 ac_cpp='$CXXCPP $CPPFLAGS'
22587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22592 /* end confdefs.h. */
22593 #include <math.h>
22594 #ifdef HAVE_IEEEFP_H
22595 #include <ieeefp.h>
22596 #endif
22599 main ()
22601 _qfpclass(0);
22603 return 0;
22605 _ACEOF
22606 if ac_fn_cxx_try_compile "$LINENO"; then :
22607 glibcxx_cv_func__qfpclass_use=yes
22608 else
22609 glibcxx_cv_func__qfpclass_use=no
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22612 ac_ext=c
22613 ac_cpp='$CPP $CPPFLAGS'
22614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22623 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22626 for ac_func in _qfpclass
22627 do :
22628 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22629 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22630 cat >>confdefs.h <<_ACEOF
22631 #define HAVE__QFPCLASS 1
22632 _ACEOF
22635 done
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22645 $as_echo_n "checking for hypot declaration... " >&6; }
22646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22647 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22648 $as_echo_n "(cached) " >&6
22649 else
22652 ac_ext=cpp
22653 ac_cpp='$CXXCPP $CPPFLAGS'
22654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22659 /* end confdefs.h. */
22660 #include <math.h>
22662 main ()
22664 hypot(0, 0);
22666 return 0;
22668 _ACEOF
22669 if ac_fn_cxx_try_compile "$LINENO"; then :
22670 glibcxx_cv_func_hypot_use=yes
22671 else
22672 glibcxx_cv_func_hypot_use=no
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22686 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22688 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22689 for ac_func in hypot
22690 do :
22691 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22692 if test "x$ac_cv_func_hypot" = x""yes; then :
22693 cat >>confdefs.h <<_ACEOF
22694 #define HAVE_HYPOT 1
22695 _ACEOF
22698 done
22700 else
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22703 $as_echo_n "checking for _hypot declaration... " >&6; }
22704 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22705 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22706 $as_echo_n "(cached) " >&6
22707 else
22710 ac_ext=cpp
22711 ac_cpp='$CXXCPP $CPPFLAGS'
22712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22718 #include <math.h>
22720 main ()
22722 _hypot(0, 0);
22724 return 0;
22726 _ACEOF
22727 if ac_fn_cxx_try_compile "$LINENO"; then :
22728 glibcxx_cv_func__hypot_use=yes
22729 else
22730 glibcxx_cv_func__hypot_use=no
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 ac_ext=c
22734 ac_cpp='$CPP $CPPFLAGS'
22735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22744 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22746 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22747 for ac_func in _hypot
22748 do :
22749 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22750 if test "x$ac_cv_func__hypot" = x""yes; then :
22751 cat >>confdefs.h <<_ACEOF
22752 #define HAVE__HYPOT 1
22753 _ACEOF
22756 done
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22766 $as_echo_n "checking for float trig functions... " >&6; }
22767 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22768 $as_echo_n "(cached) " >&6
22769 else
22772 ac_ext=cpp
22773 ac_cpp='$CXXCPP $CPPFLAGS'
22774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22780 #include <math.h>
22782 main ()
22784 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22786 return 0;
22788 _ACEOF
22789 if ac_fn_cxx_try_compile "$LINENO"; then :
22790 glibcxx_cv_func_float_trig_use=yes
22791 else
22792 glibcxx_cv_func_float_trig_use=no
22794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795 ac_ext=c
22796 ac_cpp='$CPP $CPPFLAGS'
22797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22804 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22807 do :
22808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22810 eval as_val=\$$as_ac_var
22811 if test "x$as_val" = x""yes; then :
22812 cat >>confdefs.h <<_ACEOF
22813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22814 _ACEOF
22817 done
22819 else
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22821 $as_echo_n "checking for _float trig functions... " >&6; }
22822 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22823 $as_echo_n "(cached) " >&6
22824 else
22827 ac_ext=cpp
22828 ac_cpp='$CXXCPP $CPPFLAGS'
22829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22834 /* end confdefs.h. */
22835 #include <math.h>
22837 main ()
22839 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22841 return 0;
22843 _ACEOF
22844 if ac_fn_cxx_try_compile "$LINENO"; then :
22845 glibcxx_cv_func__float_trig_use=yes
22846 else
22847 glibcxx_cv_func__float_trig_use=no
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22850 ac_ext=c
22851 ac_cpp='$CPP $CPPFLAGS'
22852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22859 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22860 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22861 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22862 do :
22863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22865 eval as_val=\$$as_ac_var
22866 if test "x$as_val" = x""yes; then :
22867 cat >>confdefs.h <<_ACEOF
22868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22869 _ACEOF
22872 done
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22882 $as_echo_n "checking for float round functions... " >&6; }
22883 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22884 $as_echo_n "(cached) " >&6
22885 else
22888 ac_ext=cpp
22889 ac_cpp='$CXXCPP $CPPFLAGS'
22890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22895 /* end confdefs.h. */
22896 #include <math.h>
22898 main ()
22900 ceilf (0); floorf (0);
22902 return 0;
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906 glibcxx_cv_func_float_round_use=yes
22907 else
22908 glibcxx_cv_func_float_round_use=no
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911 ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22920 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22921 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22922 for ac_func in ceilf floorf
22923 do :
22924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22926 eval as_val=\$$as_ac_var
22927 if test "x$as_val" = x""yes; then :
22928 cat >>confdefs.h <<_ACEOF
22929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22930 _ACEOF
22933 done
22935 else
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22937 $as_echo_n "checking for _float round functions... " >&6; }
22938 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22939 $as_echo_n "(cached) " >&6
22940 else
22943 ac_ext=cpp
22944 ac_cpp='$CXXCPP $CPPFLAGS'
22945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22950 /* end confdefs.h. */
22951 #include <math.h>
22953 main ()
22955 _ceilf (0); _floorf (0);
22957 return 0;
22959 _ACEOF
22960 if ac_fn_cxx_try_compile "$LINENO"; then :
22961 glibcxx_cv_func__float_round_use=yes
22962 else
22963 glibcxx_cv_func__float_round_use=no
22965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22966 ac_ext=c
22967 ac_cpp='$CPP $CPPFLAGS'
22968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22975 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22976 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22977 for ac_func in _ceilf _floorf
22978 do :
22979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22981 eval as_val=\$$as_ac_var
22982 if test "x$as_val" = x""yes; then :
22983 cat >>confdefs.h <<_ACEOF
22984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22985 _ACEOF
22988 done
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22999 $as_echo_n "checking for expf declaration... " >&6; }
23000 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23001 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23002 $as_echo_n "(cached) " >&6
23003 else
23006 ac_ext=cpp
23007 ac_cpp='$CXXCPP $CPPFLAGS'
23008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23013 /* end confdefs.h. */
23014 #include <math.h>
23015 #ifdef HAVE_IEEEFP_H
23016 #include <ieeefp.h>
23017 #endif
23020 main ()
23022 expf(0);
23024 return 0;
23026 _ACEOF
23027 if ac_fn_cxx_try_compile "$LINENO"; then :
23028 glibcxx_cv_func_expf_use=yes
23029 else
23030 glibcxx_cv_func_expf_use=no
23032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 ac_ext=c
23034 ac_cpp='$CPP $CPPFLAGS'
23035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23044 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23046 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23047 for ac_func in expf
23048 do :
23049 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23050 if test "x$ac_cv_func_expf" = x""yes; then :
23051 cat >>confdefs.h <<_ACEOF
23052 #define HAVE_EXPF 1
23053 _ACEOF
23056 done
23058 else
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23061 $as_echo_n "checking for _expf declaration... " >&6; }
23062 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23063 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23064 $as_echo_n "(cached) " >&6
23065 else
23068 ac_ext=cpp
23069 ac_cpp='$CXXCPP $CPPFLAGS'
23070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23075 /* end confdefs.h. */
23076 #include <math.h>
23077 #ifdef HAVE_IEEEFP_H
23078 #include <ieeefp.h>
23079 #endif
23082 main ()
23084 _expf(0);
23086 return 0;
23088 _ACEOF
23089 if ac_fn_cxx_try_compile "$LINENO"; then :
23090 glibcxx_cv_func__expf_use=yes
23091 else
23092 glibcxx_cv_func__expf_use=no
23094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095 ac_ext=c
23096 ac_cpp='$CPP $CPPFLAGS'
23097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23106 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23108 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23109 for ac_func in _expf
23110 do :
23111 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23112 if test "x$ac_cv_func__expf" = x""yes; then :
23113 cat >>confdefs.h <<_ACEOF
23114 #define HAVE__EXPF 1
23115 _ACEOF
23118 done
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23128 $as_echo_n "checking for isnanf declaration... " >&6; }
23129 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23130 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23131 $as_echo_n "(cached) " >&6
23132 else
23135 ac_ext=cpp
23136 ac_cpp='$CXXCPP $CPPFLAGS'
23137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23142 /* end confdefs.h. */
23143 #include <math.h>
23144 #ifdef HAVE_IEEEFP_H
23145 #include <ieeefp.h>
23146 #endif
23149 main ()
23151 isnanf(0);
23153 return 0;
23155 _ACEOF
23156 if ac_fn_cxx_try_compile "$LINENO"; then :
23157 glibcxx_cv_func_isnanf_use=yes
23158 else
23159 glibcxx_cv_func_isnanf_use=no
23161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23162 ac_ext=c
23163 ac_cpp='$CPP $CPPFLAGS'
23164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23173 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23175 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23176 for ac_func in isnanf
23177 do :
23178 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23179 if test "x$ac_cv_func_isnanf" = x""yes; then :
23180 cat >>confdefs.h <<_ACEOF
23181 #define HAVE_ISNANF 1
23182 _ACEOF
23185 done
23187 else
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23190 $as_echo_n "checking for _isnanf declaration... " >&6; }
23191 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23192 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23193 $as_echo_n "(cached) " >&6
23194 else
23197 ac_ext=cpp
23198 ac_cpp='$CXXCPP $CPPFLAGS'
23199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23204 /* end confdefs.h. */
23205 #include <math.h>
23206 #ifdef HAVE_IEEEFP_H
23207 #include <ieeefp.h>
23208 #endif
23211 main ()
23213 _isnanf(0);
23215 return 0;
23217 _ACEOF
23218 if ac_fn_cxx_try_compile "$LINENO"; then :
23219 glibcxx_cv_func__isnanf_use=yes
23220 else
23221 glibcxx_cv_func__isnanf_use=no
23223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23224 ac_ext=c
23225 ac_cpp='$CPP $CPPFLAGS'
23226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23235 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23237 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23238 for ac_func in _isnanf
23239 do :
23240 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23241 if test "x$ac_cv_func__isnanf" = x""yes; then :
23242 cat >>confdefs.h <<_ACEOF
23243 #define HAVE__ISNANF 1
23244 _ACEOF
23247 done
23256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23257 $as_echo_n "checking for isinff declaration... " >&6; }
23258 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23259 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23260 $as_echo_n "(cached) " >&6
23261 else
23264 ac_ext=cpp
23265 ac_cpp='$CXXCPP $CPPFLAGS'
23266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23271 /* end confdefs.h. */
23272 #include <math.h>
23273 #ifdef HAVE_IEEEFP_H
23274 #include <ieeefp.h>
23275 #endif
23278 main ()
23280 isinff(0);
23282 return 0;
23284 _ACEOF
23285 if ac_fn_cxx_try_compile "$LINENO"; then :
23286 glibcxx_cv_func_isinff_use=yes
23287 else
23288 glibcxx_cv_func_isinff_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_isinff_use" >&5
23302 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23304 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23305 for ac_func in isinff
23306 do :
23307 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23308 if test "x$ac_cv_func_isinff" = x""yes; then :
23309 cat >>confdefs.h <<_ACEOF
23310 #define HAVE_ISINFF 1
23311 _ACEOF
23314 done
23316 else
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23319 $as_echo_n "checking for _isinff declaration... " >&6; }
23320 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23321 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23322 $as_echo_n "(cached) " >&6
23323 else
23326 ac_ext=cpp
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23333 /* end confdefs.h. */
23334 #include <math.h>
23335 #ifdef HAVE_IEEEFP_H
23336 #include <ieeefp.h>
23337 #endif
23340 main ()
23342 _isinff(0);
23344 return 0;
23346 _ACEOF
23347 if ac_fn_cxx_try_compile "$LINENO"; then :
23348 glibcxx_cv_func__isinff_use=yes
23349 else
23350 glibcxx_cv_func__isinff_use=no
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 ac_ext=c
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23364 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23366 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23367 for ac_func in _isinff
23368 do :
23369 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23370 if test "x$ac_cv_func__isinff" = x""yes; then :
23371 cat >>confdefs.h <<_ACEOF
23372 #define HAVE__ISINFF 1
23373 _ACEOF
23376 done
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23386 $as_echo_n "checking for atan2f declaration... " >&6; }
23387 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23388 if test "${glibcxx_cv_func_atan2f_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>
23403 main ()
23405 atan2f(0, 0);
23407 return 0;
23409 _ACEOF
23410 if ac_fn_cxx_try_compile "$LINENO"; then :
23411 glibcxx_cv_func_atan2f_use=yes
23412 else
23413 glibcxx_cv_func_atan2f_use=no
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416 ac_ext=c
23417 ac_cpp='$CPP $CPPFLAGS'
23418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23427 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23429 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23430 for ac_func in atan2f
23431 do :
23432 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23433 if test "x$ac_cv_func_atan2f" = x""yes; then :
23434 cat >>confdefs.h <<_ACEOF
23435 #define HAVE_ATAN2F 1
23436 _ACEOF
23439 done
23441 else
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23444 $as_echo_n "checking for _atan2f declaration... " >&6; }
23445 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23446 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23447 $as_echo_n "(cached) " >&6
23448 else
23451 ac_ext=cpp
23452 ac_cpp='$CXXCPP $CPPFLAGS'
23453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23458 /* end confdefs.h. */
23459 #include <math.h>
23461 main ()
23463 _atan2f(0, 0);
23465 return 0;
23467 _ACEOF
23468 if ac_fn_cxx_try_compile "$LINENO"; then :
23469 glibcxx_cv_func__atan2f_use=yes
23470 else
23471 glibcxx_cv_func__atan2f_use=no
23473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474 ac_ext=c
23475 ac_cpp='$CPP $CPPFLAGS'
23476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23485 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23487 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23488 for ac_func in _atan2f
23489 do :
23490 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23491 if test "x$ac_cv_func__atan2f" = x""yes; then :
23492 cat >>confdefs.h <<_ACEOF
23493 #define HAVE__ATAN2F 1
23494 _ACEOF
23497 done
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23507 $as_echo_n "checking for fabsf declaration... " >&6; }
23508 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23509 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23510 $as_echo_n "(cached) " >&6
23511 else
23514 ac_ext=cpp
23515 ac_cpp='$CXXCPP $CPPFLAGS'
23516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521 /* end confdefs.h. */
23522 #include <math.h>
23523 #ifdef HAVE_IEEEFP_H
23524 #include <ieeefp.h>
23525 #endif
23528 main ()
23530 fabsf(0);
23532 return 0;
23534 _ACEOF
23535 if ac_fn_cxx_try_compile "$LINENO"; then :
23536 glibcxx_cv_func_fabsf_use=yes
23537 else
23538 glibcxx_cv_func_fabsf_use=no
23540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23541 ac_ext=c
23542 ac_cpp='$CPP $CPPFLAGS'
23543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23552 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23554 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23555 for ac_func in fabsf
23556 do :
23557 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23558 if test "x$ac_cv_func_fabsf" = x""yes; then :
23559 cat >>confdefs.h <<_ACEOF
23560 #define HAVE_FABSF 1
23561 _ACEOF
23564 done
23566 else
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23569 $as_echo_n "checking for _fabsf declaration... " >&6; }
23570 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23571 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23572 $as_echo_n "(cached) " >&6
23573 else
23576 ac_ext=cpp
23577 ac_cpp='$CXXCPP $CPPFLAGS'
23578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23583 /* end confdefs.h. */
23584 #include <math.h>
23585 #ifdef HAVE_IEEEFP_H
23586 #include <ieeefp.h>
23587 #endif
23590 main ()
23592 _fabsf(0);
23594 return 0;
23596 _ACEOF
23597 if ac_fn_cxx_try_compile "$LINENO"; then :
23598 glibcxx_cv_func__fabsf_use=yes
23599 else
23600 glibcxx_cv_func__fabsf_use=no
23602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23603 ac_ext=c
23604 ac_cpp='$CPP $CPPFLAGS'
23605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23614 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23616 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23617 for ac_func in _fabsf
23618 do :
23619 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23620 if test "x$ac_cv_func__fabsf" = x""yes; then :
23621 cat >>confdefs.h <<_ACEOF
23622 #define HAVE__FABSF 1
23623 _ACEOF
23626 done
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23636 $as_echo_n "checking for fmodf declaration... " >&6; }
23637 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23638 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23639 $as_echo_n "(cached) " >&6
23640 else
23643 ac_ext=cpp
23644 ac_cpp='$CXXCPP $CPPFLAGS'
23645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23651 #include <math.h>
23653 main ()
23655 fmodf(0, 0);
23657 return 0;
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func_fmodf_use=yes
23662 else
23663 glibcxx_cv_func_fmodf_use=no
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23677 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23679 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23680 for ac_func in fmodf
23681 do :
23682 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23683 if test "x$ac_cv_func_fmodf" = x""yes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_FMODF 1
23686 _ACEOF
23689 done
23691 else
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23694 $as_echo_n "checking for _fmodf declaration... " >&6; }
23695 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23696 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23697 $as_echo_n "(cached) " >&6
23698 else
23701 ac_ext=cpp
23702 ac_cpp='$CXXCPP $CPPFLAGS'
23703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708 /* end confdefs.h. */
23709 #include <math.h>
23711 main ()
23713 _fmodf(0, 0);
23715 return 0;
23717 _ACEOF
23718 if ac_fn_cxx_try_compile "$LINENO"; then :
23719 glibcxx_cv_func__fmodf_use=yes
23720 else
23721 glibcxx_cv_func__fmodf_use=no
23723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 ac_ext=c
23725 ac_cpp='$CPP $CPPFLAGS'
23726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23735 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23737 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23738 for ac_func in _fmodf
23739 do :
23740 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23741 if test "x$ac_cv_func__fmodf" = x""yes; then :
23742 cat >>confdefs.h <<_ACEOF
23743 #define HAVE__FMODF 1
23744 _ACEOF
23747 done
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23757 $as_echo_n "checking for frexpf declaration... " >&6; }
23758 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23759 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23760 $as_echo_n "(cached) " >&6
23761 else
23764 ac_ext=cpp
23765 ac_cpp='$CXXCPP $CPPFLAGS'
23766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23771 /* end confdefs.h. */
23772 #include <math.h>
23774 main ()
23776 frexpf(0, 0);
23778 return 0;
23780 _ACEOF
23781 if ac_fn_cxx_try_compile "$LINENO"; then :
23782 glibcxx_cv_func_frexpf_use=yes
23783 else
23784 glibcxx_cv_func_frexpf_use=no
23786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23787 ac_ext=c
23788 ac_cpp='$CPP $CPPFLAGS'
23789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23798 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23800 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23801 for ac_func in frexpf
23802 do :
23803 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23804 if test "x$ac_cv_func_frexpf" = x""yes; then :
23805 cat >>confdefs.h <<_ACEOF
23806 #define HAVE_FREXPF 1
23807 _ACEOF
23810 done
23812 else
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23815 $as_echo_n "checking for _frexpf declaration... " >&6; }
23816 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23817 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23818 $as_echo_n "(cached) " >&6
23819 else
23822 ac_ext=cpp
23823 ac_cpp='$CXXCPP $CPPFLAGS'
23824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23829 /* end confdefs.h. */
23830 #include <math.h>
23832 main ()
23834 _frexpf(0, 0);
23836 return 0;
23838 _ACEOF
23839 if ac_fn_cxx_try_compile "$LINENO"; then :
23840 glibcxx_cv_func__frexpf_use=yes
23841 else
23842 glibcxx_cv_func__frexpf_use=no
23844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23845 ac_ext=c
23846 ac_cpp='$CPP $CPPFLAGS'
23847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23856 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23858 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23859 for ac_func in _frexpf
23860 do :
23861 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23862 if test "x$ac_cv_func__frexpf" = x""yes; then :
23863 cat >>confdefs.h <<_ACEOF
23864 #define HAVE__FREXPF 1
23865 _ACEOF
23868 done
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23878 $as_echo_n "checking for hypotf declaration... " >&6; }
23879 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23880 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23881 $as_echo_n "(cached) " >&6
23882 else
23885 ac_ext=cpp
23886 ac_cpp='$CXXCPP $CPPFLAGS'
23887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23892 /* end confdefs.h. */
23893 #include <math.h>
23895 main ()
23897 hypotf(0, 0);
23899 return 0;
23901 _ACEOF
23902 if ac_fn_cxx_try_compile "$LINENO"; then :
23903 glibcxx_cv_func_hypotf_use=yes
23904 else
23905 glibcxx_cv_func_hypotf_use=no
23907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23908 ac_ext=c
23909 ac_cpp='$CPP $CPPFLAGS'
23910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23919 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23921 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23922 for ac_func in hypotf
23923 do :
23924 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23925 if test "x$ac_cv_func_hypotf" = x""yes; then :
23926 cat >>confdefs.h <<_ACEOF
23927 #define HAVE_HYPOTF 1
23928 _ACEOF
23931 done
23933 else
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23936 $as_echo_n "checking for _hypotf declaration... " >&6; }
23937 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23938 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23940 else
23943 ac_ext=cpp
23944 ac_cpp='$CXXCPP $CPPFLAGS'
23945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23950 /* end confdefs.h. */
23951 #include <math.h>
23953 main ()
23955 _hypotf(0, 0);
23957 return 0;
23959 _ACEOF
23960 if ac_fn_cxx_try_compile "$LINENO"; then :
23961 glibcxx_cv_func__hypotf_use=yes
23962 else
23963 glibcxx_cv_func__hypotf_use=no
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 ac_ext=c
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23977 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23979 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23980 for ac_func in _hypotf
23981 do :
23982 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23983 if test "x$ac_cv_func__hypotf" = x""yes; then :
23984 cat >>confdefs.h <<_ACEOF
23985 #define HAVE__HYPOTF 1
23986 _ACEOF
23989 done
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23999 $as_echo_n "checking for ldexpf declaration... " >&6; }
24000 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24001 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24002 $as_echo_n "(cached) " >&6
24003 else
24006 ac_ext=cpp
24007 ac_cpp='$CXXCPP $CPPFLAGS'
24008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24013 /* end confdefs.h. */
24014 #include <math.h>
24016 main ()
24018 ldexpf(0, 0);
24020 return 0;
24022 _ACEOF
24023 if ac_fn_cxx_try_compile "$LINENO"; then :
24024 glibcxx_cv_func_ldexpf_use=yes
24025 else
24026 glibcxx_cv_func_ldexpf_use=no
24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24029 ac_ext=c
24030 ac_cpp='$CPP $CPPFLAGS'
24031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24040 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24042 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24043 for ac_func in ldexpf
24044 do :
24045 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24046 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24047 cat >>confdefs.h <<_ACEOF
24048 #define HAVE_LDEXPF 1
24049 _ACEOF
24052 done
24054 else
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24057 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24058 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24059 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24060 $as_echo_n "(cached) " >&6
24061 else
24064 ac_ext=cpp
24065 ac_cpp='$CXXCPP $CPPFLAGS'
24066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24071 /* end confdefs.h. */
24072 #include <math.h>
24074 main ()
24076 _ldexpf(0, 0);
24078 return 0;
24080 _ACEOF
24081 if ac_fn_cxx_try_compile "$LINENO"; then :
24082 glibcxx_cv_func__ldexpf_use=yes
24083 else
24084 glibcxx_cv_func__ldexpf_use=no
24086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24087 ac_ext=c
24088 ac_cpp='$CPP $CPPFLAGS'
24089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24098 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24100 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24101 for ac_func in _ldexpf
24102 do :
24103 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24104 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24105 cat >>confdefs.h <<_ACEOF
24106 #define HAVE__LDEXPF 1
24107 _ACEOF
24110 done
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24120 $as_echo_n "checking for logf declaration... " >&6; }
24121 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24122 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24123 $as_echo_n "(cached) " >&6
24124 else
24127 ac_ext=cpp
24128 ac_cpp='$CXXCPP $CPPFLAGS'
24129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24135 #include <math.h>
24136 #ifdef HAVE_IEEEFP_H
24137 #include <ieeefp.h>
24138 #endif
24141 main ()
24143 logf(0);
24145 return 0;
24147 _ACEOF
24148 if ac_fn_cxx_try_compile "$LINENO"; then :
24149 glibcxx_cv_func_logf_use=yes
24150 else
24151 glibcxx_cv_func_logf_use=no
24153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24154 ac_ext=c
24155 ac_cpp='$CPP $CPPFLAGS'
24156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24165 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24167 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24168 for ac_func in logf
24169 do :
24170 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24171 if test "x$ac_cv_func_logf" = x""yes; then :
24172 cat >>confdefs.h <<_ACEOF
24173 #define HAVE_LOGF 1
24174 _ACEOF
24177 done
24179 else
24181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24182 $as_echo_n "checking for _logf declaration... " >&6; }
24183 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24184 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24185 $as_echo_n "(cached) " >&6
24186 else
24189 ac_ext=cpp
24190 ac_cpp='$CXXCPP $CPPFLAGS'
24191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24196 /* end confdefs.h. */
24197 #include <math.h>
24198 #ifdef HAVE_IEEEFP_H
24199 #include <ieeefp.h>
24200 #endif
24203 main ()
24205 _logf(0);
24207 return 0;
24209 _ACEOF
24210 if ac_fn_cxx_try_compile "$LINENO"; then :
24211 glibcxx_cv_func__logf_use=yes
24212 else
24213 glibcxx_cv_func__logf_use=no
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216 ac_ext=c
24217 ac_cpp='$CPP $CPPFLAGS'
24218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24227 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24229 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24230 for ac_func in _logf
24231 do :
24232 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24233 if test "x$ac_cv_func__logf" = x""yes; then :
24234 cat >>confdefs.h <<_ACEOF
24235 #define HAVE__LOGF 1
24236 _ACEOF
24239 done
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24249 $as_echo_n "checking for log10f declaration... " >&6; }
24250 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24251 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24252 $as_echo_n "(cached) " >&6
24253 else
24256 ac_ext=cpp
24257 ac_cpp='$CXXCPP $CPPFLAGS'
24258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24263 /* end confdefs.h. */
24264 #include <math.h>
24265 #ifdef HAVE_IEEEFP_H
24266 #include <ieeefp.h>
24267 #endif
24270 main ()
24272 log10f(0);
24274 return 0;
24276 _ACEOF
24277 if ac_fn_cxx_try_compile "$LINENO"; then :
24278 glibcxx_cv_func_log10f_use=yes
24279 else
24280 glibcxx_cv_func_log10f_use=no
24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283 ac_ext=c
24284 ac_cpp='$CPP $CPPFLAGS'
24285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24294 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24296 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24297 for ac_func in log10f
24298 do :
24299 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24300 if test "x$ac_cv_func_log10f" = x""yes; then :
24301 cat >>confdefs.h <<_ACEOF
24302 #define HAVE_LOG10F 1
24303 _ACEOF
24306 done
24308 else
24310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24311 $as_echo_n "checking for _log10f declaration... " >&6; }
24312 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24313 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24314 $as_echo_n "(cached) " >&6
24315 else
24318 ac_ext=cpp
24319 ac_cpp='$CXXCPP $CPPFLAGS'
24320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24325 /* end confdefs.h. */
24326 #include <math.h>
24327 #ifdef HAVE_IEEEFP_H
24328 #include <ieeefp.h>
24329 #endif
24332 main ()
24334 _log10f(0);
24336 return 0;
24338 _ACEOF
24339 if ac_fn_cxx_try_compile "$LINENO"; then :
24340 glibcxx_cv_func__log10f_use=yes
24341 else
24342 glibcxx_cv_func__log10f_use=no
24344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24345 ac_ext=c
24346 ac_cpp='$CPP $CPPFLAGS'
24347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24356 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24358 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24359 for ac_func in _log10f
24360 do :
24361 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24362 if test "x$ac_cv_func__log10f" = x""yes; then :
24363 cat >>confdefs.h <<_ACEOF
24364 #define HAVE__LOG10F 1
24365 _ACEOF
24368 done
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24378 $as_echo_n "checking for modff declaration... " >&6; }
24379 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24380 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
24399 return 0;
24401 _ACEOF
24402 if ac_fn_cxx_try_compile "$LINENO"; then :
24403 glibcxx_cv_func_modff_use=yes
24404 else
24405 glibcxx_cv_func_modff_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
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24419 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24421 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24422 for ac_func in modff
24423 do :
24424 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24425 if test "x$ac_cv_func_modff" = x""yes; then :
24426 cat >>confdefs.h <<_ACEOF
24427 #define HAVE_MODFF 1
24428 _ACEOF
24431 done
24433 else
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24436 $as_echo_n "checking for _modff declaration... " >&6; }
24437 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24438 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24439 $as_echo_n "(cached) " >&6
24440 else
24443 ac_ext=cpp
24444 ac_cpp='$CXXCPP $CPPFLAGS'
24445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24450 /* end confdefs.h. */
24451 #include <math.h>
24453 main ()
24455 _modff(0, 0);
24457 return 0;
24459 _ACEOF
24460 if ac_fn_cxx_try_compile "$LINENO"; then :
24461 glibcxx_cv_func__modff_use=yes
24462 else
24463 glibcxx_cv_func__modff_use=no
24465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24466 ac_ext=c
24467 ac_cpp='$CPP $CPPFLAGS'
24468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24477 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24479 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24480 for ac_func in _modff
24481 do :
24482 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24483 if test "x$ac_cv_func__modff" = x""yes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define HAVE__MODFF 1
24486 _ACEOF
24489 done
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24499 $as_echo_n "checking for modf declaration... " >&6; }
24500 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24501 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24502 $as_echo_n "(cached) " >&6
24503 else
24506 ac_ext=cpp
24507 ac_cpp='$CXXCPP $CPPFLAGS'
24508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24513 /* end confdefs.h. */
24514 #include <math.h>
24516 main ()
24518 modf(0, 0);
24520 return 0;
24522 _ACEOF
24523 if ac_fn_cxx_try_compile "$LINENO"; then :
24524 glibcxx_cv_func_modf_use=yes
24525 else
24526 glibcxx_cv_func_modf_use=no
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 ac_ext=c
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24540 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24542 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24543 for ac_func in modf
24544 do :
24545 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24546 if test "x$ac_cv_func_modf" = x""yes; then :
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE_MODF 1
24549 _ACEOF
24552 done
24554 else
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24557 $as_echo_n "checking for _modf declaration... " >&6; }
24558 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24559 if test "${glibcxx_cv_func__modf_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>
24574 main ()
24576 _modf(0, 0);
24578 return 0;
24580 _ACEOF
24581 if ac_fn_cxx_try_compile "$LINENO"; then :
24582 glibcxx_cv_func__modf_use=yes
24583 else
24584 glibcxx_cv_func__modf_use=no
24586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24587 ac_ext=c
24588 ac_cpp='$CPP $CPPFLAGS'
24589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24598 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24600 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24601 for ac_func in _modf
24602 do :
24603 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24604 if test "x$ac_cv_func__modf" = x""yes; then :
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE__MODF 1
24607 _ACEOF
24610 done
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24620 $as_echo_n "checking for powf declaration... " >&6; }
24621 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24622 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24623 $as_echo_n "(cached) " >&6
24624 else
24627 ac_ext=cpp
24628 ac_cpp='$CXXCPP $CPPFLAGS'
24629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24634 /* end confdefs.h. */
24635 #include <math.h>
24637 main ()
24639 powf(0, 0);
24641 return 0;
24643 _ACEOF
24644 if ac_fn_cxx_try_compile "$LINENO"; then :
24645 glibcxx_cv_func_powf_use=yes
24646 else
24647 glibcxx_cv_func_powf_use=no
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 ac_ext=c
24651 ac_cpp='$CPP $CPPFLAGS'
24652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24661 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24663 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24664 for ac_func in powf
24665 do :
24666 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24667 if test "x$ac_cv_func_powf" = x""yes; then :
24668 cat >>confdefs.h <<_ACEOF
24669 #define HAVE_POWF 1
24670 _ACEOF
24673 done
24675 else
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24678 $as_echo_n "checking for _powf declaration... " >&6; }
24679 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24680 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24681 $as_echo_n "(cached) " >&6
24682 else
24685 ac_ext=cpp
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24692 /* end confdefs.h. */
24693 #include <math.h>
24695 main ()
24697 _powf(0, 0);
24699 return 0;
24701 _ACEOF
24702 if ac_fn_cxx_try_compile "$LINENO"; then :
24703 glibcxx_cv_func__powf_use=yes
24704 else
24705 glibcxx_cv_func__powf_use=no
24707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708 ac_ext=c
24709 ac_cpp='$CPP $CPPFLAGS'
24710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24719 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24721 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24722 for ac_func in _powf
24723 do :
24724 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24725 if test "x$ac_cv_func__powf" = x""yes; then :
24726 cat >>confdefs.h <<_ACEOF
24727 #define HAVE__POWF 1
24728 _ACEOF
24731 done
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24741 $as_echo_n "checking for sqrtf declaration... " >&6; }
24742 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24743 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24757 #ifdef HAVE_IEEEFP_H
24758 #include <ieeefp.h>
24759 #endif
24762 main ()
24764 sqrtf(0);
24766 return 0;
24768 _ACEOF
24769 if ac_fn_cxx_try_compile "$LINENO"; then :
24770 glibcxx_cv_func_sqrtf_use=yes
24771 else
24772 glibcxx_cv_func_sqrtf_use=no
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24786 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24788 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24789 for ac_func in sqrtf
24790 do :
24791 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24792 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE_SQRTF 1
24795 _ACEOF
24798 done
24800 else
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24803 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24804 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24805 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24806 $as_echo_n "(cached) " >&6
24807 else
24810 ac_ext=cpp
24811 ac_cpp='$CXXCPP $CPPFLAGS'
24812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24817 /* end confdefs.h. */
24818 #include <math.h>
24819 #ifdef HAVE_IEEEFP_H
24820 #include <ieeefp.h>
24821 #endif
24824 main ()
24826 _sqrtf(0);
24828 return 0;
24830 _ACEOF
24831 if ac_fn_cxx_try_compile "$LINENO"; then :
24832 glibcxx_cv_func__sqrtf_use=yes
24833 else
24834 glibcxx_cv_func__sqrtf_use=no
24836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24837 ac_ext=c
24838 ac_cpp='$CPP $CPPFLAGS'
24839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24848 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24850 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24851 for ac_func in _sqrtf
24852 do :
24853 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24854 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24855 cat >>confdefs.h <<_ACEOF
24856 #define HAVE__SQRTF 1
24857 _ACEOF
24860 done
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24870 $as_echo_n "checking for sincosf declaration... " >&6; }
24871 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24872 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24877 ac_ext=cpp
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24885 #include <math.h>
24887 main ()
24889 sincosf(0, 0, 0);
24891 return 0;
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func_sincosf_use=yes
24896 else
24897 glibcxx_cv_func_sincosf_use=no
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24911 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24913 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24914 for ac_func in sincosf
24915 do :
24916 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24917 if test "x$ac_cv_func_sincosf" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE_SINCOSF 1
24920 _ACEOF
24923 done
24925 else
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24928 $as_echo_n "checking for _sincosf declaration... " >&6; }
24929 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24930 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24931 $as_echo_n "(cached) " >&6
24932 else
24935 ac_ext=cpp
24936 ac_cpp='$CXXCPP $CPPFLAGS'
24937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24942 /* end confdefs.h. */
24943 #include <math.h>
24945 main ()
24947 _sincosf(0, 0, 0);
24949 return 0;
24951 _ACEOF
24952 if ac_fn_cxx_try_compile "$LINENO"; then :
24953 glibcxx_cv_func__sincosf_use=yes
24954 else
24955 glibcxx_cv_func__sincosf_use=no
24957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24958 ac_ext=c
24959 ac_cpp='$CPP $CPPFLAGS'
24960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24969 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24971 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24972 for ac_func in _sincosf
24973 do :
24974 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24975 if test "x$ac_cv_func__sincosf" = x""yes; then :
24976 cat >>confdefs.h <<_ACEOF
24977 #define HAVE__SINCOSF 1
24978 _ACEOF
24981 done
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24991 $as_echo_n "checking for finitef declaration... " >&6; }
24992 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24993 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24994 $as_echo_n "(cached) " >&6
24995 else
24998 ac_ext=cpp
24999 ac_cpp='$CXXCPP $CPPFLAGS'
25000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <math.h>
25007 #ifdef HAVE_IEEEFP_H
25008 #include <ieeefp.h>
25009 #endif
25012 main ()
25014 finitef(0);
25016 return 0;
25018 _ACEOF
25019 if ac_fn_cxx_try_compile "$LINENO"; then :
25020 glibcxx_cv_func_finitef_use=yes
25021 else
25022 glibcxx_cv_func_finitef_use=no
25024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 ac_ext=c
25026 ac_cpp='$CPP $CPPFLAGS'
25027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25036 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25038 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25039 for ac_func in finitef
25040 do :
25041 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25042 if test "x$ac_cv_func_finitef" = x""yes; then :
25043 cat >>confdefs.h <<_ACEOF
25044 #define HAVE_FINITEF 1
25045 _ACEOF
25048 done
25050 else
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25053 $as_echo_n "checking for _finitef declaration... " >&6; }
25054 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25055 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25056 $as_echo_n "(cached) " >&6
25057 else
25060 ac_ext=cpp
25061 ac_cpp='$CXXCPP $CPPFLAGS'
25062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25067 /* end confdefs.h. */
25068 #include <math.h>
25069 #ifdef HAVE_IEEEFP_H
25070 #include <ieeefp.h>
25071 #endif
25074 main ()
25076 _finitef(0);
25078 return 0;
25080 _ACEOF
25081 if ac_fn_cxx_try_compile "$LINENO"; then :
25082 glibcxx_cv_func__finitef_use=yes
25083 else
25084 glibcxx_cv_func__finitef_use=no
25086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25087 ac_ext=c
25088 ac_cpp='$CPP $CPPFLAGS'
25089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25098 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25100 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25101 for ac_func in _finitef
25102 do :
25103 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25104 if test "x$ac_cv_func__finitef" = x""yes; then :
25105 cat >>confdefs.h <<_ACEOF
25106 #define HAVE__FINITEF 1
25107 _ACEOF
25110 done
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25120 $as_echo_n "checking for long double trig functions... " >&6; }
25121 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25122 $as_echo_n "(cached) " >&6
25123 else
25126 ac_ext=cpp
25127 ac_cpp='$CXXCPP $CPPFLAGS'
25128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25133 /* end confdefs.h. */
25134 #include <math.h>
25136 main ()
25138 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25140 return 0;
25142 _ACEOF
25143 if ac_fn_cxx_try_compile "$LINENO"; then :
25144 glibcxx_cv_func_long_double_trig_use=yes
25145 else
25146 glibcxx_cv_func_long_double_trig_use=no
25148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25149 ac_ext=c
25150 ac_cpp='$CPP $CPPFLAGS'
25151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25158 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25159 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25160 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25161 do :
25162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25164 eval as_val=\$$as_ac_var
25165 if test "x$as_val" = x""yes; then :
25166 cat >>confdefs.h <<_ACEOF
25167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25168 _ACEOF
25171 done
25173 else
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25175 $as_echo_n "checking for _long double trig functions... " >&6; }
25176 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25177 $as_echo_n "(cached) " >&6
25178 else
25181 ac_ext=cpp
25182 ac_cpp='$CXXCPP $CPPFLAGS'
25183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25188 /* end confdefs.h. */
25189 #include <math.h>
25191 main ()
25193 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25195 return 0;
25197 _ACEOF
25198 if ac_fn_cxx_try_compile "$LINENO"; then :
25199 glibcxx_cv_func__long_double_trig_use=yes
25200 else
25201 glibcxx_cv_func__long_double_trig_use=no
25203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25204 ac_ext=c
25205 ac_cpp='$CPP $CPPFLAGS'
25206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25213 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25214 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25215 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25216 do :
25217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25219 eval as_val=\$$as_ac_var
25220 if test "x$as_val" = x""yes; then :
25221 cat >>confdefs.h <<_ACEOF
25222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25223 _ACEOF
25226 done
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25236 $as_echo_n "checking for long double round functions... " >&6; }
25237 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25238 $as_echo_n "(cached) " >&6
25239 else
25242 ac_ext=cpp
25243 ac_cpp='$CXXCPP $CPPFLAGS'
25244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25249 /* end confdefs.h. */
25250 #include <math.h>
25252 main ()
25254 ceill (0); floorl (0);
25256 return 0;
25258 _ACEOF
25259 if ac_fn_cxx_try_compile "$LINENO"; then :
25260 glibcxx_cv_func_long_double_round_use=yes
25261 else
25262 glibcxx_cv_func_long_double_round_use=no
25264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25265 ac_ext=c
25266 ac_cpp='$CPP $CPPFLAGS'
25267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25274 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25275 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25276 for ac_func in ceill floorl
25277 do :
25278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25280 eval as_val=\$$as_ac_var
25281 if test "x$as_val" = x""yes; then :
25282 cat >>confdefs.h <<_ACEOF
25283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25284 _ACEOF
25287 done
25289 else
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25291 $as_echo_n "checking for _long double round functions... " >&6; }
25292 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25293 $as_echo_n "(cached) " >&6
25294 else
25297 ac_ext=cpp
25298 ac_cpp='$CXXCPP $CPPFLAGS'
25299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25304 /* end confdefs.h. */
25305 #include <math.h>
25307 main ()
25309 _ceill (0); _floorl (0);
25311 return 0;
25313 _ACEOF
25314 if ac_fn_cxx_try_compile "$LINENO"; then :
25315 glibcxx_cv_func__long_double_round_use=yes
25316 else
25317 glibcxx_cv_func__long_double_round_use=no
25319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25320 ac_ext=c
25321 ac_cpp='$CPP $CPPFLAGS'
25322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25329 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25330 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25331 for ac_func in _ceill _floorl
25332 do :
25333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25335 eval as_val=\$$as_ac_var
25336 if test "x$as_val" = x""yes; then :
25337 cat >>confdefs.h <<_ACEOF
25338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25339 _ACEOF
25342 done
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25353 $as_echo_n "checking for isnanl declaration... " >&6; }
25354 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25355 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25356 $as_echo_n "(cached) " >&6
25357 else
25360 ac_ext=cpp
25361 ac_cpp='$CXXCPP $CPPFLAGS'
25362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25367 /* end confdefs.h. */
25368 #include <math.h>
25369 #ifdef HAVE_IEEEFP_H
25370 #include <ieeefp.h>
25371 #endif
25374 main ()
25376 isnanl(0);
25378 return 0;
25380 _ACEOF
25381 if ac_fn_cxx_try_compile "$LINENO"; then :
25382 glibcxx_cv_func_isnanl_use=yes
25383 else
25384 glibcxx_cv_func_isnanl_use=no
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 ac_ext=c
25388 ac_cpp='$CPP $CPPFLAGS'
25389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25398 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25400 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25401 for ac_func in isnanl
25402 do :
25403 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25404 if test "x$ac_cv_func_isnanl" = x""yes; then :
25405 cat >>confdefs.h <<_ACEOF
25406 #define HAVE_ISNANL 1
25407 _ACEOF
25410 done
25412 else
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25415 $as_echo_n "checking for _isnanl declaration... " >&6; }
25416 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25417 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25418 $as_echo_n "(cached) " >&6
25419 else
25422 ac_ext=cpp
25423 ac_cpp='$CXXCPP $CPPFLAGS'
25424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25429 /* end confdefs.h. */
25430 #include <math.h>
25431 #ifdef HAVE_IEEEFP_H
25432 #include <ieeefp.h>
25433 #endif
25436 main ()
25438 _isnanl(0);
25440 return 0;
25442 _ACEOF
25443 if ac_fn_cxx_try_compile "$LINENO"; then :
25444 glibcxx_cv_func__isnanl_use=yes
25445 else
25446 glibcxx_cv_func__isnanl_use=no
25448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25449 ac_ext=c
25450 ac_cpp='$CPP $CPPFLAGS'
25451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25460 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25462 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25463 for ac_func in _isnanl
25464 do :
25465 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25466 if test "x$ac_cv_func__isnanl" = x""yes; then :
25467 cat >>confdefs.h <<_ACEOF
25468 #define HAVE__ISNANL 1
25469 _ACEOF
25472 done
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25482 $as_echo_n "checking for isinfl declaration... " >&6; }
25483 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25484 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25485 $as_echo_n "(cached) " >&6
25486 else
25489 ac_ext=cpp
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25497 #include <math.h>
25498 #ifdef HAVE_IEEEFP_H
25499 #include <ieeefp.h>
25500 #endif
25503 main ()
25505 isinfl(0);
25507 return 0;
25509 _ACEOF
25510 if ac_fn_cxx_try_compile "$LINENO"; then :
25511 glibcxx_cv_func_isinfl_use=yes
25512 else
25513 glibcxx_cv_func_isinfl_use=no
25515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25516 ac_ext=c
25517 ac_cpp='$CPP $CPPFLAGS'
25518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25527 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25529 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25530 for ac_func in isinfl
25531 do :
25532 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25533 if test "x$ac_cv_func_isinfl" = x""yes; then :
25534 cat >>confdefs.h <<_ACEOF
25535 #define HAVE_ISINFL 1
25536 _ACEOF
25539 done
25541 else
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25544 $as_echo_n "checking for _isinfl declaration... " >&6; }
25545 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25546 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25547 $as_echo_n "(cached) " >&6
25548 else
25551 ac_ext=cpp
25552 ac_cpp='$CXXCPP $CPPFLAGS'
25553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25558 /* end confdefs.h. */
25559 #include <math.h>
25560 #ifdef HAVE_IEEEFP_H
25561 #include <ieeefp.h>
25562 #endif
25565 main ()
25567 _isinfl(0);
25569 return 0;
25571 _ACEOF
25572 if ac_fn_cxx_try_compile "$LINENO"; then :
25573 glibcxx_cv_func__isinfl_use=yes
25574 else
25575 glibcxx_cv_func__isinfl_use=no
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25589 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25591 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25592 for ac_func in _isinfl
25593 do :
25594 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25595 if test "x$ac_cv_func__isinfl" = x""yes; then :
25596 cat >>confdefs.h <<_ACEOF
25597 #define HAVE__ISINFL 1
25598 _ACEOF
25601 done
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25611 $as_echo_n "checking for atan2l declaration... " >&6; }
25612 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25613 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25614 $as_echo_n "(cached) " >&6
25615 else
25618 ac_ext=cpp
25619 ac_cpp='$CXXCPP $CPPFLAGS'
25620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25625 /* end confdefs.h. */
25626 #include <math.h>
25628 main ()
25630 atan2l(0, 0);
25632 return 0;
25634 _ACEOF
25635 if ac_fn_cxx_try_compile "$LINENO"; then :
25636 glibcxx_cv_func_atan2l_use=yes
25637 else
25638 glibcxx_cv_func_atan2l_use=no
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 ac_ext=c
25642 ac_cpp='$CPP $CPPFLAGS'
25643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25652 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25654 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25655 for ac_func in atan2l
25656 do :
25657 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25658 if test "x$ac_cv_func_atan2l" = x""yes; then :
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE_ATAN2L 1
25661 _ACEOF
25664 done
25666 else
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25669 $as_echo_n "checking for _atan2l declaration... " >&6; }
25670 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25671 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25672 $as_echo_n "(cached) " >&6
25673 else
25676 ac_ext=cpp
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 /* end confdefs.h. */
25684 #include <math.h>
25686 main ()
25688 _atan2l(0, 0);
25690 return 0;
25692 _ACEOF
25693 if ac_fn_cxx_try_compile "$LINENO"; then :
25694 glibcxx_cv_func__atan2l_use=yes
25695 else
25696 glibcxx_cv_func__atan2l_use=no
25698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699 ac_ext=c
25700 ac_cpp='$CPP $CPPFLAGS'
25701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25710 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25712 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25713 for ac_func in _atan2l
25714 do :
25715 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25716 if test "x$ac_cv_func__atan2l" = x""yes; then :
25717 cat >>confdefs.h <<_ACEOF
25718 #define HAVE__ATAN2L 1
25719 _ACEOF
25722 done
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25732 $as_echo_n "checking for expl declaration... " >&6; }
25733 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25734 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25739 ac_ext=cpp
25740 ac_cpp='$CXXCPP $CPPFLAGS'
25741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25746 /* end confdefs.h. */
25747 #include <math.h>
25748 #ifdef HAVE_IEEEFP_H
25749 #include <ieeefp.h>
25750 #endif
25753 main ()
25755 expl(0);
25757 return 0;
25759 _ACEOF
25760 if ac_fn_cxx_try_compile "$LINENO"; then :
25761 glibcxx_cv_func_expl_use=yes
25762 else
25763 glibcxx_cv_func_expl_use=no
25765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25766 ac_ext=c
25767 ac_cpp='$CPP $CPPFLAGS'
25768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25777 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25779 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25780 for ac_func in expl
25781 do :
25782 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25783 if test "x$ac_cv_func_expl" = x""yes; then :
25784 cat >>confdefs.h <<_ACEOF
25785 #define HAVE_EXPL 1
25786 _ACEOF
25789 done
25791 else
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25794 $as_echo_n "checking for _expl declaration... " >&6; }
25795 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25796 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25797 $as_echo_n "(cached) " >&6
25798 else
25801 ac_ext=cpp
25802 ac_cpp='$CXXCPP $CPPFLAGS'
25803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25809 #include <math.h>
25810 #ifdef HAVE_IEEEFP_H
25811 #include <ieeefp.h>
25812 #endif
25815 main ()
25817 _expl(0);
25819 return 0;
25821 _ACEOF
25822 if ac_fn_cxx_try_compile "$LINENO"; then :
25823 glibcxx_cv_func__expl_use=yes
25824 else
25825 glibcxx_cv_func__expl_use=no
25827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25828 ac_ext=c
25829 ac_cpp='$CPP $CPPFLAGS'
25830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25839 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25841 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25842 for ac_func in _expl
25843 do :
25844 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25845 if test "x$ac_cv_func__expl" = x""yes; then :
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE__EXPL 1
25848 _ACEOF
25851 done
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25861 $as_echo_n "checking for fabsl declaration... " >&6; }
25862 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25863 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25864 $as_echo_n "(cached) " >&6
25865 else
25868 ac_ext=cpp
25869 ac_cpp='$CXXCPP $CPPFLAGS'
25870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25875 /* end confdefs.h. */
25876 #include <math.h>
25877 #ifdef HAVE_IEEEFP_H
25878 #include <ieeefp.h>
25879 #endif
25882 main ()
25884 fabsl(0);
25886 return 0;
25888 _ACEOF
25889 if ac_fn_cxx_try_compile "$LINENO"; then :
25890 glibcxx_cv_func_fabsl_use=yes
25891 else
25892 glibcxx_cv_func_fabsl_use=no
25894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25895 ac_ext=c
25896 ac_cpp='$CPP $CPPFLAGS'
25897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25906 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25908 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25909 for ac_func in fabsl
25910 do :
25911 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25912 if test "x$ac_cv_func_fabsl" = x""yes; then :
25913 cat >>confdefs.h <<_ACEOF
25914 #define HAVE_FABSL 1
25915 _ACEOF
25918 done
25920 else
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25923 $as_echo_n "checking for _fabsl declaration... " >&6; }
25924 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25925 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25926 $as_echo_n "(cached) " >&6
25927 else
25930 ac_ext=cpp
25931 ac_cpp='$CXXCPP $CPPFLAGS'
25932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25937 /* end confdefs.h. */
25938 #include <math.h>
25939 #ifdef HAVE_IEEEFP_H
25940 #include <ieeefp.h>
25941 #endif
25944 main ()
25946 _fabsl(0);
25948 return 0;
25950 _ACEOF
25951 if ac_fn_cxx_try_compile "$LINENO"; then :
25952 glibcxx_cv_func__fabsl_use=yes
25953 else
25954 glibcxx_cv_func__fabsl_use=no
25956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25957 ac_ext=c
25958 ac_cpp='$CPP $CPPFLAGS'
25959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25968 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25970 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25971 for ac_func in _fabsl
25972 do :
25973 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25974 if test "x$ac_cv_func__fabsl" = x""yes; then :
25975 cat >>confdefs.h <<_ACEOF
25976 #define HAVE__FABSL 1
25977 _ACEOF
25980 done
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25990 $as_echo_n "checking for fmodl declaration... " >&6; }
25991 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25992 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25993 $as_echo_n "(cached) " >&6
25994 else
25997 ac_ext=cpp
25998 ac_cpp='$CXXCPP $CPPFLAGS'
25999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26004 /* end confdefs.h. */
26005 #include <math.h>
26007 main ()
26009 fmodl(0, 0);
26011 return 0;
26013 _ACEOF
26014 if ac_fn_cxx_try_compile "$LINENO"; then :
26015 glibcxx_cv_func_fmodl_use=yes
26016 else
26017 glibcxx_cv_func_fmodl_use=no
26019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26020 ac_ext=c
26021 ac_cpp='$CPP $CPPFLAGS'
26022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26031 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26033 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26034 for ac_func in fmodl
26035 do :
26036 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26037 if test "x$ac_cv_func_fmodl" = x""yes; then :
26038 cat >>confdefs.h <<_ACEOF
26039 #define HAVE_FMODL 1
26040 _ACEOF
26043 done
26045 else
26047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26048 $as_echo_n "checking for _fmodl declaration... " >&6; }
26049 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26050 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26051 $as_echo_n "(cached) " >&6
26052 else
26055 ac_ext=cpp
26056 ac_cpp='$CXXCPP $CPPFLAGS'
26057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26062 /* end confdefs.h. */
26063 #include <math.h>
26065 main ()
26067 _fmodl(0, 0);
26069 return 0;
26071 _ACEOF
26072 if ac_fn_cxx_try_compile "$LINENO"; then :
26073 glibcxx_cv_func__fmodl_use=yes
26074 else
26075 glibcxx_cv_func__fmodl_use=no
26077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26078 ac_ext=c
26079 ac_cpp='$CPP $CPPFLAGS'
26080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26089 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26091 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26092 for ac_func in _fmodl
26093 do :
26094 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26095 if test "x$ac_cv_func__fmodl" = x""yes; then :
26096 cat >>confdefs.h <<_ACEOF
26097 #define HAVE__FMODL 1
26098 _ACEOF
26101 done
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26111 $as_echo_n "checking for frexpl declaration... " >&6; }
26112 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26113 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26114 $as_echo_n "(cached) " >&6
26115 else
26118 ac_ext=cpp
26119 ac_cpp='$CXXCPP $CPPFLAGS'
26120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26125 /* end confdefs.h. */
26126 #include <math.h>
26128 main ()
26130 frexpl(0, 0);
26132 return 0;
26134 _ACEOF
26135 if ac_fn_cxx_try_compile "$LINENO"; then :
26136 glibcxx_cv_func_frexpl_use=yes
26137 else
26138 glibcxx_cv_func_frexpl_use=no
26140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26141 ac_ext=c
26142 ac_cpp='$CPP $CPPFLAGS'
26143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26152 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26154 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26155 for ac_func in frexpl
26156 do :
26157 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26158 if test "x$ac_cv_func_frexpl" = x""yes; then :
26159 cat >>confdefs.h <<_ACEOF
26160 #define HAVE_FREXPL 1
26161 _ACEOF
26164 done
26166 else
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26169 $as_echo_n "checking for _frexpl declaration... " >&6; }
26170 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26171 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26172 $as_echo_n "(cached) " >&6
26173 else
26176 ac_ext=cpp
26177 ac_cpp='$CXXCPP $CPPFLAGS'
26178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26183 /* end confdefs.h. */
26184 #include <math.h>
26186 main ()
26188 _frexpl(0, 0);
26190 return 0;
26192 _ACEOF
26193 if ac_fn_cxx_try_compile "$LINENO"; then :
26194 glibcxx_cv_func__frexpl_use=yes
26195 else
26196 glibcxx_cv_func__frexpl_use=no
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199 ac_ext=c
26200 ac_cpp='$CPP $CPPFLAGS'
26201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26210 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26212 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26213 for ac_func in _frexpl
26214 do :
26215 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26216 if test "x$ac_cv_func__frexpl" = x""yes; then :
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE__FREXPL 1
26219 _ACEOF
26222 done
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26232 $as_echo_n "checking for hypotl declaration... " >&6; }
26233 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26234 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26239 ac_ext=cpp
26240 ac_cpp='$CXXCPP $CPPFLAGS'
26241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26246 /* end confdefs.h. */
26247 #include <math.h>
26249 main ()
26251 hypotl(0, 0);
26253 return 0;
26255 _ACEOF
26256 if ac_fn_cxx_try_compile "$LINENO"; then :
26257 glibcxx_cv_func_hypotl_use=yes
26258 else
26259 glibcxx_cv_func_hypotl_use=no
26261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26262 ac_ext=c
26263 ac_cpp='$CPP $CPPFLAGS'
26264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26273 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26275 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26276 for ac_func in hypotl
26277 do :
26278 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26279 if test "x$ac_cv_func_hypotl" = x""yes; then :
26280 cat >>confdefs.h <<_ACEOF
26281 #define HAVE_HYPOTL 1
26282 _ACEOF
26285 done
26287 else
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26290 $as_echo_n "checking for _hypotl declaration... " >&6; }
26291 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26292 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26293 $as_echo_n "(cached) " >&6
26294 else
26297 ac_ext=cpp
26298 ac_cpp='$CXXCPP $CPPFLAGS'
26299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26305 #include <math.h>
26307 main ()
26309 _hypotl(0, 0);
26311 return 0;
26313 _ACEOF
26314 if ac_fn_cxx_try_compile "$LINENO"; then :
26315 glibcxx_cv_func__hypotl_use=yes
26316 else
26317 glibcxx_cv_func__hypotl_use=no
26319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 ac_ext=c
26321 ac_cpp='$CPP $CPPFLAGS'
26322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26331 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26333 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26334 for ac_func in _hypotl
26335 do :
26336 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26337 if test "x$ac_cv_func__hypotl" = x""yes; then :
26338 cat >>confdefs.h <<_ACEOF
26339 #define HAVE__HYPOTL 1
26340 _ACEOF
26343 done
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26353 $as_echo_n "checking for ldexpl declaration... " >&6; }
26354 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26355 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26356 $as_echo_n "(cached) " >&6
26357 else
26360 ac_ext=cpp
26361 ac_cpp='$CXXCPP $CPPFLAGS'
26362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 #include <math.h>
26370 main ()
26372 ldexpl(0, 0);
26374 return 0;
26376 _ACEOF
26377 if ac_fn_cxx_try_compile "$LINENO"; then :
26378 glibcxx_cv_func_ldexpl_use=yes
26379 else
26380 glibcxx_cv_func_ldexpl_use=no
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 ac_ext=c
26384 ac_cpp='$CPP $CPPFLAGS'
26385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26394 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26396 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26397 for ac_func in ldexpl
26398 do :
26399 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26400 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26401 cat >>confdefs.h <<_ACEOF
26402 #define HAVE_LDEXPL 1
26403 _ACEOF
26406 done
26408 else
26410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26411 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26412 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26413 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26414 $as_echo_n "(cached) " >&6
26415 else
26418 ac_ext=cpp
26419 ac_cpp='$CXXCPP $CPPFLAGS'
26420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26425 /* end confdefs.h. */
26426 #include <math.h>
26428 main ()
26430 _ldexpl(0, 0);
26432 return 0;
26434 _ACEOF
26435 if ac_fn_cxx_try_compile "$LINENO"; then :
26436 glibcxx_cv_func__ldexpl_use=yes
26437 else
26438 glibcxx_cv_func__ldexpl_use=no
26440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441 ac_ext=c
26442 ac_cpp='$CPP $CPPFLAGS'
26443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26452 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26454 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26455 for ac_func in _ldexpl
26456 do :
26457 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26458 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26459 cat >>confdefs.h <<_ACEOF
26460 #define HAVE__LDEXPL 1
26461 _ACEOF
26464 done
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26474 $as_echo_n "checking for logl declaration... " >&6; }
26475 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26476 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26477 $as_echo_n "(cached) " >&6
26478 else
26481 ac_ext=cpp
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26489 #include <math.h>
26490 #ifdef HAVE_IEEEFP_H
26491 #include <ieeefp.h>
26492 #endif
26495 main ()
26497 logl(0);
26499 return 0;
26501 _ACEOF
26502 if ac_fn_cxx_try_compile "$LINENO"; then :
26503 glibcxx_cv_func_logl_use=yes
26504 else
26505 glibcxx_cv_func_logl_use=no
26507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26508 ac_ext=c
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26519 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26521 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26522 for ac_func in logl
26523 do :
26524 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26525 if test "x$ac_cv_func_logl" = x""yes; then :
26526 cat >>confdefs.h <<_ACEOF
26527 #define HAVE_LOGL 1
26528 _ACEOF
26531 done
26533 else
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26536 $as_echo_n "checking for _logl declaration... " >&6; }
26537 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26538 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26539 $as_echo_n "(cached) " >&6
26540 else
26543 ac_ext=cpp
26544 ac_cpp='$CXXCPP $CPPFLAGS'
26545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26550 /* end confdefs.h. */
26551 #include <math.h>
26552 #ifdef HAVE_IEEEFP_H
26553 #include <ieeefp.h>
26554 #endif
26557 main ()
26559 _logl(0);
26561 return 0;
26563 _ACEOF
26564 if ac_fn_cxx_try_compile "$LINENO"; then :
26565 glibcxx_cv_func__logl_use=yes
26566 else
26567 glibcxx_cv_func__logl_use=no
26569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26570 ac_ext=c
26571 ac_cpp='$CPP $CPPFLAGS'
26572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26581 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26583 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26584 for ac_func in _logl
26585 do :
26586 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26587 if test "x$ac_cv_func__logl" = x""yes; then :
26588 cat >>confdefs.h <<_ACEOF
26589 #define HAVE__LOGL 1
26590 _ACEOF
26593 done
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26603 $as_echo_n "checking for log10l declaration... " >&6; }
26604 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26605 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26606 $as_echo_n "(cached) " >&6
26607 else
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26617 /* end confdefs.h. */
26618 #include <math.h>
26619 #ifdef HAVE_IEEEFP_H
26620 #include <ieeefp.h>
26621 #endif
26624 main ()
26626 log10l(0);
26628 return 0;
26630 _ACEOF
26631 if ac_fn_cxx_try_compile "$LINENO"; then :
26632 glibcxx_cv_func_log10l_use=yes
26633 else
26634 glibcxx_cv_func_log10l_use=no
26636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26637 ac_ext=c
26638 ac_cpp='$CPP $CPPFLAGS'
26639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26648 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26650 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26651 for ac_func in log10l
26652 do :
26653 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26654 if test "x$ac_cv_func_log10l" = x""yes; then :
26655 cat >>confdefs.h <<_ACEOF
26656 #define HAVE_LOG10L 1
26657 _ACEOF
26660 done
26662 else
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26665 $as_echo_n "checking for _log10l declaration... " >&6; }
26666 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26667 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26668 $as_echo_n "(cached) " >&6
26669 else
26672 ac_ext=cpp
26673 ac_cpp='$CXXCPP $CPPFLAGS'
26674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26679 /* end confdefs.h. */
26680 #include <math.h>
26681 #ifdef HAVE_IEEEFP_H
26682 #include <ieeefp.h>
26683 #endif
26686 main ()
26688 _log10l(0);
26690 return 0;
26692 _ACEOF
26693 if ac_fn_cxx_try_compile "$LINENO"; then :
26694 glibcxx_cv_func__log10l_use=yes
26695 else
26696 glibcxx_cv_func__log10l_use=no
26698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26699 ac_ext=c
26700 ac_cpp='$CPP $CPPFLAGS'
26701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26710 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26712 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26713 for ac_func in _log10l
26714 do :
26715 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26716 if test "x$ac_cv_func__log10l" = x""yes; then :
26717 cat >>confdefs.h <<_ACEOF
26718 #define HAVE__LOG10L 1
26719 _ACEOF
26722 done
26731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26732 $as_echo_n "checking for modfl declaration... " >&6; }
26733 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26734 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26735 $as_echo_n "(cached) " >&6
26736 else
26739 ac_ext=cpp
26740 ac_cpp='$CXXCPP $CPPFLAGS'
26741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26746 /* end confdefs.h. */
26747 #include <math.h>
26749 main ()
26751 modfl(0, 0);
26753 return 0;
26755 _ACEOF
26756 if ac_fn_cxx_try_compile "$LINENO"; then :
26757 glibcxx_cv_func_modfl_use=yes
26758 else
26759 glibcxx_cv_func_modfl_use=no
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26762 ac_ext=c
26763 ac_cpp='$CPP $CPPFLAGS'
26764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26773 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26775 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26776 for ac_func in modfl
26777 do :
26778 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26779 if test "x$ac_cv_func_modfl" = x""yes; then :
26780 cat >>confdefs.h <<_ACEOF
26781 #define HAVE_MODFL 1
26782 _ACEOF
26785 done
26787 else
26789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26790 $as_echo_n "checking for _modfl declaration... " >&6; }
26791 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26792 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26793 $as_echo_n "(cached) " >&6
26794 else
26797 ac_ext=cpp
26798 ac_cpp='$CXXCPP $CPPFLAGS'
26799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26804 /* end confdefs.h. */
26805 #include <math.h>
26807 main ()
26809 _modfl(0, 0);
26811 return 0;
26813 _ACEOF
26814 if ac_fn_cxx_try_compile "$LINENO"; then :
26815 glibcxx_cv_func__modfl_use=yes
26816 else
26817 glibcxx_cv_func__modfl_use=no
26819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26820 ac_ext=c
26821 ac_cpp='$CPP $CPPFLAGS'
26822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26831 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26833 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26834 for ac_func in _modfl
26835 do :
26836 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26837 if test "x$ac_cv_func__modfl" = x""yes; then :
26838 cat >>confdefs.h <<_ACEOF
26839 #define HAVE__MODFL 1
26840 _ACEOF
26843 done
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26853 $as_echo_n "checking for powl declaration... " >&6; }
26854 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26855 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26856 $as_echo_n "(cached) " >&6
26857 else
26860 ac_ext=cpp
26861 ac_cpp='$CXXCPP $CPPFLAGS'
26862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26867 /* end confdefs.h. */
26868 #include <math.h>
26870 main ()
26872 powl(0, 0);
26874 return 0;
26876 _ACEOF
26877 if ac_fn_cxx_try_compile "$LINENO"; then :
26878 glibcxx_cv_func_powl_use=yes
26879 else
26880 glibcxx_cv_func_powl_use=no
26882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26883 ac_ext=c
26884 ac_cpp='$CPP $CPPFLAGS'
26885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26894 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26896 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26897 for ac_func in powl
26898 do :
26899 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26900 if test "x$ac_cv_func_powl" = x""yes; then :
26901 cat >>confdefs.h <<_ACEOF
26902 #define HAVE_POWL 1
26903 _ACEOF
26906 done
26908 else
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26911 $as_echo_n "checking for _powl declaration... " >&6; }
26912 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26913 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26914 $as_echo_n "(cached) " >&6
26915 else
26918 ac_ext=cpp
26919 ac_cpp='$CXXCPP $CPPFLAGS'
26920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26925 /* end confdefs.h. */
26926 #include <math.h>
26928 main ()
26930 _powl(0, 0);
26932 return 0;
26934 _ACEOF
26935 if ac_fn_cxx_try_compile "$LINENO"; then :
26936 glibcxx_cv_func__powl_use=yes
26937 else
26938 glibcxx_cv_func__powl_use=no
26940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26941 ac_ext=c
26942 ac_cpp='$CPP $CPPFLAGS'
26943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26952 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26954 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26955 for ac_func in _powl
26956 do :
26957 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26958 if test "x$ac_cv_func__powl" = x""yes; then :
26959 cat >>confdefs.h <<_ACEOF
26960 #define HAVE__POWL 1
26961 _ACEOF
26964 done
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26974 $as_echo_n "checking for sqrtl declaration... " >&6; }
26975 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26976 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26977 $as_echo_n "(cached) " >&6
26978 else
26981 ac_ext=cpp
26982 ac_cpp='$CXXCPP $CPPFLAGS'
26983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26988 /* end confdefs.h. */
26989 #include <math.h>
26990 #ifdef HAVE_IEEEFP_H
26991 #include <ieeefp.h>
26992 #endif
26995 main ()
26997 sqrtl(0);
26999 return 0;
27001 _ACEOF
27002 if ac_fn_cxx_try_compile "$LINENO"; then :
27003 glibcxx_cv_func_sqrtl_use=yes
27004 else
27005 glibcxx_cv_func_sqrtl_use=no
27007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27008 ac_ext=c
27009 ac_cpp='$CPP $CPPFLAGS'
27010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27019 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27021 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27022 for ac_func in sqrtl
27023 do :
27024 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27025 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27026 cat >>confdefs.h <<_ACEOF
27027 #define HAVE_SQRTL 1
27028 _ACEOF
27031 done
27033 else
27035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27036 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27037 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27038 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27039 $as_echo_n "(cached) " >&6
27040 else
27043 ac_ext=cpp
27044 ac_cpp='$CXXCPP $CPPFLAGS'
27045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27050 /* end confdefs.h. */
27051 #include <math.h>
27052 #ifdef HAVE_IEEEFP_H
27053 #include <ieeefp.h>
27054 #endif
27057 main ()
27059 _sqrtl(0);
27061 return 0;
27063 _ACEOF
27064 if ac_fn_cxx_try_compile "$LINENO"; then :
27065 glibcxx_cv_func__sqrtl_use=yes
27066 else
27067 glibcxx_cv_func__sqrtl_use=no
27069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27070 ac_ext=c
27071 ac_cpp='$CPP $CPPFLAGS'
27072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27081 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27083 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27084 for ac_func in _sqrtl
27085 do :
27086 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27087 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27088 cat >>confdefs.h <<_ACEOF
27089 #define HAVE__SQRTL 1
27090 _ACEOF
27093 done
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27103 $as_echo_n "checking for sincosl declaration... " >&6; }
27104 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27105 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27106 $as_echo_n "(cached) " >&6
27107 else
27110 ac_ext=cpp
27111 ac_cpp='$CXXCPP $CPPFLAGS'
27112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27117 /* end confdefs.h. */
27118 #include <math.h>
27120 main ()
27122 sincosl(0, 0, 0);
27124 return 0;
27126 _ACEOF
27127 if ac_fn_cxx_try_compile "$LINENO"; then :
27128 glibcxx_cv_func_sincosl_use=yes
27129 else
27130 glibcxx_cv_func_sincosl_use=no
27132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27133 ac_ext=c
27134 ac_cpp='$CPP $CPPFLAGS'
27135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27144 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27146 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27147 for ac_func in sincosl
27148 do :
27149 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27150 if test "x$ac_cv_func_sincosl" = x""yes; then :
27151 cat >>confdefs.h <<_ACEOF
27152 #define HAVE_SINCOSL 1
27153 _ACEOF
27156 done
27158 else
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27161 $as_echo_n "checking for _sincosl declaration... " >&6; }
27162 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27163 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27164 $as_echo_n "(cached) " >&6
27165 else
27168 ac_ext=cpp
27169 ac_cpp='$CXXCPP $CPPFLAGS'
27170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27175 /* end confdefs.h. */
27176 #include <math.h>
27178 main ()
27180 _sincosl(0, 0, 0);
27182 return 0;
27184 _ACEOF
27185 if ac_fn_cxx_try_compile "$LINENO"; then :
27186 glibcxx_cv_func__sincosl_use=yes
27187 else
27188 glibcxx_cv_func__sincosl_use=no
27190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27191 ac_ext=c
27192 ac_cpp='$CPP $CPPFLAGS'
27193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27202 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27204 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27205 for ac_func in _sincosl
27206 do :
27207 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27208 if test "x$ac_cv_func__sincosl" = x""yes; then :
27209 cat >>confdefs.h <<_ACEOF
27210 #define HAVE__SINCOSL 1
27211 _ACEOF
27214 done
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27224 $as_echo_n "checking for finitel declaration... " >&6; }
27225 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27226 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27227 $as_echo_n "(cached) " >&6
27228 else
27231 ac_ext=cpp
27232 ac_cpp='$CXXCPP $CPPFLAGS'
27233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27238 /* end confdefs.h. */
27239 #include <math.h>
27240 #ifdef HAVE_IEEEFP_H
27241 #include <ieeefp.h>
27242 #endif
27245 main ()
27247 finitel(0);
27249 return 0;
27251 _ACEOF
27252 if ac_fn_cxx_try_compile "$LINENO"; then :
27253 glibcxx_cv_func_finitel_use=yes
27254 else
27255 glibcxx_cv_func_finitel_use=no
27257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27258 ac_ext=c
27259 ac_cpp='$CPP $CPPFLAGS'
27260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27269 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27271 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27272 for ac_func in finitel
27273 do :
27274 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27275 if test "x$ac_cv_func_finitel" = x""yes; then :
27276 cat >>confdefs.h <<_ACEOF
27277 #define HAVE_FINITEL 1
27278 _ACEOF
27281 done
27283 else
27285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27286 $as_echo_n "checking for _finitel declaration... " >&6; }
27287 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27288 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27289 $as_echo_n "(cached) " >&6
27290 else
27293 ac_ext=cpp
27294 ac_cpp='$CXXCPP $CPPFLAGS'
27295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27300 /* end confdefs.h. */
27301 #include <math.h>
27302 #ifdef HAVE_IEEEFP_H
27303 #include <ieeefp.h>
27304 #endif
27307 main ()
27309 _finitel(0);
27311 return 0;
27313 _ACEOF
27314 if ac_fn_cxx_try_compile "$LINENO"; then :
27315 glibcxx_cv_func__finitel_use=yes
27316 else
27317 glibcxx_cv_func__finitel_use=no
27319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27320 ac_ext=c
27321 ac_cpp='$CPP $CPPFLAGS'
27322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27331 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27333 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27334 for ac_func in _finitel
27335 do :
27336 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27337 if test "x$ac_cv_func__finitel" = x""yes; then :
27338 cat >>confdefs.h <<_ACEOF
27339 #define HAVE__FINITEL 1
27340 _ACEOF
27343 done
27351 LIBS="$ac_save_LIBS"
27352 CXXFLAGS="$ac_save_CXXFLAGS"
27355 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27356 ac_save_CXXFLAGS="$CXXFLAGS"
27357 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27361 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27362 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27363 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27364 $as_echo_n "(cached) " >&6
27365 else
27368 ac_ext=cpp
27369 ac_cpp='$CXXCPP $CPPFLAGS'
27370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27375 /* end confdefs.h. */
27376 #include <stdlib.h>
27378 main ()
27380 at_quick_exit(0);
27382 return 0;
27384 _ACEOF
27385 if ac_fn_cxx_try_compile "$LINENO"; then :
27386 glibcxx_cv_func_at_quick_exit_use=yes
27387 else
27388 glibcxx_cv_func_at_quick_exit_use=no
27390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27391 ac_ext=c
27392 ac_cpp='$CPP $CPPFLAGS'
27393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27402 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27403 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27404 for ac_func in at_quick_exit
27405 do :
27406 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27407 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27408 cat >>confdefs.h <<_ACEOF
27409 #define HAVE_AT_QUICK_EXIT 1
27410 _ACEOF
27413 done
27418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27419 $as_echo_n "checking for quick_exit declaration... " >&6; }
27420 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27421 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27422 $as_echo_n "(cached) " >&6
27423 else
27426 ac_ext=cpp
27427 ac_cpp='$CXXCPP $CPPFLAGS'
27428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27433 /* end confdefs.h. */
27434 #include <stdlib.h>
27436 main ()
27438 quick_exit(0);
27440 return 0;
27442 _ACEOF
27443 if ac_fn_cxx_try_compile "$LINENO"; then :
27444 glibcxx_cv_func_quick_exit_use=yes
27445 else
27446 glibcxx_cv_func_quick_exit_use=no
27448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27449 ac_ext=c
27450 ac_cpp='$CPP $CPPFLAGS'
27451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27460 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27461 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27462 for ac_func in quick_exit
27463 do :
27464 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27465 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27466 cat >>confdefs.h <<_ACEOF
27467 #define HAVE_QUICK_EXIT 1
27468 _ACEOF
27471 done
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27477 $as_echo_n "checking for strtold declaration... " >&6; }
27478 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27479 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27480 $as_echo_n "(cached) " >&6
27481 else
27484 ac_ext=cpp
27485 ac_cpp='$CXXCPP $CPPFLAGS'
27486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27491 /* end confdefs.h. */
27492 #include <stdlib.h>
27494 main ()
27496 strtold(0, 0);
27498 return 0;
27500 _ACEOF
27501 if ac_fn_cxx_try_compile "$LINENO"; then :
27502 glibcxx_cv_func_strtold_use=yes
27503 else
27504 glibcxx_cv_func_strtold_use=no
27506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27507 ac_ext=c
27508 ac_cpp='$CPP $CPPFLAGS'
27509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27518 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27519 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27520 for ac_func in strtold
27521 do :
27522 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27523 if test "x$ac_cv_func_strtold" = x""yes; then :
27524 cat >>confdefs.h <<_ACEOF
27525 #define HAVE_STRTOLD 1
27526 _ACEOF
27529 done
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27537 $as_echo_n "checking for strtof declaration... " >&6; }
27538 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27539 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27540 $as_echo_n "(cached) " >&6
27541 else
27544 ac_ext=cpp
27545 ac_cpp='$CXXCPP $CPPFLAGS'
27546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27551 /* end confdefs.h. */
27552 #include <stdlib.h>
27554 main ()
27556 strtof(0, 0);
27558 return 0;
27560 _ACEOF
27561 if ac_fn_cxx_try_compile "$LINENO"; then :
27562 glibcxx_cv_func_strtof_use=yes
27563 else
27564 glibcxx_cv_func_strtof_use=no
27566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27567 ac_ext=c
27568 ac_cpp='$CPP $CPPFLAGS'
27569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27578 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27579 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27580 for ac_func in strtof
27581 do :
27582 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27583 if test "x$ac_cv_func_strtof" = x""yes; then :
27584 cat >>confdefs.h <<_ACEOF
27585 #define HAVE_STRTOF 1
27586 _ACEOF
27589 done
27596 CXXFLAGS="$ac_save_CXXFLAGS"
27599 # For /dev/random and /dev/urandom for TR1.
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27603 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27604 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27605 $as_echo_n "(cached) " >&6
27606 else
27608 if test -r /dev/random && test -r /dev/urandom; then
27609 ## For MSys environment the test above is detect as false-positive
27610 ## on mingw-targets. So disable it explicit for them.
27611 case ${target_os} in
27612 *mingw*) glibcxx_cv_random_tr1=no ;;
27613 *) glibcxx_cv_random_tr1=yes ;;
27614 esac
27615 else
27616 glibcxx_cv_random_tr1=no;
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27622 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27624 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27626 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27632 # For TLS support.
27635 # Check whether --enable-tls was given.
27636 if test "${enable_tls+set}" = set; then :
27637 enableval=$enable_tls;
27638 case "$enableval" in
27639 yes|no) ;;
27640 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27641 esac
27643 else
27644 enable_tls=yes
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27649 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27650 if test "${gcc_cv_have_tls+set}" = set; then :
27651 $as_echo_n "(cached) " >&6
27652 else
27654 if test "$cross_compiling" = yes; then :
27655 if test x$gcc_no_link = xyes; then
27656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27659 /* end confdefs.h. */
27660 __thread int a; int b; int main() { return a = b; }
27661 _ACEOF
27662 if ac_fn_c_try_link "$LINENO"; then :
27663 chktls_save_LDFLAGS="$LDFLAGS"
27664 case $host in
27665 *-*-linux*)
27666 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27668 esac
27669 chktls_save_CFLAGS="$CFLAGS"
27670 CFLAGS="-fPIC $CFLAGS"
27671 if test x$gcc_no_link = xyes; then
27672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27675 /* end confdefs.h. */
27676 int f() { return 0; }
27677 _ACEOF
27678 if ac_fn_c_try_link "$LINENO"; then :
27679 if test x$gcc_no_link = xyes; then
27680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27683 /* end confdefs.h. */
27684 __thread int a; int b; int f() { return a = b; }
27685 _ACEOF
27686 if ac_fn_c_try_link "$LINENO"; then :
27687 gcc_cv_have_tls=yes
27688 else
27689 gcc_cv_have_tls=no
27691 rm -f core conftest.err conftest.$ac_objext \
27692 conftest$ac_exeext conftest.$ac_ext
27693 else
27694 gcc_cv_have_tls=yes
27696 rm -f core conftest.err conftest.$ac_objext \
27697 conftest$ac_exeext conftest.$ac_ext
27698 CFLAGS="$chktls_save_CFLAGS"
27699 LDFLAGS="$chktls_save_LDFLAGS"
27700 else
27701 gcc_cv_have_tls=no
27703 rm -f core conftest.err conftest.$ac_objext \
27704 conftest$ac_exeext conftest.$ac_ext
27707 else
27708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27709 /* end confdefs.h. */
27710 __thread int a; int b; int main() { return a = b; }
27711 _ACEOF
27712 if ac_fn_c_try_run "$LINENO"; then :
27713 chktls_save_LDFLAGS="$LDFLAGS"
27714 LDFLAGS="-static $LDFLAGS"
27715 if test x$gcc_no_link = xyes; then
27716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27719 /* end confdefs.h. */
27720 int main() { return 0; }
27721 _ACEOF
27722 if ac_fn_c_try_link "$LINENO"; then :
27723 if test "$cross_compiling" = yes; then :
27724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27726 as_fn_error "cannot run test program while cross compiling
27727 See \`config.log' for more details." "$LINENO" 5; }
27728 else
27729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 /* end confdefs.h. */
27731 __thread int a; int b; int main() { return a = b; }
27732 _ACEOF
27733 if ac_fn_c_try_run "$LINENO"; then :
27734 gcc_cv_have_tls=yes
27735 else
27736 gcc_cv_have_tls=no
27738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27739 conftest.$ac_objext conftest.beam conftest.$ac_ext
27742 else
27743 gcc_cv_have_tls=yes
27745 rm -f core conftest.err conftest.$ac_objext \
27746 conftest$ac_exeext conftest.$ac_ext
27747 LDFLAGS="$chktls_save_LDFLAGS"
27748 if test $gcc_cv_have_tls = yes; then
27749 chktls_save_CFLAGS="$CFLAGS"
27750 thread_CFLAGS=failed
27751 for flag in '' '-pthread' '-lpthread'; do
27752 CFLAGS="$flag $chktls_save_CFLAGS"
27753 if test x$gcc_no_link = xyes; then
27754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <pthread.h>
27759 void *g(void *d) { return NULL; }
27761 main ()
27763 pthread_t t; pthread_create(&t,NULL,g,NULL);
27765 return 0;
27767 _ACEOF
27768 if ac_fn_c_try_link "$LINENO"; then :
27769 thread_CFLAGS="$flag"
27771 rm -f core conftest.err conftest.$ac_objext \
27772 conftest$ac_exeext conftest.$ac_ext
27773 if test "X$thread_CFLAGS" != Xfailed; then
27774 break
27776 done
27777 CFLAGS="$chktls_save_CFLAGS"
27778 if test "X$thread_CFLAGS" != Xfailed; then
27779 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27780 if test "$cross_compiling" = yes; then :
27781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27783 as_fn_error "cannot run test program while cross compiling
27784 See \`config.log' for more details." "$LINENO" 5; }
27785 else
27786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27787 /* end confdefs.h. */
27788 #include <pthread.h>
27789 __thread int a;
27790 static int *volatile a_in_other_thread;
27791 static void *
27792 thread_func (void *arg)
27794 a_in_other_thread = &a;
27795 return (void *)0;
27798 main ()
27800 pthread_t thread;
27801 void *thread_retval;
27802 int *volatile a_in_main_thread;
27803 a_in_main_thread = &a;
27804 if (pthread_create (&thread, (pthread_attr_t *)0,
27805 thread_func, (void *)0))
27806 return 0;
27807 if (pthread_join (thread, &thread_retval))
27808 return 0;
27809 return (a_in_other_thread == a_in_main_thread);
27811 return 0;
27813 _ACEOF
27814 if ac_fn_c_try_run "$LINENO"; then :
27815 gcc_cv_have_tls=yes
27816 else
27817 gcc_cv_have_tls=no
27819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27820 conftest.$ac_objext conftest.beam conftest.$ac_ext
27823 CFLAGS="$chktls_save_CFLAGS"
27826 else
27827 gcc_cv_have_tls=no
27829 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27830 conftest.$ac_objext conftest.beam conftest.$ac_ext
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27835 $as_echo "$gcc_cv_have_tls" >&6; }
27836 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27838 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27842 for ac_func in __cxa_thread_atexit_impl
27843 do :
27844 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27845 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27846 cat >>confdefs.h <<_ACEOF
27847 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27848 _ACEOF
27851 done
27854 # For iconv support.
27856 if test "X$prefix" = "XNONE"; then
27857 acl_final_prefix="$ac_default_prefix"
27858 else
27859 acl_final_prefix="$prefix"
27861 if test "X$exec_prefix" = "XNONE"; then
27862 acl_final_exec_prefix='${prefix}'
27863 else
27864 acl_final_exec_prefix="$exec_prefix"
27866 acl_save_prefix="$prefix"
27867 prefix="$acl_final_prefix"
27868 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27869 prefix="$acl_save_prefix"
27872 # Check whether --with-gnu-ld was given.
27873 if test "${with_gnu_ld+set}" = set; then :
27874 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27875 else
27876 with_gnu_ld=no
27879 # Prepare PATH_SEPARATOR.
27880 # The user is always right.
27881 if test "${PATH_SEPARATOR+set}" != set; then
27882 echo "#! /bin/sh" >conf$$.sh
27883 echo "exit 0" >>conf$$.sh
27884 chmod +x conf$$.sh
27885 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27886 PATH_SEPARATOR=';'
27887 else
27888 PATH_SEPARATOR=:
27890 rm -f conf$$.sh
27892 ac_prog=ld
27893 if test "$GCC" = yes; then
27894 # Check if gcc -print-prog-name=ld gives a path.
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27896 $as_echo_n "checking for ld used by GCC... " >&6; }
27897 case $host in
27898 *-*-mingw*)
27899 # gcc leaves a trailing carriage return which upsets mingw
27900 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27902 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27903 esac
27904 case $ac_prog in
27905 # Accept absolute paths.
27906 [\\/]* | [A-Za-z]:[\\/]*)
27907 re_direlt='/[^/][^/]*/\.\./'
27908 # Canonicalize the path of ld
27909 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27910 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27911 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27912 done
27913 test -z "$LD" && LD="$ac_prog"
27916 # If it fails, then pretend we aren't using GCC.
27917 ac_prog=ld
27920 # If it is relative, then search for the first ld in PATH.
27921 with_gnu_ld=unknown
27923 esac
27924 elif test "$with_gnu_ld" = yes; then
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27926 $as_echo_n "checking for GNU ld... " >&6; }
27927 else
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27929 $as_echo_n "checking for non-GNU ld... " >&6; }
27931 if test "${acl_cv_path_LD+set}" = set; then :
27932 $as_echo_n "(cached) " >&6
27933 else
27934 if test -z "$LD"; then
27935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27936 for ac_dir in $PATH; do
27937 test -z "$ac_dir" && ac_dir=.
27938 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27939 acl_cv_path_LD="$ac_dir/$ac_prog"
27940 # Check to see if the program is GNU ld. I'd rather use --version,
27941 # but apparently some GNU ld's only accept -v.
27942 # Break only if it was the GNU/non-GNU ld that we prefer.
27943 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27944 test "$with_gnu_ld" != no && break
27945 else
27946 test "$with_gnu_ld" != yes && break
27949 done
27950 IFS="$ac_save_ifs"
27951 else
27952 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27956 LD="$acl_cv_path_LD"
27957 if test -n "$LD"; then
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27959 $as_echo "$LD" >&6; }
27960 else
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27962 $as_echo "no" >&6; }
27964 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27966 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27967 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27968 $as_echo_n "(cached) " >&6
27969 else
27970 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27971 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27972 acl_cv_prog_gnu_ld=yes
27973 else
27974 acl_cv_prog_gnu_ld=no
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27978 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27979 with_gnu_ld=$acl_cv_prog_gnu_ld
27983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27984 $as_echo_n "checking for shared library run path origin... " >&6; }
27985 if test "${acl_cv_rpath+set}" = set; then :
27986 $as_echo_n "(cached) " >&6
27987 else
27989 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27990 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27991 . ./conftest.sh
27992 rm -f ./conftest.sh
27993 acl_cv_rpath=done
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27997 $as_echo "$acl_cv_rpath" >&6; }
27998 wl="$acl_cv_wl"
27999 libext="$acl_cv_libext"
28000 shlibext="$acl_cv_shlibext"
28001 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28002 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28003 hardcode_direct="$acl_cv_hardcode_direct"
28004 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28005 # Check whether --enable-rpath was given.
28006 if test "${enable_rpath+set}" = set; then :
28007 enableval=$enable_rpath; :
28008 else
28009 enable_rpath=yes
28019 use_additional=yes
28021 acl_save_prefix="$prefix"
28022 prefix="$acl_final_prefix"
28023 acl_save_exec_prefix="$exec_prefix"
28024 exec_prefix="$acl_final_exec_prefix"
28026 eval additional_includedir=\"$includedir\"
28027 eval additional_libdir=\"$libdir\"
28029 exec_prefix="$acl_save_exec_prefix"
28030 prefix="$acl_save_prefix"
28033 # Check whether --with-libiconv-prefix was given.
28034 if test "${with_libiconv_prefix+set}" = set; then :
28035 withval=$with_libiconv_prefix;
28036 if test "X$withval" = "Xno"; then
28037 use_additional=no
28038 else
28039 if test "X$withval" = "X"; then
28041 acl_save_prefix="$prefix"
28042 prefix="$acl_final_prefix"
28043 acl_save_exec_prefix="$exec_prefix"
28044 exec_prefix="$acl_final_exec_prefix"
28046 eval additional_includedir=\"$includedir\"
28047 eval additional_libdir=\"$libdir\"
28049 exec_prefix="$acl_save_exec_prefix"
28050 prefix="$acl_save_prefix"
28052 else
28053 additional_includedir="$withval/include"
28054 additional_libdir="$withval/lib"
28060 LIBICONV=
28061 LTLIBICONV=
28062 INCICONV=
28063 rpathdirs=
28064 ltrpathdirs=
28065 names_already_handled=
28066 names_next_round='iconv '
28067 while test -n "$names_next_round"; do
28068 names_this_round="$names_next_round"
28069 names_next_round=
28070 for name in $names_this_round; do
28071 already_handled=
28072 for n in $names_already_handled; do
28073 if test "$n" = "$name"; then
28074 already_handled=yes
28075 break
28077 done
28078 if test -z "$already_handled"; then
28079 names_already_handled="$names_already_handled $name"
28080 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28081 eval value=\"\$HAVE_LIB$uppername\"
28082 if test -n "$value"; then
28083 if test "$value" = yes; then
28084 eval value=\"\$LIB$uppername\"
28085 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28086 eval value=\"\$LTLIB$uppername\"
28087 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28088 else
28091 else
28092 found_dir=
28093 found_la=
28094 found_so=
28095 found_a=
28096 if test $use_additional = yes; then
28097 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28098 found_dir="$additional_libdir"
28099 found_so="$additional_libdir/lib$name.$shlibext"
28100 if test -f "$additional_libdir/lib$name.la"; then
28101 found_la="$additional_libdir/lib$name.la"
28103 else
28104 if test -f "$additional_libdir/lib$name.$libext"; then
28105 found_dir="$additional_libdir"
28106 found_a="$additional_libdir/lib$name.$libext"
28107 if test -f "$additional_libdir/lib$name.la"; then
28108 found_la="$additional_libdir/lib$name.la"
28113 if test "X$found_dir" = "X"; then
28114 for x in $LDFLAGS $LTLIBICONV; do
28116 acl_save_prefix="$prefix"
28117 prefix="$acl_final_prefix"
28118 acl_save_exec_prefix="$exec_prefix"
28119 exec_prefix="$acl_final_exec_prefix"
28120 eval x=\"$x\"
28121 exec_prefix="$acl_save_exec_prefix"
28122 prefix="$acl_save_prefix"
28124 case "$x" in
28125 -L*)
28126 dir=`echo "X$x" | sed -e 's/^X-L//'`
28127 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28128 found_dir="$dir"
28129 found_so="$dir/lib$name.$shlibext"
28130 if test -f "$dir/lib$name.la"; then
28131 found_la="$dir/lib$name.la"
28133 else
28134 if test -f "$dir/lib$name.$libext"; then
28135 found_dir="$dir"
28136 found_a="$dir/lib$name.$libext"
28137 if test -f "$dir/lib$name.la"; then
28138 found_la="$dir/lib$name.la"
28143 esac
28144 if test "X$found_dir" != "X"; then
28145 break
28147 done
28149 if test "X$found_dir" != "X"; then
28150 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28151 if test "X$found_so" != "X"; then
28152 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28153 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28154 else
28155 haveit=
28156 for x in $ltrpathdirs; do
28157 if test "X$x" = "X$found_dir"; then
28158 haveit=yes
28159 break
28161 done
28162 if test -z "$haveit"; then
28163 ltrpathdirs="$ltrpathdirs $found_dir"
28165 if test "$hardcode_direct" = yes; then
28166 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28167 else
28168 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28169 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28170 haveit=
28171 for x in $rpathdirs; do
28172 if test "X$x" = "X$found_dir"; then
28173 haveit=yes
28174 break
28176 done
28177 if test -z "$haveit"; then
28178 rpathdirs="$rpathdirs $found_dir"
28180 else
28181 haveit=
28182 for x in $LDFLAGS $LIBICONV; do
28184 acl_save_prefix="$prefix"
28185 prefix="$acl_final_prefix"
28186 acl_save_exec_prefix="$exec_prefix"
28187 exec_prefix="$acl_final_exec_prefix"
28188 eval x=\"$x\"
28189 exec_prefix="$acl_save_exec_prefix"
28190 prefix="$acl_save_prefix"
28192 if test "X$x" = "X-L$found_dir"; then
28193 haveit=yes
28194 break
28196 done
28197 if test -z "$haveit"; then
28198 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28200 if test "$hardcode_minus_L" != no; then
28201 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28202 else
28203 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28208 else
28209 if test "X$found_a" != "X"; then
28210 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28211 else
28212 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28215 additional_includedir=
28216 case "$found_dir" in
28217 */lib | */lib/)
28218 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28219 additional_includedir="$basedir/include"
28221 esac
28222 if test "X$additional_includedir" != "X"; then
28223 if test "X$additional_includedir" != "X/usr/include"; then
28224 haveit=
28225 if test "X$additional_includedir" = "X/usr/local/include"; then
28226 if test -n "$GCC"; then
28227 case $host_os in
28228 linux*) haveit=yes;;
28229 esac
28232 if test -z "$haveit"; then
28233 for x in $CPPFLAGS $INCICONV; do
28235 acl_save_prefix="$prefix"
28236 prefix="$acl_final_prefix"
28237 acl_save_exec_prefix="$exec_prefix"
28238 exec_prefix="$acl_final_exec_prefix"
28239 eval x=\"$x\"
28240 exec_prefix="$acl_save_exec_prefix"
28241 prefix="$acl_save_prefix"
28243 if test "X$x" = "X-I$additional_includedir"; then
28244 haveit=yes
28245 break
28247 done
28248 if test -z "$haveit"; then
28249 if test -d "$additional_includedir"; then
28250 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28256 if test -n "$found_la"; then
28257 save_libdir="$libdir"
28258 case "$found_la" in
28259 */* | *\\*) . "$found_la" ;;
28260 *) . "./$found_la" ;;
28261 esac
28262 libdir="$save_libdir"
28263 for dep in $dependency_libs; do
28264 case "$dep" in
28265 -L*)
28266 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28267 if test "X$additional_libdir" != "X/usr/lib"; then
28268 haveit=
28269 if test "X$additional_libdir" = "X/usr/local/lib"; then
28270 if test -n "$GCC"; then
28271 case $host_os in
28272 linux*) haveit=yes;;
28273 esac
28276 if test -z "$haveit"; then
28277 haveit=
28278 for x in $LDFLAGS $LIBICONV; do
28280 acl_save_prefix="$prefix"
28281 prefix="$acl_final_prefix"
28282 acl_save_exec_prefix="$exec_prefix"
28283 exec_prefix="$acl_final_exec_prefix"
28284 eval x=\"$x\"
28285 exec_prefix="$acl_save_exec_prefix"
28286 prefix="$acl_save_prefix"
28288 if test "X$x" = "X-L$additional_libdir"; then
28289 haveit=yes
28290 break
28292 done
28293 if test -z "$haveit"; then
28294 if test -d "$additional_libdir"; then
28295 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28298 haveit=
28299 for x in $LDFLAGS $LTLIBICONV; do
28301 acl_save_prefix="$prefix"
28302 prefix="$acl_final_prefix"
28303 acl_save_exec_prefix="$exec_prefix"
28304 exec_prefix="$acl_final_exec_prefix"
28305 eval x=\"$x\"
28306 exec_prefix="$acl_save_exec_prefix"
28307 prefix="$acl_save_prefix"
28309 if test "X$x" = "X-L$additional_libdir"; then
28310 haveit=yes
28311 break
28313 done
28314 if test -z "$haveit"; then
28315 if test -d "$additional_libdir"; then
28316 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28322 -R*)
28323 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28324 if test "$enable_rpath" != no; then
28325 haveit=
28326 for x in $rpathdirs; do
28327 if test "X$x" = "X$dir"; then
28328 haveit=yes
28329 break
28331 done
28332 if test -z "$haveit"; then
28333 rpathdirs="$rpathdirs $dir"
28335 haveit=
28336 for x in $ltrpathdirs; do
28337 if test "X$x" = "X$dir"; then
28338 haveit=yes
28339 break
28341 done
28342 if test -z "$haveit"; then
28343 ltrpathdirs="$ltrpathdirs $dir"
28347 -l*)
28348 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28350 *.la)
28351 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28354 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28355 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28357 esac
28358 done
28360 else
28361 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28362 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28366 done
28367 done
28368 if test "X$rpathdirs" != "X"; then
28369 if test -n "$hardcode_libdir_separator"; then
28370 alldirs=
28371 for found_dir in $rpathdirs; do
28372 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28373 done
28374 acl_save_libdir="$libdir"
28375 libdir="$alldirs"
28376 eval flag=\"$hardcode_libdir_flag_spec\"
28377 libdir="$acl_save_libdir"
28378 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28379 else
28380 for found_dir in $rpathdirs; do
28381 acl_save_libdir="$libdir"
28382 libdir="$found_dir"
28383 eval flag=\"$hardcode_libdir_flag_spec\"
28384 libdir="$acl_save_libdir"
28385 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28386 done
28389 if test "X$ltrpathdirs" != "X"; then
28390 for found_dir in $ltrpathdirs; do
28391 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28392 done
28401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28402 $as_echo_n "checking for iconv... " >&6; }
28403 if test "${am_cv_func_iconv+set}" = set; then :
28404 $as_echo_n "(cached) " >&6
28405 else
28407 am_cv_func_iconv="no, consider installing GNU libiconv"
28408 am_cv_lib_iconv=no
28409 am_save_CPPFLAGS="$CPPFLAGS"
28410 CPPFLAGS="$CPPFLAGS $INCICONV"
28411 if test x$gcc_no_link = xyes; then
28412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28415 /* end confdefs.h. */
28416 #include <stdlib.h>
28417 #include <iconv.h>
28419 main ()
28421 iconv_t cd = iconv_open("","");
28422 iconv(cd,NULL,NULL,NULL,NULL);
28423 iconv_close(cd);
28425 return 0;
28427 _ACEOF
28428 if ac_fn_c_try_link "$LINENO"; then :
28429 am_cv_func_iconv=yes
28431 rm -f core conftest.err conftest.$ac_objext \
28432 conftest$ac_exeext conftest.$ac_ext
28433 CPPFLAGS="$am_save_CPPFLAGS"
28435 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28436 for _libs in .libs _libs; do
28437 am_save_CPPFLAGS="$CPPFLAGS"
28438 am_save_LIBS="$LIBS"
28439 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28440 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28441 if test x$gcc_no_link = xyes; then
28442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <stdlib.h>
28447 #include <iconv.h>
28449 main ()
28451 iconv_t cd = iconv_open("","");
28452 iconv(cd,NULL,NULL,NULL,NULL);
28453 iconv_close(cd);
28455 return 0;
28457 _ACEOF
28458 if ac_fn_c_try_link "$LINENO"; then :
28459 INCICONV="-I../libiconv/include"
28460 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28461 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28462 am_cv_lib_iconv=yes
28463 am_cv_func_iconv=yes
28465 rm -f core conftest.err conftest.$ac_objext \
28466 conftest$ac_exeext conftest.$ac_ext
28467 CPPFLAGS="$am_save_CPPFLAGS"
28468 LIBS="$am_save_LIBS"
28469 if test "$am_cv_func_iconv" = "yes"; then
28470 break
28472 done
28475 if test "$am_cv_func_iconv" != yes; then
28476 am_save_CPPFLAGS="$CPPFLAGS"
28477 am_save_LIBS="$LIBS"
28478 CPPFLAGS="$LIBS $INCICONV"
28479 LIBS="$LIBS $LIBICONV"
28480 if test x$gcc_no_link = xyes; then
28481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28484 /* end confdefs.h. */
28485 #include <stdlib.h>
28486 #include <iconv.h>
28488 main ()
28490 iconv_t cd = iconv_open("","");
28491 iconv(cd,NULL,NULL,NULL,NULL);
28492 iconv_close(cd);
28494 return 0;
28496 _ACEOF
28497 if ac_fn_c_try_link "$LINENO"; then :
28498 am_cv_lib_iconv=yes
28499 am_cv_func_iconv=yes
28501 rm -f core conftest.err conftest.$ac_objext \
28502 conftest$ac_exeext conftest.$ac_ext
28503 CPPFLAGS="$am_save_CPPFLAGS"
28504 LIBS="$am_save_LIBS"
28508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28509 $as_echo "$am_cv_func_iconv" >&6; }
28510 if test "$am_cv_func_iconv" = yes; then
28512 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28515 if test "$am_cv_lib_iconv" = yes; then
28517 for element in $INCICONV; do
28518 haveit=
28519 for x in $CPPFLAGS; do
28521 acl_save_prefix="$prefix"
28522 prefix="$acl_final_prefix"
28523 acl_save_exec_prefix="$exec_prefix"
28524 exec_prefix="$acl_final_exec_prefix"
28525 eval x=\"$x\"
28526 exec_prefix="$acl_save_exec_prefix"
28527 prefix="$acl_save_prefix"
28529 if test "X$x" = "X$element"; then
28530 haveit=yes
28531 break
28533 done
28534 if test -z "$haveit"; then
28535 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28537 done
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28540 $as_echo_n "checking how to link with libiconv... " >&6; }
28541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28542 $as_echo "$LIBICONV" >&6; }
28543 else
28544 LIBICONV=
28545 LTLIBICONV=
28550 if test "$am_cv_func_iconv" = yes; then
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28552 $as_echo_n "checking for iconv declaration... " >&6; }
28553 if test "${am_cv_proto_iconv+set}" = set; then :
28554 $as_echo_n "(cached) " >&6
28555 else
28557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28558 /* end confdefs.h. */
28560 #include <stdlib.h>
28561 #include <iconv.h>
28562 extern
28563 #ifdef __cplusplus
28565 #endif
28566 #if defined(__STDC__) || defined(__cplusplus)
28567 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28568 #else
28569 size_t iconv();
28570 #endif
28573 main ()
28577 return 0;
28579 _ACEOF
28580 if ac_fn_c_try_compile "$LINENO"; then :
28581 am_cv_proto_iconv_arg1=""
28582 else
28583 am_cv_proto_iconv_arg1="const"
28585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28586 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);"
28589 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28591 }$am_cv_proto_iconv" >&5
28592 $as_echo "${ac_t:-
28593 }$am_cv_proto_iconv" >&6; }
28595 cat >>confdefs.h <<_ACEOF
28596 #define ICONV_CONST $am_cv_proto_iconv_arg1
28597 _ACEOF
28602 else
28604 # This lets us hard-code the functionality we know we'll have in the cross
28605 # target environment. "Let" is a sugar-coated word placed on an especially
28606 # dull and tedious hack, actually.
28608 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28609 # that involve linking, can't be used:
28610 # "cannot open sim-crt0.o"
28611 # "cannot open crt0.o"
28612 # etc. All this is because there currently exists no unified, consistent
28613 # way for top level CC information to be passed down to target directories:
28614 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28615 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28616 # crosses can be removed.
28618 # If Canadian cross, then don't pick up tools from the build directory.
28619 # Used only in GLIBCXX_EXPORT_INCLUDES.
28620 if test -n "$with_cross_host" &&
28621 test x"$build_alias" != x"$with_cross_host" &&
28622 test x"$build" != x"$target";
28623 then
28624 CANADIAN=yes
28625 else
28626 CANADIAN=no
28629 # Construct crosses by hand, eliminating bits that need ld...
28630 # GLIBCXX_CHECK_MATH_SUPPORT
28632 # First, test for "known" system libraries. We may be using newlib even
28633 # on a hosted environment.
28634 if test "x${with_newlib}" = "xyes"; then
28635 os_include_dir="os/newlib"
28636 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28639 # GLIBCXX_CHECK_STDLIB_SUPPORT
28640 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28643 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28645 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28647 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28649 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28651 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28653 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28655 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28657 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28659 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28661 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28663 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28665 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28667 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28669 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28671 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28673 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28675 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28677 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28679 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28681 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28683 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28685 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28688 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28690 else
28692 # Base decisions on target environment.
28693 case "${host}" in
28694 arm*-*-symbianelf*)
28695 # This is a freestanding configuration; there is nothing to do here.
28698 mips*-sde-elf*)
28699 # These definitions are for the SDE C library rather than newlib.
28700 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28703 # All these tests are for C++; save the language and the compiler flags.
28704 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28705 # found in GLIBCXX_CONFIGURE.
28707 ac_ext=cpp
28708 ac_cpp='$CXXCPP $CPPFLAGS'
28709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28714 ac_save_CXXFLAGS="$CXXFLAGS"
28716 # Check for maintainer-mode bits.
28717 if test x"$USE_MAINTAINER_MODE" = xno; then
28718 WERROR=''
28719 else
28720 WERROR='-Werror'
28723 # Check for -ffunction-sections -fdata-sections
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28725 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28726 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28728 /* end confdefs.h. */
28729 int foo; void bar() { };
28731 main ()
28735 return 0;
28737 _ACEOF
28738 if ac_fn_cxx_try_compile "$LINENO"; then :
28739 ac_fdsections=yes
28740 else
28741 ac_fdsections=no
28743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28744 if test "$ac_test_CXXFLAGS" = set; then
28745 CXXFLAGS="$ac_save_CXXFLAGS"
28746 else
28747 # this is the suspicious part
28748 CXXFLAGS=''
28750 if test x"$ac_fdsections" = x"yes"; then
28751 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28754 $as_echo "$ac_fdsections" >&6; }
28756 ac_ext=c
28757 ac_cpp='$CPP $CPPFLAGS'
28758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28766 # If we're not using GNU ld, then there's no point in even trying these
28767 # tests. Check for that first. We should have already tested for gld
28768 # by now (in libtool), but require it now just to be safe...
28769 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28770 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28774 # The name set by libtool depends on the version of libtool. Shame on us
28775 # for depending on an impl detail, but c'est la vie. Older versions used
28776 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28777 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28778 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28779 # set (hence we're using an older libtool), then set it.
28780 if test x${with_gnu_ld+set} != xset; then
28781 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28782 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28783 with_gnu_ld=no
28784 else
28785 with_gnu_ld=$ac_cv_prog_gnu_ld
28789 # Start by getting the version number. I think the libtool test already
28790 # does some of this, but throws away the result.
28791 glibcxx_ld_is_gold=no
28792 if test x"$with_gnu_ld" = x"yes"; then
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28794 $as_echo_n "checking for ld version... " >&6; }
28796 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28797 glibcxx_ld_is_gold=yes
28799 ldver=`$LD --version 2>/dev/null |
28800 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'`
28802 glibcxx_gnu_ld_version=`echo $ldver | \
28803 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28805 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28808 # Set --gc-sections.
28809 glibcxx_have_gc_sections=no
28810 if test "$glibcxx_ld_is_gold" = "yes"; then
28811 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28812 glibcxx_have_gc_sections=yes
28814 else
28815 glibcxx_gcsections_min_ld=21602
28816 if test x"$with_gnu_ld" = x"yes" &&
28817 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28818 glibcxx_have_gc_sections=yes
28821 if test "$glibcxx_have_gc_sections" = "yes"; then
28822 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28823 # NB: This flag only works reliably after 2.16.1. Configure tests
28824 # for this are difficult, so hard wire a value that should work.
28826 ac_test_CFLAGS="${CFLAGS+set}"
28827 ac_save_CFLAGS="$CFLAGS"
28828 CFLAGS='-Wl,--gc-sections'
28830 # Check for -Wl,--gc-sections
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28832 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28833 if test x$gcc_no_link = xyes; then
28834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28838 int one(void) { return 1; }
28839 int two(void) { return 2; }
28842 main ()
28844 two();
28846 return 0;
28848 _ACEOF
28849 if ac_fn_c_try_link "$LINENO"; then :
28850 ac_gcsections=yes
28851 else
28852 ac_gcsections=no
28854 rm -f core conftest.err conftest.$ac_objext \
28855 conftest$ac_exeext conftest.$ac_ext
28856 if test "$ac_gcsections" = "yes"; then
28857 rm -f conftest.c
28858 touch conftest.c
28859 if $CC -c conftest.c; then
28860 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28861 grep "Warning: gc-sections option ignored" > /dev/null; then
28862 ac_gcsections=no
28865 rm -f conftest.c conftest.o conftest
28867 if test "$ac_gcsections" = "yes"; then
28868 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28871 $as_echo "$ac_gcsections" >&6; }
28873 if test "$ac_test_CFLAGS" = set; then
28874 CFLAGS="$ac_save_CFLAGS"
28875 else
28876 # this is the suspicious part
28877 CFLAGS=''
28881 # Set -z,relro.
28882 # Note this is only for shared objects.
28883 ac_ld_relro=no
28884 if test x"$with_gnu_ld" = x"yes"; then
28885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28886 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28887 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28888 if test -n "$cxx_z_relo"; then
28889 OPT_LDFLAGS="-Wl,-z,relro"
28890 ac_ld_relro=yes
28892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28893 $as_echo "$ac_ld_relro" >&6; }
28896 # Set linker optimization flags.
28897 if test x"$with_gnu_ld" = x"yes"; then
28898 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28905 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28906 ac_save_CXXFLAGS="$CXXFLAGS"
28907 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28910 $as_echo_n "checking for sin in -lm... " >&6; }
28911 if test "${ac_cv_lib_m_sin+set}" = set; then :
28912 $as_echo_n "(cached) " >&6
28913 else
28914 ac_check_lib_save_LIBS=$LIBS
28915 LIBS="-lm $LIBS"
28916 if test x$gcc_no_link = xyes; then
28917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28920 /* end confdefs.h. */
28922 /* Override any GCC internal prototype to avoid an error.
28923 Use char because int might match the return type of a GCC
28924 builtin and then its argument prototype would still apply. */
28925 #ifdef __cplusplus
28926 extern "C"
28927 #endif
28928 char sin ();
28930 main ()
28932 return sin ();
28934 return 0;
28936 _ACEOF
28937 if ac_fn_c_try_link "$LINENO"; then :
28938 ac_cv_lib_m_sin=yes
28939 else
28940 ac_cv_lib_m_sin=no
28942 rm -f core conftest.err conftest.$ac_objext \
28943 conftest$ac_exeext conftest.$ac_ext
28944 LIBS=$ac_check_lib_save_LIBS
28946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28947 $as_echo "$ac_cv_lib_m_sin" >&6; }
28948 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28949 libm="-lm"
28952 ac_save_LIBS="$LIBS"
28953 LIBS="$LIBS $libm"
28957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28958 $as_echo_n "checking for isinf declaration... " >&6; }
28959 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28960 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28961 $as_echo_n "(cached) " >&6
28962 else
28965 ac_ext=cpp
28966 ac_cpp='$CXXCPP $CPPFLAGS'
28967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28972 /* end confdefs.h. */
28973 #include <math.h>
28974 #ifdef HAVE_IEEEFP_H
28975 #include <ieeefp.h>
28976 #endif
28979 main ()
28981 isinf(0);
28983 return 0;
28985 _ACEOF
28986 if ac_fn_cxx_try_compile "$LINENO"; then :
28987 glibcxx_cv_func_isinf_use=yes
28988 else
28989 glibcxx_cv_func_isinf_use=no
28991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28992 ac_ext=c
28993 ac_cpp='$CPP $CPPFLAGS'
28994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29003 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29005 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29006 for ac_func in isinf
29007 do :
29008 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29009 if test "x$ac_cv_func_isinf" = x""yes; then :
29010 cat >>confdefs.h <<_ACEOF
29011 #define HAVE_ISINF 1
29012 _ACEOF
29015 done
29017 else
29019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29020 $as_echo_n "checking for _isinf declaration... " >&6; }
29021 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29022 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29023 $as_echo_n "(cached) " >&6
29024 else
29027 ac_ext=cpp
29028 ac_cpp='$CXXCPP $CPPFLAGS'
29029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29034 /* end confdefs.h. */
29035 #include <math.h>
29036 #ifdef HAVE_IEEEFP_H
29037 #include <ieeefp.h>
29038 #endif
29041 main ()
29043 _isinf(0);
29045 return 0;
29047 _ACEOF
29048 if ac_fn_cxx_try_compile "$LINENO"; then :
29049 glibcxx_cv_func__isinf_use=yes
29050 else
29051 glibcxx_cv_func__isinf_use=no
29053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29054 ac_ext=c
29055 ac_cpp='$CPP $CPPFLAGS'
29056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29065 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29067 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29068 for ac_func in _isinf
29069 do :
29070 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29071 if test "x$ac_cv_func__isinf" = x""yes; then :
29072 cat >>confdefs.h <<_ACEOF
29073 #define HAVE__ISINF 1
29074 _ACEOF
29077 done
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29087 $as_echo_n "checking for isnan declaration... " >&6; }
29088 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29089 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29090 $as_echo_n "(cached) " >&6
29091 else
29094 ac_ext=cpp
29095 ac_cpp='$CXXCPP $CPPFLAGS'
29096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h. */
29102 #include <math.h>
29103 #ifdef HAVE_IEEEFP_H
29104 #include <ieeefp.h>
29105 #endif
29108 main ()
29110 isnan(0);
29112 return 0;
29114 _ACEOF
29115 if ac_fn_cxx_try_compile "$LINENO"; then :
29116 glibcxx_cv_func_isnan_use=yes
29117 else
29118 glibcxx_cv_func_isnan_use=no
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 ac_ext=c
29122 ac_cpp='$CPP $CPPFLAGS'
29123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29132 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29134 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29135 for ac_func in isnan
29136 do :
29137 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29138 if test "x$ac_cv_func_isnan" = x""yes; then :
29139 cat >>confdefs.h <<_ACEOF
29140 #define HAVE_ISNAN 1
29141 _ACEOF
29144 done
29146 else
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29149 $as_echo_n "checking for _isnan declaration... " >&6; }
29150 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29151 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29152 $as_echo_n "(cached) " >&6
29153 else
29156 ac_ext=cpp
29157 ac_cpp='$CXXCPP $CPPFLAGS'
29158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29163 /* end confdefs.h. */
29164 #include <math.h>
29165 #ifdef HAVE_IEEEFP_H
29166 #include <ieeefp.h>
29167 #endif
29170 main ()
29172 _isnan(0);
29174 return 0;
29176 _ACEOF
29177 if ac_fn_cxx_try_compile "$LINENO"; then :
29178 glibcxx_cv_func__isnan_use=yes
29179 else
29180 glibcxx_cv_func__isnan_use=no
29182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29183 ac_ext=c
29184 ac_cpp='$CPP $CPPFLAGS'
29185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29194 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29196 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29197 for ac_func in _isnan
29198 do :
29199 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29200 if test "x$ac_cv_func__isnan" = x""yes; then :
29201 cat >>confdefs.h <<_ACEOF
29202 #define HAVE__ISNAN 1
29203 _ACEOF
29206 done
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29216 $as_echo_n "checking for finite declaration... " >&6; }
29217 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29218 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29219 $as_echo_n "(cached) " >&6
29220 else
29223 ac_ext=cpp
29224 ac_cpp='$CXXCPP $CPPFLAGS'
29225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29230 /* end confdefs.h. */
29231 #include <math.h>
29232 #ifdef HAVE_IEEEFP_H
29233 #include <ieeefp.h>
29234 #endif
29237 main ()
29239 finite(0);
29241 return 0;
29243 _ACEOF
29244 if ac_fn_cxx_try_compile "$LINENO"; then :
29245 glibcxx_cv_func_finite_use=yes
29246 else
29247 glibcxx_cv_func_finite_use=no
29249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29250 ac_ext=c
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29261 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29263 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29264 for ac_func in finite
29265 do :
29266 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29267 if test "x$ac_cv_func_finite" = x""yes; then :
29268 cat >>confdefs.h <<_ACEOF
29269 #define HAVE_FINITE 1
29270 _ACEOF
29273 done
29275 else
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29278 $as_echo_n "checking for _finite declaration... " >&6; }
29279 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29280 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29281 $as_echo_n "(cached) " >&6
29282 else
29285 ac_ext=cpp
29286 ac_cpp='$CXXCPP $CPPFLAGS'
29287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29292 /* end confdefs.h. */
29293 #include <math.h>
29294 #ifdef HAVE_IEEEFP_H
29295 #include <ieeefp.h>
29296 #endif
29299 main ()
29301 _finite(0);
29303 return 0;
29305 _ACEOF
29306 if ac_fn_cxx_try_compile "$LINENO"; then :
29307 glibcxx_cv_func__finite_use=yes
29308 else
29309 glibcxx_cv_func__finite_use=no
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312 ac_ext=c
29313 ac_cpp='$CPP $CPPFLAGS'
29314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29323 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29325 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29326 for ac_func in _finite
29327 do :
29328 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29329 if test "x$ac_cv_func__finite" = x""yes; then :
29330 cat >>confdefs.h <<_ACEOF
29331 #define HAVE__FINITE 1
29332 _ACEOF
29335 done
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29345 $as_echo_n "checking for sincos declaration... " >&6; }
29346 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29347 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29348 $as_echo_n "(cached) " >&6
29349 else
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 #include <math.h>
29362 main ()
29364 sincos(0, 0, 0);
29366 return 0;
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 glibcxx_cv_func_sincos_use=yes
29371 else
29372 glibcxx_cv_func_sincos_use=no
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 ac_ext=c
29376 ac_cpp='$CPP $CPPFLAGS'
29377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29386 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29388 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29389 for ac_func in sincos
29390 do :
29391 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29392 if test "x$ac_cv_func_sincos" = x""yes; then :
29393 cat >>confdefs.h <<_ACEOF
29394 #define HAVE_SINCOS 1
29395 _ACEOF
29398 done
29400 else
29402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29403 $as_echo_n "checking for _sincos declaration... " >&6; }
29404 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29405 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29406 $as_echo_n "(cached) " >&6
29407 else
29410 ac_ext=cpp
29411 ac_cpp='$CXXCPP $CPPFLAGS'
29412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h. */
29418 #include <math.h>
29420 main ()
29422 _sincos(0, 0, 0);
29424 return 0;
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428 glibcxx_cv_func__sincos_use=yes
29429 else
29430 glibcxx_cv_func__sincos_use=no
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29444 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29446 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29447 for ac_func in _sincos
29448 do :
29449 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29450 if test "x$ac_cv_func__sincos" = x""yes; then :
29451 cat >>confdefs.h <<_ACEOF
29452 #define HAVE__SINCOS 1
29453 _ACEOF
29456 done
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29466 $as_echo_n "checking for fpclass declaration... " >&6; }
29467 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29468 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29469 $as_echo_n "(cached) " >&6
29470 else
29473 ac_ext=cpp
29474 ac_cpp='$CXXCPP $CPPFLAGS'
29475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480 /* end confdefs.h. */
29481 #include <math.h>
29482 #ifdef HAVE_IEEEFP_H
29483 #include <ieeefp.h>
29484 #endif
29487 main ()
29489 fpclass(0);
29491 return 0;
29493 _ACEOF
29494 if ac_fn_cxx_try_compile "$LINENO"; then :
29495 glibcxx_cv_func_fpclass_use=yes
29496 else
29497 glibcxx_cv_func_fpclass_use=no
29499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500 ac_ext=c
29501 ac_cpp='$CPP $CPPFLAGS'
29502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29511 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29513 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29514 for ac_func in fpclass
29515 do :
29516 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29517 if test "x$ac_cv_func_fpclass" = x""yes; then :
29518 cat >>confdefs.h <<_ACEOF
29519 #define HAVE_FPCLASS 1
29520 _ACEOF
29523 done
29525 else
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29528 $as_echo_n "checking for _fpclass declaration... " >&6; }
29529 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29530 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29531 $as_echo_n "(cached) " >&6
29532 else
29535 ac_ext=cpp
29536 ac_cpp='$CXXCPP $CPPFLAGS'
29537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29542 /* end confdefs.h. */
29543 #include <math.h>
29544 #ifdef HAVE_IEEEFP_H
29545 #include <ieeefp.h>
29546 #endif
29549 main ()
29551 _fpclass(0);
29553 return 0;
29555 _ACEOF
29556 if ac_fn_cxx_try_compile "$LINENO"; then :
29557 glibcxx_cv_func__fpclass_use=yes
29558 else
29559 glibcxx_cv_func__fpclass_use=no
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562 ac_ext=c
29563 ac_cpp='$CPP $CPPFLAGS'
29564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29573 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29575 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29576 for ac_func in _fpclass
29577 do :
29578 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29579 if test "x$ac_cv_func__fpclass" = x""yes; then :
29580 cat >>confdefs.h <<_ACEOF
29581 #define HAVE__FPCLASS 1
29582 _ACEOF
29585 done
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29595 $as_echo_n "checking for qfpclass declaration... " >&6; }
29596 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29597 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29598 $as_echo_n "(cached) " >&6
29599 else
29602 ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610 #include <math.h>
29611 #ifdef HAVE_IEEEFP_H
29612 #include <ieeefp.h>
29613 #endif
29616 main ()
29618 qfpclass(0);
29620 return 0;
29622 _ACEOF
29623 if ac_fn_cxx_try_compile "$LINENO"; then :
29624 glibcxx_cv_func_qfpclass_use=yes
29625 else
29626 glibcxx_cv_func_qfpclass_use=no
29628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29629 ac_ext=c
29630 ac_cpp='$CPP $CPPFLAGS'
29631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29640 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29642 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29643 for ac_func in qfpclass
29644 do :
29645 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29646 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29647 cat >>confdefs.h <<_ACEOF
29648 #define HAVE_QFPCLASS 1
29649 _ACEOF
29652 done
29654 else
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29657 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29658 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29659 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29660 $as_echo_n "(cached) " >&6
29661 else
29664 ac_ext=cpp
29665 ac_cpp='$CXXCPP $CPPFLAGS'
29666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29671 /* end confdefs.h. */
29672 #include <math.h>
29673 #ifdef HAVE_IEEEFP_H
29674 #include <ieeefp.h>
29675 #endif
29678 main ()
29680 _qfpclass(0);
29682 return 0;
29684 _ACEOF
29685 if ac_fn_cxx_try_compile "$LINENO"; then :
29686 glibcxx_cv_func__qfpclass_use=yes
29687 else
29688 glibcxx_cv_func__qfpclass_use=no
29690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29691 ac_ext=c
29692 ac_cpp='$CPP $CPPFLAGS'
29693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29702 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29704 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29705 for ac_func in _qfpclass
29706 do :
29707 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29708 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29709 cat >>confdefs.h <<_ACEOF
29710 #define HAVE__QFPCLASS 1
29711 _ACEOF
29714 done
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29724 $as_echo_n "checking for hypot declaration... " >&6; }
29725 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29726 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29727 $as_echo_n "(cached) " >&6
29728 else
29731 ac_ext=cpp
29732 ac_cpp='$CXXCPP $CPPFLAGS'
29733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29738 /* end confdefs.h. */
29739 #include <math.h>
29741 main ()
29743 hypot(0, 0);
29745 return 0;
29747 _ACEOF
29748 if ac_fn_cxx_try_compile "$LINENO"; then :
29749 glibcxx_cv_func_hypot_use=yes
29750 else
29751 glibcxx_cv_func_hypot_use=no
29753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29754 ac_ext=c
29755 ac_cpp='$CPP $CPPFLAGS'
29756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29765 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29767 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29768 for ac_func in hypot
29769 do :
29770 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29771 if test "x$ac_cv_func_hypot" = x""yes; then :
29772 cat >>confdefs.h <<_ACEOF
29773 #define HAVE_HYPOT 1
29774 _ACEOF
29777 done
29779 else
29781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29782 $as_echo_n "checking for _hypot declaration... " >&6; }
29783 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29784 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29785 $as_echo_n "(cached) " >&6
29786 else
29789 ac_ext=cpp
29790 ac_cpp='$CXXCPP $CPPFLAGS'
29791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29796 /* end confdefs.h. */
29797 #include <math.h>
29799 main ()
29801 _hypot(0, 0);
29803 return 0;
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807 glibcxx_cv_func__hypot_use=yes
29808 else
29809 glibcxx_cv_func__hypot_use=no
29811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812 ac_ext=c
29813 ac_cpp='$CPP $CPPFLAGS'
29814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29823 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29825 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29826 for ac_func in _hypot
29827 do :
29828 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29829 if test "x$ac_cv_func__hypot" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE__HYPOT 1
29832 _ACEOF
29835 done
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29845 $as_echo_n "checking for float trig functions... " >&6; }
29846 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29847 $as_echo_n "(cached) " >&6
29848 else
29851 ac_ext=cpp
29852 ac_cpp='$CXXCPP $CPPFLAGS'
29853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858 /* end confdefs.h. */
29859 #include <math.h>
29861 main ()
29863 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29865 return 0;
29867 _ACEOF
29868 if ac_fn_cxx_try_compile "$LINENO"; then :
29869 glibcxx_cv_func_float_trig_use=yes
29870 else
29871 glibcxx_cv_func_float_trig_use=no
29873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29874 ac_ext=c
29875 ac_cpp='$CPP $CPPFLAGS'
29876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29883 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29884 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29885 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29886 do :
29887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29889 eval as_val=\$$as_ac_var
29890 if test "x$as_val" = x""yes; then :
29891 cat >>confdefs.h <<_ACEOF
29892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29893 _ACEOF
29896 done
29898 else
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29900 $as_echo_n "checking for _float trig functions... " >&6; }
29901 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29902 $as_echo_n "(cached) " >&6
29903 else
29906 ac_ext=cpp
29907 ac_cpp='$CXXCPP $CPPFLAGS'
29908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29913 /* end confdefs.h. */
29914 #include <math.h>
29916 main ()
29918 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29920 return 0;
29922 _ACEOF
29923 if ac_fn_cxx_try_compile "$LINENO"; then :
29924 glibcxx_cv_func__float_trig_use=yes
29925 else
29926 glibcxx_cv_func__float_trig_use=no
29928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29929 ac_ext=c
29930 ac_cpp='$CPP $CPPFLAGS'
29931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29938 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29939 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29940 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29941 do :
29942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29944 eval as_val=\$$as_ac_var
29945 if test "x$as_val" = x""yes; then :
29946 cat >>confdefs.h <<_ACEOF
29947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29948 _ACEOF
29951 done
29960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29961 $as_echo_n "checking for float round functions... " >&6; }
29962 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29963 $as_echo_n "(cached) " >&6
29964 else
29967 ac_ext=cpp
29968 ac_cpp='$CXXCPP $CPPFLAGS'
29969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29974 /* end confdefs.h. */
29975 #include <math.h>
29977 main ()
29979 ceilf (0); floorf (0);
29981 return 0;
29983 _ACEOF
29984 if ac_fn_cxx_try_compile "$LINENO"; then :
29985 glibcxx_cv_func_float_round_use=yes
29986 else
29987 glibcxx_cv_func_float_round_use=no
29989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29990 ac_ext=c
29991 ac_cpp='$CPP $CPPFLAGS'
29992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29999 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30000 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30001 for ac_func in ceilf floorf
30002 do :
30003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30005 eval as_val=\$$as_ac_var
30006 if test "x$as_val" = x""yes; then :
30007 cat >>confdefs.h <<_ACEOF
30008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30009 _ACEOF
30012 done
30014 else
30015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30016 $as_echo_n "checking for _float round functions... " >&6; }
30017 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30018 $as_echo_n "(cached) " >&6
30019 else
30022 ac_ext=cpp
30023 ac_cpp='$CXXCPP $CPPFLAGS'
30024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30029 /* end confdefs.h. */
30030 #include <math.h>
30032 main ()
30034 _ceilf (0); _floorf (0);
30036 return 0;
30038 _ACEOF
30039 if ac_fn_cxx_try_compile "$LINENO"; then :
30040 glibcxx_cv_func__float_round_use=yes
30041 else
30042 glibcxx_cv_func__float_round_use=no
30044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30045 ac_ext=c
30046 ac_cpp='$CPP $CPPFLAGS'
30047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30054 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30055 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30056 for ac_func in _ceilf _floorf
30057 do :
30058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30060 eval as_val=\$$as_ac_var
30061 if test "x$as_val" = x""yes; then :
30062 cat >>confdefs.h <<_ACEOF
30063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30064 _ACEOF
30067 done
30077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30078 $as_echo_n "checking for expf declaration... " >&6; }
30079 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30080 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30081 $as_echo_n "(cached) " >&6
30082 else
30085 ac_ext=cpp
30086 ac_cpp='$CXXCPP $CPPFLAGS'
30087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30092 /* end confdefs.h. */
30093 #include <math.h>
30094 #ifdef HAVE_IEEEFP_H
30095 #include <ieeefp.h>
30096 #endif
30099 main ()
30101 expf(0);
30103 return 0;
30105 _ACEOF
30106 if ac_fn_cxx_try_compile "$LINENO"; then :
30107 glibcxx_cv_func_expf_use=yes
30108 else
30109 glibcxx_cv_func_expf_use=no
30111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30112 ac_ext=c
30113 ac_cpp='$CPP $CPPFLAGS'
30114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30123 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30125 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30126 for ac_func in expf
30127 do :
30128 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30129 if test "x$ac_cv_func_expf" = x""yes; then :
30130 cat >>confdefs.h <<_ACEOF
30131 #define HAVE_EXPF 1
30132 _ACEOF
30135 done
30137 else
30139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30140 $as_echo_n "checking for _expf declaration... " >&6; }
30141 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30142 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30143 $as_echo_n "(cached) " >&6
30144 else
30147 ac_ext=cpp
30148 ac_cpp='$CXXCPP $CPPFLAGS'
30149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h. */
30155 #include <math.h>
30156 #ifdef HAVE_IEEEFP_H
30157 #include <ieeefp.h>
30158 #endif
30161 main ()
30163 _expf(0);
30165 return 0;
30167 _ACEOF
30168 if ac_fn_cxx_try_compile "$LINENO"; then :
30169 glibcxx_cv_func__expf_use=yes
30170 else
30171 glibcxx_cv_func__expf_use=no
30173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30174 ac_ext=c
30175 ac_cpp='$CPP $CPPFLAGS'
30176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30185 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30187 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30188 for ac_func in _expf
30189 do :
30190 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30191 if test "x$ac_cv_func__expf" = x""yes; then :
30192 cat >>confdefs.h <<_ACEOF
30193 #define HAVE__EXPF 1
30194 _ACEOF
30197 done
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30207 $as_echo_n "checking for isnanf declaration... " >&6; }
30208 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30209 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30210 $as_echo_n "(cached) " >&6
30211 else
30214 ac_ext=cpp
30215 ac_cpp='$CXXCPP $CPPFLAGS'
30216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30221 /* end confdefs.h. */
30222 #include <math.h>
30223 #ifdef HAVE_IEEEFP_H
30224 #include <ieeefp.h>
30225 #endif
30228 main ()
30230 isnanf(0);
30232 return 0;
30234 _ACEOF
30235 if ac_fn_cxx_try_compile "$LINENO"; then :
30236 glibcxx_cv_func_isnanf_use=yes
30237 else
30238 glibcxx_cv_func_isnanf_use=no
30240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30241 ac_ext=c
30242 ac_cpp='$CPP $CPPFLAGS'
30243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30252 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30254 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30255 for ac_func in isnanf
30256 do :
30257 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30258 if test "x$ac_cv_func_isnanf" = x""yes; then :
30259 cat >>confdefs.h <<_ACEOF
30260 #define HAVE_ISNANF 1
30261 _ACEOF
30264 done
30266 else
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30269 $as_echo_n "checking for _isnanf declaration... " >&6; }
30270 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30271 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30272 $as_echo_n "(cached) " >&6
30273 else
30276 ac_ext=cpp
30277 ac_cpp='$CXXCPP $CPPFLAGS'
30278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30283 /* end confdefs.h. */
30284 #include <math.h>
30285 #ifdef HAVE_IEEEFP_H
30286 #include <ieeefp.h>
30287 #endif
30290 main ()
30292 _isnanf(0);
30294 return 0;
30296 _ACEOF
30297 if ac_fn_cxx_try_compile "$LINENO"; then :
30298 glibcxx_cv_func__isnanf_use=yes
30299 else
30300 glibcxx_cv_func__isnanf_use=no
30302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30303 ac_ext=c
30304 ac_cpp='$CPP $CPPFLAGS'
30305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30314 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30316 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30317 for ac_func in _isnanf
30318 do :
30319 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30320 if test "x$ac_cv_func__isnanf" = x""yes; then :
30321 cat >>confdefs.h <<_ACEOF
30322 #define HAVE__ISNANF 1
30323 _ACEOF
30326 done
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30336 $as_echo_n "checking for isinff declaration... " >&6; }
30337 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30338 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30339 $as_echo_n "(cached) " >&6
30340 else
30343 ac_ext=cpp
30344 ac_cpp='$CXXCPP $CPPFLAGS'
30345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30350 /* end confdefs.h. */
30351 #include <math.h>
30352 #ifdef HAVE_IEEEFP_H
30353 #include <ieeefp.h>
30354 #endif
30357 main ()
30359 isinff(0);
30361 return 0;
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func_isinff_use=yes
30366 else
30367 glibcxx_cv_func_isinff_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_isinff_use" >&5
30381 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30383 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30384 for ac_func in isinff
30385 do :
30386 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30387 if test "x$ac_cv_func_isinff" = x""yes; then :
30388 cat >>confdefs.h <<_ACEOF
30389 #define HAVE_ISINFF 1
30390 _ACEOF
30393 done
30395 else
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30398 $as_echo_n "checking for _isinff declaration... " >&6; }
30399 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30400 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30401 $as_echo_n "(cached) " >&6
30402 else
30405 ac_ext=cpp
30406 ac_cpp='$CXXCPP $CPPFLAGS'
30407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30412 /* end confdefs.h. */
30413 #include <math.h>
30414 #ifdef HAVE_IEEEFP_H
30415 #include <ieeefp.h>
30416 #endif
30419 main ()
30421 _isinff(0);
30423 return 0;
30425 _ACEOF
30426 if ac_fn_cxx_try_compile "$LINENO"; then :
30427 glibcxx_cv_func__isinff_use=yes
30428 else
30429 glibcxx_cv_func__isinff_use=no
30431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30432 ac_ext=c
30433 ac_cpp='$CPP $CPPFLAGS'
30434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30443 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30445 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30446 for ac_func in _isinff
30447 do :
30448 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30449 if test "x$ac_cv_func__isinff" = x""yes; then :
30450 cat >>confdefs.h <<_ACEOF
30451 #define HAVE__ISINFF 1
30452 _ACEOF
30455 done
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30465 $as_echo_n "checking for atan2f declaration... " >&6; }
30466 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30467 if test "${glibcxx_cv_func_atan2f_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>
30482 main ()
30484 atan2f(0, 0);
30486 return 0;
30488 _ACEOF
30489 if ac_fn_cxx_try_compile "$LINENO"; then :
30490 glibcxx_cv_func_atan2f_use=yes
30491 else
30492 glibcxx_cv_func_atan2f_use=no
30494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30495 ac_ext=c
30496 ac_cpp='$CPP $CPPFLAGS'
30497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30506 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30508 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30509 for ac_func in atan2f
30510 do :
30511 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30512 if test "x$ac_cv_func_atan2f" = x""yes; then :
30513 cat >>confdefs.h <<_ACEOF
30514 #define HAVE_ATAN2F 1
30515 _ACEOF
30518 done
30520 else
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30523 $as_echo_n "checking for _atan2f declaration... " >&6; }
30524 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30525 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30526 $as_echo_n "(cached) " >&6
30527 else
30530 ac_ext=cpp
30531 ac_cpp='$CXXCPP $CPPFLAGS'
30532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30537 /* end confdefs.h. */
30538 #include <math.h>
30540 main ()
30542 _atan2f(0, 0);
30544 return 0;
30546 _ACEOF
30547 if ac_fn_cxx_try_compile "$LINENO"; then :
30548 glibcxx_cv_func__atan2f_use=yes
30549 else
30550 glibcxx_cv_func__atan2f_use=no
30552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30553 ac_ext=c
30554 ac_cpp='$CPP $CPPFLAGS'
30555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30564 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30566 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30567 for ac_func in _atan2f
30568 do :
30569 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30570 if test "x$ac_cv_func__atan2f" = x""yes; then :
30571 cat >>confdefs.h <<_ACEOF
30572 #define HAVE__ATAN2F 1
30573 _ACEOF
30576 done
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30586 $as_echo_n "checking for fabsf declaration... " >&6; }
30587 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30588 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30589 $as_echo_n "(cached) " >&6
30590 else
30593 ac_ext=cpp
30594 ac_cpp='$CXXCPP $CPPFLAGS'
30595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30600 /* end confdefs.h. */
30601 #include <math.h>
30602 #ifdef HAVE_IEEEFP_H
30603 #include <ieeefp.h>
30604 #endif
30607 main ()
30609 fabsf(0);
30611 return 0;
30613 _ACEOF
30614 if ac_fn_cxx_try_compile "$LINENO"; then :
30615 glibcxx_cv_func_fabsf_use=yes
30616 else
30617 glibcxx_cv_func_fabsf_use=no
30619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30620 ac_ext=c
30621 ac_cpp='$CPP $CPPFLAGS'
30622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30631 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30633 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30634 for ac_func in fabsf
30635 do :
30636 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30637 if test "x$ac_cv_func_fabsf" = x""yes; then :
30638 cat >>confdefs.h <<_ACEOF
30639 #define HAVE_FABSF 1
30640 _ACEOF
30643 done
30645 else
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30648 $as_echo_n "checking for _fabsf declaration... " >&6; }
30649 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30650 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30651 $as_echo_n "(cached) " >&6
30652 else
30655 ac_ext=cpp
30656 ac_cpp='$CXXCPP $CPPFLAGS'
30657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30662 /* end confdefs.h. */
30663 #include <math.h>
30664 #ifdef HAVE_IEEEFP_H
30665 #include <ieeefp.h>
30666 #endif
30669 main ()
30671 _fabsf(0);
30673 return 0;
30675 _ACEOF
30676 if ac_fn_cxx_try_compile "$LINENO"; then :
30677 glibcxx_cv_func__fabsf_use=yes
30678 else
30679 glibcxx_cv_func__fabsf_use=no
30681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30682 ac_ext=c
30683 ac_cpp='$CPP $CPPFLAGS'
30684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30693 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30695 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30696 for ac_func in _fabsf
30697 do :
30698 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30699 if test "x$ac_cv_func__fabsf" = x""yes; then :
30700 cat >>confdefs.h <<_ACEOF
30701 #define HAVE__FABSF 1
30702 _ACEOF
30705 done
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30715 $as_echo_n "checking for fmodf declaration... " >&6; }
30716 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30717 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30718 $as_echo_n "(cached) " >&6
30719 else
30722 ac_ext=cpp
30723 ac_cpp='$CXXCPP $CPPFLAGS'
30724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30729 /* end confdefs.h. */
30730 #include <math.h>
30732 main ()
30734 fmodf(0, 0);
30736 return 0;
30738 _ACEOF
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 glibcxx_cv_func_fmodf_use=yes
30741 else
30742 glibcxx_cv_func_fmodf_use=no
30744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30745 ac_ext=c
30746 ac_cpp='$CPP $CPPFLAGS'
30747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30756 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30758 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30759 for ac_func in fmodf
30760 do :
30761 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30762 if test "x$ac_cv_func_fmodf" = x""yes; then :
30763 cat >>confdefs.h <<_ACEOF
30764 #define HAVE_FMODF 1
30765 _ACEOF
30768 done
30770 else
30772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30773 $as_echo_n "checking for _fmodf declaration... " >&6; }
30774 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30775 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30776 $as_echo_n "(cached) " >&6
30777 else
30780 ac_ext=cpp
30781 ac_cpp='$CXXCPP $CPPFLAGS'
30782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30787 /* end confdefs.h. */
30788 #include <math.h>
30790 main ()
30792 _fmodf(0, 0);
30794 return 0;
30796 _ACEOF
30797 if ac_fn_cxx_try_compile "$LINENO"; then :
30798 glibcxx_cv_func__fmodf_use=yes
30799 else
30800 glibcxx_cv_func__fmodf_use=no
30802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30803 ac_ext=c
30804 ac_cpp='$CPP $CPPFLAGS'
30805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30814 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30816 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30817 for ac_func in _fmodf
30818 do :
30819 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30820 if test "x$ac_cv_func__fmodf" = x""yes; then :
30821 cat >>confdefs.h <<_ACEOF
30822 #define HAVE__FMODF 1
30823 _ACEOF
30826 done
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30836 $as_echo_n "checking for frexpf declaration... " >&6; }
30837 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30838 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30839 $as_echo_n "(cached) " >&6
30840 else
30843 ac_ext=cpp
30844 ac_cpp='$CXXCPP $CPPFLAGS'
30845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30850 /* end confdefs.h. */
30851 #include <math.h>
30853 main ()
30855 frexpf(0, 0);
30857 return 0;
30859 _ACEOF
30860 if ac_fn_cxx_try_compile "$LINENO"; then :
30861 glibcxx_cv_func_frexpf_use=yes
30862 else
30863 glibcxx_cv_func_frexpf_use=no
30865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30866 ac_ext=c
30867 ac_cpp='$CPP $CPPFLAGS'
30868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30877 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30879 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30880 for ac_func in frexpf
30881 do :
30882 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30883 if test "x$ac_cv_func_frexpf" = x""yes; then :
30884 cat >>confdefs.h <<_ACEOF
30885 #define HAVE_FREXPF 1
30886 _ACEOF
30889 done
30891 else
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30894 $as_echo_n "checking for _frexpf declaration... " >&6; }
30895 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30896 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30897 $as_echo_n "(cached) " >&6
30898 else
30901 ac_ext=cpp
30902 ac_cpp='$CXXCPP $CPPFLAGS'
30903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30908 /* end confdefs.h. */
30909 #include <math.h>
30911 main ()
30913 _frexpf(0, 0);
30915 return 0;
30917 _ACEOF
30918 if ac_fn_cxx_try_compile "$LINENO"; then :
30919 glibcxx_cv_func__frexpf_use=yes
30920 else
30921 glibcxx_cv_func__frexpf_use=no
30923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30924 ac_ext=c
30925 ac_cpp='$CPP $CPPFLAGS'
30926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30935 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30937 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30938 for ac_func in _frexpf
30939 do :
30940 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30941 if test "x$ac_cv_func__frexpf" = x""yes; then :
30942 cat >>confdefs.h <<_ACEOF
30943 #define HAVE__FREXPF 1
30944 _ACEOF
30947 done
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30957 $as_echo_n "checking for hypotf declaration... " >&6; }
30958 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30959 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30960 $as_echo_n "(cached) " >&6
30961 else
30964 ac_ext=cpp
30965 ac_cpp='$CXXCPP $CPPFLAGS'
30966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30971 /* end confdefs.h. */
30972 #include <math.h>
30974 main ()
30976 hypotf(0, 0);
30978 return 0;
30980 _ACEOF
30981 if ac_fn_cxx_try_compile "$LINENO"; then :
30982 glibcxx_cv_func_hypotf_use=yes
30983 else
30984 glibcxx_cv_func_hypotf_use=no
30986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30987 ac_ext=c
30988 ac_cpp='$CPP $CPPFLAGS'
30989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30998 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31000 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31001 for ac_func in hypotf
31002 do :
31003 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31004 if test "x$ac_cv_func_hypotf" = x""yes; then :
31005 cat >>confdefs.h <<_ACEOF
31006 #define HAVE_HYPOTF 1
31007 _ACEOF
31010 done
31012 else
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31015 $as_echo_n "checking for _hypotf declaration... " >&6; }
31016 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31017 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31018 $as_echo_n "(cached) " >&6
31019 else
31022 ac_ext=cpp
31023 ac_cpp='$CXXCPP $CPPFLAGS'
31024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31029 /* end confdefs.h. */
31030 #include <math.h>
31032 main ()
31034 _hypotf(0, 0);
31036 return 0;
31038 _ACEOF
31039 if ac_fn_cxx_try_compile "$LINENO"; then :
31040 glibcxx_cv_func__hypotf_use=yes
31041 else
31042 glibcxx_cv_func__hypotf_use=no
31044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31045 ac_ext=c
31046 ac_cpp='$CPP $CPPFLAGS'
31047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31056 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31058 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31059 for ac_func in _hypotf
31060 do :
31061 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31062 if test "x$ac_cv_func__hypotf" = x""yes; then :
31063 cat >>confdefs.h <<_ACEOF
31064 #define HAVE__HYPOTF 1
31065 _ACEOF
31068 done
31077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31078 $as_echo_n "checking for ldexpf declaration... " >&6; }
31079 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31080 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31081 $as_echo_n "(cached) " >&6
31082 else
31085 ac_ext=cpp
31086 ac_cpp='$CXXCPP $CPPFLAGS'
31087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31092 /* end confdefs.h. */
31093 #include <math.h>
31095 main ()
31097 ldexpf(0, 0);
31099 return 0;
31101 _ACEOF
31102 if ac_fn_cxx_try_compile "$LINENO"; then :
31103 glibcxx_cv_func_ldexpf_use=yes
31104 else
31105 glibcxx_cv_func_ldexpf_use=no
31107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31108 ac_ext=c
31109 ac_cpp='$CPP $CPPFLAGS'
31110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31119 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31121 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31122 for ac_func in ldexpf
31123 do :
31124 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31125 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31126 cat >>confdefs.h <<_ACEOF
31127 #define HAVE_LDEXPF 1
31128 _ACEOF
31131 done
31133 else
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31136 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31137 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31138 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31139 $as_echo_n "(cached) " >&6
31140 else
31143 ac_ext=cpp
31144 ac_cpp='$CXXCPP $CPPFLAGS'
31145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31150 /* end confdefs.h. */
31151 #include <math.h>
31153 main ()
31155 _ldexpf(0, 0);
31157 return 0;
31159 _ACEOF
31160 if ac_fn_cxx_try_compile "$LINENO"; then :
31161 glibcxx_cv_func__ldexpf_use=yes
31162 else
31163 glibcxx_cv_func__ldexpf_use=no
31165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31166 ac_ext=c
31167 ac_cpp='$CPP $CPPFLAGS'
31168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31177 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31179 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31180 for ac_func in _ldexpf
31181 do :
31182 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31183 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31184 cat >>confdefs.h <<_ACEOF
31185 #define HAVE__LDEXPF 1
31186 _ACEOF
31189 done
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31199 $as_echo_n "checking for logf declaration... " >&6; }
31200 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31201 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31202 $as_echo_n "(cached) " >&6
31203 else
31206 ac_ext=cpp
31207 ac_cpp='$CXXCPP $CPPFLAGS'
31208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31213 /* end confdefs.h. */
31214 #include <math.h>
31215 #ifdef HAVE_IEEEFP_H
31216 #include <ieeefp.h>
31217 #endif
31220 main ()
31222 logf(0);
31224 return 0;
31226 _ACEOF
31227 if ac_fn_cxx_try_compile "$LINENO"; then :
31228 glibcxx_cv_func_logf_use=yes
31229 else
31230 glibcxx_cv_func_logf_use=no
31232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31233 ac_ext=c
31234 ac_cpp='$CPP $CPPFLAGS'
31235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31244 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31246 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31247 for ac_func in logf
31248 do :
31249 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31250 if test "x$ac_cv_func_logf" = x""yes; then :
31251 cat >>confdefs.h <<_ACEOF
31252 #define HAVE_LOGF 1
31253 _ACEOF
31256 done
31258 else
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31261 $as_echo_n "checking for _logf declaration... " >&6; }
31262 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31263 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31264 $as_echo_n "(cached) " >&6
31265 else
31268 ac_ext=cpp
31269 ac_cpp='$CXXCPP $CPPFLAGS'
31270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276 #include <math.h>
31277 #ifdef HAVE_IEEEFP_H
31278 #include <ieeefp.h>
31279 #endif
31282 main ()
31284 _logf(0);
31286 return 0;
31288 _ACEOF
31289 if ac_fn_cxx_try_compile "$LINENO"; then :
31290 glibcxx_cv_func__logf_use=yes
31291 else
31292 glibcxx_cv_func__logf_use=no
31294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31295 ac_ext=c
31296 ac_cpp='$CPP $CPPFLAGS'
31297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31306 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31308 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31309 for ac_func in _logf
31310 do :
31311 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31312 if test "x$ac_cv_func__logf" = x""yes; then :
31313 cat >>confdefs.h <<_ACEOF
31314 #define HAVE__LOGF 1
31315 _ACEOF
31318 done
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31328 $as_echo_n "checking for log10f declaration... " >&6; }
31329 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31330 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31331 $as_echo_n "(cached) " >&6
31332 else
31335 ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h. */
31343 #include <math.h>
31344 #ifdef HAVE_IEEEFP_H
31345 #include <ieeefp.h>
31346 #endif
31349 main ()
31351 log10f(0);
31353 return 0;
31355 _ACEOF
31356 if ac_fn_cxx_try_compile "$LINENO"; then :
31357 glibcxx_cv_func_log10f_use=yes
31358 else
31359 glibcxx_cv_func_log10f_use=no
31361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31362 ac_ext=c
31363 ac_cpp='$CPP $CPPFLAGS'
31364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31373 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31375 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31376 for ac_func in log10f
31377 do :
31378 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31379 if test "x$ac_cv_func_log10f" = x""yes; then :
31380 cat >>confdefs.h <<_ACEOF
31381 #define HAVE_LOG10F 1
31382 _ACEOF
31385 done
31387 else
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31390 $as_echo_n "checking for _log10f declaration... " >&6; }
31391 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31392 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31393 $as_echo_n "(cached) " >&6
31394 else
31397 ac_ext=cpp
31398 ac_cpp='$CXXCPP $CPPFLAGS'
31399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31404 /* end confdefs.h. */
31405 #include <math.h>
31406 #ifdef HAVE_IEEEFP_H
31407 #include <ieeefp.h>
31408 #endif
31411 main ()
31413 _log10f(0);
31415 return 0;
31417 _ACEOF
31418 if ac_fn_cxx_try_compile "$LINENO"; then :
31419 glibcxx_cv_func__log10f_use=yes
31420 else
31421 glibcxx_cv_func__log10f_use=no
31423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31424 ac_ext=c
31425 ac_cpp='$CPP $CPPFLAGS'
31426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31435 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31437 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31438 for ac_func in _log10f
31439 do :
31440 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31441 if test "x$ac_cv_func__log10f" = x""yes; then :
31442 cat >>confdefs.h <<_ACEOF
31443 #define HAVE__LOG10F 1
31444 _ACEOF
31447 done
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31457 $as_echo_n "checking for modff declaration... " >&6; }
31458 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31459 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
31478 return 0;
31480 _ACEOF
31481 if ac_fn_cxx_try_compile "$LINENO"; then :
31482 glibcxx_cv_func_modff_use=yes
31483 else
31484 glibcxx_cv_func_modff_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
31497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31498 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31500 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31501 for ac_func in modff
31502 do :
31503 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31504 if test "x$ac_cv_func_modff" = x""yes; then :
31505 cat >>confdefs.h <<_ACEOF
31506 #define HAVE_MODFF 1
31507 _ACEOF
31510 done
31512 else
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31515 $as_echo_n "checking for _modff declaration... " >&6; }
31516 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31517 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31518 $as_echo_n "(cached) " >&6
31519 else
31522 ac_ext=cpp
31523 ac_cpp='$CXXCPP $CPPFLAGS'
31524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31529 /* end confdefs.h. */
31530 #include <math.h>
31532 main ()
31534 _modff(0, 0);
31536 return 0;
31538 _ACEOF
31539 if ac_fn_cxx_try_compile "$LINENO"; then :
31540 glibcxx_cv_func__modff_use=yes
31541 else
31542 glibcxx_cv_func__modff_use=no
31544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31545 ac_ext=c
31546 ac_cpp='$CPP $CPPFLAGS'
31547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31556 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31558 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31559 for ac_func in _modff
31560 do :
31561 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31562 if test "x$ac_cv_func__modff" = x""yes; then :
31563 cat >>confdefs.h <<_ACEOF
31564 #define HAVE__MODFF 1
31565 _ACEOF
31568 done
31577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31578 $as_echo_n "checking for modf declaration... " >&6; }
31579 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31580 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31581 $as_echo_n "(cached) " >&6
31582 else
31585 ac_ext=cpp
31586 ac_cpp='$CXXCPP $CPPFLAGS'
31587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31592 /* end confdefs.h. */
31593 #include <math.h>
31595 main ()
31597 modf(0, 0);
31599 return 0;
31601 _ACEOF
31602 if ac_fn_cxx_try_compile "$LINENO"; then :
31603 glibcxx_cv_func_modf_use=yes
31604 else
31605 glibcxx_cv_func_modf_use=no
31607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31608 ac_ext=c
31609 ac_cpp='$CPP $CPPFLAGS'
31610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31619 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31621 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31622 for ac_func in modf
31623 do :
31624 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31625 if test "x$ac_cv_func_modf" = x""yes; then :
31626 cat >>confdefs.h <<_ACEOF
31627 #define HAVE_MODF 1
31628 _ACEOF
31631 done
31633 else
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31636 $as_echo_n "checking for _modf declaration... " >&6; }
31637 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31638 if test "${glibcxx_cv_func__modf_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>
31653 main ()
31655 _modf(0, 0);
31657 return 0;
31659 _ACEOF
31660 if ac_fn_cxx_try_compile "$LINENO"; then :
31661 glibcxx_cv_func__modf_use=yes
31662 else
31663 glibcxx_cv_func__modf_use=no
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666 ac_ext=c
31667 ac_cpp='$CPP $CPPFLAGS'
31668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31677 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31679 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31680 for ac_func in _modf
31681 do :
31682 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31683 if test "x$ac_cv_func__modf" = x""yes; then :
31684 cat >>confdefs.h <<_ACEOF
31685 #define HAVE__MODF 1
31686 _ACEOF
31689 done
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31699 $as_echo_n "checking for powf declaration... " >&6; }
31700 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31701 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31702 $as_echo_n "(cached) " >&6
31703 else
31706 ac_ext=cpp
31707 ac_cpp='$CXXCPP $CPPFLAGS'
31708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31713 /* end confdefs.h. */
31714 #include <math.h>
31716 main ()
31718 powf(0, 0);
31720 return 0;
31722 _ACEOF
31723 if ac_fn_cxx_try_compile "$LINENO"; then :
31724 glibcxx_cv_func_powf_use=yes
31725 else
31726 glibcxx_cv_func_powf_use=no
31728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31729 ac_ext=c
31730 ac_cpp='$CPP $CPPFLAGS'
31731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31740 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31742 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31743 for ac_func in powf
31744 do :
31745 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31746 if test "x$ac_cv_func_powf" = x""yes; then :
31747 cat >>confdefs.h <<_ACEOF
31748 #define HAVE_POWF 1
31749 _ACEOF
31752 done
31754 else
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31757 $as_echo_n "checking for _powf declaration... " >&6; }
31758 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31759 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31760 $as_echo_n "(cached) " >&6
31761 else
31764 ac_ext=cpp
31765 ac_cpp='$CXXCPP $CPPFLAGS'
31766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31771 /* end confdefs.h. */
31772 #include <math.h>
31774 main ()
31776 _powf(0, 0);
31778 return 0;
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782 glibcxx_cv_func__powf_use=yes
31783 else
31784 glibcxx_cv_func__powf_use=no
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787 ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31798 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31800 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31801 for ac_func in _powf
31802 do :
31803 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31804 if test "x$ac_cv_func__powf" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE__POWF 1
31807 _ACEOF
31810 done
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31820 $as_echo_n "checking for sqrtf declaration... " >&6; }
31821 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31822 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31836 #ifdef HAVE_IEEEFP_H
31837 #include <ieeefp.h>
31838 #endif
31841 main ()
31843 sqrtf(0);
31845 return 0;
31847 _ACEOF
31848 if ac_fn_cxx_try_compile "$LINENO"; then :
31849 glibcxx_cv_func_sqrtf_use=yes
31850 else
31851 glibcxx_cv_func_sqrtf_use=no
31853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31854 ac_ext=c
31855 ac_cpp='$CPP $CPPFLAGS'
31856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31865 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31867 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31868 for ac_func in sqrtf
31869 do :
31870 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31871 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31872 cat >>confdefs.h <<_ACEOF
31873 #define HAVE_SQRTF 1
31874 _ACEOF
31877 done
31879 else
31881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31882 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31883 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31884 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31885 $as_echo_n "(cached) " >&6
31886 else
31889 ac_ext=cpp
31890 ac_cpp='$CXXCPP $CPPFLAGS'
31891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31896 /* end confdefs.h. */
31897 #include <math.h>
31898 #ifdef HAVE_IEEEFP_H
31899 #include <ieeefp.h>
31900 #endif
31903 main ()
31905 _sqrtf(0);
31907 return 0;
31909 _ACEOF
31910 if ac_fn_cxx_try_compile "$LINENO"; then :
31911 glibcxx_cv_func__sqrtf_use=yes
31912 else
31913 glibcxx_cv_func__sqrtf_use=no
31915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31916 ac_ext=c
31917 ac_cpp='$CPP $CPPFLAGS'
31918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31927 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31929 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31930 for ac_func in _sqrtf
31931 do :
31932 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31933 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31934 cat >>confdefs.h <<_ACEOF
31935 #define HAVE__SQRTF 1
31936 _ACEOF
31939 done
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31949 $as_echo_n "checking for sincosf declaration... " >&6; }
31950 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31951 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31952 $as_echo_n "(cached) " >&6
31953 else
31956 ac_ext=cpp
31957 ac_cpp='$CXXCPP $CPPFLAGS'
31958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h. */
31964 #include <math.h>
31966 main ()
31968 sincosf(0, 0, 0);
31970 return 0;
31972 _ACEOF
31973 if ac_fn_cxx_try_compile "$LINENO"; then :
31974 glibcxx_cv_func_sincosf_use=yes
31975 else
31976 glibcxx_cv_func_sincosf_use=no
31978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31979 ac_ext=c
31980 ac_cpp='$CPP $CPPFLAGS'
31981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31990 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31992 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31993 for ac_func in sincosf
31994 do :
31995 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31996 if test "x$ac_cv_func_sincosf" = x""yes; then :
31997 cat >>confdefs.h <<_ACEOF
31998 #define HAVE_SINCOSF 1
31999 _ACEOF
32002 done
32004 else
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32007 $as_echo_n "checking for _sincosf declaration... " >&6; }
32008 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32009 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32010 $as_echo_n "(cached) " >&6
32011 else
32014 ac_ext=cpp
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32021 /* end confdefs.h. */
32022 #include <math.h>
32024 main ()
32026 _sincosf(0, 0, 0);
32028 return 0;
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func__sincosf_use=yes
32033 else
32034 glibcxx_cv_func__sincosf_use=no
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037 ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32048 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32050 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32051 for ac_func in _sincosf
32052 do :
32053 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32054 if test "x$ac_cv_func__sincosf" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE__SINCOSF 1
32057 _ACEOF
32060 done
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32070 $as_echo_n "checking for finitef declaration... " >&6; }
32071 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32072 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32088 #endif
32091 main ()
32093 finitef(0);
32095 return 0;
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func_finitef_use=yes
32100 else
32101 glibcxx_cv_func_finitef_use=no
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104 ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32115 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32117 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32118 for ac_func in finitef
32119 do :
32120 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32121 if test "x$ac_cv_func_finitef" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE_FINITEF 1
32124 _ACEOF
32127 done
32129 else
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32132 $as_echo_n "checking for _finitef declaration... " >&6; }
32133 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32134 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32135 $as_echo_n "(cached) " >&6
32136 else
32139 ac_ext=cpp
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h. */
32147 #include <math.h>
32148 #ifdef HAVE_IEEEFP_H
32149 #include <ieeefp.h>
32150 #endif
32153 main ()
32155 _finitef(0);
32157 return 0;
32159 _ACEOF
32160 if ac_fn_cxx_try_compile "$LINENO"; then :
32161 glibcxx_cv_func__finitef_use=yes
32162 else
32163 glibcxx_cv_func__finitef_use=no
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166 ac_ext=c
32167 ac_cpp='$CPP $CPPFLAGS'
32168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32177 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32179 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32180 for ac_func in _finitef
32181 do :
32182 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32183 if test "x$ac_cv_func__finitef" = x""yes; then :
32184 cat >>confdefs.h <<_ACEOF
32185 #define HAVE__FINITEF 1
32186 _ACEOF
32189 done
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32199 $as_echo_n "checking for long double trig functions... " >&6; }
32200 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32201 $as_echo_n "(cached) " >&6
32202 else
32205 ac_ext=cpp
32206 ac_cpp='$CXXCPP $CPPFLAGS'
32207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32212 /* end confdefs.h. */
32213 #include <math.h>
32215 main ()
32217 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32219 return 0;
32221 _ACEOF
32222 if ac_fn_cxx_try_compile "$LINENO"; then :
32223 glibcxx_cv_func_long_double_trig_use=yes
32224 else
32225 glibcxx_cv_func_long_double_trig_use=no
32227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32228 ac_ext=c
32229 ac_cpp='$CPP $CPPFLAGS'
32230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32237 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32238 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32239 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32240 do :
32241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32243 eval as_val=\$$as_ac_var
32244 if test "x$as_val" = x""yes; then :
32245 cat >>confdefs.h <<_ACEOF
32246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32247 _ACEOF
32250 done
32252 else
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32254 $as_echo_n "checking for _long double trig functions... " >&6; }
32255 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32256 $as_echo_n "(cached) " >&6
32257 else
32260 ac_ext=cpp
32261 ac_cpp='$CXXCPP $CPPFLAGS'
32262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32267 /* end confdefs.h. */
32268 #include <math.h>
32270 main ()
32272 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32274 return 0;
32276 _ACEOF
32277 if ac_fn_cxx_try_compile "$LINENO"; then :
32278 glibcxx_cv_func__long_double_trig_use=yes
32279 else
32280 glibcxx_cv_func__long_double_trig_use=no
32282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32283 ac_ext=c
32284 ac_cpp='$CPP $CPPFLAGS'
32285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32292 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32293 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32294 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32295 do :
32296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32298 eval as_val=\$$as_ac_var
32299 if test "x$as_val" = x""yes; then :
32300 cat >>confdefs.h <<_ACEOF
32301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32302 _ACEOF
32305 done
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32315 $as_echo_n "checking for long double round functions... " >&6; }
32316 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32317 $as_echo_n "(cached) " >&6
32318 else
32321 ac_ext=cpp
32322 ac_cpp='$CXXCPP $CPPFLAGS'
32323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32328 /* end confdefs.h. */
32329 #include <math.h>
32331 main ()
32333 ceill (0); floorl (0);
32335 return 0;
32337 _ACEOF
32338 if ac_fn_cxx_try_compile "$LINENO"; then :
32339 glibcxx_cv_func_long_double_round_use=yes
32340 else
32341 glibcxx_cv_func_long_double_round_use=no
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 ac_ext=c
32345 ac_cpp='$CPP $CPPFLAGS'
32346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32353 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32354 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32355 for ac_func in ceill floorl
32356 do :
32357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32359 eval as_val=\$$as_ac_var
32360 if test "x$as_val" = x""yes; then :
32361 cat >>confdefs.h <<_ACEOF
32362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32363 _ACEOF
32366 done
32368 else
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32370 $as_echo_n "checking for _long double round functions... " >&6; }
32371 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32372 $as_echo_n "(cached) " >&6
32373 else
32376 ac_ext=cpp
32377 ac_cpp='$CXXCPP $CPPFLAGS'
32378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32383 /* end confdefs.h. */
32384 #include <math.h>
32386 main ()
32388 _ceill (0); _floorl (0);
32390 return 0;
32392 _ACEOF
32393 if ac_fn_cxx_try_compile "$LINENO"; then :
32394 glibcxx_cv_func__long_double_round_use=yes
32395 else
32396 glibcxx_cv_func__long_double_round_use=no
32398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32399 ac_ext=c
32400 ac_cpp='$CPP $CPPFLAGS'
32401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32408 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32409 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32410 for ac_func in _ceill _floorl
32411 do :
32412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32414 eval as_val=\$$as_ac_var
32415 if test "x$as_val" = x""yes; then :
32416 cat >>confdefs.h <<_ACEOF
32417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32418 _ACEOF
32421 done
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32432 $as_echo_n "checking for isnanl declaration... " >&6; }
32433 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32434 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32435 $as_echo_n "(cached) " >&6
32436 else
32439 ac_ext=cpp
32440 ac_cpp='$CXXCPP $CPPFLAGS'
32441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32446 /* end confdefs.h. */
32447 #include <math.h>
32448 #ifdef HAVE_IEEEFP_H
32449 #include <ieeefp.h>
32450 #endif
32453 main ()
32455 isnanl(0);
32457 return 0;
32459 _ACEOF
32460 if ac_fn_cxx_try_compile "$LINENO"; then :
32461 glibcxx_cv_func_isnanl_use=yes
32462 else
32463 glibcxx_cv_func_isnanl_use=no
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466 ac_ext=c
32467 ac_cpp='$CPP $CPPFLAGS'
32468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32477 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32479 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32480 for ac_func in isnanl
32481 do :
32482 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32483 if test "x$ac_cv_func_isnanl" = x""yes; then :
32484 cat >>confdefs.h <<_ACEOF
32485 #define HAVE_ISNANL 1
32486 _ACEOF
32489 done
32491 else
32493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32494 $as_echo_n "checking for _isnanl declaration... " >&6; }
32495 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32496 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32497 $as_echo_n "(cached) " >&6
32498 else
32501 ac_ext=cpp
32502 ac_cpp='$CXXCPP $CPPFLAGS'
32503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32508 /* end confdefs.h. */
32509 #include <math.h>
32510 #ifdef HAVE_IEEEFP_H
32511 #include <ieeefp.h>
32512 #endif
32515 main ()
32517 _isnanl(0);
32519 return 0;
32521 _ACEOF
32522 if ac_fn_cxx_try_compile "$LINENO"; then :
32523 glibcxx_cv_func__isnanl_use=yes
32524 else
32525 glibcxx_cv_func__isnanl_use=no
32527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32528 ac_ext=c
32529 ac_cpp='$CPP $CPPFLAGS'
32530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32539 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32541 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32542 for ac_func in _isnanl
32543 do :
32544 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32545 if test "x$ac_cv_func__isnanl" = x""yes; then :
32546 cat >>confdefs.h <<_ACEOF
32547 #define HAVE__ISNANL 1
32548 _ACEOF
32551 done
32560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32561 $as_echo_n "checking for isinfl declaration... " >&6; }
32562 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32563 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32564 $as_echo_n "(cached) " >&6
32565 else
32568 ac_ext=cpp
32569 ac_cpp='$CXXCPP $CPPFLAGS'
32570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32575 /* end confdefs.h. */
32576 #include <math.h>
32577 #ifdef HAVE_IEEEFP_H
32578 #include <ieeefp.h>
32579 #endif
32582 main ()
32584 isinfl(0);
32586 return 0;
32588 _ACEOF
32589 if ac_fn_cxx_try_compile "$LINENO"; then :
32590 glibcxx_cv_func_isinfl_use=yes
32591 else
32592 glibcxx_cv_func_isinfl_use=no
32594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32595 ac_ext=c
32596 ac_cpp='$CPP $CPPFLAGS'
32597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32606 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32608 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32609 for ac_func in isinfl
32610 do :
32611 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32612 if test "x$ac_cv_func_isinfl" = x""yes; then :
32613 cat >>confdefs.h <<_ACEOF
32614 #define HAVE_ISINFL 1
32615 _ACEOF
32618 done
32620 else
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32623 $as_echo_n "checking for _isinfl declaration... " >&6; }
32624 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32625 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32626 $as_echo_n "(cached) " >&6
32627 else
32630 ac_ext=cpp
32631 ac_cpp='$CXXCPP $CPPFLAGS'
32632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32637 /* end confdefs.h. */
32638 #include <math.h>
32639 #ifdef HAVE_IEEEFP_H
32640 #include <ieeefp.h>
32641 #endif
32644 main ()
32646 _isinfl(0);
32648 return 0;
32650 _ACEOF
32651 if ac_fn_cxx_try_compile "$LINENO"; then :
32652 glibcxx_cv_func__isinfl_use=yes
32653 else
32654 glibcxx_cv_func__isinfl_use=no
32656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32657 ac_ext=c
32658 ac_cpp='$CPP $CPPFLAGS'
32659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32668 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32670 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32671 for ac_func in _isinfl
32672 do :
32673 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32674 if test "x$ac_cv_func__isinfl" = x""yes; then :
32675 cat >>confdefs.h <<_ACEOF
32676 #define HAVE__ISINFL 1
32677 _ACEOF
32680 done
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32690 $as_echo_n "checking for atan2l declaration... " >&6; }
32691 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32692 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32693 $as_echo_n "(cached) " >&6
32694 else
32697 ac_ext=cpp
32698 ac_cpp='$CXXCPP $CPPFLAGS'
32699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32704 /* end confdefs.h. */
32705 #include <math.h>
32707 main ()
32709 atan2l(0, 0);
32711 return 0;
32713 _ACEOF
32714 if ac_fn_cxx_try_compile "$LINENO"; then :
32715 glibcxx_cv_func_atan2l_use=yes
32716 else
32717 glibcxx_cv_func_atan2l_use=no
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32720 ac_ext=c
32721 ac_cpp='$CPP $CPPFLAGS'
32722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32731 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32733 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32734 for ac_func in atan2l
32735 do :
32736 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32737 if test "x$ac_cv_func_atan2l" = x""yes; then :
32738 cat >>confdefs.h <<_ACEOF
32739 #define HAVE_ATAN2L 1
32740 _ACEOF
32743 done
32745 else
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32748 $as_echo_n "checking for _atan2l declaration... " >&6; }
32749 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32750 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32751 $as_echo_n "(cached) " >&6
32752 else
32755 ac_ext=cpp
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32762 /* end confdefs.h. */
32763 #include <math.h>
32765 main ()
32767 _atan2l(0, 0);
32769 return 0;
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 glibcxx_cv_func__atan2l_use=yes
32774 else
32775 glibcxx_cv_func__atan2l_use=no
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778 ac_ext=c
32779 ac_cpp='$CPP $CPPFLAGS'
32780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32789 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32791 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32792 for ac_func in _atan2l
32793 do :
32794 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32795 if test "x$ac_cv_func__atan2l" = x""yes; then :
32796 cat >>confdefs.h <<_ACEOF
32797 #define HAVE__ATAN2L 1
32798 _ACEOF
32801 done
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32811 $as_echo_n "checking for expl declaration... " >&6; }
32812 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32813 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32814 $as_echo_n "(cached) " >&6
32815 else
32818 ac_ext=cpp
32819 ac_cpp='$CXXCPP $CPPFLAGS'
32820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32825 /* end confdefs.h. */
32826 #include <math.h>
32827 #ifdef HAVE_IEEEFP_H
32828 #include <ieeefp.h>
32829 #endif
32832 main ()
32834 expl(0);
32836 return 0;
32838 _ACEOF
32839 if ac_fn_cxx_try_compile "$LINENO"; then :
32840 glibcxx_cv_func_expl_use=yes
32841 else
32842 glibcxx_cv_func_expl_use=no
32844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 ac_ext=c
32846 ac_cpp='$CPP $CPPFLAGS'
32847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32856 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32858 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32859 for ac_func in expl
32860 do :
32861 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32862 if test "x$ac_cv_func_expl" = x""yes; then :
32863 cat >>confdefs.h <<_ACEOF
32864 #define HAVE_EXPL 1
32865 _ACEOF
32868 done
32870 else
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32873 $as_echo_n "checking for _expl declaration... " >&6; }
32874 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32875 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32876 $as_echo_n "(cached) " >&6
32877 else
32880 ac_ext=cpp
32881 ac_cpp='$CXXCPP $CPPFLAGS'
32882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32887 /* end confdefs.h. */
32888 #include <math.h>
32889 #ifdef HAVE_IEEEFP_H
32890 #include <ieeefp.h>
32891 #endif
32894 main ()
32896 _expl(0);
32898 return 0;
32900 _ACEOF
32901 if ac_fn_cxx_try_compile "$LINENO"; then :
32902 glibcxx_cv_func__expl_use=yes
32903 else
32904 glibcxx_cv_func__expl_use=no
32906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32907 ac_ext=c
32908 ac_cpp='$CPP $CPPFLAGS'
32909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32918 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32920 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32921 for ac_func in _expl
32922 do :
32923 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32924 if test "x$ac_cv_func__expl" = x""yes; then :
32925 cat >>confdefs.h <<_ACEOF
32926 #define HAVE__EXPL 1
32927 _ACEOF
32930 done
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32940 $as_echo_n "checking for fabsl declaration... " >&6; }
32941 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32942 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32943 $as_echo_n "(cached) " >&6
32944 else
32947 ac_ext=cpp
32948 ac_cpp='$CXXCPP $CPPFLAGS'
32949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32954 /* end confdefs.h. */
32955 #include <math.h>
32956 #ifdef HAVE_IEEEFP_H
32957 #include <ieeefp.h>
32958 #endif
32961 main ()
32963 fabsl(0);
32965 return 0;
32967 _ACEOF
32968 if ac_fn_cxx_try_compile "$LINENO"; then :
32969 glibcxx_cv_func_fabsl_use=yes
32970 else
32971 glibcxx_cv_func_fabsl_use=no
32973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32974 ac_ext=c
32975 ac_cpp='$CPP $CPPFLAGS'
32976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32985 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32987 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32988 for ac_func in fabsl
32989 do :
32990 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32991 if test "x$ac_cv_func_fabsl" = x""yes; then :
32992 cat >>confdefs.h <<_ACEOF
32993 #define HAVE_FABSL 1
32994 _ACEOF
32997 done
32999 else
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33002 $as_echo_n "checking for _fabsl declaration... " >&6; }
33003 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33004 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33005 $as_echo_n "(cached) " >&6
33006 else
33009 ac_ext=cpp
33010 ac_cpp='$CXXCPP $CPPFLAGS'
33011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33017 #include <math.h>
33018 #ifdef HAVE_IEEEFP_H
33019 #include <ieeefp.h>
33020 #endif
33023 main ()
33025 _fabsl(0);
33027 return 0;
33029 _ACEOF
33030 if ac_fn_cxx_try_compile "$LINENO"; then :
33031 glibcxx_cv_func__fabsl_use=yes
33032 else
33033 glibcxx_cv_func__fabsl_use=no
33035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33036 ac_ext=c
33037 ac_cpp='$CPP $CPPFLAGS'
33038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33047 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33049 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33050 for ac_func in _fabsl
33051 do :
33052 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33053 if test "x$ac_cv_func__fabsl" = x""yes; then :
33054 cat >>confdefs.h <<_ACEOF
33055 #define HAVE__FABSL 1
33056 _ACEOF
33059 done
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33069 $as_echo_n "checking for fmodl declaration... " >&6; }
33070 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33071 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33072 $as_echo_n "(cached) " >&6
33073 else
33076 ac_ext=cpp
33077 ac_cpp='$CXXCPP $CPPFLAGS'
33078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33083 /* end confdefs.h. */
33084 #include <math.h>
33086 main ()
33088 fmodl(0, 0);
33090 return 0;
33092 _ACEOF
33093 if ac_fn_cxx_try_compile "$LINENO"; then :
33094 glibcxx_cv_func_fmodl_use=yes
33095 else
33096 glibcxx_cv_func_fmodl_use=no
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33110 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33112 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33113 for ac_func in fmodl
33114 do :
33115 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33116 if test "x$ac_cv_func_fmodl" = x""yes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_FMODL 1
33119 _ACEOF
33122 done
33124 else
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33127 $as_echo_n "checking for _fmodl declaration... " >&6; }
33128 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33129 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33130 $as_echo_n "(cached) " >&6
33131 else
33134 ac_ext=cpp
33135 ac_cpp='$CXXCPP $CPPFLAGS'
33136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33141 /* end confdefs.h. */
33142 #include <math.h>
33144 main ()
33146 _fmodl(0, 0);
33148 return 0;
33150 _ACEOF
33151 if ac_fn_cxx_try_compile "$LINENO"; then :
33152 glibcxx_cv_func__fmodl_use=yes
33153 else
33154 glibcxx_cv_func__fmodl_use=no
33156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33157 ac_ext=c
33158 ac_cpp='$CPP $CPPFLAGS'
33159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33168 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33170 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33171 for ac_func in _fmodl
33172 do :
33173 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33174 if test "x$ac_cv_func__fmodl" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE__FMODL 1
33177 _ACEOF
33180 done
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33190 $as_echo_n "checking for frexpl declaration... " >&6; }
33191 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33192 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33193 $as_echo_n "(cached) " >&6
33194 else
33197 ac_ext=cpp
33198 ac_cpp='$CXXCPP $CPPFLAGS'
33199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33204 /* end confdefs.h. */
33205 #include <math.h>
33207 main ()
33209 frexpl(0, 0);
33211 return 0;
33213 _ACEOF
33214 if ac_fn_cxx_try_compile "$LINENO"; then :
33215 glibcxx_cv_func_frexpl_use=yes
33216 else
33217 glibcxx_cv_func_frexpl_use=no
33219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33220 ac_ext=c
33221 ac_cpp='$CPP $CPPFLAGS'
33222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33231 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33233 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33234 for ac_func in frexpl
33235 do :
33236 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33237 if test "x$ac_cv_func_frexpl" = x""yes; then :
33238 cat >>confdefs.h <<_ACEOF
33239 #define HAVE_FREXPL 1
33240 _ACEOF
33243 done
33245 else
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33248 $as_echo_n "checking for _frexpl declaration... " >&6; }
33249 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33250 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33251 $as_echo_n "(cached) " >&6
33252 else
33255 ac_ext=cpp
33256 ac_cpp='$CXXCPP $CPPFLAGS'
33257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33262 /* end confdefs.h. */
33263 #include <math.h>
33265 main ()
33267 _frexpl(0, 0);
33269 return 0;
33271 _ACEOF
33272 if ac_fn_cxx_try_compile "$LINENO"; then :
33273 glibcxx_cv_func__frexpl_use=yes
33274 else
33275 glibcxx_cv_func__frexpl_use=no
33277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33278 ac_ext=c
33279 ac_cpp='$CPP $CPPFLAGS'
33280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33289 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33291 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33292 for ac_func in _frexpl
33293 do :
33294 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33295 if test "x$ac_cv_func__frexpl" = x""yes; then :
33296 cat >>confdefs.h <<_ACEOF
33297 #define HAVE__FREXPL 1
33298 _ACEOF
33301 done
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33311 $as_echo_n "checking for hypotl declaration... " >&6; }
33312 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33313 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33314 $as_echo_n "(cached) " >&6
33315 else
33318 ac_ext=cpp
33319 ac_cpp='$CXXCPP $CPPFLAGS'
33320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33325 /* end confdefs.h. */
33326 #include <math.h>
33328 main ()
33330 hypotl(0, 0);
33332 return 0;
33334 _ACEOF
33335 if ac_fn_cxx_try_compile "$LINENO"; then :
33336 glibcxx_cv_func_hypotl_use=yes
33337 else
33338 glibcxx_cv_func_hypotl_use=no
33340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33341 ac_ext=c
33342 ac_cpp='$CPP $CPPFLAGS'
33343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33352 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33354 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33355 for ac_func in hypotl
33356 do :
33357 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33358 if test "x$ac_cv_func_hypotl" = x""yes; then :
33359 cat >>confdefs.h <<_ACEOF
33360 #define HAVE_HYPOTL 1
33361 _ACEOF
33364 done
33366 else
33368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33369 $as_echo_n "checking for _hypotl declaration... " >&6; }
33370 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33371 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33372 $as_echo_n "(cached) " >&6
33373 else
33376 ac_ext=cpp
33377 ac_cpp='$CXXCPP $CPPFLAGS'
33378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33383 /* end confdefs.h. */
33384 #include <math.h>
33386 main ()
33388 _hypotl(0, 0);
33390 return 0;
33392 _ACEOF
33393 if ac_fn_cxx_try_compile "$LINENO"; then :
33394 glibcxx_cv_func__hypotl_use=yes
33395 else
33396 glibcxx_cv_func__hypotl_use=no
33398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33399 ac_ext=c
33400 ac_cpp='$CPP $CPPFLAGS'
33401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33410 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33412 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33413 for ac_func in _hypotl
33414 do :
33415 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33416 if test "x$ac_cv_func__hypotl" = x""yes; then :
33417 cat >>confdefs.h <<_ACEOF
33418 #define HAVE__HYPOTL 1
33419 _ACEOF
33422 done
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33432 $as_echo_n "checking for ldexpl declaration... " >&6; }
33433 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33434 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33435 $as_echo_n "(cached) " >&6
33436 else
33439 ac_ext=cpp
33440 ac_cpp='$CXXCPP $CPPFLAGS'
33441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33446 /* end confdefs.h. */
33447 #include <math.h>
33449 main ()
33451 ldexpl(0, 0);
33453 return 0;
33455 _ACEOF
33456 if ac_fn_cxx_try_compile "$LINENO"; then :
33457 glibcxx_cv_func_ldexpl_use=yes
33458 else
33459 glibcxx_cv_func_ldexpl_use=no
33461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33462 ac_ext=c
33463 ac_cpp='$CPP $CPPFLAGS'
33464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33473 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33475 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33476 for ac_func in ldexpl
33477 do :
33478 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33479 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33480 cat >>confdefs.h <<_ACEOF
33481 #define HAVE_LDEXPL 1
33482 _ACEOF
33485 done
33487 else
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33490 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33491 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33492 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33493 $as_echo_n "(cached) " >&6
33494 else
33497 ac_ext=cpp
33498 ac_cpp='$CXXCPP $CPPFLAGS'
33499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33504 /* end confdefs.h. */
33505 #include <math.h>
33507 main ()
33509 _ldexpl(0, 0);
33511 return 0;
33513 _ACEOF
33514 if ac_fn_cxx_try_compile "$LINENO"; then :
33515 glibcxx_cv_func__ldexpl_use=yes
33516 else
33517 glibcxx_cv_func__ldexpl_use=no
33519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33520 ac_ext=c
33521 ac_cpp='$CPP $CPPFLAGS'
33522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33531 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33533 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33534 for ac_func in _ldexpl
33535 do :
33536 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33537 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33538 cat >>confdefs.h <<_ACEOF
33539 #define HAVE__LDEXPL 1
33540 _ACEOF
33543 done
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33553 $as_echo_n "checking for logl declaration... " >&6; }
33554 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33555 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33556 $as_echo_n "(cached) " >&6
33557 else
33560 ac_ext=cpp
33561 ac_cpp='$CXXCPP $CPPFLAGS'
33562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567 /* end confdefs.h. */
33568 #include <math.h>
33569 #ifdef HAVE_IEEEFP_H
33570 #include <ieeefp.h>
33571 #endif
33574 main ()
33576 logl(0);
33578 return 0;
33580 _ACEOF
33581 if ac_fn_cxx_try_compile "$LINENO"; then :
33582 glibcxx_cv_func_logl_use=yes
33583 else
33584 glibcxx_cv_func_logl_use=no
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587 ac_ext=c
33588 ac_cpp='$CPP $CPPFLAGS'
33589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33598 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33600 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33601 for ac_func in logl
33602 do :
33603 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33604 if test "x$ac_cv_func_logl" = x""yes; then :
33605 cat >>confdefs.h <<_ACEOF
33606 #define HAVE_LOGL 1
33607 _ACEOF
33610 done
33612 else
33614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33615 $as_echo_n "checking for _logl declaration... " >&6; }
33616 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33617 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33618 $as_echo_n "(cached) " >&6
33619 else
33622 ac_ext=cpp
33623 ac_cpp='$CXXCPP $CPPFLAGS'
33624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33629 /* end confdefs.h. */
33630 #include <math.h>
33631 #ifdef HAVE_IEEEFP_H
33632 #include <ieeefp.h>
33633 #endif
33636 main ()
33638 _logl(0);
33640 return 0;
33642 _ACEOF
33643 if ac_fn_cxx_try_compile "$LINENO"; then :
33644 glibcxx_cv_func__logl_use=yes
33645 else
33646 glibcxx_cv_func__logl_use=no
33648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33649 ac_ext=c
33650 ac_cpp='$CPP $CPPFLAGS'
33651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33660 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33662 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33663 for ac_func in _logl
33664 do :
33665 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33666 if test "x$ac_cv_func__logl" = x""yes; then :
33667 cat >>confdefs.h <<_ACEOF
33668 #define HAVE__LOGL 1
33669 _ACEOF
33672 done
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33682 $as_echo_n "checking for log10l declaration... " >&6; }
33683 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33684 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33685 $as_echo_n "(cached) " >&6
33686 else
33689 ac_ext=cpp
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33696 /* end confdefs.h. */
33697 #include <math.h>
33698 #ifdef HAVE_IEEEFP_H
33699 #include <ieeefp.h>
33700 #endif
33703 main ()
33705 log10l(0);
33707 return 0;
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711 glibcxx_cv_func_log10l_use=yes
33712 else
33713 glibcxx_cv_func_log10l_use=no
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33727 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33729 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33730 for ac_func in log10l
33731 do :
33732 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33733 if test "x$ac_cv_func_log10l" = x""yes; then :
33734 cat >>confdefs.h <<_ACEOF
33735 #define HAVE_LOG10L 1
33736 _ACEOF
33739 done
33741 else
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33744 $as_echo_n "checking for _log10l declaration... " >&6; }
33745 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33746 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33747 $as_echo_n "(cached) " >&6
33748 else
33751 ac_ext=cpp
33752 ac_cpp='$CXXCPP $CPPFLAGS'
33753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33758 /* end confdefs.h. */
33759 #include <math.h>
33760 #ifdef HAVE_IEEEFP_H
33761 #include <ieeefp.h>
33762 #endif
33765 main ()
33767 _log10l(0);
33769 return 0;
33771 _ACEOF
33772 if ac_fn_cxx_try_compile "$LINENO"; then :
33773 glibcxx_cv_func__log10l_use=yes
33774 else
33775 glibcxx_cv_func__log10l_use=no
33777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33778 ac_ext=c
33779 ac_cpp='$CPP $CPPFLAGS'
33780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33789 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33791 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33792 for ac_func in _log10l
33793 do :
33794 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33795 if test "x$ac_cv_func__log10l" = x""yes; then :
33796 cat >>confdefs.h <<_ACEOF
33797 #define HAVE__LOG10L 1
33798 _ACEOF
33801 done
33810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33811 $as_echo_n "checking for modfl declaration... " >&6; }
33812 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33813 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33814 $as_echo_n "(cached) " >&6
33815 else
33818 ac_ext=cpp
33819 ac_cpp='$CXXCPP $CPPFLAGS'
33820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33825 /* end confdefs.h. */
33826 #include <math.h>
33828 main ()
33830 modfl(0, 0);
33832 return 0;
33834 _ACEOF
33835 if ac_fn_cxx_try_compile "$LINENO"; then :
33836 glibcxx_cv_func_modfl_use=yes
33837 else
33838 glibcxx_cv_func_modfl_use=no
33840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33841 ac_ext=c
33842 ac_cpp='$CPP $CPPFLAGS'
33843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33852 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33854 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33855 for ac_func in modfl
33856 do :
33857 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33858 if test "x$ac_cv_func_modfl" = x""yes; then :
33859 cat >>confdefs.h <<_ACEOF
33860 #define HAVE_MODFL 1
33861 _ACEOF
33864 done
33866 else
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33869 $as_echo_n "checking for _modfl declaration... " >&6; }
33870 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33871 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33872 $as_echo_n "(cached) " >&6
33873 else
33876 ac_ext=cpp
33877 ac_cpp='$CXXCPP $CPPFLAGS'
33878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33883 /* end confdefs.h. */
33884 #include <math.h>
33886 main ()
33888 _modfl(0, 0);
33890 return 0;
33892 _ACEOF
33893 if ac_fn_cxx_try_compile "$LINENO"; then :
33894 glibcxx_cv_func__modfl_use=yes
33895 else
33896 glibcxx_cv_func__modfl_use=no
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33899 ac_ext=c
33900 ac_cpp='$CPP $CPPFLAGS'
33901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33910 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33912 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33913 for ac_func in _modfl
33914 do :
33915 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33916 if test "x$ac_cv_func__modfl" = x""yes; then :
33917 cat >>confdefs.h <<_ACEOF
33918 #define HAVE__MODFL 1
33919 _ACEOF
33922 done
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33932 $as_echo_n "checking for powl declaration... " >&6; }
33933 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33934 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33935 $as_echo_n "(cached) " >&6
33936 else
33939 ac_ext=cpp
33940 ac_cpp='$CXXCPP $CPPFLAGS'
33941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33946 /* end confdefs.h. */
33947 #include <math.h>
33949 main ()
33951 powl(0, 0);
33953 return 0;
33955 _ACEOF
33956 if ac_fn_cxx_try_compile "$LINENO"; then :
33957 glibcxx_cv_func_powl_use=yes
33958 else
33959 glibcxx_cv_func_powl_use=no
33961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33962 ac_ext=c
33963 ac_cpp='$CPP $CPPFLAGS'
33964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33973 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33975 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33976 for ac_func in powl
33977 do :
33978 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33979 if test "x$ac_cv_func_powl" = x""yes; then :
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE_POWL 1
33982 _ACEOF
33985 done
33987 else
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33990 $as_echo_n "checking for _powl declaration... " >&6; }
33991 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33992 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33993 $as_echo_n "(cached) " >&6
33994 else
33997 ac_ext=cpp
33998 ac_cpp='$CXXCPP $CPPFLAGS'
33999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34004 /* end confdefs.h. */
34005 #include <math.h>
34007 main ()
34009 _powl(0, 0);
34011 return 0;
34013 _ACEOF
34014 if ac_fn_cxx_try_compile "$LINENO"; then :
34015 glibcxx_cv_func__powl_use=yes
34016 else
34017 glibcxx_cv_func__powl_use=no
34019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34020 ac_ext=c
34021 ac_cpp='$CPP $CPPFLAGS'
34022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34031 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34033 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34034 for ac_func in _powl
34035 do :
34036 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34037 if test "x$ac_cv_func__powl" = x""yes; then :
34038 cat >>confdefs.h <<_ACEOF
34039 #define HAVE__POWL 1
34040 _ACEOF
34043 done
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34053 $as_echo_n "checking for sqrtl declaration... " >&6; }
34054 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34055 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34056 $as_echo_n "(cached) " >&6
34057 else
34060 ac_ext=cpp
34061 ac_cpp='$CXXCPP $CPPFLAGS'
34062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34067 /* end confdefs.h. */
34068 #include <math.h>
34069 #ifdef HAVE_IEEEFP_H
34070 #include <ieeefp.h>
34071 #endif
34074 main ()
34076 sqrtl(0);
34078 return 0;
34080 _ACEOF
34081 if ac_fn_cxx_try_compile "$LINENO"; then :
34082 glibcxx_cv_func_sqrtl_use=yes
34083 else
34084 glibcxx_cv_func_sqrtl_use=no
34086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34087 ac_ext=c
34088 ac_cpp='$CPP $CPPFLAGS'
34089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34098 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34100 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34101 for ac_func in sqrtl
34102 do :
34103 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34104 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34105 cat >>confdefs.h <<_ACEOF
34106 #define HAVE_SQRTL 1
34107 _ACEOF
34110 done
34112 else
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34115 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34116 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34117 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34118 $as_echo_n "(cached) " >&6
34119 else
34122 ac_ext=cpp
34123 ac_cpp='$CXXCPP $CPPFLAGS'
34124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34129 /* end confdefs.h. */
34130 #include <math.h>
34131 #ifdef HAVE_IEEEFP_H
34132 #include <ieeefp.h>
34133 #endif
34136 main ()
34138 _sqrtl(0);
34140 return 0;
34142 _ACEOF
34143 if ac_fn_cxx_try_compile "$LINENO"; then :
34144 glibcxx_cv_func__sqrtl_use=yes
34145 else
34146 glibcxx_cv_func__sqrtl_use=no
34148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34149 ac_ext=c
34150 ac_cpp='$CPP $CPPFLAGS'
34151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34160 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34162 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34163 for ac_func in _sqrtl
34164 do :
34165 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34166 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34167 cat >>confdefs.h <<_ACEOF
34168 #define HAVE__SQRTL 1
34169 _ACEOF
34172 done
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34182 $as_echo_n "checking for sincosl declaration... " >&6; }
34183 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34184 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34185 $as_echo_n "(cached) " >&6
34186 else
34189 ac_ext=cpp
34190 ac_cpp='$CXXCPP $CPPFLAGS'
34191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34196 /* end confdefs.h. */
34197 #include <math.h>
34199 main ()
34201 sincosl(0, 0, 0);
34203 return 0;
34205 _ACEOF
34206 if ac_fn_cxx_try_compile "$LINENO"; then :
34207 glibcxx_cv_func_sincosl_use=yes
34208 else
34209 glibcxx_cv_func_sincosl_use=no
34211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34212 ac_ext=c
34213 ac_cpp='$CPP $CPPFLAGS'
34214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34223 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34225 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34226 for ac_func in sincosl
34227 do :
34228 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34229 if test "x$ac_cv_func_sincosl" = x""yes; then :
34230 cat >>confdefs.h <<_ACEOF
34231 #define HAVE_SINCOSL 1
34232 _ACEOF
34235 done
34237 else
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34240 $as_echo_n "checking for _sincosl declaration... " >&6; }
34241 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34242 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34243 $as_echo_n "(cached) " >&6
34244 else
34247 ac_ext=cpp
34248 ac_cpp='$CXXCPP $CPPFLAGS'
34249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34254 /* end confdefs.h. */
34255 #include <math.h>
34257 main ()
34259 _sincosl(0, 0, 0);
34261 return 0;
34263 _ACEOF
34264 if ac_fn_cxx_try_compile "$LINENO"; then :
34265 glibcxx_cv_func__sincosl_use=yes
34266 else
34267 glibcxx_cv_func__sincosl_use=no
34269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34270 ac_ext=c
34271 ac_cpp='$CPP $CPPFLAGS'
34272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34281 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34283 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34284 for ac_func in _sincosl
34285 do :
34286 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34287 if test "x$ac_cv_func__sincosl" = x""yes; then :
34288 cat >>confdefs.h <<_ACEOF
34289 #define HAVE__SINCOSL 1
34290 _ACEOF
34293 done
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34303 $as_echo_n "checking for finitel declaration... " >&6; }
34304 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34305 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34306 $as_echo_n "(cached) " >&6
34307 else
34310 ac_ext=cpp
34311 ac_cpp='$CXXCPP $CPPFLAGS'
34312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34317 /* end confdefs.h. */
34318 #include <math.h>
34319 #ifdef HAVE_IEEEFP_H
34320 #include <ieeefp.h>
34321 #endif
34324 main ()
34326 finitel(0);
34328 return 0;
34330 _ACEOF
34331 if ac_fn_cxx_try_compile "$LINENO"; then :
34332 glibcxx_cv_func_finitel_use=yes
34333 else
34334 glibcxx_cv_func_finitel_use=no
34336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34337 ac_ext=c
34338 ac_cpp='$CPP $CPPFLAGS'
34339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34348 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34350 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34351 for ac_func in finitel
34352 do :
34353 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34354 if test "x$ac_cv_func_finitel" = x""yes; then :
34355 cat >>confdefs.h <<_ACEOF
34356 #define HAVE_FINITEL 1
34357 _ACEOF
34360 done
34362 else
34364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34365 $as_echo_n "checking for _finitel declaration... " >&6; }
34366 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34367 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34368 $as_echo_n "(cached) " >&6
34369 else
34372 ac_ext=cpp
34373 ac_cpp='$CXXCPP $CPPFLAGS'
34374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34379 /* end confdefs.h. */
34380 #include <math.h>
34381 #ifdef HAVE_IEEEFP_H
34382 #include <ieeefp.h>
34383 #endif
34386 main ()
34388 _finitel(0);
34390 return 0;
34392 _ACEOF
34393 if ac_fn_cxx_try_compile "$LINENO"; then :
34394 glibcxx_cv_func__finitel_use=yes
34395 else
34396 glibcxx_cv_func__finitel_use=no
34398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_ext=c
34400 ac_cpp='$CPP $CPPFLAGS'
34401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34410 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34412 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34413 for ac_func in _finitel
34414 do :
34415 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34416 if test "x$ac_cv_func__finitel" = x""yes; then :
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE__FINITEL 1
34419 _ACEOF
34422 done
34430 LIBS="$ac_save_LIBS"
34431 CXXFLAGS="$ac_save_CXXFLAGS"
34434 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34435 ac_save_CXXFLAGS="$CXXFLAGS"
34436 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34440 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34441 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34442 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34443 $as_echo_n "(cached) " >&6
34444 else
34447 ac_ext=cpp
34448 ac_cpp='$CXXCPP $CPPFLAGS'
34449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34454 /* end confdefs.h. */
34455 #include <stdlib.h>
34457 main ()
34459 at_quick_exit(0);
34461 return 0;
34463 _ACEOF
34464 if ac_fn_cxx_try_compile "$LINENO"; then :
34465 glibcxx_cv_func_at_quick_exit_use=yes
34466 else
34467 glibcxx_cv_func_at_quick_exit_use=no
34469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34470 ac_ext=c
34471 ac_cpp='$CPP $CPPFLAGS'
34472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34481 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34482 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34483 for ac_func in at_quick_exit
34484 do :
34485 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34486 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34487 cat >>confdefs.h <<_ACEOF
34488 #define HAVE_AT_QUICK_EXIT 1
34489 _ACEOF
34492 done
34497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34498 $as_echo_n "checking for quick_exit declaration... " >&6; }
34499 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34500 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34501 $as_echo_n "(cached) " >&6
34502 else
34505 ac_ext=cpp
34506 ac_cpp='$CXXCPP $CPPFLAGS'
34507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34512 /* end confdefs.h. */
34513 #include <stdlib.h>
34515 main ()
34517 quick_exit(0);
34519 return 0;
34521 _ACEOF
34522 if ac_fn_cxx_try_compile "$LINENO"; then :
34523 glibcxx_cv_func_quick_exit_use=yes
34524 else
34525 glibcxx_cv_func_quick_exit_use=no
34527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34528 ac_ext=c
34529 ac_cpp='$CPP $CPPFLAGS'
34530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34539 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34540 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34541 for ac_func in quick_exit
34542 do :
34543 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34544 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34545 cat >>confdefs.h <<_ACEOF
34546 #define HAVE_QUICK_EXIT 1
34547 _ACEOF
34550 done
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34556 $as_echo_n "checking for strtold declaration... " >&6; }
34557 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34558 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34559 $as_echo_n "(cached) " >&6
34560 else
34563 ac_ext=cpp
34564 ac_cpp='$CXXCPP $CPPFLAGS'
34565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34570 /* end confdefs.h. */
34571 #include <stdlib.h>
34573 main ()
34575 strtold(0, 0);
34577 return 0;
34579 _ACEOF
34580 if ac_fn_cxx_try_compile "$LINENO"; then :
34581 glibcxx_cv_func_strtold_use=yes
34582 else
34583 glibcxx_cv_func_strtold_use=no
34585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34586 ac_ext=c
34587 ac_cpp='$CPP $CPPFLAGS'
34588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34597 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34598 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34599 for ac_func in strtold
34600 do :
34601 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34602 if test "x$ac_cv_func_strtold" = x""yes; then :
34603 cat >>confdefs.h <<_ACEOF
34604 #define HAVE_STRTOLD 1
34605 _ACEOF
34608 done
34615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34616 $as_echo_n "checking for strtof declaration... " >&6; }
34617 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34618 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34619 $as_echo_n "(cached) " >&6
34620 else
34623 ac_ext=cpp
34624 ac_cpp='$CXXCPP $CPPFLAGS'
34625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34630 /* end confdefs.h. */
34631 #include <stdlib.h>
34633 main ()
34635 strtof(0, 0);
34637 return 0;
34639 _ACEOF
34640 if ac_fn_cxx_try_compile "$LINENO"; then :
34641 glibcxx_cv_func_strtof_use=yes
34642 else
34643 glibcxx_cv_func_strtof_use=no
34645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34646 ac_ext=c
34647 ac_cpp='$CPP $CPPFLAGS'
34648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34657 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34658 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34659 for ac_func in strtof
34660 do :
34661 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34662 if test "x$ac_cv_func_strtof" = x""yes; then :
34663 cat >>confdefs.h <<_ACEOF
34664 #define HAVE_STRTOF 1
34665 _ACEOF
34668 done
34675 CXXFLAGS="$ac_save_CXXFLAGS"
34678 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34680 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34682 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34684 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34687 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34689 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34691 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34695 spu-*-elf*)
34697 # All these tests are for C++; save the language and the compiler flags.
34698 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34699 # found in GLIBCXX_CONFIGURE.
34701 ac_ext=cpp
34702 ac_cpp='$CXXCPP $CPPFLAGS'
34703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34707 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34708 ac_save_CXXFLAGS="$CXXFLAGS"
34710 # Check for maintainer-mode bits.
34711 if test x"$USE_MAINTAINER_MODE" = xno; then
34712 WERROR=''
34713 else
34714 WERROR='-Werror'
34717 # Check for -ffunction-sections -fdata-sections
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34719 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34720 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34722 /* end confdefs.h. */
34723 int foo; void bar() { };
34725 main ()
34729 return 0;
34731 _ACEOF
34732 if ac_fn_cxx_try_compile "$LINENO"; then :
34733 ac_fdsections=yes
34734 else
34735 ac_fdsections=no
34737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34738 if test "$ac_test_CXXFLAGS" = set; then
34739 CXXFLAGS="$ac_save_CXXFLAGS"
34740 else
34741 # this is the suspicious part
34742 CXXFLAGS=''
34744 if test x"$ac_fdsections" = x"yes"; then
34745 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34748 $as_echo "$ac_fdsections" >&6; }
34750 ac_ext=c
34751 ac_cpp='$CPP $CPPFLAGS'
34752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34760 # If we're not using GNU ld, then there's no point in even trying these
34761 # tests. Check for that first. We should have already tested for gld
34762 # by now (in libtool), but require it now just to be safe...
34763 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34764 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34768 # The name set by libtool depends on the version of libtool. Shame on us
34769 # for depending on an impl detail, but c'est la vie. Older versions used
34770 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34771 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34772 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34773 # set (hence we're using an older libtool), then set it.
34774 if test x${with_gnu_ld+set} != xset; then
34775 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34776 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34777 with_gnu_ld=no
34778 else
34779 with_gnu_ld=$ac_cv_prog_gnu_ld
34783 # Start by getting the version number. I think the libtool test already
34784 # does some of this, but throws away the result.
34785 glibcxx_ld_is_gold=no
34786 if test x"$with_gnu_ld" = x"yes"; then
34787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34788 $as_echo_n "checking for ld version... " >&6; }
34790 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34791 glibcxx_ld_is_gold=yes
34793 ldver=`$LD --version 2>/dev/null |
34794 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'`
34796 glibcxx_gnu_ld_version=`echo $ldver | \
34797 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34799 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34802 # Set --gc-sections.
34803 glibcxx_have_gc_sections=no
34804 if test "$glibcxx_ld_is_gold" = "yes"; then
34805 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34806 glibcxx_have_gc_sections=yes
34808 else
34809 glibcxx_gcsections_min_ld=21602
34810 if test x"$with_gnu_ld" = x"yes" &&
34811 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34812 glibcxx_have_gc_sections=yes
34815 if test "$glibcxx_have_gc_sections" = "yes"; then
34816 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34817 # NB: This flag only works reliably after 2.16.1. Configure tests
34818 # for this are difficult, so hard wire a value that should work.
34820 ac_test_CFLAGS="${CFLAGS+set}"
34821 ac_save_CFLAGS="$CFLAGS"
34822 CFLAGS='-Wl,--gc-sections'
34824 # Check for -Wl,--gc-sections
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34826 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34827 if test x$gcc_no_link = xyes; then
34828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34831 /* end confdefs.h. */
34832 int one(void) { return 1; }
34833 int two(void) { return 2; }
34836 main ()
34838 two();
34840 return 0;
34842 _ACEOF
34843 if ac_fn_c_try_link "$LINENO"; then :
34844 ac_gcsections=yes
34845 else
34846 ac_gcsections=no
34848 rm -f core conftest.err conftest.$ac_objext \
34849 conftest$ac_exeext conftest.$ac_ext
34850 if test "$ac_gcsections" = "yes"; then
34851 rm -f conftest.c
34852 touch conftest.c
34853 if $CC -c conftest.c; then
34854 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34855 grep "Warning: gc-sections option ignored" > /dev/null; then
34856 ac_gcsections=no
34859 rm -f conftest.c conftest.o conftest
34861 if test "$ac_gcsections" = "yes"; then
34862 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34865 $as_echo "$ac_gcsections" >&6; }
34867 if test "$ac_test_CFLAGS" = set; then
34868 CFLAGS="$ac_save_CFLAGS"
34869 else
34870 # this is the suspicious part
34871 CFLAGS=''
34875 # Set -z,relro.
34876 # Note this is only for shared objects.
34877 ac_ld_relro=no
34878 if test x"$with_gnu_ld" = x"yes"; then
34879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34880 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34881 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34882 if test -n "$cxx_z_relo"; then
34883 OPT_LDFLAGS="-Wl,-z,relro"
34884 ac_ld_relro=yes
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34887 $as_echo "$ac_ld_relro" >&6; }
34890 # Set linker optimization flags.
34891 if test x"$with_gnu_ld" = x"yes"; then
34892 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34899 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34900 ac_save_CXXFLAGS="$CXXFLAGS"
34901 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34904 $as_echo_n "checking for sin in -lm... " >&6; }
34905 if test "${ac_cv_lib_m_sin+set}" = set; then :
34906 $as_echo_n "(cached) " >&6
34907 else
34908 ac_check_lib_save_LIBS=$LIBS
34909 LIBS="-lm $LIBS"
34910 if test x$gcc_no_link = xyes; then
34911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34914 /* end confdefs.h. */
34916 /* Override any GCC internal prototype to avoid an error.
34917 Use char because int might match the return type of a GCC
34918 builtin and then its argument prototype would still apply. */
34919 #ifdef __cplusplus
34920 extern "C"
34921 #endif
34922 char sin ();
34924 main ()
34926 return sin ();
34928 return 0;
34930 _ACEOF
34931 if ac_fn_c_try_link "$LINENO"; then :
34932 ac_cv_lib_m_sin=yes
34933 else
34934 ac_cv_lib_m_sin=no
34936 rm -f core conftest.err conftest.$ac_objext \
34937 conftest$ac_exeext conftest.$ac_ext
34938 LIBS=$ac_check_lib_save_LIBS
34940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34941 $as_echo "$ac_cv_lib_m_sin" >&6; }
34942 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34943 libm="-lm"
34946 ac_save_LIBS="$LIBS"
34947 LIBS="$LIBS $libm"
34951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34952 $as_echo_n "checking for isinf declaration... " >&6; }
34953 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34954 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34955 $as_echo_n "(cached) " >&6
34956 else
34959 ac_ext=cpp
34960 ac_cpp='$CXXCPP $CPPFLAGS'
34961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34966 /* end confdefs.h. */
34967 #include <math.h>
34968 #ifdef HAVE_IEEEFP_H
34969 #include <ieeefp.h>
34970 #endif
34973 main ()
34975 isinf(0);
34977 return 0;
34979 _ACEOF
34980 if ac_fn_cxx_try_compile "$LINENO"; then :
34981 glibcxx_cv_func_isinf_use=yes
34982 else
34983 glibcxx_cv_func_isinf_use=no
34985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34986 ac_ext=c
34987 ac_cpp='$CPP $CPPFLAGS'
34988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34997 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34999 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35000 for ac_func in isinf
35001 do :
35002 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35003 if test "x$ac_cv_func_isinf" = x""yes; then :
35004 cat >>confdefs.h <<_ACEOF
35005 #define HAVE_ISINF 1
35006 _ACEOF
35009 done
35011 else
35013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35014 $as_echo_n "checking for _isinf declaration... " >&6; }
35015 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35016 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35017 $as_echo_n "(cached) " >&6
35018 else
35021 ac_ext=cpp
35022 ac_cpp='$CXXCPP $CPPFLAGS'
35023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35028 /* end confdefs.h. */
35029 #include <math.h>
35030 #ifdef HAVE_IEEEFP_H
35031 #include <ieeefp.h>
35032 #endif
35035 main ()
35037 _isinf(0);
35039 return 0;
35041 _ACEOF
35042 if ac_fn_cxx_try_compile "$LINENO"; then :
35043 glibcxx_cv_func__isinf_use=yes
35044 else
35045 glibcxx_cv_func__isinf_use=no
35047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35048 ac_ext=c
35049 ac_cpp='$CPP $CPPFLAGS'
35050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35059 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35061 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35062 for ac_func in _isinf
35063 do :
35064 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35065 if test "x$ac_cv_func__isinf" = x""yes; then :
35066 cat >>confdefs.h <<_ACEOF
35067 #define HAVE__ISINF 1
35068 _ACEOF
35071 done
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35081 $as_echo_n "checking for isnan declaration... " >&6; }
35082 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35083 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35084 $as_echo_n "(cached) " >&6
35085 else
35088 ac_ext=cpp
35089 ac_cpp='$CXXCPP $CPPFLAGS'
35090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35095 /* end confdefs.h. */
35096 #include <math.h>
35097 #ifdef HAVE_IEEEFP_H
35098 #include <ieeefp.h>
35099 #endif
35102 main ()
35104 isnan(0);
35106 return 0;
35108 _ACEOF
35109 if ac_fn_cxx_try_compile "$LINENO"; then :
35110 glibcxx_cv_func_isnan_use=yes
35111 else
35112 glibcxx_cv_func_isnan_use=no
35114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35115 ac_ext=c
35116 ac_cpp='$CPP $CPPFLAGS'
35117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35126 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35128 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35129 for ac_func in isnan
35130 do :
35131 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35132 if test "x$ac_cv_func_isnan" = x""yes; then :
35133 cat >>confdefs.h <<_ACEOF
35134 #define HAVE_ISNAN 1
35135 _ACEOF
35138 done
35140 else
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35143 $as_echo_n "checking for _isnan declaration... " >&6; }
35144 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35145 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35146 $as_echo_n "(cached) " >&6
35147 else
35150 ac_ext=cpp
35151 ac_cpp='$CXXCPP $CPPFLAGS'
35152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35157 /* end confdefs.h. */
35158 #include <math.h>
35159 #ifdef HAVE_IEEEFP_H
35160 #include <ieeefp.h>
35161 #endif
35164 main ()
35166 _isnan(0);
35168 return 0;
35170 _ACEOF
35171 if ac_fn_cxx_try_compile "$LINENO"; then :
35172 glibcxx_cv_func__isnan_use=yes
35173 else
35174 glibcxx_cv_func__isnan_use=no
35176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35177 ac_ext=c
35178 ac_cpp='$CPP $CPPFLAGS'
35179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35188 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35190 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35191 for ac_func in _isnan
35192 do :
35193 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35194 if test "x$ac_cv_func__isnan" = x""yes; then :
35195 cat >>confdefs.h <<_ACEOF
35196 #define HAVE__ISNAN 1
35197 _ACEOF
35200 done
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35210 $as_echo_n "checking for finite declaration... " >&6; }
35211 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35212 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35213 $as_echo_n "(cached) " >&6
35214 else
35217 ac_ext=cpp
35218 ac_cpp='$CXXCPP $CPPFLAGS'
35219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35224 /* end confdefs.h. */
35225 #include <math.h>
35226 #ifdef HAVE_IEEEFP_H
35227 #include <ieeefp.h>
35228 #endif
35231 main ()
35233 finite(0);
35235 return 0;
35237 _ACEOF
35238 if ac_fn_cxx_try_compile "$LINENO"; then :
35239 glibcxx_cv_func_finite_use=yes
35240 else
35241 glibcxx_cv_func_finite_use=no
35243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35244 ac_ext=c
35245 ac_cpp='$CPP $CPPFLAGS'
35246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35255 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35257 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35258 for ac_func in finite
35259 do :
35260 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35261 if test "x$ac_cv_func_finite" = x""yes; then :
35262 cat >>confdefs.h <<_ACEOF
35263 #define HAVE_FINITE 1
35264 _ACEOF
35267 done
35269 else
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35272 $as_echo_n "checking for _finite declaration... " >&6; }
35273 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35274 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35275 $as_echo_n "(cached) " >&6
35276 else
35279 ac_ext=cpp
35280 ac_cpp='$CXXCPP $CPPFLAGS'
35281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35286 /* end confdefs.h. */
35287 #include <math.h>
35288 #ifdef HAVE_IEEEFP_H
35289 #include <ieeefp.h>
35290 #endif
35293 main ()
35295 _finite(0);
35297 return 0;
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301 glibcxx_cv_func__finite_use=yes
35302 else
35303 glibcxx_cv_func__finite_use=no
35305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35306 ac_ext=c
35307 ac_cpp='$CPP $CPPFLAGS'
35308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35317 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35319 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35320 for ac_func in _finite
35321 do :
35322 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35323 if test "x$ac_cv_func__finite" = x""yes; then :
35324 cat >>confdefs.h <<_ACEOF
35325 #define HAVE__FINITE 1
35326 _ACEOF
35329 done
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35339 $as_echo_n "checking for sincos declaration... " >&6; }
35340 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35341 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35342 $as_echo_n "(cached) " >&6
35343 else
35346 ac_ext=cpp
35347 ac_cpp='$CXXCPP $CPPFLAGS'
35348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35353 /* end confdefs.h. */
35354 #include <math.h>
35356 main ()
35358 sincos(0, 0, 0);
35360 return 0;
35362 _ACEOF
35363 if ac_fn_cxx_try_compile "$LINENO"; then :
35364 glibcxx_cv_func_sincos_use=yes
35365 else
35366 glibcxx_cv_func_sincos_use=no
35368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369 ac_ext=c
35370 ac_cpp='$CPP $CPPFLAGS'
35371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35380 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35382 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35383 for ac_func in sincos
35384 do :
35385 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35386 if test "x$ac_cv_func_sincos" = x""yes; then :
35387 cat >>confdefs.h <<_ACEOF
35388 #define HAVE_SINCOS 1
35389 _ACEOF
35392 done
35394 else
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35397 $as_echo_n "checking for _sincos declaration... " >&6; }
35398 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35399 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35400 $as_echo_n "(cached) " >&6
35401 else
35404 ac_ext=cpp
35405 ac_cpp='$CXXCPP $CPPFLAGS'
35406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35411 /* end confdefs.h. */
35412 #include <math.h>
35414 main ()
35416 _sincos(0, 0, 0);
35418 return 0;
35420 _ACEOF
35421 if ac_fn_cxx_try_compile "$LINENO"; then :
35422 glibcxx_cv_func__sincos_use=yes
35423 else
35424 glibcxx_cv_func__sincos_use=no
35426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35427 ac_ext=c
35428 ac_cpp='$CPP $CPPFLAGS'
35429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35438 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35440 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35441 for ac_func in _sincos
35442 do :
35443 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35444 if test "x$ac_cv_func__sincos" = x""yes; then :
35445 cat >>confdefs.h <<_ACEOF
35446 #define HAVE__SINCOS 1
35447 _ACEOF
35450 done
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35460 $as_echo_n "checking for fpclass declaration... " >&6; }
35461 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35462 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35463 $as_echo_n "(cached) " >&6
35464 else
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h. */
35475 #include <math.h>
35476 #ifdef HAVE_IEEEFP_H
35477 #include <ieeefp.h>
35478 #endif
35481 main ()
35483 fpclass(0);
35485 return 0;
35487 _ACEOF
35488 if ac_fn_cxx_try_compile "$LINENO"; then :
35489 glibcxx_cv_func_fpclass_use=yes
35490 else
35491 glibcxx_cv_func_fpclass_use=no
35493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494 ac_ext=c
35495 ac_cpp='$CPP $CPPFLAGS'
35496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35505 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35507 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35508 for ac_func in fpclass
35509 do :
35510 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35511 if test "x$ac_cv_func_fpclass" = x""yes; then :
35512 cat >>confdefs.h <<_ACEOF
35513 #define HAVE_FPCLASS 1
35514 _ACEOF
35517 done
35519 else
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35522 $as_echo_n "checking for _fpclass declaration... " >&6; }
35523 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35524 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35525 $as_echo_n "(cached) " >&6
35526 else
35529 ac_ext=cpp
35530 ac_cpp='$CXXCPP $CPPFLAGS'
35531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35536 /* end confdefs.h. */
35537 #include <math.h>
35538 #ifdef HAVE_IEEEFP_H
35539 #include <ieeefp.h>
35540 #endif
35543 main ()
35545 _fpclass(0);
35547 return 0;
35549 _ACEOF
35550 if ac_fn_cxx_try_compile "$LINENO"; then :
35551 glibcxx_cv_func__fpclass_use=yes
35552 else
35553 glibcxx_cv_func__fpclass_use=no
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 ac_ext=c
35557 ac_cpp='$CPP $CPPFLAGS'
35558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35567 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35569 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35570 for ac_func in _fpclass
35571 do :
35572 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35573 if test "x$ac_cv_func__fpclass" = x""yes; then :
35574 cat >>confdefs.h <<_ACEOF
35575 #define HAVE__FPCLASS 1
35576 _ACEOF
35579 done
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35589 $as_echo_n "checking for qfpclass declaration... " >&6; }
35590 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35591 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35605 #ifdef HAVE_IEEEFP_H
35606 #include <ieeefp.h>
35607 #endif
35610 main ()
35612 qfpclass(0);
35614 return 0;
35616 _ACEOF
35617 if ac_fn_cxx_try_compile "$LINENO"; then :
35618 glibcxx_cv_func_qfpclass_use=yes
35619 else
35620 glibcxx_cv_func_qfpclass_use=no
35622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35623 ac_ext=c
35624 ac_cpp='$CPP $CPPFLAGS'
35625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35634 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35636 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35637 for ac_func in qfpclass
35638 do :
35639 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35640 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35641 cat >>confdefs.h <<_ACEOF
35642 #define HAVE_QFPCLASS 1
35643 _ACEOF
35646 done
35648 else
35650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35651 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35652 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35653 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35654 $as_echo_n "(cached) " >&6
35655 else
35658 ac_ext=cpp
35659 ac_cpp='$CXXCPP $CPPFLAGS'
35660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35665 /* end confdefs.h. */
35666 #include <math.h>
35667 #ifdef HAVE_IEEEFP_H
35668 #include <ieeefp.h>
35669 #endif
35672 main ()
35674 _qfpclass(0);
35676 return 0;
35678 _ACEOF
35679 if ac_fn_cxx_try_compile "$LINENO"; then :
35680 glibcxx_cv_func__qfpclass_use=yes
35681 else
35682 glibcxx_cv_func__qfpclass_use=no
35684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35685 ac_ext=c
35686 ac_cpp='$CPP $CPPFLAGS'
35687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35696 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35698 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35699 for ac_func in _qfpclass
35700 do :
35701 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35702 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35703 cat >>confdefs.h <<_ACEOF
35704 #define HAVE__QFPCLASS 1
35705 _ACEOF
35708 done
35717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35718 $as_echo_n "checking for hypot declaration... " >&6; }
35719 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35720 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35721 $as_echo_n "(cached) " >&6
35722 else
35725 ac_ext=cpp
35726 ac_cpp='$CXXCPP $CPPFLAGS'
35727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35732 /* end confdefs.h. */
35733 #include <math.h>
35735 main ()
35737 hypot(0, 0);
35739 return 0;
35741 _ACEOF
35742 if ac_fn_cxx_try_compile "$LINENO"; then :
35743 glibcxx_cv_func_hypot_use=yes
35744 else
35745 glibcxx_cv_func_hypot_use=no
35747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35748 ac_ext=c
35749 ac_cpp='$CPP $CPPFLAGS'
35750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35759 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35761 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35762 for ac_func in hypot
35763 do :
35764 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35765 if test "x$ac_cv_func_hypot" = x""yes; then :
35766 cat >>confdefs.h <<_ACEOF
35767 #define HAVE_HYPOT 1
35768 _ACEOF
35771 done
35773 else
35775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35776 $as_echo_n "checking for _hypot declaration... " >&6; }
35777 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35778 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35779 $as_echo_n "(cached) " >&6
35780 else
35783 ac_ext=cpp
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35790 /* end confdefs.h. */
35791 #include <math.h>
35793 main ()
35795 _hypot(0, 0);
35797 return 0;
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801 glibcxx_cv_func__hypot_use=yes
35802 else
35803 glibcxx_cv_func__hypot_use=no
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35817 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35819 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35820 for ac_func in _hypot
35821 do :
35822 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35823 if test "x$ac_cv_func__hypot" = x""yes; then :
35824 cat >>confdefs.h <<_ACEOF
35825 #define HAVE__HYPOT 1
35826 _ACEOF
35829 done
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35839 $as_echo_n "checking for float trig functions... " >&6; }
35840 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35841 $as_echo_n "(cached) " >&6
35842 else
35845 ac_ext=cpp
35846 ac_cpp='$CXXCPP $CPPFLAGS'
35847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35852 /* end confdefs.h. */
35853 #include <math.h>
35855 main ()
35857 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35859 return 0;
35861 _ACEOF
35862 if ac_fn_cxx_try_compile "$LINENO"; then :
35863 glibcxx_cv_func_float_trig_use=yes
35864 else
35865 glibcxx_cv_func_float_trig_use=no
35867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35868 ac_ext=c
35869 ac_cpp='$CPP $CPPFLAGS'
35870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35877 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35878 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35879 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35880 do :
35881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35883 eval as_val=\$$as_ac_var
35884 if test "x$as_val" = x""yes; then :
35885 cat >>confdefs.h <<_ACEOF
35886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35887 _ACEOF
35890 done
35892 else
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35894 $as_echo_n "checking for _float trig functions... " >&6; }
35895 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35896 $as_echo_n "(cached) " >&6
35897 else
35900 ac_ext=cpp
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35907 /* end confdefs.h. */
35908 #include <math.h>
35910 main ()
35912 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35914 return 0;
35916 _ACEOF
35917 if ac_fn_cxx_try_compile "$LINENO"; then :
35918 glibcxx_cv_func__float_trig_use=yes
35919 else
35920 glibcxx_cv_func__float_trig_use=no
35922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35923 ac_ext=c
35924 ac_cpp='$CPP $CPPFLAGS'
35925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35932 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35933 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35934 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35935 do :
35936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35938 eval as_val=\$$as_ac_var
35939 if test "x$as_val" = x""yes; then :
35940 cat >>confdefs.h <<_ACEOF
35941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35942 _ACEOF
35945 done
35954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35955 $as_echo_n "checking for float round functions... " >&6; }
35956 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35957 $as_echo_n "(cached) " >&6
35958 else
35961 ac_ext=cpp
35962 ac_cpp='$CXXCPP $CPPFLAGS'
35963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35968 /* end confdefs.h. */
35969 #include <math.h>
35971 main ()
35973 ceilf (0); floorf (0);
35975 return 0;
35977 _ACEOF
35978 if ac_fn_cxx_try_compile "$LINENO"; then :
35979 glibcxx_cv_func_float_round_use=yes
35980 else
35981 glibcxx_cv_func_float_round_use=no
35983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35984 ac_ext=c
35985 ac_cpp='$CPP $CPPFLAGS'
35986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35993 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35994 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35995 for ac_func in ceilf floorf
35996 do :
35997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35999 eval as_val=\$$as_ac_var
36000 if test "x$as_val" = x""yes; then :
36001 cat >>confdefs.h <<_ACEOF
36002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36003 _ACEOF
36006 done
36008 else
36009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36010 $as_echo_n "checking for _float round functions... " >&6; }
36011 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36012 $as_echo_n "(cached) " >&6
36013 else
36016 ac_ext=cpp
36017 ac_cpp='$CXXCPP $CPPFLAGS'
36018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36023 /* end confdefs.h. */
36024 #include <math.h>
36026 main ()
36028 _ceilf (0); _floorf (0);
36030 return 0;
36032 _ACEOF
36033 if ac_fn_cxx_try_compile "$LINENO"; then :
36034 glibcxx_cv_func__float_round_use=yes
36035 else
36036 glibcxx_cv_func__float_round_use=no
36038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36039 ac_ext=c
36040 ac_cpp='$CPP $CPPFLAGS'
36041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36048 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36049 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36050 for ac_func in _ceilf _floorf
36051 do :
36052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36054 eval as_val=\$$as_ac_var
36055 if test "x$as_val" = x""yes; then :
36056 cat >>confdefs.h <<_ACEOF
36057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36058 _ACEOF
36061 done
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36072 $as_echo_n "checking for expf declaration... " >&6; }
36073 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36074 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36075 $as_echo_n "(cached) " >&6
36076 else
36079 ac_ext=cpp
36080 ac_cpp='$CXXCPP $CPPFLAGS'
36081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36086 /* end confdefs.h. */
36087 #include <math.h>
36088 #ifdef HAVE_IEEEFP_H
36089 #include <ieeefp.h>
36090 #endif
36093 main ()
36095 expf(0);
36097 return 0;
36099 _ACEOF
36100 if ac_fn_cxx_try_compile "$LINENO"; then :
36101 glibcxx_cv_func_expf_use=yes
36102 else
36103 glibcxx_cv_func_expf_use=no
36105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36106 ac_ext=c
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36117 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36119 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36120 for ac_func in expf
36121 do :
36122 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36123 if test "x$ac_cv_func_expf" = x""yes; then :
36124 cat >>confdefs.h <<_ACEOF
36125 #define HAVE_EXPF 1
36126 _ACEOF
36129 done
36131 else
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36134 $as_echo_n "checking for _expf declaration... " >&6; }
36135 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36136 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36137 $as_echo_n "(cached) " >&6
36138 else
36141 ac_ext=cpp
36142 ac_cpp='$CXXCPP $CPPFLAGS'
36143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36148 /* end confdefs.h. */
36149 #include <math.h>
36150 #ifdef HAVE_IEEEFP_H
36151 #include <ieeefp.h>
36152 #endif
36155 main ()
36157 _expf(0);
36159 return 0;
36161 _ACEOF
36162 if ac_fn_cxx_try_compile "$LINENO"; then :
36163 glibcxx_cv_func__expf_use=yes
36164 else
36165 glibcxx_cv_func__expf_use=no
36167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36168 ac_ext=c
36169 ac_cpp='$CPP $CPPFLAGS'
36170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36179 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36181 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36182 for ac_func in _expf
36183 do :
36184 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36185 if test "x$ac_cv_func__expf" = x""yes; then :
36186 cat >>confdefs.h <<_ACEOF
36187 #define HAVE__EXPF 1
36188 _ACEOF
36191 done
36200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36201 $as_echo_n "checking for isnanf declaration... " >&6; }
36202 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36203 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36204 $as_echo_n "(cached) " >&6
36205 else
36208 ac_ext=cpp
36209 ac_cpp='$CXXCPP $CPPFLAGS'
36210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36215 /* end confdefs.h. */
36216 #include <math.h>
36217 #ifdef HAVE_IEEEFP_H
36218 #include <ieeefp.h>
36219 #endif
36222 main ()
36224 isnanf(0);
36226 return 0;
36228 _ACEOF
36229 if ac_fn_cxx_try_compile "$LINENO"; then :
36230 glibcxx_cv_func_isnanf_use=yes
36231 else
36232 glibcxx_cv_func_isnanf_use=no
36234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36235 ac_ext=c
36236 ac_cpp='$CPP $CPPFLAGS'
36237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36246 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36248 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36249 for ac_func in isnanf
36250 do :
36251 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36252 if test "x$ac_cv_func_isnanf" = x""yes; then :
36253 cat >>confdefs.h <<_ACEOF
36254 #define HAVE_ISNANF 1
36255 _ACEOF
36258 done
36260 else
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36263 $as_echo_n "checking for _isnanf declaration... " >&6; }
36264 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36265 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36266 $as_echo_n "(cached) " >&6
36267 else
36270 ac_ext=cpp
36271 ac_cpp='$CXXCPP $CPPFLAGS'
36272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36277 /* end confdefs.h. */
36278 #include <math.h>
36279 #ifdef HAVE_IEEEFP_H
36280 #include <ieeefp.h>
36281 #endif
36284 main ()
36286 _isnanf(0);
36288 return 0;
36290 _ACEOF
36291 if ac_fn_cxx_try_compile "$LINENO"; then :
36292 glibcxx_cv_func__isnanf_use=yes
36293 else
36294 glibcxx_cv_func__isnanf_use=no
36296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36297 ac_ext=c
36298 ac_cpp='$CPP $CPPFLAGS'
36299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36308 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36310 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36311 for ac_func in _isnanf
36312 do :
36313 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36314 if test "x$ac_cv_func__isnanf" = x""yes; then :
36315 cat >>confdefs.h <<_ACEOF
36316 #define HAVE__ISNANF 1
36317 _ACEOF
36320 done
36329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36330 $as_echo_n "checking for isinff declaration... " >&6; }
36331 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36332 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36333 $as_echo_n "(cached) " >&6
36334 else
36337 ac_ext=cpp
36338 ac_cpp='$CXXCPP $CPPFLAGS'
36339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36344 /* end confdefs.h. */
36345 #include <math.h>
36346 #ifdef HAVE_IEEEFP_H
36347 #include <ieeefp.h>
36348 #endif
36351 main ()
36353 isinff(0);
36355 return 0;
36357 _ACEOF
36358 if ac_fn_cxx_try_compile "$LINENO"; then :
36359 glibcxx_cv_func_isinff_use=yes
36360 else
36361 glibcxx_cv_func_isinff_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_isinff_use" >&5
36375 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36377 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36378 for ac_func in isinff
36379 do :
36380 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36381 if test "x$ac_cv_func_isinff" = x""yes; then :
36382 cat >>confdefs.h <<_ACEOF
36383 #define HAVE_ISINFF 1
36384 _ACEOF
36387 done
36389 else
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36392 $as_echo_n "checking for _isinff declaration... " >&6; }
36393 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36394 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36395 $as_echo_n "(cached) " >&6
36396 else
36399 ac_ext=cpp
36400 ac_cpp='$CXXCPP $CPPFLAGS'
36401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36406 /* end confdefs.h. */
36407 #include <math.h>
36408 #ifdef HAVE_IEEEFP_H
36409 #include <ieeefp.h>
36410 #endif
36413 main ()
36415 _isinff(0);
36417 return 0;
36419 _ACEOF
36420 if ac_fn_cxx_try_compile "$LINENO"; then :
36421 glibcxx_cv_func__isinff_use=yes
36422 else
36423 glibcxx_cv_func__isinff_use=no
36425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36426 ac_ext=c
36427 ac_cpp='$CPP $CPPFLAGS'
36428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36437 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36439 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36440 for ac_func in _isinff
36441 do :
36442 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36443 if test "x$ac_cv_func__isinff" = x""yes; then :
36444 cat >>confdefs.h <<_ACEOF
36445 #define HAVE__ISINFF 1
36446 _ACEOF
36449 done
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36459 $as_echo_n "checking for atan2f declaration... " >&6; }
36460 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36461 if test "${glibcxx_cv_func_atan2f_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>
36476 main ()
36478 atan2f(0, 0);
36480 return 0;
36482 _ACEOF
36483 if ac_fn_cxx_try_compile "$LINENO"; then :
36484 glibcxx_cv_func_atan2f_use=yes
36485 else
36486 glibcxx_cv_func_atan2f_use=no
36488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36489 ac_ext=c
36490 ac_cpp='$CPP $CPPFLAGS'
36491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36500 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36502 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36503 for ac_func in atan2f
36504 do :
36505 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36506 if test "x$ac_cv_func_atan2f" = x""yes; then :
36507 cat >>confdefs.h <<_ACEOF
36508 #define HAVE_ATAN2F 1
36509 _ACEOF
36512 done
36514 else
36516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36517 $as_echo_n "checking for _atan2f declaration... " >&6; }
36518 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36519 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36520 $as_echo_n "(cached) " >&6
36521 else
36524 ac_ext=cpp
36525 ac_cpp='$CXXCPP $CPPFLAGS'
36526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36531 /* end confdefs.h. */
36532 #include <math.h>
36534 main ()
36536 _atan2f(0, 0);
36538 return 0;
36540 _ACEOF
36541 if ac_fn_cxx_try_compile "$LINENO"; then :
36542 glibcxx_cv_func__atan2f_use=yes
36543 else
36544 glibcxx_cv_func__atan2f_use=no
36546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36547 ac_ext=c
36548 ac_cpp='$CPP $CPPFLAGS'
36549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36558 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36560 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36561 for ac_func in _atan2f
36562 do :
36563 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36564 if test "x$ac_cv_func__atan2f" = x""yes; then :
36565 cat >>confdefs.h <<_ACEOF
36566 #define HAVE__ATAN2F 1
36567 _ACEOF
36570 done
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36580 $as_echo_n "checking for fabsf declaration... " >&6; }
36581 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36582 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36583 $as_echo_n "(cached) " >&6
36584 else
36587 ac_ext=cpp
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36594 /* end confdefs.h. */
36595 #include <math.h>
36596 #ifdef HAVE_IEEEFP_H
36597 #include <ieeefp.h>
36598 #endif
36601 main ()
36603 fabsf(0);
36605 return 0;
36607 _ACEOF
36608 if ac_fn_cxx_try_compile "$LINENO"; then :
36609 glibcxx_cv_func_fabsf_use=yes
36610 else
36611 glibcxx_cv_func_fabsf_use=no
36613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36614 ac_ext=c
36615 ac_cpp='$CPP $CPPFLAGS'
36616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36625 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36627 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36628 for ac_func in fabsf
36629 do :
36630 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36631 if test "x$ac_cv_func_fabsf" = x""yes; then :
36632 cat >>confdefs.h <<_ACEOF
36633 #define HAVE_FABSF 1
36634 _ACEOF
36637 done
36639 else
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36642 $as_echo_n "checking for _fabsf declaration... " >&6; }
36643 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36644 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36645 $as_echo_n "(cached) " >&6
36646 else
36649 ac_ext=cpp
36650 ac_cpp='$CXXCPP $CPPFLAGS'
36651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36656 /* end confdefs.h. */
36657 #include <math.h>
36658 #ifdef HAVE_IEEEFP_H
36659 #include <ieeefp.h>
36660 #endif
36663 main ()
36665 _fabsf(0);
36667 return 0;
36669 _ACEOF
36670 if ac_fn_cxx_try_compile "$LINENO"; then :
36671 glibcxx_cv_func__fabsf_use=yes
36672 else
36673 glibcxx_cv_func__fabsf_use=no
36675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36676 ac_ext=c
36677 ac_cpp='$CPP $CPPFLAGS'
36678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36687 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36689 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36690 for ac_func in _fabsf
36691 do :
36692 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36693 if test "x$ac_cv_func__fabsf" = x""yes; then :
36694 cat >>confdefs.h <<_ACEOF
36695 #define HAVE__FABSF 1
36696 _ACEOF
36699 done
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36709 $as_echo_n "checking for fmodf declaration... " >&6; }
36710 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36711 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36712 $as_echo_n "(cached) " >&6
36713 else
36716 ac_ext=cpp
36717 ac_cpp='$CXXCPP $CPPFLAGS'
36718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36723 /* end confdefs.h. */
36724 #include <math.h>
36726 main ()
36728 fmodf(0, 0);
36730 return 0;
36732 _ACEOF
36733 if ac_fn_cxx_try_compile "$LINENO"; then :
36734 glibcxx_cv_func_fmodf_use=yes
36735 else
36736 glibcxx_cv_func_fmodf_use=no
36738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36739 ac_ext=c
36740 ac_cpp='$CPP $CPPFLAGS'
36741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36750 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36752 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36753 for ac_func in fmodf
36754 do :
36755 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36756 if test "x$ac_cv_func_fmodf" = x""yes; then :
36757 cat >>confdefs.h <<_ACEOF
36758 #define HAVE_FMODF 1
36759 _ACEOF
36762 done
36764 else
36766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36767 $as_echo_n "checking for _fmodf declaration... " >&6; }
36768 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36769 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36770 $as_echo_n "(cached) " >&6
36771 else
36774 ac_ext=cpp
36775 ac_cpp='$CXXCPP $CPPFLAGS'
36776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36781 /* end confdefs.h. */
36782 #include <math.h>
36784 main ()
36786 _fmodf(0, 0);
36788 return 0;
36790 _ACEOF
36791 if ac_fn_cxx_try_compile "$LINENO"; then :
36792 glibcxx_cv_func__fmodf_use=yes
36793 else
36794 glibcxx_cv_func__fmodf_use=no
36796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36797 ac_ext=c
36798 ac_cpp='$CPP $CPPFLAGS'
36799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36808 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36810 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36811 for ac_func in _fmodf
36812 do :
36813 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36814 if test "x$ac_cv_func__fmodf" = x""yes; then :
36815 cat >>confdefs.h <<_ACEOF
36816 #define HAVE__FMODF 1
36817 _ACEOF
36820 done
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36830 $as_echo_n "checking for frexpf declaration... " >&6; }
36831 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36832 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36833 $as_echo_n "(cached) " >&6
36834 else
36837 ac_ext=cpp
36838 ac_cpp='$CXXCPP $CPPFLAGS'
36839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36844 /* end confdefs.h. */
36845 #include <math.h>
36847 main ()
36849 frexpf(0, 0);
36851 return 0;
36853 _ACEOF
36854 if ac_fn_cxx_try_compile "$LINENO"; then :
36855 glibcxx_cv_func_frexpf_use=yes
36856 else
36857 glibcxx_cv_func_frexpf_use=no
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860 ac_ext=c
36861 ac_cpp='$CPP $CPPFLAGS'
36862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36871 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36873 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36874 for ac_func in frexpf
36875 do :
36876 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36877 if test "x$ac_cv_func_frexpf" = x""yes; then :
36878 cat >>confdefs.h <<_ACEOF
36879 #define HAVE_FREXPF 1
36880 _ACEOF
36883 done
36885 else
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36888 $as_echo_n "checking for _frexpf declaration... " >&6; }
36889 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36890 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36891 $as_echo_n "(cached) " >&6
36892 else
36895 ac_ext=cpp
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36902 /* end confdefs.h. */
36903 #include <math.h>
36905 main ()
36907 _frexpf(0, 0);
36909 return 0;
36911 _ACEOF
36912 if ac_fn_cxx_try_compile "$LINENO"; then :
36913 glibcxx_cv_func__frexpf_use=yes
36914 else
36915 glibcxx_cv_func__frexpf_use=no
36917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36918 ac_ext=c
36919 ac_cpp='$CPP $CPPFLAGS'
36920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36929 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36931 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36932 for ac_func in _frexpf
36933 do :
36934 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36935 if test "x$ac_cv_func__frexpf" = x""yes; then :
36936 cat >>confdefs.h <<_ACEOF
36937 #define HAVE__FREXPF 1
36938 _ACEOF
36941 done
36950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36951 $as_echo_n "checking for hypotf declaration... " >&6; }
36952 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36953 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36954 $as_echo_n "(cached) " >&6
36955 else
36958 ac_ext=cpp
36959 ac_cpp='$CXXCPP $CPPFLAGS'
36960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36965 /* end confdefs.h. */
36966 #include <math.h>
36968 main ()
36970 hypotf(0, 0);
36972 return 0;
36974 _ACEOF
36975 if ac_fn_cxx_try_compile "$LINENO"; then :
36976 glibcxx_cv_func_hypotf_use=yes
36977 else
36978 glibcxx_cv_func_hypotf_use=no
36980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36981 ac_ext=c
36982 ac_cpp='$CPP $CPPFLAGS'
36983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36992 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36994 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36995 for ac_func in hypotf
36996 do :
36997 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36998 if test "x$ac_cv_func_hypotf" = x""yes; then :
36999 cat >>confdefs.h <<_ACEOF
37000 #define HAVE_HYPOTF 1
37001 _ACEOF
37004 done
37006 else
37008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37009 $as_echo_n "checking for _hypotf declaration... " >&6; }
37010 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37011 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37012 $as_echo_n "(cached) " >&6
37013 else
37016 ac_ext=cpp
37017 ac_cpp='$CXXCPP $CPPFLAGS'
37018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37023 /* end confdefs.h. */
37024 #include <math.h>
37026 main ()
37028 _hypotf(0, 0);
37030 return 0;
37032 _ACEOF
37033 if ac_fn_cxx_try_compile "$LINENO"; then :
37034 glibcxx_cv_func__hypotf_use=yes
37035 else
37036 glibcxx_cv_func__hypotf_use=no
37038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37039 ac_ext=c
37040 ac_cpp='$CPP $CPPFLAGS'
37041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37050 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37052 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37053 for ac_func in _hypotf
37054 do :
37055 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37056 if test "x$ac_cv_func__hypotf" = x""yes; then :
37057 cat >>confdefs.h <<_ACEOF
37058 #define HAVE__HYPOTF 1
37059 _ACEOF
37062 done
37071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37072 $as_echo_n "checking for ldexpf declaration... " >&6; }
37073 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37074 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37075 $as_echo_n "(cached) " >&6
37076 else
37079 ac_ext=cpp
37080 ac_cpp='$CXXCPP $CPPFLAGS'
37081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37086 /* end confdefs.h. */
37087 #include <math.h>
37089 main ()
37091 ldexpf(0, 0);
37093 return 0;
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097 glibcxx_cv_func_ldexpf_use=yes
37098 else
37099 glibcxx_cv_func_ldexpf_use=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37113 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37115 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37116 for ac_func in ldexpf
37117 do :
37118 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37119 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37120 cat >>confdefs.h <<_ACEOF
37121 #define HAVE_LDEXPF 1
37122 _ACEOF
37125 done
37127 else
37129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37130 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37131 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37132 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37133 $as_echo_n "(cached) " >&6
37134 else
37137 ac_ext=cpp
37138 ac_cpp='$CXXCPP $CPPFLAGS'
37139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37144 /* end confdefs.h. */
37145 #include <math.h>
37147 main ()
37149 _ldexpf(0, 0);
37151 return 0;
37153 _ACEOF
37154 if ac_fn_cxx_try_compile "$LINENO"; then :
37155 glibcxx_cv_func__ldexpf_use=yes
37156 else
37157 glibcxx_cv_func__ldexpf_use=no
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37160 ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37171 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37173 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37174 for ac_func in _ldexpf
37175 do :
37176 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37177 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37178 cat >>confdefs.h <<_ACEOF
37179 #define HAVE__LDEXPF 1
37180 _ACEOF
37183 done
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37193 $as_echo_n "checking for logf declaration... " >&6; }
37194 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37195 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37196 $as_echo_n "(cached) " >&6
37197 else
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <math.h>
37209 #ifdef HAVE_IEEEFP_H
37210 #include <ieeefp.h>
37211 #endif
37214 main ()
37216 logf(0);
37218 return 0;
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222 glibcxx_cv_func_logf_use=yes
37223 else
37224 glibcxx_cv_func_logf_use=no
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227 ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37238 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37240 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37241 for ac_func in logf
37242 do :
37243 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37244 if test "x$ac_cv_func_logf" = x""yes; then :
37245 cat >>confdefs.h <<_ACEOF
37246 #define HAVE_LOGF 1
37247 _ACEOF
37250 done
37252 else
37254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37255 $as_echo_n "checking for _logf declaration... " >&6; }
37256 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37257 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37258 $as_echo_n "(cached) " >&6
37259 else
37262 ac_ext=cpp
37263 ac_cpp='$CXXCPP $CPPFLAGS'
37264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37269 /* end confdefs.h. */
37270 #include <math.h>
37271 #ifdef HAVE_IEEEFP_H
37272 #include <ieeefp.h>
37273 #endif
37276 main ()
37278 _logf(0);
37280 return 0;
37282 _ACEOF
37283 if ac_fn_cxx_try_compile "$LINENO"; then :
37284 glibcxx_cv_func__logf_use=yes
37285 else
37286 glibcxx_cv_func__logf_use=no
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37300 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37302 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37303 for ac_func in _logf
37304 do :
37305 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37306 if test "x$ac_cv_func__logf" = x""yes; then :
37307 cat >>confdefs.h <<_ACEOF
37308 #define HAVE__LOGF 1
37309 _ACEOF
37312 done
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37322 $as_echo_n "checking for log10f declaration... " >&6; }
37323 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37324 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37325 $as_echo_n "(cached) " >&6
37326 else
37329 ac_ext=cpp
37330 ac_cpp='$CXXCPP $CPPFLAGS'
37331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336 /* end confdefs.h. */
37337 #include <math.h>
37338 #ifdef HAVE_IEEEFP_H
37339 #include <ieeefp.h>
37340 #endif
37343 main ()
37345 log10f(0);
37347 return 0;
37349 _ACEOF
37350 if ac_fn_cxx_try_compile "$LINENO"; then :
37351 glibcxx_cv_func_log10f_use=yes
37352 else
37353 glibcxx_cv_func_log10f_use=no
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356 ac_ext=c
37357 ac_cpp='$CPP $CPPFLAGS'
37358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37367 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37369 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37370 for ac_func in log10f
37371 do :
37372 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37373 if test "x$ac_cv_func_log10f" = x""yes; then :
37374 cat >>confdefs.h <<_ACEOF
37375 #define HAVE_LOG10F 1
37376 _ACEOF
37379 done
37381 else
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37384 $as_echo_n "checking for _log10f declaration... " >&6; }
37385 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37386 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37387 $as_echo_n "(cached) " >&6
37388 else
37391 ac_ext=cpp
37392 ac_cpp='$CXXCPP $CPPFLAGS'
37393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37398 /* end confdefs.h. */
37399 #include <math.h>
37400 #ifdef HAVE_IEEEFP_H
37401 #include <ieeefp.h>
37402 #endif
37405 main ()
37407 _log10f(0);
37409 return 0;
37411 _ACEOF
37412 if ac_fn_cxx_try_compile "$LINENO"; then :
37413 glibcxx_cv_func__log10f_use=yes
37414 else
37415 glibcxx_cv_func__log10f_use=no
37417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37418 ac_ext=c
37419 ac_cpp='$CPP $CPPFLAGS'
37420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37429 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37431 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37432 for ac_func in _log10f
37433 do :
37434 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37435 if test "x$ac_cv_func__log10f" = x""yes; then :
37436 cat >>confdefs.h <<_ACEOF
37437 #define HAVE__LOG10F 1
37438 _ACEOF
37441 done
37450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37451 $as_echo_n "checking for modff declaration... " >&6; }
37452 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37453 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
37472 return 0;
37474 _ACEOF
37475 if ac_fn_cxx_try_compile "$LINENO"; then :
37476 glibcxx_cv_func_modff_use=yes
37477 else
37478 glibcxx_cv_func_modff_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
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37492 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37494 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37495 for ac_func in modff
37496 do :
37497 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37498 if test "x$ac_cv_func_modff" = x""yes; then :
37499 cat >>confdefs.h <<_ACEOF
37500 #define HAVE_MODFF 1
37501 _ACEOF
37504 done
37506 else
37508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37509 $as_echo_n "checking for _modff declaration... " >&6; }
37510 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37511 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37512 $as_echo_n "(cached) " >&6
37513 else
37516 ac_ext=cpp
37517 ac_cpp='$CXXCPP $CPPFLAGS'
37518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37523 /* end confdefs.h. */
37524 #include <math.h>
37526 main ()
37528 _modff(0, 0);
37530 return 0;
37532 _ACEOF
37533 if ac_fn_cxx_try_compile "$LINENO"; then :
37534 glibcxx_cv_func__modff_use=yes
37535 else
37536 glibcxx_cv_func__modff_use=no
37538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37539 ac_ext=c
37540 ac_cpp='$CPP $CPPFLAGS'
37541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37550 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37552 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37553 for ac_func in _modff
37554 do :
37555 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37556 if test "x$ac_cv_func__modff" = x""yes; then :
37557 cat >>confdefs.h <<_ACEOF
37558 #define HAVE__MODFF 1
37559 _ACEOF
37562 done
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37572 $as_echo_n "checking for modf declaration... " >&6; }
37573 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37574 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37575 $as_echo_n "(cached) " >&6
37576 else
37579 ac_ext=cpp
37580 ac_cpp='$CXXCPP $CPPFLAGS'
37581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 /* end confdefs.h. */
37587 #include <math.h>
37589 main ()
37591 modf(0, 0);
37593 return 0;
37595 _ACEOF
37596 if ac_fn_cxx_try_compile "$LINENO"; then :
37597 glibcxx_cv_func_modf_use=yes
37598 else
37599 glibcxx_cv_func_modf_use=no
37601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37602 ac_ext=c
37603 ac_cpp='$CPP $CPPFLAGS'
37604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37613 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37615 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37616 for ac_func in modf
37617 do :
37618 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37619 if test "x$ac_cv_func_modf" = x""yes; then :
37620 cat >>confdefs.h <<_ACEOF
37621 #define HAVE_MODF 1
37622 _ACEOF
37625 done
37627 else
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37630 $as_echo_n "checking for _modf declaration... " >&6; }
37631 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37632 if test "${glibcxx_cv_func__modf_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>
37647 main ()
37649 _modf(0, 0);
37651 return 0;
37653 _ACEOF
37654 if ac_fn_cxx_try_compile "$LINENO"; then :
37655 glibcxx_cv_func__modf_use=yes
37656 else
37657 glibcxx_cv_func__modf_use=no
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660 ac_ext=c
37661 ac_cpp='$CPP $CPPFLAGS'
37662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37671 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37673 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37674 for ac_func in _modf
37675 do :
37676 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37677 if test "x$ac_cv_func__modf" = x""yes; then :
37678 cat >>confdefs.h <<_ACEOF
37679 #define HAVE__MODF 1
37680 _ACEOF
37683 done
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37693 $as_echo_n "checking for powf declaration... " >&6; }
37694 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37695 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37696 $as_echo_n "(cached) " >&6
37697 else
37700 ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h. */
37708 #include <math.h>
37710 main ()
37712 powf(0, 0);
37714 return 0;
37716 _ACEOF
37717 if ac_fn_cxx_try_compile "$LINENO"; then :
37718 glibcxx_cv_func_powf_use=yes
37719 else
37720 glibcxx_cv_func_powf_use=no
37722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37723 ac_ext=c
37724 ac_cpp='$CPP $CPPFLAGS'
37725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37734 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37736 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37737 for ac_func in powf
37738 do :
37739 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37740 if test "x$ac_cv_func_powf" = x""yes; then :
37741 cat >>confdefs.h <<_ACEOF
37742 #define HAVE_POWF 1
37743 _ACEOF
37746 done
37748 else
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37751 $as_echo_n "checking for _powf declaration... " >&6; }
37752 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37753 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37754 $as_echo_n "(cached) " >&6
37755 else
37758 ac_ext=cpp
37759 ac_cpp='$CXXCPP $CPPFLAGS'
37760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37765 /* end confdefs.h. */
37766 #include <math.h>
37768 main ()
37770 _powf(0, 0);
37772 return 0;
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776 glibcxx_cv_func__powf_use=yes
37777 else
37778 glibcxx_cv_func__powf_use=no
37780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781 ac_ext=c
37782 ac_cpp='$CPP $CPPFLAGS'
37783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37792 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37794 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37795 for ac_func in _powf
37796 do :
37797 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37798 if test "x$ac_cv_func__powf" = x""yes; then :
37799 cat >>confdefs.h <<_ACEOF
37800 #define HAVE__POWF 1
37801 _ACEOF
37804 done
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37814 $as_echo_n "checking for sqrtf declaration... " >&6; }
37815 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37816 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37817 $as_echo_n "(cached) " >&6
37818 else
37821 ac_ext=cpp
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828 /* end confdefs.h. */
37829 #include <math.h>
37830 #ifdef HAVE_IEEEFP_H
37831 #include <ieeefp.h>
37832 #endif
37835 main ()
37837 sqrtf(0);
37839 return 0;
37841 _ACEOF
37842 if ac_fn_cxx_try_compile "$LINENO"; then :
37843 glibcxx_cv_func_sqrtf_use=yes
37844 else
37845 glibcxx_cv_func_sqrtf_use=no
37847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37848 ac_ext=c
37849 ac_cpp='$CPP $CPPFLAGS'
37850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37859 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37861 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37862 for ac_func in sqrtf
37863 do :
37864 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37865 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37866 cat >>confdefs.h <<_ACEOF
37867 #define HAVE_SQRTF 1
37868 _ACEOF
37871 done
37873 else
37875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37876 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37877 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37878 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37879 $as_echo_n "(cached) " >&6
37880 else
37883 ac_ext=cpp
37884 ac_cpp='$CXXCPP $CPPFLAGS'
37885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37890 /* end confdefs.h. */
37891 #include <math.h>
37892 #ifdef HAVE_IEEEFP_H
37893 #include <ieeefp.h>
37894 #endif
37897 main ()
37899 _sqrtf(0);
37901 return 0;
37903 _ACEOF
37904 if ac_fn_cxx_try_compile "$LINENO"; then :
37905 glibcxx_cv_func__sqrtf_use=yes
37906 else
37907 glibcxx_cv_func__sqrtf_use=no
37909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37910 ac_ext=c
37911 ac_cpp='$CPP $CPPFLAGS'
37912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37921 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37923 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37924 for ac_func in _sqrtf
37925 do :
37926 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37927 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37928 cat >>confdefs.h <<_ACEOF
37929 #define HAVE__SQRTF 1
37930 _ACEOF
37933 done
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37943 $as_echo_n "checking for sincosf declaration... " >&6; }
37944 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37945 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37946 $as_echo_n "(cached) " >&6
37947 else
37950 ac_ext=cpp
37951 ac_cpp='$CXXCPP $CPPFLAGS'
37952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37957 /* end confdefs.h. */
37958 #include <math.h>
37960 main ()
37962 sincosf(0, 0, 0);
37964 return 0;
37966 _ACEOF
37967 if ac_fn_cxx_try_compile "$LINENO"; then :
37968 glibcxx_cv_func_sincosf_use=yes
37969 else
37970 glibcxx_cv_func_sincosf_use=no
37972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973 ac_ext=c
37974 ac_cpp='$CPP $CPPFLAGS'
37975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37984 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37986 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37987 for ac_func in sincosf
37988 do :
37989 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37990 if test "x$ac_cv_func_sincosf" = x""yes; then :
37991 cat >>confdefs.h <<_ACEOF
37992 #define HAVE_SINCOSF 1
37993 _ACEOF
37996 done
37998 else
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38001 $as_echo_n "checking for _sincosf declaration... " >&6; }
38002 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38003 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38004 $as_echo_n "(cached) " >&6
38005 else
38008 ac_ext=cpp
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015 /* end confdefs.h. */
38016 #include <math.h>
38018 main ()
38020 _sincosf(0, 0, 0);
38022 return 0;
38024 _ACEOF
38025 if ac_fn_cxx_try_compile "$LINENO"; then :
38026 glibcxx_cv_func__sincosf_use=yes
38027 else
38028 glibcxx_cv_func__sincosf_use=no
38030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031 ac_ext=c
38032 ac_cpp='$CPP $CPPFLAGS'
38033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38042 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38044 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38045 for ac_func in _sincosf
38046 do :
38047 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38048 if test "x$ac_cv_func__sincosf" = x""yes; then :
38049 cat >>confdefs.h <<_ACEOF
38050 #define HAVE__SINCOSF 1
38051 _ACEOF
38054 done
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38064 $as_echo_n "checking for finitef declaration... " >&6; }
38065 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38066 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38067 $as_echo_n "(cached) " >&6
38068 else
38071 ac_ext=cpp
38072 ac_cpp='$CXXCPP $CPPFLAGS'
38073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38078 /* end confdefs.h. */
38079 #include <math.h>
38080 #ifdef HAVE_IEEEFP_H
38081 #include <ieeefp.h>
38082 #endif
38085 main ()
38087 finitef(0);
38089 return 0;
38091 _ACEOF
38092 if ac_fn_cxx_try_compile "$LINENO"; then :
38093 glibcxx_cv_func_finitef_use=yes
38094 else
38095 glibcxx_cv_func_finitef_use=no
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098 ac_ext=c
38099 ac_cpp='$CPP $CPPFLAGS'
38100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38109 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38111 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38112 for ac_func in finitef
38113 do :
38114 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38115 if test "x$ac_cv_func_finitef" = x""yes; then :
38116 cat >>confdefs.h <<_ACEOF
38117 #define HAVE_FINITEF 1
38118 _ACEOF
38121 done
38123 else
38125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38126 $as_echo_n "checking for _finitef declaration... " >&6; }
38127 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38128 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38129 $as_echo_n "(cached) " >&6
38130 else
38133 ac_ext=cpp
38134 ac_cpp='$CXXCPP $CPPFLAGS'
38135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38140 /* end confdefs.h. */
38141 #include <math.h>
38142 #ifdef HAVE_IEEEFP_H
38143 #include <ieeefp.h>
38144 #endif
38147 main ()
38149 _finitef(0);
38151 return 0;
38153 _ACEOF
38154 if ac_fn_cxx_try_compile "$LINENO"; then :
38155 glibcxx_cv_func__finitef_use=yes
38156 else
38157 glibcxx_cv_func__finitef_use=no
38159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160 ac_ext=c
38161 ac_cpp='$CPP $CPPFLAGS'
38162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38171 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38173 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38174 for ac_func in _finitef
38175 do :
38176 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38177 if test "x$ac_cv_func__finitef" = x""yes; then :
38178 cat >>confdefs.h <<_ACEOF
38179 #define HAVE__FINITEF 1
38180 _ACEOF
38183 done
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38193 $as_echo_n "checking for long double trig functions... " >&6; }
38194 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38195 $as_echo_n "(cached) " >&6
38196 else
38199 ac_ext=cpp
38200 ac_cpp='$CXXCPP $CPPFLAGS'
38201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38206 /* end confdefs.h. */
38207 #include <math.h>
38209 main ()
38211 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38213 return 0;
38215 _ACEOF
38216 if ac_fn_cxx_try_compile "$LINENO"; then :
38217 glibcxx_cv_func_long_double_trig_use=yes
38218 else
38219 glibcxx_cv_func_long_double_trig_use=no
38221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38222 ac_ext=c
38223 ac_cpp='$CPP $CPPFLAGS'
38224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38231 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38232 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38233 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38234 do :
38235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38237 eval as_val=\$$as_ac_var
38238 if test "x$as_val" = x""yes; then :
38239 cat >>confdefs.h <<_ACEOF
38240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38241 _ACEOF
38244 done
38246 else
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38248 $as_echo_n "checking for _long double trig functions... " >&6; }
38249 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38250 $as_echo_n "(cached) " >&6
38251 else
38254 ac_ext=cpp
38255 ac_cpp='$CXXCPP $CPPFLAGS'
38256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38261 /* end confdefs.h. */
38262 #include <math.h>
38264 main ()
38266 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38268 return 0;
38270 _ACEOF
38271 if ac_fn_cxx_try_compile "$LINENO"; then :
38272 glibcxx_cv_func__long_double_trig_use=yes
38273 else
38274 glibcxx_cv_func__long_double_trig_use=no
38276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38277 ac_ext=c
38278 ac_cpp='$CPP $CPPFLAGS'
38279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38286 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38287 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38288 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38289 do :
38290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38292 eval as_val=\$$as_ac_var
38293 if test "x$as_val" = x""yes; then :
38294 cat >>confdefs.h <<_ACEOF
38295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38296 _ACEOF
38299 done
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38309 $as_echo_n "checking for long double round functions... " >&6; }
38310 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38311 $as_echo_n "(cached) " >&6
38312 else
38315 ac_ext=cpp
38316 ac_cpp='$CXXCPP $CPPFLAGS'
38317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38322 /* end confdefs.h. */
38323 #include <math.h>
38325 main ()
38327 ceill (0); floorl (0);
38329 return 0;
38331 _ACEOF
38332 if ac_fn_cxx_try_compile "$LINENO"; then :
38333 glibcxx_cv_func_long_double_round_use=yes
38334 else
38335 glibcxx_cv_func_long_double_round_use=no
38337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38338 ac_ext=c
38339 ac_cpp='$CPP $CPPFLAGS'
38340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38347 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38348 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38349 for ac_func in ceill floorl
38350 do :
38351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38352 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38353 eval as_val=\$$as_ac_var
38354 if test "x$as_val" = x""yes; then :
38355 cat >>confdefs.h <<_ACEOF
38356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38357 _ACEOF
38360 done
38362 else
38363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38364 $as_echo_n "checking for _long double round functions... " >&6; }
38365 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38366 $as_echo_n "(cached) " >&6
38367 else
38370 ac_ext=cpp
38371 ac_cpp='$CXXCPP $CPPFLAGS'
38372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38377 /* end confdefs.h. */
38378 #include <math.h>
38380 main ()
38382 _ceill (0); _floorl (0);
38384 return 0;
38386 _ACEOF
38387 if ac_fn_cxx_try_compile "$LINENO"; then :
38388 glibcxx_cv_func__long_double_round_use=yes
38389 else
38390 glibcxx_cv_func__long_double_round_use=no
38392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38393 ac_ext=c
38394 ac_cpp='$CPP $CPPFLAGS'
38395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38402 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38403 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38404 for ac_func in _ceill _floorl
38405 do :
38406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38408 eval as_val=\$$as_ac_var
38409 if test "x$as_val" = x""yes; then :
38410 cat >>confdefs.h <<_ACEOF
38411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38412 _ACEOF
38415 done
38425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38426 $as_echo_n "checking for isnanl declaration... " >&6; }
38427 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38428 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38429 $as_echo_n "(cached) " >&6
38430 else
38433 ac_ext=cpp
38434 ac_cpp='$CXXCPP $CPPFLAGS'
38435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38440 /* end confdefs.h. */
38441 #include <math.h>
38442 #ifdef HAVE_IEEEFP_H
38443 #include <ieeefp.h>
38444 #endif
38447 main ()
38449 isnanl(0);
38451 return 0;
38453 _ACEOF
38454 if ac_fn_cxx_try_compile "$LINENO"; then :
38455 glibcxx_cv_func_isnanl_use=yes
38456 else
38457 glibcxx_cv_func_isnanl_use=no
38459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38460 ac_ext=c
38461 ac_cpp='$CPP $CPPFLAGS'
38462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38471 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38473 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38474 for ac_func in isnanl
38475 do :
38476 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38477 if test "x$ac_cv_func_isnanl" = x""yes; then :
38478 cat >>confdefs.h <<_ACEOF
38479 #define HAVE_ISNANL 1
38480 _ACEOF
38483 done
38485 else
38487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38488 $as_echo_n "checking for _isnanl declaration... " >&6; }
38489 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38490 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38491 $as_echo_n "(cached) " >&6
38492 else
38495 ac_ext=cpp
38496 ac_cpp='$CXXCPP $CPPFLAGS'
38497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38502 /* end confdefs.h. */
38503 #include <math.h>
38504 #ifdef HAVE_IEEEFP_H
38505 #include <ieeefp.h>
38506 #endif
38509 main ()
38511 _isnanl(0);
38513 return 0;
38515 _ACEOF
38516 if ac_fn_cxx_try_compile "$LINENO"; then :
38517 glibcxx_cv_func__isnanl_use=yes
38518 else
38519 glibcxx_cv_func__isnanl_use=no
38521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38522 ac_ext=c
38523 ac_cpp='$CPP $CPPFLAGS'
38524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38533 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38535 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38536 for ac_func in _isnanl
38537 do :
38538 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38539 if test "x$ac_cv_func__isnanl" = x""yes; then :
38540 cat >>confdefs.h <<_ACEOF
38541 #define HAVE__ISNANL 1
38542 _ACEOF
38545 done
38554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38555 $as_echo_n "checking for isinfl declaration... " >&6; }
38556 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38557 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38558 $as_echo_n "(cached) " >&6
38559 else
38562 ac_ext=cpp
38563 ac_cpp='$CXXCPP $CPPFLAGS'
38564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38569 /* end confdefs.h. */
38570 #include <math.h>
38571 #ifdef HAVE_IEEEFP_H
38572 #include <ieeefp.h>
38573 #endif
38576 main ()
38578 isinfl(0);
38580 return 0;
38582 _ACEOF
38583 if ac_fn_cxx_try_compile "$LINENO"; then :
38584 glibcxx_cv_func_isinfl_use=yes
38585 else
38586 glibcxx_cv_func_isinfl_use=no
38588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38589 ac_ext=c
38590 ac_cpp='$CPP $CPPFLAGS'
38591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38600 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38602 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38603 for ac_func in isinfl
38604 do :
38605 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38606 if test "x$ac_cv_func_isinfl" = x""yes; then :
38607 cat >>confdefs.h <<_ACEOF
38608 #define HAVE_ISINFL 1
38609 _ACEOF
38612 done
38614 else
38616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38617 $as_echo_n "checking for _isinfl declaration... " >&6; }
38618 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38619 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38620 $as_echo_n "(cached) " >&6
38621 else
38624 ac_ext=cpp
38625 ac_cpp='$CXXCPP $CPPFLAGS'
38626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38631 /* end confdefs.h. */
38632 #include <math.h>
38633 #ifdef HAVE_IEEEFP_H
38634 #include <ieeefp.h>
38635 #endif
38638 main ()
38640 _isinfl(0);
38642 return 0;
38644 _ACEOF
38645 if ac_fn_cxx_try_compile "$LINENO"; then :
38646 glibcxx_cv_func__isinfl_use=yes
38647 else
38648 glibcxx_cv_func__isinfl_use=no
38650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38651 ac_ext=c
38652 ac_cpp='$CPP $CPPFLAGS'
38653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38662 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38664 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38665 for ac_func in _isinfl
38666 do :
38667 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38668 if test "x$ac_cv_func__isinfl" = x""yes; then :
38669 cat >>confdefs.h <<_ACEOF
38670 #define HAVE__ISINFL 1
38671 _ACEOF
38674 done
38683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38684 $as_echo_n "checking for atan2l declaration... " >&6; }
38685 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38686 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38687 $as_echo_n "(cached) " >&6
38688 else
38691 ac_ext=cpp
38692 ac_cpp='$CXXCPP $CPPFLAGS'
38693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38698 /* end confdefs.h. */
38699 #include <math.h>
38701 main ()
38703 atan2l(0, 0);
38705 return 0;
38707 _ACEOF
38708 if ac_fn_cxx_try_compile "$LINENO"; then :
38709 glibcxx_cv_func_atan2l_use=yes
38710 else
38711 glibcxx_cv_func_atan2l_use=no
38713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38714 ac_ext=c
38715 ac_cpp='$CPP $CPPFLAGS'
38716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38725 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38727 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38728 for ac_func in atan2l
38729 do :
38730 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38731 if test "x$ac_cv_func_atan2l" = x""yes; then :
38732 cat >>confdefs.h <<_ACEOF
38733 #define HAVE_ATAN2L 1
38734 _ACEOF
38737 done
38739 else
38741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38742 $as_echo_n "checking for _atan2l declaration... " >&6; }
38743 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38744 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38745 $as_echo_n "(cached) " >&6
38746 else
38749 ac_ext=cpp
38750 ac_cpp='$CXXCPP $CPPFLAGS'
38751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38756 /* end confdefs.h. */
38757 #include <math.h>
38759 main ()
38761 _atan2l(0, 0);
38763 return 0;
38765 _ACEOF
38766 if ac_fn_cxx_try_compile "$LINENO"; then :
38767 glibcxx_cv_func__atan2l_use=yes
38768 else
38769 glibcxx_cv_func__atan2l_use=no
38771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38772 ac_ext=c
38773 ac_cpp='$CPP $CPPFLAGS'
38774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38783 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38785 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38786 for ac_func in _atan2l
38787 do :
38788 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38789 if test "x$ac_cv_func__atan2l" = x""yes; then :
38790 cat >>confdefs.h <<_ACEOF
38791 #define HAVE__ATAN2L 1
38792 _ACEOF
38795 done
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38805 $as_echo_n "checking for expl declaration... " >&6; }
38806 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38807 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38808 $as_echo_n "(cached) " >&6
38809 else
38812 ac_ext=cpp
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38819 /* end confdefs.h. */
38820 #include <math.h>
38821 #ifdef HAVE_IEEEFP_H
38822 #include <ieeefp.h>
38823 #endif
38826 main ()
38828 expl(0);
38830 return 0;
38832 _ACEOF
38833 if ac_fn_cxx_try_compile "$LINENO"; then :
38834 glibcxx_cv_func_expl_use=yes
38835 else
38836 glibcxx_cv_func_expl_use=no
38838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38839 ac_ext=c
38840 ac_cpp='$CPP $CPPFLAGS'
38841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38850 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38852 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38853 for ac_func in expl
38854 do :
38855 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38856 if test "x$ac_cv_func_expl" = x""yes; then :
38857 cat >>confdefs.h <<_ACEOF
38858 #define HAVE_EXPL 1
38859 _ACEOF
38862 done
38864 else
38866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38867 $as_echo_n "checking for _expl declaration... " >&6; }
38868 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38869 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38870 $as_echo_n "(cached) " >&6
38871 else
38874 ac_ext=cpp
38875 ac_cpp='$CXXCPP $CPPFLAGS'
38876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38881 /* end confdefs.h. */
38882 #include <math.h>
38883 #ifdef HAVE_IEEEFP_H
38884 #include <ieeefp.h>
38885 #endif
38888 main ()
38890 _expl(0);
38892 return 0;
38894 _ACEOF
38895 if ac_fn_cxx_try_compile "$LINENO"; then :
38896 glibcxx_cv_func__expl_use=yes
38897 else
38898 glibcxx_cv_func__expl_use=no
38900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38901 ac_ext=c
38902 ac_cpp='$CPP $CPPFLAGS'
38903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38912 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38914 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38915 for ac_func in _expl
38916 do :
38917 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38918 if test "x$ac_cv_func__expl" = x""yes; then :
38919 cat >>confdefs.h <<_ACEOF
38920 #define HAVE__EXPL 1
38921 _ACEOF
38924 done
38933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38934 $as_echo_n "checking for fabsl declaration... " >&6; }
38935 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38936 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38937 $as_echo_n "(cached) " >&6
38938 else
38941 ac_ext=cpp
38942 ac_cpp='$CXXCPP $CPPFLAGS'
38943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38948 /* end confdefs.h. */
38949 #include <math.h>
38950 #ifdef HAVE_IEEEFP_H
38951 #include <ieeefp.h>
38952 #endif
38955 main ()
38957 fabsl(0);
38959 return 0;
38961 _ACEOF
38962 if ac_fn_cxx_try_compile "$LINENO"; then :
38963 glibcxx_cv_func_fabsl_use=yes
38964 else
38965 glibcxx_cv_func_fabsl_use=no
38967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38968 ac_ext=c
38969 ac_cpp='$CPP $CPPFLAGS'
38970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38979 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38981 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38982 for ac_func in fabsl
38983 do :
38984 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38985 if test "x$ac_cv_func_fabsl" = x""yes; then :
38986 cat >>confdefs.h <<_ACEOF
38987 #define HAVE_FABSL 1
38988 _ACEOF
38991 done
38993 else
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38996 $as_echo_n "checking for _fabsl declaration... " >&6; }
38997 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38998 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38999 $as_echo_n "(cached) " >&6
39000 else
39003 ac_ext=cpp
39004 ac_cpp='$CXXCPP $CPPFLAGS'
39005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39010 /* end confdefs.h. */
39011 #include <math.h>
39012 #ifdef HAVE_IEEEFP_H
39013 #include <ieeefp.h>
39014 #endif
39017 main ()
39019 _fabsl(0);
39021 return 0;
39023 _ACEOF
39024 if ac_fn_cxx_try_compile "$LINENO"; then :
39025 glibcxx_cv_func__fabsl_use=yes
39026 else
39027 glibcxx_cv_func__fabsl_use=no
39029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39030 ac_ext=c
39031 ac_cpp='$CPP $CPPFLAGS'
39032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39041 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39043 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39044 for ac_func in _fabsl
39045 do :
39046 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39047 if test "x$ac_cv_func__fabsl" = x""yes; then :
39048 cat >>confdefs.h <<_ACEOF
39049 #define HAVE__FABSL 1
39050 _ACEOF
39053 done
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39063 $as_echo_n "checking for fmodl declaration... " >&6; }
39064 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39065 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39066 $as_echo_n "(cached) " >&6
39067 else
39070 ac_ext=cpp
39071 ac_cpp='$CXXCPP $CPPFLAGS'
39072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39077 /* end confdefs.h. */
39078 #include <math.h>
39080 main ()
39082 fmodl(0, 0);
39084 return 0;
39086 _ACEOF
39087 if ac_fn_cxx_try_compile "$LINENO"; then :
39088 glibcxx_cv_func_fmodl_use=yes
39089 else
39090 glibcxx_cv_func_fmodl_use=no
39092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39093 ac_ext=c
39094 ac_cpp='$CPP $CPPFLAGS'
39095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39104 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39106 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39107 for ac_func in fmodl
39108 do :
39109 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39110 if test "x$ac_cv_func_fmodl" = x""yes; then :
39111 cat >>confdefs.h <<_ACEOF
39112 #define HAVE_FMODL 1
39113 _ACEOF
39116 done
39118 else
39120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39121 $as_echo_n "checking for _fmodl declaration... " >&6; }
39122 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39123 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39124 $as_echo_n "(cached) " >&6
39125 else
39128 ac_ext=cpp
39129 ac_cpp='$CXXCPP $CPPFLAGS'
39130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39135 /* end confdefs.h. */
39136 #include <math.h>
39138 main ()
39140 _fmodl(0, 0);
39142 return 0;
39144 _ACEOF
39145 if ac_fn_cxx_try_compile "$LINENO"; then :
39146 glibcxx_cv_func__fmodl_use=yes
39147 else
39148 glibcxx_cv_func__fmodl_use=no
39150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39151 ac_ext=c
39152 ac_cpp='$CPP $CPPFLAGS'
39153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39162 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39164 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39165 for ac_func in _fmodl
39166 do :
39167 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39168 if test "x$ac_cv_func__fmodl" = x""yes; then :
39169 cat >>confdefs.h <<_ACEOF
39170 #define HAVE__FMODL 1
39171 _ACEOF
39174 done
39183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39184 $as_echo_n "checking for frexpl declaration... " >&6; }
39185 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39186 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39187 $as_echo_n "(cached) " >&6
39188 else
39191 ac_ext=cpp
39192 ac_cpp='$CXXCPP $CPPFLAGS'
39193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39198 /* end confdefs.h. */
39199 #include <math.h>
39201 main ()
39203 frexpl(0, 0);
39205 return 0;
39207 _ACEOF
39208 if ac_fn_cxx_try_compile "$LINENO"; then :
39209 glibcxx_cv_func_frexpl_use=yes
39210 else
39211 glibcxx_cv_func_frexpl_use=no
39213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39214 ac_ext=c
39215 ac_cpp='$CPP $CPPFLAGS'
39216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39225 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39227 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39228 for ac_func in frexpl
39229 do :
39230 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39231 if test "x$ac_cv_func_frexpl" = x""yes; then :
39232 cat >>confdefs.h <<_ACEOF
39233 #define HAVE_FREXPL 1
39234 _ACEOF
39237 done
39239 else
39241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39242 $as_echo_n "checking for _frexpl declaration... " >&6; }
39243 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39244 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39245 $as_echo_n "(cached) " >&6
39246 else
39249 ac_ext=cpp
39250 ac_cpp='$CXXCPP $CPPFLAGS'
39251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39256 /* end confdefs.h. */
39257 #include <math.h>
39259 main ()
39261 _frexpl(0, 0);
39263 return 0;
39265 _ACEOF
39266 if ac_fn_cxx_try_compile "$LINENO"; then :
39267 glibcxx_cv_func__frexpl_use=yes
39268 else
39269 glibcxx_cv_func__frexpl_use=no
39271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39272 ac_ext=c
39273 ac_cpp='$CPP $CPPFLAGS'
39274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39283 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39285 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39286 for ac_func in _frexpl
39287 do :
39288 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39289 if test "x$ac_cv_func__frexpl" = x""yes; then :
39290 cat >>confdefs.h <<_ACEOF
39291 #define HAVE__FREXPL 1
39292 _ACEOF
39295 done
39304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39305 $as_echo_n "checking for hypotl declaration... " >&6; }
39306 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39307 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39308 $as_echo_n "(cached) " >&6
39309 else
39312 ac_ext=cpp
39313 ac_cpp='$CXXCPP $CPPFLAGS'
39314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39319 /* end confdefs.h. */
39320 #include <math.h>
39322 main ()
39324 hypotl(0, 0);
39326 return 0;
39328 _ACEOF
39329 if ac_fn_cxx_try_compile "$LINENO"; then :
39330 glibcxx_cv_func_hypotl_use=yes
39331 else
39332 glibcxx_cv_func_hypotl_use=no
39334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39335 ac_ext=c
39336 ac_cpp='$CPP $CPPFLAGS'
39337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39346 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39348 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39349 for ac_func in hypotl
39350 do :
39351 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39352 if test "x$ac_cv_func_hypotl" = x""yes; then :
39353 cat >>confdefs.h <<_ACEOF
39354 #define HAVE_HYPOTL 1
39355 _ACEOF
39358 done
39360 else
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39363 $as_echo_n "checking for _hypotl declaration... " >&6; }
39364 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39365 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39366 $as_echo_n "(cached) " >&6
39367 else
39370 ac_ext=cpp
39371 ac_cpp='$CXXCPP $CPPFLAGS'
39372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39377 /* end confdefs.h. */
39378 #include <math.h>
39380 main ()
39382 _hypotl(0, 0);
39384 return 0;
39386 _ACEOF
39387 if ac_fn_cxx_try_compile "$LINENO"; then :
39388 glibcxx_cv_func__hypotl_use=yes
39389 else
39390 glibcxx_cv_func__hypotl_use=no
39392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39393 ac_ext=c
39394 ac_cpp='$CPP $CPPFLAGS'
39395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39404 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39406 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39407 for ac_func in _hypotl
39408 do :
39409 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39410 if test "x$ac_cv_func__hypotl" = x""yes; then :
39411 cat >>confdefs.h <<_ACEOF
39412 #define HAVE__HYPOTL 1
39413 _ACEOF
39416 done
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39426 $as_echo_n "checking for ldexpl declaration... " >&6; }
39427 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39428 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39429 $as_echo_n "(cached) " >&6
39430 else
39433 ac_ext=cpp
39434 ac_cpp='$CXXCPP $CPPFLAGS'
39435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39440 /* end confdefs.h. */
39441 #include <math.h>
39443 main ()
39445 ldexpl(0, 0);
39447 return 0;
39449 _ACEOF
39450 if ac_fn_cxx_try_compile "$LINENO"; then :
39451 glibcxx_cv_func_ldexpl_use=yes
39452 else
39453 glibcxx_cv_func_ldexpl_use=no
39455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39456 ac_ext=c
39457 ac_cpp='$CPP $CPPFLAGS'
39458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39467 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39469 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39470 for ac_func in ldexpl
39471 do :
39472 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39473 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39474 cat >>confdefs.h <<_ACEOF
39475 #define HAVE_LDEXPL 1
39476 _ACEOF
39479 done
39481 else
39483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39484 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39485 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39486 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39487 $as_echo_n "(cached) " >&6
39488 else
39491 ac_ext=cpp
39492 ac_cpp='$CXXCPP $CPPFLAGS'
39493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498 /* end confdefs.h. */
39499 #include <math.h>
39501 main ()
39503 _ldexpl(0, 0);
39505 return 0;
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509 glibcxx_cv_func__ldexpl_use=yes
39510 else
39511 glibcxx_cv_func__ldexpl_use=no
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514 ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39525 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39527 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39528 for ac_func in _ldexpl
39529 do :
39530 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39531 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39532 cat >>confdefs.h <<_ACEOF
39533 #define HAVE__LDEXPL 1
39534 _ACEOF
39537 done
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39547 $as_echo_n "checking for logl declaration... " >&6; }
39548 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39549 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39550 $as_echo_n "(cached) " >&6
39551 else
39554 ac_ext=cpp
39555 ac_cpp='$CXXCPP $CPPFLAGS'
39556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39561 /* end confdefs.h. */
39562 #include <math.h>
39563 #ifdef HAVE_IEEEFP_H
39564 #include <ieeefp.h>
39565 #endif
39568 main ()
39570 logl(0);
39572 return 0;
39574 _ACEOF
39575 if ac_fn_cxx_try_compile "$LINENO"; then :
39576 glibcxx_cv_func_logl_use=yes
39577 else
39578 glibcxx_cv_func_logl_use=no
39580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39581 ac_ext=c
39582 ac_cpp='$CPP $CPPFLAGS'
39583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39592 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39594 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39595 for ac_func in logl
39596 do :
39597 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39598 if test "x$ac_cv_func_logl" = x""yes; then :
39599 cat >>confdefs.h <<_ACEOF
39600 #define HAVE_LOGL 1
39601 _ACEOF
39604 done
39606 else
39608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39609 $as_echo_n "checking for _logl declaration... " >&6; }
39610 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39611 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39612 $as_echo_n "(cached) " >&6
39613 else
39616 ac_ext=cpp
39617 ac_cpp='$CXXCPP $CPPFLAGS'
39618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39623 /* end confdefs.h. */
39624 #include <math.h>
39625 #ifdef HAVE_IEEEFP_H
39626 #include <ieeefp.h>
39627 #endif
39630 main ()
39632 _logl(0);
39634 return 0;
39636 _ACEOF
39637 if ac_fn_cxx_try_compile "$LINENO"; then :
39638 glibcxx_cv_func__logl_use=yes
39639 else
39640 glibcxx_cv_func__logl_use=no
39642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39643 ac_ext=c
39644 ac_cpp='$CPP $CPPFLAGS'
39645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39654 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39656 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39657 for ac_func in _logl
39658 do :
39659 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39660 if test "x$ac_cv_func__logl" = x""yes; then :
39661 cat >>confdefs.h <<_ACEOF
39662 #define HAVE__LOGL 1
39663 _ACEOF
39666 done
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39676 $as_echo_n "checking for log10l declaration... " >&6; }
39677 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39678 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39679 $as_echo_n "(cached) " >&6
39680 else
39683 ac_ext=cpp
39684 ac_cpp='$CXXCPP $CPPFLAGS'
39685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690 /* end confdefs.h. */
39691 #include <math.h>
39692 #ifdef HAVE_IEEEFP_H
39693 #include <ieeefp.h>
39694 #endif
39697 main ()
39699 log10l(0);
39701 return 0;
39703 _ACEOF
39704 if ac_fn_cxx_try_compile "$LINENO"; then :
39705 glibcxx_cv_func_log10l_use=yes
39706 else
39707 glibcxx_cv_func_log10l_use=no
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39710 ac_ext=c
39711 ac_cpp='$CPP $CPPFLAGS'
39712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39721 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39723 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39724 for ac_func in log10l
39725 do :
39726 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39727 if test "x$ac_cv_func_log10l" = x""yes; then :
39728 cat >>confdefs.h <<_ACEOF
39729 #define HAVE_LOG10L 1
39730 _ACEOF
39733 done
39735 else
39737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39738 $as_echo_n "checking for _log10l declaration... " >&6; }
39739 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39740 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39741 $as_echo_n "(cached) " >&6
39742 else
39745 ac_ext=cpp
39746 ac_cpp='$CXXCPP $CPPFLAGS'
39747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39752 /* end confdefs.h. */
39753 #include <math.h>
39754 #ifdef HAVE_IEEEFP_H
39755 #include <ieeefp.h>
39756 #endif
39759 main ()
39761 _log10l(0);
39763 return 0;
39765 _ACEOF
39766 if ac_fn_cxx_try_compile "$LINENO"; then :
39767 glibcxx_cv_func__log10l_use=yes
39768 else
39769 glibcxx_cv_func__log10l_use=no
39771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39772 ac_ext=c
39773 ac_cpp='$CPP $CPPFLAGS'
39774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39783 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39785 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39786 for ac_func in _log10l
39787 do :
39788 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39789 if test "x$ac_cv_func__log10l" = x""yes; then :
39790 cat >>confdefs.h <<_ACEOF
39791 #define HAVE__LOG10L 1
39792 _ACEOF
39795 done
39804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39805 $as_echo_n "checking for modfl declaration... " >&6; }
39806 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39807 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39808 $as_echo_n "(cached) " >&6
39809 else
39812 ac_ext=cpp
39813 ac_cpp='$CXXCPP $CPPFLAGS'
39814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39819 /* end confdefs.h. */
39820 #include <math.h>
39822 main ()
39824 modfl(0, 0);
39826 return 0;
39828 _ACEOF
39829 if ac_fn_cxx_try_compile "$LINENO"; then :
39830 glibcxx_cv_func_modfl_use=yes
39831 else
39832 glibcxx_cv_func_modfl_use=no
39834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39835 ac_ext=c
39836 ac_cpp='$CPP $CPPFLAGS'
39837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39846 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39848 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39849 for ac_func in modfl
39850 do :
39851 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39852 if test "x$ac_cv_func_modfl" = x""yes; then :
39853 cat >>confdefs.h <<_ACEOF
39854 #define HAVE_MODFL 1
39855 _ACEOF
39858 done
39860 else
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39863 $as_echo_n "checking for _modfl declaration... " >&6; }
39864 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39865 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39866 $as_echo_n "(cached) " >&6
39867 else
39870 ac_ext=cpp
39871 ac_cpp='$CXXCPP $CPPFLAGS'
39872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39877 /* end confdefs.h. */
39878 #include <math.h>
39880 main ()
39882 _modfl(0, 0);
39884 return 0;
39886 _ACEOF
39887 if ac_fn_cxx_try_compile "$LINENO"; then :
39888 glibcxx_cv_func__modfl_use=yes
39889 else
39890 glibcxx_cv_func__modfl_use=no
39892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39893 ac_ext=c
39894 ac_cpp='$CPP $CPPFLAGS'
39895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39904 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39906 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39907 for ac_func in _modfl
39908 do :
39909 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39910 if test "x$ac_cv_func__modfl" = x""yes; then :
39911 cat >>confdefs.h <<_ACEOF
39912 #define HAVE__MODFL 1
39913 _ACEOF
39916 done
39925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39926 $as_echo_n "checking for powl declaration... " >&6; }
39927 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39928 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39929 $as_echo_n "(cached) " >&6
39930 else
39933 ac_ext=cpp
39934 ac_cpp='$CXXCPP $CPPFLAGS'
39935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39940 /* end confdefs.h. */
39941 #include <math.h>
39943 main ()
39945 powl(0, 0);
39947 return 0;
39949 _ACEOF
39950 if ac_fn_cxx_try_compile "$LINENO"; then :
39951 glibcxx_cv_func_powl_use=yes
39952 else
39953 glibcxx_cv_func_powl_use=no
39955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39956 ac_ext=c
39957 ac_cpp='$CPP $CPPFLAGS'
39958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39967 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39969 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39970 for ac_func in powl
39971 do :
39972 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39973 if test "x$ac_cv_func_powl" = x""yes; then :
39974 cat >>confdefs.h <<_ACEOF
39975 #define HAVE_POWL 1
39976 _ACEOF
39979 done
39981 else
39983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39984 $as_echo_n "checking for _powl declaration... " >&6; }
39985 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39986 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39987 $as_echo_n "(cached) " >&6
39988 else
39991 ac_ext=cpp
39992 ac_cpp='$CXXCPP $CPPFLAGS'
39993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39998 /* end confdefs.h. */
39999 #include <math.h>
40001 main ()
40003 _powl(0, 0);
40005 return 0;
40007 _ACEOF
40008 if ac_fn_cxx_try_compile "$LINENO"; then :
40009 glibcxx_cv_func__powl_use=yes
40010 else
40011 glibcxx_cv_func__powl_use=no
40013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40014 ac_ext=c
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40025 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40027 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40028 for ac_func in _powl
40029 do :
40030 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40031 if test "x$ac_cv_func__powl" = x""yes; then :
40032 cat >>confdefs.h <<_ACEOF
40033 #define HAVE__POWL 1
40034 _ACEOF
40037 done
40046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40047 $as_echo_n "checking for sqrtl declaration... " >&6; }
40048 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40049 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40050 $as_echo_n "(cached) " >&6
40051 else
40054 ac_ext=cpp
40055 ac_cpp='$CXXCPP $CPPFLAGS'
40056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40061 /* end confdefs.h. */
40062 #include <math.h>
40063 #ifdef HAVE_IEEEFP_H
40064 #include <ieeefp.h>
40065 #endif
40068 main ()
40070 sqrtl(0);
40072 return 0;
40074 _ACEOF
40075 if ac_fn_cxx_try_compile "$LINENO"; then :
40076 glibcxx_cv_func_sqrtl_use=yes
40077 else
40078 glibcxx_cv_func_sqrtl_use=no
40080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40081 ac_ext=c
40082 ac_cpp='$CPP $CPPFLAGS'
40083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40092 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40094 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40095 for ac_func in sqrtl
40096 do :
40097 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40098 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40099 cat >>confdefs.h <<_ACEOF
40100 #define HAVE_SQRTL 1
40101 _ACEOF
40104 done
40106 else
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40109 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40110 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40111 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40112 $as_echo_n "(cached) " >&6
40113 else
40116 ac_ext=cpp
40117 ac_cpp='$CXXCPP $CPPFLAGS'
40118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40123 /* end confdefs.h. */
40124 #include <math.h>
40125 #ifdef HAVE_IEEEFP_H
40126 #include <ieeefp.h>
40127 #endif
40130 main ()
40132 _sqrtl(0);
40134 return 0;
40136 _ACEOF
40137 if ac_fn_cxx_try_compile "$LINENO"; then :
40138 glibcxx_cv_func__sqrtl_use=yes
40139 else
40140 glibcxx_cv_func__sqrtl_use=no
40142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40143 ac_ext=c
40144 ac_cpp='$CPP $CPPFLAGS'
40145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40154 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40156 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40157 for ac_func in _sqrtl
40158 do :
40159 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40160 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40161 cat >>confdefs.h <<_ACEOF
40162 #define HAVE__SQRTL 1
40163 _ACEOF
40166 done
40175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40176 $as_echo_n "checking for sincosl declaration... " >&6; }
40177 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40178 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40179 $as_echo_n "(cached) " >&6
40180 else
40183 ac_ext=cpp
40184 ac_cpp='$CXXCPP $CPPFLAGS'
40185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40190 /* end confdefs.h. */
40191 #include <math.h>
40193 main ()
40195 sincosl(0, 0, 0);
40197 return 0;
40199 _ACEOF
40200 if ac_fn_cxx_try_compile "$LINENO"; then :
40201 glibcxx_cv_func_sincosl_use=yes
40202 else
40203 glibcxx_cv_func_sincosl_use=no
40205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40206 ac_ext=c
40207 ac_cpp='$CPP $CPPFLAGS'
40208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40217 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40219 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40220 for ac_func in sincosl
40221 do :
40222 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40223 if test "x$ac_cv_func_sincosl" = x""yes; then :
40224 cat >>confdefs.h <<_ACEOF
40225 #define HAVE_SINCOSL 1
40226 _ACEOF
40229 done
40231 else
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40234 $as_echo_n "checking for _sincosl declaration... " >&6; }
40235 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40236 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40237 $as_echo_n "(cached) " >&6
40238 else
40241 ac_ext=cpp
40242 ac_cpp='$CXXCPP $CPPFLAGS'
40243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40248 /* end confdefs.h. */
40249 #include <math.h>
40251 main ()
40253 _sincosl(0, 0, 0);
40255 return 0;
40257 _ACEOF
40258 if ac_fn_cxx_try_compile "$LINENO"; then :
40259 glibcxx_cv_func__sincosl_use=yes
40260 else
40261 glibcxx_cv_func__sincosl_use=no
40263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40264 ac_ext=c
40265 ac_cpp='$CPP $CPPFLAGS'
40266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40275 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40277 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40278 for ac_func in _sincosl
40279 do :
40280 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40281 if test "x$ac_cv_func__sincosl" = x""yes; then :
40282 cat >>confdefs.h <<_ACEOF
40283 #define HAVE__SINCOSL 1
40284 _ACEOF
40287 done
40296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40297 $as_echo_n "checking for finitel declaration... " >&6; }
40298 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40299 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40300 $as_echo_n "(cached) " >&6
40301 else
40304 ac_ext=cpp
40305 ac_cpp='$CXXCPP $CPPFLAGS'
40306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40311 /* end confdefs.h. */
40312 #include <math.h>
40313 #ifdef HAVE_IEEEFP_H
40314 #include <ieeefp.h>
40315 #endif
40318 main ()
40320 finitel(0);
40322 return 0;
40324 _ACEOF
40325 if ac_fn_cxx_try_compile "$LINENO"; then :
40326 glibcxx_cv_func_finitel_use=yes
40327 else
40328 glibcxx_cv_func_finitel_use=no
40330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331 ac_ext=c
40332 ac_cpp='$CPP $CPPFLAGS'
40333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40342 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40344 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40345 for ac_func in finitel
40346 do :
40347 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40348 if test "x$ac_cv_func_finitel" = x""yes; then :
40349 cat >>confdefs.h <<_ACEOF
40350 #define HAVE_FINITEL 1
40351 _ACEOF
40354 done
40356 else
40358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40359 $as_echo_n "checking for _finitel declaration... " >&6; }
40360 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40361 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40362 $as_echo_n "(cached) " >&6
40363 else
40366 ac_ext=cpp
40367 ac_cpp='$CXXCPP $CPPFLAGS'
40368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40373 /* end confdefs.h. */
40374 #include <math.h>
40375 #ifdef HAVE_IEEEFP_H
40376 #include <ieeefp.h>
40377 #endif
40380 main ()
40382 _finitel(0);
40384 return 0;
40386 _ACEOF
40387 if ac_fn_cxx_try_compile "$LINENO"; then :
40388 glibcxx_cv_func__finitel_use=yes
40389 else
40390 glibcxx_cv_func__finitel_use=no
40392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40393 ac_ext=c
40394 ac_cpp='$CPP $CPPFLAGS'
40395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40404 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40406 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40407 for ac_func in _finitel
40408 do :
40409 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40410 if test "x$ac_cv_func__finitel" = x""yes; then :
40411 cat >>confdefs.h <<_ACEOF
40412 #define HAVE__FINITEL 1
40413 _ACEOF
40416 done
40424 LIBS="$ac_save_LIBS"
40425 CXXFLAGS="$ac_save_CXXFLAGS"
40428 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40429 ac_save_CXXFLAGS="$CXXFLAGS"
40430 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40434 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40435 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40436 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40437 $as_echo_n "(cached) " >&6
40438 else
40441 ac_ext=cpp
40442 ac_cpp='$CXXCPP $CPPFLAGS'
40443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40448 /* end confdefs.h. */
40449 #include <stdlib.h>
40451 main ()
40453 at_quick_exit(0);
40455 return 0;
40457 _ACEOF
40458 if ac_fn_cxx_try_compile "$LINENO"; then :
40459 glibcxx_cv_func_at_quick_exit_use=yes
40460 else
40461 glibcxx_cv_func_at_quick_exit_use=no
40463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40464 ac_ext=c
40465 ac_cpp='$CPP $CPPFLAGS'
40466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40475 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40476 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40477 for ac_func in at_quick_exit
40478 do :
40479 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40480 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40481 cat >>confdefs.h <<_ACEOF
40482 #define HAVE_AT_QUICK_EXIT 1
40483 _ACEOF
40486 done
40491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40492 $as_echo_n "checking for quick_exit declaration... " >&6; }
40493 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40494 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40495 $as_echo_n "(cached) " >&6
40496 else
40499 ac_ext=cpp
40500 ac_cpp='$CXXCPP $CPPFLAGS'
40501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40506 /* end confdefs.h. */
40507 #include <stdlib.h>
40509 main ()
40511 quick_exit(0);
40513 return 0;
40515 _ACEOF
40516 if ac_fn_cxx_try_compile "$LINENO"; then :
40517 glibcxx_cv_func_quick_exit_use=yes
40518 else
40519 glibcxx_cv_func_quick_exit_use=no
40521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40522 ac_ext=c
40523 ac_cpp='$CPP $CPPFLAGS'
40524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40533 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40534 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40535 for ac_func in quick_exit
40536 do :
40537 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40538 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40539 cat >>confdefs.h <<_ACEOF
40540 #define HAVE_QUICK_EXIT 1
40541 _ACEOF
40544 done
40549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40550 $as_echo_n "checking for strtold declaration... " >&6; }
40551 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40552 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40553 $as_echo_n "(cached) " >&6
40554 else
40557 ac_ext=cpp
40558 ac_cpp='$CXXCPP $CPPFLAGS'
40559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40564 /* end confdefs.h. */
40565 #include <stdlib.h>
40567 main ()
40569 strtold(0, 0);
40571 return 0;
40573 _ACEOF
40574 if ac_fn_cxx_try_compile "$LINENO"; then :
40575 glibcxx_cv_func_strtold_use=yes
40576 else
40577 glibcxx_cv_func_strtold_use=no
40579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40580 ac_ext=c
40581 ac_cpp='$CPP $CPPFLAGS'
40582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40591 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40592 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40593 for ac_func in strtold
40594 do :
40595 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40596 if test "x$ac_cv_func_strtold" = x""yes; then :
40597 cat >>confdefs.h <<_ACEOF
40598 #define HAVE_STRTOLD 1
40599 _ACEOF
40602 done
40609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40610 $as_echo_n "checking for strtof declaration... " >&6; }
40611 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40612 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40613 $as_echo_n "(cached) " >&6
40614 else
40617 ac_ext=cpp
40618 ac_cpp='$CXXCPP $CPPFLAGS'
40619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40624 /* end confdefs.h. */
40625 #include <stdlib.h>
40627 main ()
40629 strtof(0, 0);
40631 return 0;
40633 _ACEOF
40634 if ac_fn_cxx_try_compile "$LINENO"; then :
40635 glibcxx_cv_func_strtof_use=yes
40636 else
40637 glibcxx_cv_func_strtof_use=no
40639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40640 ac_ext=c
40641 ac_cpp='$CPP $CPPFLAGS'
40642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40651 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40652 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40653 for ac_func in strtof
40654 do :
40655 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40656 if test "x$ac_cv_func_strtof" = x""yes; then :
40657 cat >>confdefs.h <<_ACEOF
40658 #define HAVE_STRTOF 1
40659 _ACEOF
40662 done
40669 CXXFLAGS="$ac_save_CXXFLAGS"
40676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40677 $as_echo_n "checking for iconv... " >&6; }
40678 if test "${am_cv_func_iconv+set}" = set; then :
40679 $as_echo_n "(cached) " >&6
40680 else
40682 am_cv_func_iconv="no, consider installing GNU libiconv"
40683 am_cv_lib_iconv=no
40684 am_save_CPPFLAGS="$CPPFLAGS"
40685 CPPFLAGS="$CPPFLAGS $INCICONV"
40686 if test x$gcc_no_link = xyes; then
40687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40690 /* end confdefs.h. */
40691 #include <stdlib.h>
40692 #include <iconv.h>
40694 main ()
40696 iconv_t cd = iconv_open("","");
40697 iconv(cd,NULL,NULL,NULL,NULL);
40698 iconv_close(cd);
40700 return 0;
40702 _ACEOF
40703 if ac_fn_c_try_link "$LINENO"; then :
40704 am_cv_func_iconv=yes
40706 rm -f core conftest.err conftest.$ac_objext \
40707 conftest$ac_exeext conftest.$ac_ext
40708 CPPFLAGS="$am_save_CPPFLAGS"
40710 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40711 for _libs in .libs _libs; do
40712 am_save_CPPFLAGS="$CPPFLAGS"
40713 am_save_LIBS="$LIBS"
40714 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40715 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40716 if test x$gcc_no_link = xyes; then
40717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40720 /* end confdefs.h. */
40721 #include <stdlib.h>
40722 #include <iconv.h>
40724 main ()
40726 iconv_t cd = iconv_open("","");
40727 iconv(cd,NULL,NULL,NULL,NULL);
40728 iconv_close(cd);
40730 return 0;
40732 _ACEOF
40733 if ac_fn_c_try_link "$LINENO"; then :
40734 INCICONV="-I../libiconv/include"
40735 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40736 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40737 am_cv_lib_iconv=yes
40738 am_cv_func_iconv=yes
40740 rm -f core conftest.err conftest.$ac_objext \
40741 conftest$ac_exeext conftest.$ac_ext
40742 CPPFLAGS="$am_save_CPPFLAGS"
40743 LIBS="$am_save_LIBS"
40744 if test "$am_cv_func_iconv" = "yes"; then
40745 break
40747 done
40750 if test "$am_cv_func_iconv" != yes; then
40751 am_save_CPPFLAGS="$CPPFLAGS"
40752 am_save_LIBS="$LIBS"
40753 CPPFLAGS="$LIBS $INCICONV"
40754 LIBS="$LIBS $LIBICONV"
40755 if test x$gcc_no_link = xyes; then
40756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40759 /* end confdefs.h. */
40760 #include <stdlib.h>
40761 #include <iconv.h>
40763 main ()
40765 iconv_t cd = iconv_open("","");
40766 iconv(cd,NULL,NULL,NULL,NULL);
40767 iconv_close(cd);
40769 return 0;
40771 _ACEOF
40772 if ac_fn_c_try_link "$LINENO"; then :
40773 am_cv_lib_iconv=yes
40774 am_cv_func_iconv=yes
40776 rm -f core conftest.err conftest.$ac_objext \
40777 conftest$ac_exeext conftest.$ac_ext
40778 CPPFLAGS="$am_save_CPPFLAGS"
40779 LIBS="$am_save_LIBS"
40783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40784 $as_echo "$am_cv_func_iconv" >&6; }
40785 if test "$am_cv_func_iconv" = yes; then
40787 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40790 if test "$am_cv_lib_iconv" = yes; then
40792 for element in $INCICONV; do
40793 haveit=
40794 for x in $CPPFLAGS; do
40796 acl_save_prefix="$prefix"
40797 prefix="$acl_final_prefix"
40798 acl_save_exec_prefix="$exec_prefix"
40799 exec_prefix="$acl_final_exec_prefix"
40800 eval x=\"$x\"
40801 exec_prefix="$acl_save_exec_prefix"
40802 prefix="$acl_save_prefix"
40804 if test "X$x" = "X$element"; then
40805 haveit=yes
40806 break
40808 done
40809 if test -z "$haveit"; then
40810 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40812 done
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40815 $as_echo_n "checking how to link with libiconv... " >&6; }
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40817 $as_echo "$LIBICONV" >&6; }
40818 else
40819 LIBICONV=
40820 LTLIBICONV=
40825 if test "$am_cv_func_iconv" = yes; then
40826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40827 $as_echo_n "checking for iconv declaration... " >&6; }
40828 if test "${am_cv_proto_iconv+set}" = set; then :
40829 $as_echo_n "(cached) " >&6
40830 else
40832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40833 /* end confdefs.h. */
40835 #include <stdlib.h>
40836 #include <iconv.h>
40837 extern
40838 #ifdef __cplusplus
40840 #endif
40841 #if defined(__STDC__) || defined(__cplusplus)
40842 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40843 #else
40844 size_t iconv();
40845 #endif
40848 main ()
40852 return 0;
40854 _ACEOF
40855 if ac_fn_c_try_compile "$LINENO"; then :
40856 am_cv_proto_iconv_arg1=""
40857 else
40858 am_cv_proto_iconv_arg1="const"
40860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40861 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);"
40864 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40866 }$am_cv_proto_iconv" >&5
40867 $as_echo "${ac_t:-
40868 }$am_cv_proto_iconv" >&6; }
40870 cat >>confdefs.h <<_ACEOF
40871 #define ICONV_CONST $am_cv_proto_iconv_arg1
40872 _ACEOF
40878 *-aix*)
40880 # If we're not using GNU ld, then there's no point in even trying these
40881 # tests. Check for that first. We should have already tested for gld
40882 # by now (in libtool), but require it now just to be safe...
40883 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40884 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40888 # The name set by libtool depends on the version of libtool. Shame on us
40889 # for depending on an impl detail, but c'est la vie. Older versions used
40890 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40891 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40892 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40893 # set (hence we're using an older libtool), then set it.
40894 if test x${with_gnu_ld+set} != xset; then
40895 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40896 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40897 with_gnu_ld=no
40898 else
40899 with_gnu_ld=$ac_cv_prog_gnu_ld
40903 # Start by getting the version number. I think the libtool test already
40904 # does some of this, but throws away the result.
40905 glibcxx_ld_is_gold=no
40906 if test x"$with_gnu_ld" = x"yes"; then
40907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40908 $as_echo_n "checking for ld version... " >&6; }
40910 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40911 glibcxx_ld_is_gold=yes
40913 ldver=`$LD --version 2>/dev/null |
40914 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'`
40916 glibcxx_gnu_ld_version=`echo $ldver | \
40917 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40919 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40922 # Set --gc-sections.
40923 glibcxx_have_gc_sections=no
40924 if test "$glibcxx_ld_is_gold" = "yes"; then
40925 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40926 glibcxx_have_gc_sections=yes
40928 else
40929 glibcxx_gcsections_min_ld=21602
40930 if test x"$with_gnu_ld" = x"yes" &&
40931 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40932 glibcxx_have_gc_sections=yes
40935 if test "$glibcxx_have_gc_sections" = "yes"; then
40936 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40937 # NB: This flag only works reliably after 2.16.1. Configure tests
40938 # for this are difficult, so hard wire a value that should work.
40940 ac_test_CFLAGS="${CFLAGS+set}"
40941 ac_save_CFLAGS="$CFLAGS"
40942 CFLAGS='-Wl,--gc-sections'
40944 # Check for -Wl,--gc-sections
40945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40946 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40947 if test x$gcc_no_link = xyes; then
40948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40951 /* end confdefs.h. */
40952 int one(void) { return 1; }
40953 int two(void) { return 2; }
40956 main ()
40958 two();
40960 return 0;
40962 _ACEOF
40963 if ac_fn_c_try_link "$LINENO"; then :
40964 ac_gcsections=yes
40965 else
40966 ac_gcsections=no
40968 rm -f core conftest.err conftest.$ac_objext \
40969 conftest$ac_exeext conftest.$ac_ext
40970 if test "$ac_gcsections" = "yes"; then
40971 rm -f conftest.c
40972 touch conftest.c
40973 if $CC -c conftest.c; then
40974 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40975 grep "Warning: gc-sections option ignored" > /dev/null; then
40976 ac_gcsections=no
40979 rm -f conftest.c conftest.o conftest
40981 if test "$ac_gcsections" = "yes"; then
40982 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40985 $as_echo "$ac_gcsections" >&6; }
40987 if test "$ac_test_CFLAGS" = set; then
40988 CFLAGS="$ac_save_CFLAGS"
40989 else
40990 # this is the suspicious part
40991 CFLAGS=''
40995 # Set -z,relro.
40996 # Note this is only for shared objects.
40997 ac_ld_relro=no
40998 if test x"$with_gnu_ld" = x"yes"; then
40999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41000 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41001 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41002 if test -n "$cxx_z_relo"; then
41003 OPT_LDFLAGS="-Wl,-z,relro"
41004 ac_ld_relro=yes
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41007 $as_echo "$ac_ld_relro" >&6; }
41010 # Set linker optimization flags.
41011 if test x"$with_gnu_ld" = x"yes"; then
41012 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41019 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41020 ac_save_CXXFLAGS="$CXXFLAGS"
41021 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41024 $as_echo_n "checking for sin in -lm... " >&6; }
41025 if test "${ac_cv_lib_m_sin+set}" = set; then :
41026 $as_echo_n "(cached) " >&6
41027 else
41028 ac_check_lib_save_LIBS=$LIBS
41029 LIBS="-lm $LIBS"
41030 if test x$gcc_no_link = xyes; then
41031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h. */
41036 /* Override any GCC internal prototype to avoid an error.
41037 Use char because int might match the return type of a GCC
41038 builtin and then its argument prototype would still apply. */
41039 #ifdef __cplusplus
41040 extern "C"
41041 #endif
41042 char sin ();
41044 main ()
41046 return sin ();
41048 return 0;
41050 _ACEOF
41051 if ac_fn_c_try_link "$LINENO"; then :
41052 ac_cv_lib_m_sin=yes
41053 else
41054 ac_cv_lib_m_sin=no
41056 rm -f core conftest.err conftest.$ac_objext \
41057 conftest$ac_exeext conftest.$ac_ext
41058 LIBS=$ac_check_lib_save_LIBS
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41061 $as_echo "$ac_cv_lib_m_sin" >&6; }
41062 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41063 libm="-lm"
41066 ac_save_LIBS="$LIBS"
41067 LIBS="$LIBS $libm"
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41072 $as_echo_n "checking for isinf declaration... " >&6; }
41073 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41074 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41075 $as_echo_n "(cached) " >&6
41076 else
41079 ac_ext=cpp
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41086 /* end confdefs.h. */
41087 #include <math.h>
41088 #ifdef HAVE_IEEEFP_H
41089 #include <ieeefp.h>
41090 #endif
41093 main ()
41095 isinf(0);
41097 return 0;
41099 _ACEOF
41100 if ac_fn_cxx_try_compile "$LINENO"; then :
41101 glibcxx_cv_func_isinf_use=yes
41102 else
41103 glibcxx_cv_func_isinf_use=no
41105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41106 ac_ext=c
41107 ac_cpp='$CPP $CPPFLAGS'
41108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41117 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41119 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41120 for ac_func in isinf
41121 do :
41122 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41123 if test "x$ac_cv_func_isinf" = x""yes; then :
41124 cat >>confdefs.h <<_ACEOF
41125 #define HAVE_ISINF 1
41126 _ACEOF
41129 done
41131 else
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41134 $as_echo_n "checking for _isinf declaration... " >&6; }
41135 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41136 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41137 $as_echo_n "(cached) " >&6
41138 else
41141 ac_ext=cpp
41142 ac_cpp='$CXXCPP $CPPFLAGS'
41143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41148 /* end confdefs.h. */
41149 #include <math.h>
41150 #ifdef HAVE_IEEEFP_H
41151 #include <ieeefp.h>
41152 #endif
41155 main ()
41157 _isinf(0);
41159 return 0;
41161 _ACEOF
41162 if ac_fn_cxx_try_compile "$LINENO"; then :
41163 glibcxx_cv_func__isinf_use=yes
41164 else
41165 glibcxx_cv_func__isinf_use=no
41167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41168 ac_ext=c
41169 ac_cpp='$CPP $CPPFLAGS'
41170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41179 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41181 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41182 for ac_func in _isinf
41183 do :
41184 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41185 if test "x$ac_cv_func__isinf" = x""yes; then :
41186 cat >>confdefs.h <<_ACEOF
41187 #define HAVE__ISINF 1
41188 _ACEOF
41191 done
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41201 $as_echo_n "checking for isnan declaration... " >&6; }
41202 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41203 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41204 $as_echo_n "(cached) " >&6
41205 else
41208 ac_ext=cpp
41209 ac_cpp='$CXXCPP $CPPFLAGS'
41210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41215 /* end confdefs.h. */
41216 #include <math.h>
41217 #ifdef HAVE_IEEEFP_H
41218 #include <ieeefp.h>
41219 #endif
41222 main ()
41224 isnan(0);
41226 return 0;
41228 _ACEOF
41229 if ac_fn_cxx_try_compile "$LINENO"; then :
41230 glibcxx_cv_func_isnan_use=yes
41231 else
41232 glibcxx_cv_func_isnan_use=no
41234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41235 ac_ext=c
41236 ac_cpp='$CPP $CPPFLAGS'
41237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41246 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41248 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41249 for ac_func in isnan
41250 do :
41251 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41252 if test "x$ac_cv_func_isnan" = x""yes; then :
41253 cat >>confdefs.h <<_ACEOF
41254 #define HAVE_ISNAN 1
41255 _ACEOF
41258 done
41260 else
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41263 $as_echo_n "checking for _isnan declaration... " >&6; }
41264 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41265 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41266 $as_echo_n "(cached) " >&6
41267 else
41270 ac_ext=cpp
41271 ac_cpp='$CXXCPP $CPPFLAGS'
41272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41277 /* end confdefs.h. */
41278 #include <math.h>
41279 #ifdef HAVE_IEEEFP_H
41280 #include <ieeefp.h>
41281 #endif
41284 main ()
41286 _isnan(0);
41288 return 0;
41290 _ACEOF
41291 if ac_fn_cxx_try_compile "$LINENO"; then :
41292 glibcxx_cv_func__isnan_use=yes
41293 else
41294 glibcxx_cv_func__isnan_use=no
41296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41297 ac_ext=c
41298 ac_cpp='$CPP $CPPFLAGS'
41299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41308 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41310 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41311 for ac_func in _isnan
41312 do :
41313 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41314 if test "x$ac_cv_func__isnan" = x""yes; then :
41315 cat >>confdefs.h <<_ACEOF
41316 #define HAVE__ISNAN 1
41317 _ACEOF
41320 done
41329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41330 $as_echo_n "checking for finite declaration... " >&6; }
41331 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41332 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41333 $as_echo_n "(cached) " >&6
41334 else
41337 ac_ext=cpp
41338 ac_cpp='$CXXCPP $CPPFLAGS'
41339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41344 /* end confdefs.h. */
41345 #include <math.h>
41346 #ifdef HAVE_IEEEFP_H
41347 #include <ieeefp.h>
41348 #endif
41351 main ()
41353 finite(0);
41355 return 0;
41357 _ACEOF
41358 if ac_fn_cxx_try_compile "$LINENO"; then :
41359 glibcxx_cv_func_finite_use=yes
41360 else
41361 glibcxx_cv_func_finite_use=no
41363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41364 ac_ext=c
41365 ac_cpp='$CPP $CPPFLAGS'
41366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41375 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41377 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41378 for ac_func in finite
41379 do :
41380 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41381 if test "x$ac_cv_func_finite" = x""yes; then :
41382 cat >>confdefs.h <<_ACEOF
41383 #define HAVE_FINITE 1
41384 _ACEOF
41387 done
41389 else
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41392 $as_echo_n "checking for _finite declaration... " >&6; }
41393 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41394 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41395 $as_echo_n "(cached) " >&6
41396 else
41399 ac_ext=cpp
41400 ac_cpp='$CXXCPP $CPPFLAGS'
41401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41406 /* end confdefs.h. */
41407 #include <math.h>
41408 #ifdef HAVE_IEEEFP_H
41409 #include <ieeefp.h>
41410 #endif
41413 main ()
41415 _finite(0);
41417 return 0;
41419 _ACEOF
41420 if ac_fn_cxx_try_compile "$LINENO"; then :
41421 glibcxx_cv_func__finite_use=yes
41422 else
41423 glibcxx_cv_func__finite_use=no
41425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41426 ac_ext=c
41427 ac_cpp='$CPP $CPPFLAGS'
41428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41437 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41439 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41440 for ac_func in _finite
41441 do :
41442 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41443 if test "x$ac_cv_func__finite" = x""yes; then :
41444 cat >>confdefs.h <<_ACEOF
41445 #define HAVE__FINITE 1
41446 _ACEOF
41449 done
41458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41459 $as_echo_n "checking for sincos declaration... " >&6; }
41460 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41461 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41462 $as_echo_n "(cached) " >&6
41463 else
41466 ac_ext=cpp
41467 ac_cpp='$CXXCPP $CPPFLAGS'
41468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41473 /* end confdefs.h. */
41474 #include <math.h>
41476 main ()
41478 sincos(0, 0, 0);
41480 return 0;
41482 _ACEOF
41483 if ac_fn_cxx_try_compile "$LINENO"; then :
41484 glibcxx_cv_func_sincos_use=yes
41485 else
41486 glibcxx_cv_func_sincos_use=no
41488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41489 ac_ext=c
41490 ac_cpp='$CPP $CPPFLAGS'
41491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41500 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41502 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41503 for ac_func in sincos
41504 do :
41505 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41506 if test "x$ac_cv_func_sincos" = x""yes; then :
41507 cat >>confdefs.h <<_ACEOF
41508 #define HAVE_SINCOS 1
41509 _ACEOF
41512 done
41514 else
41516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41517 $as_echo_n "checking for _sincos declaration... " >&6; }
41518 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41519 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41520 $as_echo_n "(cached) " >&6
41521 else
41524 ac_ext=cpp
41525 ac_cpp='$CXXCPP $CPPFLAGS'
41526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41531 /* end confdefs.h. */
41532 #include <math.h>
41534 main ()
41536 _sincos(0, 0, 0);
41538 return 0;
41540 _ACEOF
41541 if ac_fn_cxx_try_compile "$LINENO"; then :
41542 glibcxx_cv_func__sincos_use=yes
41543 else
41544 glibcxx_cv_func__sincos_use=no
41546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41547 ac_ext=c
41548 ac_cpp='$CPP $CPPFLAGS'
41549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41558 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41560 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41561 for ac_func in _sincos
41562 do :
41563 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41564 if test "x$ac_cv_func__sincos" = x""yes; then :
41565 cat >>confdefs.h <<_ACEOF
41566 #define HAVE__SINCOS 1
41567 _ACEOF
41570 done
41579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41580 $as_echo_n "checking for fpclass declaration... " >&6; }
41581 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41582 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41583 $as_echo_n "(cached) " >&6
41584 else
41587 ac_ext=cpp
41588 ac_cpp='$CXXCPP $CPPFLAGS'
41589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594 /* end confdefs.h. */
41595 #include <math.h>
41596 #ifdef HAVE_IEEEFP_H
41597 #include <ieeefp.h>
41598 #endif
41601 main ()
41603 fpclass(0);
41605 return 0;
41607 _ACEOF
41608 if ac_fn_cxx_try_compile "$LINENO"; then :
41609 glibcxx_cv_func_fpclass_use=yes
41610 else
41611 glibcxx_cv_func_fpclass_use=no
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614 ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41625 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41627 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41628 for ac_func in fpclass
41629 do :
41630 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41631 if test "x$ac_cv_func_fpclass" = x""yes; then :
41632 cat >>confdefs.h <<_ACEOF
41633 #define HAVE_FPCLASS 1
41634 _ACEOF
41637 done
41639 else
41641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41642 $as_echo_n "checking for _fpclass declaration... " >&6; }
41643 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41644 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41645 $as_echo_n "(cached) " >&6
41646 else
41649 ac_ext=cpp
41650 ac_cpp='$CXXCPP $CPPFLAGS'
41651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41656 /* end confdefs.h. */
41657 #include <math.h>
41658 #ifdef HAVE_IEEEFP_H
41659 #include <ieeefp.h>
41660 #endif
41663 main ()
41665 _fpclass(0);
41667 return 0;
41669 _ACEOF
41670 if ac_fn_cxx_try_compile "$LINENO"; then :
41671 glibcxx_cv_func__fpclass_use=yes
41672 else
41673 glibcxx_cv_func__fpclass_use=no
41675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41676 ac_ext=c
41677 ac_cpp='$CPP $CPPFLAGS'
41678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41687 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41689 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41690 for ac_func in _fpclass
41691 do :
41692 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41693 if test "x$ac_cv_func__fpclass" = x""yes; then :
41694 cat >>confdefs.h <<_ACEOF
41695 #define HAVE__FPCLASS 1
41696 _ACEOF
41699 done
41708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41709 $as_echo_n "checking for qfpclass declaration... " >&6; }
41710 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41711 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41712 $as_echo_n "(cached) " >&6
41713 else
41716 ac_ext=cpp
41717 ac_cpp='$CXXCPP $CPPFLAGS'
41718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41723 /* end confdefs.h. */
41724 #include <math.h>
41725 #ifdef HAVE_IEEEFP_H
41726 #include <ieeefp.h>
41727 #endif
41730 main ()
41732 qfpclass(0);
41734 return 0;
41736 _ACEOF
41737 if ac_fn_cxx_try_compile "$LINENO"; then :
41738 glibcxx_cv_func_qfpclass_use=yes
41739 else
41740 glibcxx_cv_func_qfpclass_use=no
41742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41743 ac_ext=c
41744 ac_cpp='$CPP $CPPFLAGS'
41745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41754 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41756 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41757 for ac_func in qfpclass
41758 do :
41759 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41760 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41761 cat >>confdefs.h <<_ACEOF
41762 #define HAVE_QFPCLASS 1
41763 _ACEOF
41766 done
41768 else
41770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41771 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41772 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41773 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41774 $as_echo_n "(cached) " >&6
41775 else
41778 ac_ext=cpp
41779 ac_cpp='$CXXCPP $CPPFLAGS'
41780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41785 /* end confdefs.h. */
41786 #include <math.h>
41787 #ifdef HAVE_IEEEFP_H
41788 #include <ieeefp.h>
41789 #endif
41792 main ()
41794 _qfpclass(0);
41796 return 0;
41798 _ACEOF
41799 if ac_fn_cxx_try_compile "$LINENO"; then :
41800 glibcxx_cv_func__qfpclass_use=yes
41801 else
41802 glibcxx_cv_func__qfpclass_use=no
41804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41805 ac_ext=c
41806 ac_cpp='$CPP $CPPFLAGS'
41807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41816 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41818 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41819 for ac_func in _qfpclass
41820 do :
41821 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41822 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41823 cat >>confdefs.h <<_ACEOF
41824 #define HAVE__QFPCLASS 1
41825 _ACEOF
41828 done
41837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41838 $as_echo_n "checking for hypot declaration... " >&6; }
41839 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41840 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41841 $as_echo_n "(cached) " >&6
41842 else
41845 ac_ext=cpp
41846 ac_cpp='$CXXCPP $CPPFLAGS'
41847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41852 /* end confdefs.h. */
41853 #include <math.h>
41855 main ()
41857 hypot(0, 0);
41859 return 0;
41861 _ACEOF
41862 if ac_fn_cxx_try_compile "$LINENO"; then :
41863 glibcxx_cv_func_hypot_use=yes
41864 else
41865 glibcxx_cv_func_hypot_use=no
41867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41868 ac_ext=c
41869 ac_cpp='$CPP $CPPFLAGS'
41870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41879 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41881 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41882 for ac_func in hypot
41883 do :
41884 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41885 if test "x$ac_cv_func_hypot" = x""yes; then :
41886 cat >>confdefs.h <<_ACEOF
41887 #define HAVE_HYPOT 1
41888 _ACEOF
41891 done
41893 else
41895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41896 $as_echo_n "checking for _hypot declaration... " >&6; }
41897 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41898 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41899 $as_echo_n "(cached) " >&6
41900 else
41903 ac_ext=cpp
41904 ac_cpp='$CXXCPP $CPPFLAGS'
41905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41910 /* end confdefs.h. */
41911 #include <math.h>
41913 main ()
41915 _hypot(0, 0);
41917 return 0;
41919 _ACEOF
41920 if ac_fn_cxx_try_compile "$LINENO"; then :
41921 glibcxx_cv_func__hypot_use=yes
41922 else
41923 glibcxx_cv_func__hypot_use=no
41925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41926 ac_ext=c
41927 ac_cpp='$CPP $CPPFLAGS'
41928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41937 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41939 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41940 for ac_func in _hypot
41941 do :
41942 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41943 if test "x$ac_cv_func__hypot" = x""yes; then :
41944 cat >>confdefs.h <<_ACEOF
41945 #define HAVE__HYPOT 1
41946 _ACEOF
41949 done
41958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41959 $as_echo_n "checking for float trig functions... " >&6; }
41960 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41961 $as_echo_n "(cached) " >&6
41962 else
41965 ac_ext=cpp
41966 ac_cpp='$CXXCPP $CPPFLAGS'
41967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41972 /* end confdefs.h. */
41973 #include <math.h>
41975 main ()
41977 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41979 return 0;
41981 _ACEOF
41982 if ac_fn_cxx_try_compile "$LINENO"; then :
41983 glibcxx_cv_func_float_trig_use=yes
41984 else
41985 glibcxx_cv_func_float_trig_use=no
41987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41988 ac_ext=c
41989 ac_cpp='$CPP $CPPFLAGS'
41990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41997 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41998 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41999 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42000 do :
42001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42003 eval as_val=\$$as_ac_var
42004 if test "x$as_val" = x""yes; then :
42005 cat >>confdefs.h <<_ACEOF
42006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42007 _ACEOF
42010 done
42012 else
42013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42014 $as_echo_n "checking for _float trig functions... " >&6; }
42015 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42016 $as_echo_n "(cached) " >&6
42017 else
42020 ac_ext=cpp
42021 ac_cpp='$CXXCPP $CPPFLAGS'
42022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42027 /* end confdefs.h. */
42028 #include <math.h>
42030 main ()
42032 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42034 return 0;
42036 _ACEOF
42037 if ac_fn_cxx_try_compile "$LINENO"; then :
42038 glibcxx_cv_func__float_trig_use=yes
42039 else
42040 glibcxx_cv_func__float_trig_use=no
42042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42043 ac_ext=c
42044 ac_cpp='$CPP $CPPFLAGS'
42045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42052 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42053 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42054 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42055 do :
42056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42058 eval as_val=\$$as_ac_var
42059 if test "x$as_val" = x""yes; then :
42060 cat >>confdefs.h <<_ACEOF
42061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42062 _ACEOF
42065 done
42074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42075 $as_echo_n "checking for float round functions... " >&6; }
42076 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42077 $as_echo_n "(cached) " >&6
42078 else
42081 ac_ext=cpp
42082 ac_cpp='$CXXCPP $CPPFLAGS'
42083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42088 /* end confdefs.h. */
42089 #include <math.h>
42091 main ()
42093 ceilf (0); floorf (0);
42095 return 0;
42097 _ACEOF
42098 if ac_fn_cxx_try_compile "$LINENO"; then :
42099 glibcxx_cv_func_float_round_use=yes
42100 else
42101 glibcxx_cv_func_float_round_use=no
42103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42104 ac_ext=c
42105 ac_cpp='$CPP $CPPFLAGS'
42106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42113 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42114 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42115 for ac_func in ceilf floorf
42116 do :
42117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42119 eval as_val=\$$as_ac_var
42120 if test "x$as_val" = x""yes; then :
42121 cat >>confdefs.h <<_ACEOF
42122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42123 _ACEOF
42126 done
42128 else
42129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42130 $as_echo_n "checking for _float round functions... " >&6; }
42131 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42132 $as_echo_n "(cached) " >&6
42133 else
42136 ac_ext=cpp
42137 ac_cpp='$CXXCPP $CPPFLAGS'
42138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42143 /* end confdefs.h. */
42144 #include <math.h>
42146 main ()
42148 _ceilf (0); _floorf (0);
42150 return 0;
42152 _ACEOF
42153 if ac_fn_cxx_try_compile "$LINENO"; then :
42154 glibcxx_cv_func__float_round_use=yes
42155 else
42156 glibcxx_cv_func__float_round_use=no
42158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42159 ac_ext=c
42160 ac_cpp='$CPP $CPPFLAGS'
42161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42168 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42169 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42170 for ac_func in _ceilf _floorf
42171 do :
42172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42174 eval as_val=\$$as_ac_var
42175 if test "x$as_val" = x""yes; then :
42176 cat >>confdefs.h <<_ACEOF
42177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42178 _ACEOF
42181 done
42191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42192 $as_echo_n "checking for expf declaration... " >&6; }
42193 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42194 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42195 $as_echo_n "(cached) " >&6
42196 else
42199 ac_ext=cpp
42200 ac_cpp='$CXXCPP $CPPFLAGS'
42201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42206 /* end confdefs.h. */
42207 #include <math.h>
42208 #ifdef HAVE_IEEEFP_H
42209 #include <ieeefp.h>
42210 #endif
42213 main ()
42215 expf(0);
42217 return 0;
42219 _ACEOF
42220 if ac_fn_cxx_try_compile "$LINENO"; then :
42221 glibcxx_cv_func_expf_use=yes
42222 else
42223 glibcxx_cv_func_expf_use=no
42225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42226 ac_ext=c
42227 ac_cpp='$CPP $CPPFLAGS'
42228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42237 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42239 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42240 for ac_func in expf
42241 do :
42242 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42243 if test "x$ac_cv_func_expf" = x""yes; then :
42244 cat >>confdefs.h <<_ACEOF
42245 #define HAVE_EXPF 1
42246 _ACEOF
42249 done
42251 else
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42254 $as_echo_n "checking for _expf declaration... " >&6; }
42255 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42256 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42257 $as_echo_n "(cached) " >&6
42258 else
42261 ac_ext=cpp
42262 ac_cpp='$CXXCPP $CPPFLAGS'
42263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42268 /* end confdefs.h. */
42269 #include <math.h>
42270 #ifdef HAVE_IEEEFP_H
42271 #include <ieeefp.h>
42272 #endif
42275 main ()
42277 _expf(0);
42279 return 0;
42281 _ACEOF
42282 if ac_fn_cxx_try_compile "$LINENO"; then :
42283 glibcxx_cv_func__expf_use=yes
42284 else
42285 glibcxx_cv_func__expf_use=no
42287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42288 ac_ext=c
42289 ac_cpp='$CPP $CPPFLAGS'
42290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42299 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42301 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42302 for ac_func in _expf
42303 do :
42304 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42305 if test "x$ac_cv_func__expf" = x""yes; then :
42306 cat >>confdefs.h <<_ACEOF
42307 #define HAVE__EXPF 1
42308 _ACEOF
42311 done
42320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42321 $as_echo_n "checking for isnanf declaration... " >&6; }
42322 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42323 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42324 $as_echo_n "(cached) " >&6
42325 else
42328 ac_ext=cpp
42329 ac_cpp='$CXXCPP $CPPFLAGS'
42330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42335 /* end confdefs.h. */
42336 #include <math.h>
42337 #ifdef HAVE_IEEEFP_H
42338 #include <ieeefp.h>
42339 #endif
42342 main ()
42344 isnanf(0);
42346 return 0;
42348 _ACEOF
42349 if ac_fn_cxx_try_compile "$LINENO"; then :
42350 glibcxx_cv_func_isnanf_use=yes
42351 else
42352 glibcxx_cv_func_isnanf_use=no
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355 ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42366 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42368 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42369 for ac_func in isnanf
42370 do :
42371 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42372 if test "x$ac_cv_func_isnanf" = x""yes; then :
42373 cat >>confdefs.h <<_ACEOF
42374 #define HAVE_ISNANF 1
42375 _ACEOF
42378 done
42380 else
42382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42383 $as_echo_n "checking for _isnanf declaration... " >&6; }
42384 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42385 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42386 $as_echo_n "(cached) " >&6
42387 else
42390 ac_ext=cpp
42391 ac_cpp='$CXXCPP $CPPFLAGS'
42392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42397 /* end confdefs.h. */
42398 #include <math.h>
42399 #ifdef HAVE_IEEEFP_H
42400 #include <ieeefp.h>
42401 #endif
42404 main ()
42406 _isnanf(0);
42408 return 0;
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__isnanf_use=yes
42413 else
42414 glibcxx_cv_func__isnanf_use=no
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42428 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42430 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42431 for ac_func in _isnanf
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42434 if test "x$ac_cv_func__isnanf" = x""yes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__ISNANF 1
42437 _ACEOF
42440 done
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42450 $as_echo_n "checking for isinff declaration... " >&6; }
42451 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42452 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42453 $as_echo_n "(cached) " >&6
42454 else
42457 ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h. */
42465 #include <math.h>
42466 #ifdef HAVE_IEEEFP_H
42467 #include <ieeefp.h>
42468 #endif
42471 main ()
42473 isinff(0);
42475 return 0;
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479 glibcxx_cv_func_isinff_use=yes
42480 else
42481 glibcxx_cv_func_isinff_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_isinff_use" >&5
42495 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42497 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42498 for ac_func in isinff
42499 do :
42500 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42501 if test "x$ac_cv_func_isinff" = x""yes; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define HAVE_ISINFF 1
42504 _ACEOF
42507 done
42509 else
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42512 $as_echo_n "checking for _isinff declaration... " >&6; }
42513 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42514 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42515 $as_echo_n "(cached) " >&6
42516 else
42519 ac_ext=cpp
42520 ac_cpp='$CXXCPP $CPPFLAGS'
42521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526 /* end confdefs.h. */
42527 #include <math.h>
42528 #ifdef HAVE_IEEEFP_H
42529 #include <ieeefp.h>
42530 #endif
42533 main ()
42535 _isinff(0);
42537 return 0;
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func__isinff_use=yes
42542 else
42543 glibcxx_cv_func__isinff_use=no
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42557 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42559 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42560 for ac_func in _isinff
42561 do :
42562 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42563 if test "x$ac_cv_func__isinff" = x""yes; then :
42564 cat >>confdefs.h <<_ACEOF
42565 #define HAVE__ISINFF 1
42566 _ACEOF
42569 done
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42579 $as_echo_n "checking for atan2f declaration... " >&6; }
42580 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42581 if test "${glibcxx_cv_func_atan2f_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>
42596 main ()
42598 atan2f(0, 0);
42600 return 0;
42602 _ACEOF
42603 if ac_fn_cxx_try_compile "$LINENO"; then :
42604 glibcxx_cv_func_atan2f_use=yes
42605 else
42606 glibcxx_cv_func_atan2f_use=no
42608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42609 ac_ext=c
42610 ac_cpp='$CPP $CPPFLAGS'
42611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42620 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42622 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42623 for ac_func in atan2f
42624 do :
42625 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42626 if test "x$ac_cv_func_atan2f" = x""yes; then :
42627 cat >>confdefs.h <<_ACEOF
42628 #define HAVE_ATAN2F 1
42629 _ACEOF
42632 done
42634 else
42636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42637 $as_echo_n "checking for _atan2f declaration... " >&6; }
42638 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42639 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42640 $as_echo_n "(cached) " >&6
42641 else
42644 ac_ext=cpp
42645 ac_cpp='$CXXCPP $CPPFLAGS'
42646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42651 /* end confdefs.h. */
42652 #include <math.h>
42654 main ()
42656 _atan2f(0, 0);
42658 return 0;
42660 _ACEOF
42661 if ac_fn_cxx_try_compile "$LINENO"; then :
42662 glibcxx_cv_func__atan2f_use=yes
42663 else
42664 glibcxx_cv_func__atan2f_use=no
42666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42667 ac_ext=c
42668 ac_cpp='$CPP $CPPFLAGS'
42669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42678 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42680 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42681 for ac_func in _atan2f
42682 do :
42683 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42684 if test "x$ac_cv_func__atan2f" = x""yes; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define HAVE__ATAN2F 1
42687 _ACEOF
42690 done
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42700 $as_echo_n "checking for fabsf declaration... " >&6; }
42701 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42702 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42721 main ()
42723 fabsf(0);
42725 return 0;
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func_fabsf_use=yes
42730 else
42731 glibcxx_cv_func_fabsf_use=no
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42745 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42747 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42748 for ac_func in fabsf
42749 do :
42750 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42751 if test "x$ac_cv_func_fabsf" = x""yes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE_FABSF 1
42754 _ACEOF
42757 done
42759 else
42761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42762 $as_echo_n "checking for _fabsf declaration... " >&6; }
42763 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42764 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42765 $as_echo_n "(cached) " >&6
42766 else
42769 ac_ext=cpp
42770 ac_cpp='$CXXCPP $CPPFLAGS'
42771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42776 /* end confdefs.h. */
42777 #include <math.h>
42778 #ifdef HAVE_IEEEFP_H
42779 #include <ieeefp.h>
42780 #endif
42783 main ()
42785 _fabsf(0);
42787 return 0;
42789 _ACEOF
42790 if ac_fn_cxx_try_compile "$LINENO"; then :
42791 glibcxx_cv_func__fabsf_use=yes
42792 else
42793 glibcxx_cv_func__fabsf_use=no
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796 ac_ext=c
42797 ac_cpp='$CPP $CPPFLAGS'
42798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42807 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42809 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42810 for ac_func in _fabsf
42811 do :
42812 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42813 if test "x$ac_cv_func__fabsf" = x""yes; then :
42814 cat >>confdefs.h <<_ACEOF
42815 #define HAVE__FABSF 1
42816 _ACEOF
42819 done
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42829 $as_echo_n "checking for fmodf declaration... " >&6; }
42830 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42831 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42832 $as_echo_n "(cached) " >&6
42833 else
42836 ac_ext=cpp
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42844 #include <math.h>
42846 main ()
42848 fmodf(0, 0);
42850 return 0;
42852 _ACEOF
42853 if ac_fn_cxx_try_compile "$LINENO"; then :
42854 glibcxx_cv_func_fmodf_use=yes
42855 else
42856 glibcxx_cv_func_fmodf_use=no
42858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859 ac_ext=c
42860 ac_cpp='$CPP $CPPFLAGS'
42861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42870 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42872 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42873 for ac_func in fmodf
42874 do :
42875 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42876 if test "x$ac_cv_func_fmodf" = x""yes; then :
42877 cat >>confdefs.h <<_ACEOF
42878 #define HAVE_FMODF 1
42879 _ACEOF
42882 done
42884 else
42886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42887 $as_echo_n "checking for _fmodf declaration... " >&6; }
42888 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42889 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42890 $as_echo_n "(cached) " >&6
42891 else
42894 ac_ext=cpp
42895 ac_cpp='$CXXCPP $CPPFLAGS'
42896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42901 /* end confdefs.h. */
42902 #include <math.h>
42904 main ()
42906 _fmodf(0, 0);
42908 return 0;
42910 _ACEOF
42911 if ac_fn_cxx_try_compile "$LINENO"; then :
42912 glibcxx_cv_func__fmodf_use=yes
42913 else
42914 glibcxx_cv_func__fmodf_use=no
42916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42917 ac_ext=c
42918 ac_cpp='$CPP $CPPFLAGS'
42919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42928 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42930 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42931 for ac_func in _fmodf
42932 do :
42933 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42934 if test "x$ac_cv_func__fmodf" = x""yes; then :
42935 cat >>confdefs.h <<_ACEOF
42936 #define HAVE__FMODF 1
42937 _ACEOF
42940 done
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42950 $as_echo_n "checking for frexpf declaration... " >&6; }
42951 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42952 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42953 $as_echo_n "(cached) " >&6
42954 else
42957 ac_ext=cpp
42958 ac_cpp='$CXXCPP $CPPFLAGS'
42959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42964 /* end confdefs.h. */
42965 #include <math.h>
42967 main ()
42969 frexpf(0, 0);
42971 return 0;
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975 glibcxx_cv_func_frexpf_use=yes
42976 else
42977 glibcxx_cv_func_frexpf_use=no
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980 ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42991 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42993 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42994 for ac_func in frexpf
42995 do :
42996 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42997 if test "x$ac_cv_func_frexpf" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define HAVE_FREXPF 1
43000 _ACEOF
43003 done
43005 else
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43008 $as_echo_n "checking for _frexpf declaration... " >&6; }
43009 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43010 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43011 $as_echo_n "(cached) " >&6
43012 else
43015 ac_ext=cpp
43016 ac_cpp='$CXXCPP $CPPFLAGS'
43017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43022 /* end confdefs.h. */
43023 #include <math.h>
43025 main ()
43027 _frexpf(0, 0);
43029 return 0;
43031 _ACEOF
43032 if ac_fn_cxx_try_compile "$LINENO"; then :
43033 glibcxx_cv_func__frexpf_use=yes
43034 else
43035 glibcxx_cv_func__frexpf_use=no
43037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43038 ac_ext=c
43039 ac_cpp='$CPP $CPPFLAGS'
43040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43049 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43051 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43052 for ac_func in _frexpf
43053 do :
43054 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43055 if test "x$ac_cv_func__frexpf" = x""yes; then :
43056 cat >>confdefs.h <<_ACEOF
43057 #define HAVE__FREXPF 1
43058 _ACEOF
43061 done
43070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43071 $as_echo_n "checking for hypotf declaration... " >&6; }
43072 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43073 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43074 $as_echo_n "(cached) " >&6
43075 else
43078 ac_ext=cpp
43079 ac_cpp='$CXXCPP $CPPFLAGS'
43080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43085 /* end confdefs.h. */
43086 #include <math.h>
43088 main ()
43090 hypotf(0, 0);
43092 return 0;
43094 _ACEOF
43095 if ac_fn_cxx_try_compile "$LINENO"; then :
43096 glibcxx_cv_func_hypotf_use=yes
43097 else
43098 glibcxx_cv_func_hypotf_use=no
43100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43101 ac_ext=c
43102 ac_cpp='$CPP $CPPFLAGS'
43103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43112 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43114 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43115 for ac_func in hypotf
43116 do :
43117 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43118 if test "x$ac_cv_func_hypotf" = x""yes; then :
43119 cat >>confdefs.h <<_ACEOF
43120 #define HAVE_HYPOTF 1
43121 _ACEOF
43124 done
43126 else
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43129 $as_echo_n "checking for _hypotf declaration... " >&6; }
43130 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43131 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43132 $as_echo_n "(cached) " >&6
43133 else
43136 ac_ext=cpp
43137 ac_cpp='$CXXCPP $CPPFLAGS'
43138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43143 /* end confdefs.h. */
43144 #include <math.h>
43146 main ()
43148 _hypotf(0, 0);
43150 return 0;
43152 _ACEOF
43153 if ac_fn_cxx_try_compile "$LINENO"; then :
43154 glibcxx_cv_func__hypotf_use=yes
43155 else
43156 glibcxx_cv_func__hypotf_use=no
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_ext=c
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43170 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43172 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43173 for ac_func in _hypotf
43174 do :
43175 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43176 if test "x$ac_cv_func__hypotf" = x""yes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define HAVE__HYPOTF 1
43179 _ACEOF
43182 done
43191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43192 $as_echo_n "checking for ldexpf declaration... " >&6; }
43193 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43194 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43195 $as_echo_n "(cached) " >&6
43196 else
43199 ac_ext=cpp
43200 ac_cpp='$CXXCPP $CPPFLAGS'
43201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43206 /* end confdefs.h. */
43207 #include <math.h>
43209 main ()
43211 ldexpf(0, 0);
43213 return 0;
43215 _ACEOF
43216 if ac_fn_cxx_try_compile "$LINENO"; then :
43217 glibcxx_cv_func_ldexpf_use=yes
43218 else
43219 glibcxx_cv_func_ldexpf_use=no
43221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43222 ac_ext=c
43223 ac_cpp='$CPP $CPPFLAGS'
43224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43233 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43235 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43236 for ac_func in ldexpf
43237 do :
43238 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43239 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43240 cat >>confdefs.h <<_ACEOF
43241 #define HAVE_LDEXPF 1
43242 _ACEOF
43245 done
43247 else
43249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43250 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43251 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43252 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43253 $as_echo_n "(cached) " >&6
43254 else
43257 ac_ext=cpp
43258 ac_cpp='$CXXCPP $CPPFLAGS'
43259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43264 /* end confdefs.h. */
43265 #include <math.h>
43267 main ()
43269 _ldexpf(0, 0);
43271 return 0;
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275 glibcxx_cv_func__ldexpf_use=yes
43276 else
43277 glibcxx_cv_func__ldexpf_use=no
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280 ac_ext=c
43281 ac_cpp='$CPP $CPPFLAGS'
43282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43291 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43293 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43294 for ac_func in _ldexpf
43295 do :
43296 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43297 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43298 cat >>confdefs.h <<_ACEOF
43299 #define HAVE__LDEXPF 1
43300 _ACEOF
43303 done
43312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43313 $as_echo_n "checking for logf declaration... " >&6; }
43314 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43315 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43316 $as_echo_n "(cached) " >&6
43317 else
43320 ac_ext=cpp
43321 ac_cpp='$CXXCPP $CPPFLAGS'
43322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43327 /* end confdefs.h. */
43328 #include <math.h>
43329 #ifdef HAVE_IEEEFP_H
43330 #include <ieeefp.h>
43331 #endif
43334 main ()
43336 logf(0);
43338 return 0;
43340 _ACEOF
43341 if ac_fn_cxx_try_compile "$LINENO"; then :
43342 glibcxx_cv_func_logf_use=yes
43343 else
43344 glibcxx_cv_func_logf_use=no
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 ac_ext=c
43348 ac_cpp='$CPP $CPPFLAGS'
43349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43358 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43360 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43361 for ac_func in logf
43362 do :
43363 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43364 if test "x$ac_cv_func_logf" = x""yes; then :
43365 cat >>confdefs.h <<_ACEOF
43366 #define HAVE_LOGF 1
43367 _ACEOF
43370 done
43372 else
43374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43375 $as_echo_n "checking for _logf declaration... " >&6; }
43376 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43377 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43378 $as_echo_n "(cached) " >&6
43379 else
43382 ac_ext=cpp
43383 ac_cpp='$CXXCPP $CPPFLAGS'
43384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43389 /* end confdefs.h. */
43390 #include <math.h>
43391 #ifdef HAVE_IEEEFP_H
43392 #include <ieeefp.h>
43393 #endif
43396 main ()
43398 _logf(0);
43400 return 0;
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func__logf_use=yes
43405 else
43406 glibcxx_cv_func__logf_use=no
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43420 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43422 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43423 for ac_func in _logf
43424 do :
43425 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43426 if test "x$ac_cv_func__logf" = x""yes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE__LOGF 1
43429 _ACEOF
43432 done
43441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43442 $as_echo_n "checking for log10f declaration... " >&6; }
43443 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43444 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43445 $as_echo_n "(cached) " >&6
43446 else
43449 ac_ext=cpp
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456 /* end confdefs.h. */
43457 #include <math.h>
43458 #ifdef HAVE_IEEEFP_H
43459 #include <ieeefp.h>
43460 #endif
43463 main ()
43465 log10f(0);
43467 return 0;
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471 glibcxx_cv_func_log10f_use=yes
43472 else
43473 glibcxx_cv_func_log10f_use=no
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43487 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43489 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43490 for ac_func in log10f
43491 do :
43492 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43493 if test "x$ac_cv_func_log10f" = x""yes; then :
43494 cat >>confdefs.h <<_ACEOF
43495 #define HAVE_LOG10F 1
43496 _ACEOF
43499 done
43501 else
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43504 $as_echo_n "checking for _log10f declaration... " >&6; }
43505 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43506 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43507 $as_echo_n "(cached) " >&6
43508 else
43511 ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h. */
43519 #include <math.h>
43520 #ifdef HAVE_IEEEFP_H
43521 #include <ieeefp.h>
43522 #endif
43525 main ()
43527 _log10f(0);
43529 return 0;
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533 glibcxx_cv_func__log10f_use=yes
43534 else
43535 glibcxx_cv_func__log10f_use=no
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538 ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43549 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43551 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43552 for ac_func in _log10f
43553 do :
43554 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43555 if test "x$ac_cv_func__log10f" = x""yes; then :
43556 cat >>confdefs.h <<_ACEOF
43557 #define HAVE__LOG10F 1
43558 _ACEOF
43561 done
43570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43571 $as_echo_n "checking for modff declaration... " >&6; }
43572 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43573 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
43592 return 0;
43594 _ACEOF
43595 if ac_fn_cxx_try_compile "$LINENO"; then :
43596 glibcxx_cv_func_modff_use=yes
43597 else
43598 glibcxx_cv_func_modff_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
43611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43612 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43614 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43615 for ac_func in modff
43616 do :
43617 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43618 if test "x$ac_cv_func_modff" = x""yes; then :
43619 cat >>confdefs.h <<_ACEOF
43620 #define HAVE_MODFF 1
43621 _ACEOF
43624 done
43626 else
43628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43629 $as_echo_n "checking for _modff declaration... " >&6; }
43630 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43631 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43632 $as_echo_n "(cached) " >&6
43633 else
43636 ac_ext=cpp
43637 ac_cpp='$CXXCPP $CPPFLAGS'
43638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43643 /* end confdefs.h. */
43644 #include <math.h>
43646 main ()
43648 _modff(0, 0);
43650 return 0;
43652 _ACEOF
43653 if ac_fn_cxx_try_compile "$LINENO"; then :
43654 glibcxx_cv_func__modff_use=yes
43655 else
43656 glibcxx_cv_func__modff_use=no
43658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43659 ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43670 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43672 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43673 for ac_func in _modff
43674 do :
43675 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43676 if test "x$ac_cv_func__modff" = x""yes; then :
43677 cat >>confdefs.h <<_ACEOF
43678 #define HAVE__MODFF 1
43679 _ACEOF
43682 done
43691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43692 $as_echo_n "checking for modf declaration... " >&6; }
43693 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43694 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43695 $as_echo_n "(cached) " >&6
43696 else
43699 ac_ext=cpp
43700 ac_cpp='$CXXCPP $CPPFLAGS'
43701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43706 /* end confdefs.h. */
43707 #include <math.h>
43709 main ()
43711 modf(0, 0);
43713 return 0;
43715 _ACEOF
43716 if ac_fn_cxx_try_compile "$LINENO"; then :
43717 glibcxx_cv_func_modf_use=yes
43718 else
43719 glibcxx_cv_func_modf_use=no
43721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43722 ac_ext=c
43723 ac_cpp='$CPP $CPPFLAGS'
43724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43733 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43735 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43736 for ac_func in modf
43737 do :
43738 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43739 if test "x$ac_cv_func_modf" = x""yes; then :
43740 cat >>confdefs.h <<_ACEOF
43741 #define HAVE_MODF 1
43742 _ACEOF
43745 done
43747 else
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43750 $as_echo_n "checking for _modf declaration... " >&6; }
43751 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43752 if test "${glibcxx_cv_func__modf_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>
43767 main ()
43769 _modf(0, 0);
43771 return 0;
43773 _ACEOF
43774 if ac_fn_cxx_try_compile "$LINENO"; then :
43775 glibcxx_cv_func__modf_use=yes
43776 else
43777 glibcxx_cv_func__modf_use=no
43779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43780 ac_ext=c
43781 ac_cpp='$CPP $CPPFLAGS'
43782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43791 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43793 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43794 for ac_func in _modf
43795 do :
43796 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43797 if test "x$ac_cv_func__modf" = x""yes; then :
43798 cat >>confdefs.h <<_ACEOF
43799 #define HAVE__MODF 1
43800 _ACEOF
43803 done
43812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43813 $as_echo_n "checking for powf declaration... " >&6; }
43814 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43815 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43816 $as_echo_n "(cached) " >&6
43817 else
43820 ac_ext=cpp
43821 ac_cpp='$CXXCPP $CPPFLAGS'
43822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43827 /* end confdefs.h. */
43828 #include <math.h>
43830 main ()
43832 powf(0, 0);
43834 return 0;
43836 _ACEOF
43837 if ac_fn_cxx_try_compile "$LINENO"; then :
43838 glibcxx_cv_func_powf_use=yes
43839 else
43840 glibcxx_cv_func_powf_use=no
43842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43843 ac_ext=c
43844 ac_cpp='$CPP $CPPFLAGS'
43845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43854 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43856 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43857 for ac_func in powf
43858 do :
43859 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43860 if test "x$ac_cv_func_powf" = x""yes; then :
43861 cat >>confdefs.h <<_ACEOF
43862 #define HAVE_POWF 1
43863 _ACEOF
43866 done
43868 else
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43871 $as_echo_n "checking for _powf declaration... " >&6; }
43872 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43873 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43874 $as_echo_n "(cached) " >&6
43875 else
43878 ac_ext=cpp
43879 ac_cpp='$CXXCPP $CPPFLAGS'
43880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43885 /* end confdefs.h. */
43886 #include <math.h>
43888 main ()
43890 _powf(0, 0);
43892 return 0;
43894 _ACEOF
43895 if ac_fn_cxx_try_compile "$LINENO"; then :
43896 glibcxx_cv_func__powf_use=yes
43897 else
43898 glibcxx_cv_func__powf_use=no
43900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43901 ac_ext=c
43902 ac_cpp='$CPP $CPPFLAGS'
43903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43912 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43914 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43915 for ac_func in _powf
43916 do :
43917 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43918 if test "x$ac_cv_func__powf" = x""yes; then :
43919 cat >>confdefs.h <<_ACEOF
43920 #define HAVE__POWF 1
43921 _ACEOF
43924 done
43933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43934 $as_echo_n "checking for sqrtf declaration... " >&6; }
43935 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43936 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43937 $as_echo_n "(cached) " >&6
43938 else
43941 ac_ext=cpp
43942 ac_cpp='$CXXCPP $CPPFLAGS'
43943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43948 /* end confdefs.h. */
43949 #include <math.h>
43950 #ifdef HAVE_IEEEFP_H
43951 #include <ieeefp.h>
43952 #endif
43955 main ()
43957 sqrtf(0);
43959 return 0;
43961 _ACEOF
43962 if ac_fn_cxx_try_compile "$LINENO"; then :
43963 glibcxx_cv_func_sqrtf_use=yes
43964 else
43965 glibcxx_cv_func_sqrtf_use=no
43967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43968 ac_ext=c
43969 ac_cpp='$CPP $CPPFLAGS'
43970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43979 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43981 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43982 for ac_func in sqrtf
43983 do :
43984 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43985 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43986 cat >>confdefs.h <<_ACEOF
43987 #define HAVE_SQRTF 1
43988 _ACEOF
43991 done
43993 else
43995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43996 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43997 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43998 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43999 $as_echo_n "(cached) " >&6
44000 else
44003 ac_ext=cpp
44004 ac_cpp='$CXXCPP $CPPFLAGS'
44005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44010 /* end confdefs.h. */
44011 #include <math.h>
44012 #ifdef HAVE_IEEEFP_H
44013 #include <ieeefp.h>
44014 #endif
44017 main ()
44019 _sqrtf(0);
44021 return 0;
44023 _ACEOF
44024 if ac_fn_cxx_try_compile "$LINENO"; then :
44025 glibcxx_cv_func__sqrtf_use=yes
44026 else
44027 glibcxx_cv_func__sqrtf_use=no
44029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44030 ac_ext=c
44031 ac_cpp='$CPP $CPPFLAGS'
44032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44041 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44043 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44044 for ac_func in _sqrtf
44045 do :
44046 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44047 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44048 cat >>confdefs.h <<_ACEOF
44049 #define HAVE__SQRTF 1
44050 _ACEOF
44053 done
44062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44063 $as_echo_n "checking for sincosf declaration... " >&6; }
44064 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44065 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44066 $as_echo_n "(cached) " >&6
44067 else
44070 ac_ext=cpp
44071 ac_cpp='$CXXCPP $CPPFLAGS'
44072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44077 /* end confdefs.h. */
44078 #include <math.h>
44080 main ()
44082 sincosf(0, 0, 0);
44084 return 0;
44086 _ACEOF
44087 if ac_fn_cxx_try_compile "$LINENO"; then :
44088 glibcxx_cv_func_sincosf_use=yes
44089 else
44090 glibcxx_cv_func_sincosf_use=no
44092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44093 ac_ext=c
44094 ac_cpp='$CPP $CPPFLAGS'
44095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44104 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44106 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44107 for ac_func in sincosf
44108 do :
44109 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44110 if test "x$ac_cv_func_sincosf" = x""yes; then :
44111 cat >>confdefs.h <<_ACEOF
44112 #define HAVE_SINCOSF 1
44113 _ACEOF
44116 done
44118 else
44120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44121 $as_echo_n "checking for _sincosf declaration... " >&6; }
44122 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44123 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44124 $as_echo_n "(cached) " >&6
44125 else
44128 ac_ext=cpp
44129 ac_cpp='$CXXCPP $CPPFLAGS'
44130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44135 /* end confdefs.h. */
44136 #include <math.h>
44138 main ()
44140 _sincosf(0, 0, 0);
44142 return 0;
44144 _ACEOF
44145 if ac_fn_cxx_try_compile "$LINENO"; then :
44146 glibcxx_cv_func__sincosf_use=yes
44147 else
44148 glibcxx_cv_func__sincosf_use=no
44150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44151 ac_ext=c
44152 ac_cpp='$CPP $CPPFLAGS'
44153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44162 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44164 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44165 for ac_func in _sincosf
44166 do :
44167 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44168 if test "x$ac_cv_func__sincosf" = x""yes; then :
44169 cat >>confdefs.h <<_ACEOF
44170 #define HAVE__SINCOSF 1
44171 _ACEOF
44174 done
44183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44184 $as_echo_n "checking for finitef declaration... " >&6; }
44185 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44186 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44187 $as_echo_n "(cached) " >&6
44188 else
44191 ac_ext=cpp
44192 ac_cpp='$CXXCPP $CPPFLAGS'
44193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44198 /* end confdefs.h. */
44199 #include <math.h>
44200 #ifdef HAVE_IEEEFP_H
44201 #include <ieeefp.h>
44202 #endif
44205 main ()
44207 finitef(0);
44209 return 0;
44211 _ACEOF
44212 if ac_fn_cxx_try_compile "$LINENO"; then :
44213 glibcxx_cv_func_finitef_use=yes
44214 else
44215 glibcxx_cv_func_finitef_use=no
44217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44218 ac_ext=c
44219 ac_cpp='$CPP $CPPFLAGS'
44220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44229 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44231 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44232 for ac_func in finitef
44233 do :
44234 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44235 if test "x$ac_cv_func_finitef" = x""yes; then :
44236 cat >>confdefs.h <<_ACEOF
44237 #define HAVE_FINITEF 1
44238 _ACEOF
44241 done
44243 else
44245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44246 $as_echo_n "checking for _finitef declaration... " >&6; }
44247 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44248 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44249 $as_echo_n "(cached) " >&6
44250 else
44253 ac_ext=cpp
44254 ac_cpp='$CXXCPP $CPPFLAGS'
44255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44260 /* end confdefs.h. */
44261 #include <math.h>
44262 #ifdef HAVE_IEEEFP_H
44263 #include <ieeefp.h>
44264 #endif
44267 main ()
44269 _finitef(0);
44271 return 0;
44273 _ACEOF
44274 if ac_fn_cxx_try_compile "$LINENO"; then :
44275 glibcxx_cv_func__finitef_use=yes
44276 else
44277 glibcxx_cv_func__finitef_use=no
44279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44280 ac_ext=c
44281 ac_cpp='$CPP $CPPFLAGS'
44282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44291 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44293 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44294 for ac_func in _finitef
44295 do :
44296 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44297 if test "x$ac_cv_func__finitef" = x""yes; then :
44298 cat >>confdefs.h <<_ACEOF
44299 #define HAVE__FINITEF 1
44300 _ACEOF
44303 done
44312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44313 $as_echo_n "checking for long double trig functions... " >&6; }
44314 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44315 $as_echo_n "(cached) " >&6
44316 else
44319 ac_ext=cpp
44320 ac_cpp='$CXXCPP $CPPFLAGS'
44321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h. */
44327 #include <math.h>
44329 main ()
44331 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44333 return 0;
44335 _ACEOF
44336 if ac_fn_cxx_try_compile "$LINENO"; then :
44337 glibcxx_cv_func_long_double_trig_use=yes
44338 else
44339 glibcxx_cv_func_long_double_trig_use=no
44341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44342 ac_ext=c
44343 ac_cpp='$CPP $CPPFLAGS'
44344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44351 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44352 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44353 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44354 do :
44355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44357 eval as_val=\$$as_ac_var
44358 if test "x$as_val" = x""yes; then :
44359 cat >>confdefs.h <<_ACEOF
44360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44361 _ACEOF
44364 done
44366 else
44367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44368 $as_echo_n "checking for _long double trig functions... " >&6; }
44369 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44370 $as_echo_n "(cached) " >&6
44371 else
44374 ac_ext=cpp
44375 ac_cpp='$CXXCPP $CPPFLAGS'
44376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44381 /* end confdefs.h. */
44382 #include <math.h>
44384 main ()
44386 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44388 return 0;
44390 _ACEOF
44391 if ac_fn_cxx_try_compile "$LINENO"; then :
44392 glibcxx_cv_func__long_double_trig_use=yes
44393 else
44394 glibcxx_cv_func__long_double_trig_use=no
44396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44397 ac_ext=c
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44406 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44407 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44408 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44409 do :
44410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44412 eval as_val=\$$as_ac_var
44413 if test "x$as_val" = x""yes; then :
44414 cat >>confdefs.h <<_ACEOF
44415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44416 _ACEOF
44419 done
44428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44429 $as_echo_n "checking for long double round functions... " >&6; }
44430 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44431 $as_echo_n "(cached) " >&6
44432 else
44435 ac_ext=cpp
44436 ac_cpp='$CXXCPP $CPPFLAGS'
44437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44442 /* end confdefs.h. */
44443 #include <math.h>
44445 main ()
44447 ceill (0); floorl (0);
44449 return 0;
44451 _ACEOF
44452 if ac_fn_cxx_try_compile "$LINENO"; then :
44453 glibcxx_cv_func_long_double_round_use=yes
44454 else
44455 glibcxx_cv_func_long_double_round_use=no
44457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44458 ac_ext=c
44459 ac_cpp='$CPP $CPPFLAGS'
44460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44467 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44468 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44469 for ac_func in ceill floorl
44470 do :
44471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44473 eval as_val=\$$as_ac_var
44474 if test "x$as_val" = x""yes; then :
44475 cat >>confdefs.h <<_ACEOF
44476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44477 _ACEOF
44480 done
44482 else
44483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44484 $as_echo_n "checking for _long double round functions... " >&6; }
44485 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44486 $as_echo_n "(cached) " >&6
44487 else
44490 ac_ext=cpp
44491 ac_cpp='$CXXCPP $CPPFLAGS'
44492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44497 /* end confdefs.h. */
44498 #include <math.h>
44500 main ()
44502 _ceill (0); _floorl (0);
44504 return 0;
44506 _ACEOF
44507 if ac_fn_cxx_try_compile "$LINENO"; then :
44508 glibcxx_cv_func__long_double_round_use=yes
44509 else
44510 glibcxx_cv_func__long_double_round_use=no
44512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44513 ac_ext=c
44514 ac_cpp='$CPP $CPPFLAGS'
44515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44522 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44523 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44524 for ac_func in _ceill _floorl
44525 do :
44526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44528 eval as_val=\$$as_ac_var
44529 if test "x$as_val" = x""yes; then :
44530 cat >>confdefs.h <<_ACEOF
44531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44532 _ACEOF
44535 done
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44546 $as_echo_n "checking for isnanl declaration... " >&6; }
44547 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44548 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44549 $as_echo_n "(cached) " >&6
44550 else
44553 ac_ext=cpp
44554 ac_cpp='$CXXCPP $CPPFLAGS'
44555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44560 /* end confdefs.h. */
44561 #include <math.h>
44562 #ifdef HAVE_IEEEFP_H
44563 #include <ieeefp.h>
44564 #endif
44567 main ()
44569 isnanl(0);
44571 return 0;
44573 _ACEOF
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575 glibcxx_cv_func_isnanl_use=yes
44576 else
44577 glibcxx_cv_func_isnanl_use=no
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580 ac_ext=c
44581 ac_cpp='$CPP $CPPFLAGS'
44582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44591 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44593 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44594 for ac_func in isnanl
44595 do :
44596 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44597 if test "x$ac_cv_func_isnanl" = x""yes; then :
44598 cat >>confdefs.h <<_ACEOF
44599 #define HAVE_ISNANL 1
44600 _ACEOF
44603 done
44605 else
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44608 $as_echo_n "checking for _isnanl declaration... " >&6; }
44609 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44610 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44611 $as_echo_n "(cached) " >&6
44612 else
44615 ac_ext=cpp
44616 ac_cpp='$CXXCPP $CPPFLAGS'
44617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44622 /* end confdefs.h. */
44623 #include <math.h>
44624 #ifdef HAVE_IEEEFP_H
44625 #include <ieeefp.h>
44626 #endif
44629 main ()
44631 _isnanl(0);
44633 return 0;
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637 glibcxx_cv_func__isnanl_use=yes
44638 else
44639 glibcxx_cv_func__isnanl_use=no
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642 ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44653 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44655 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44656 for ac_func in _isnanl
44657 do :
44658 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44659 if test "x$ac_cv_func__isnanl" = x""yes; then :
44660 cat >>confdefs.h <<_ACEOF
44661 #define HAVE__ISNANL 1
44662 _ACEOF
44665 done
44674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44675 $as_echo_n "checking for isinfl declaration... " >&6; }
44676 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44677 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44678 $as_echo_n "(cached) " >&6
44679 else
44682 ac_ext=cpp
44683 ac_cpp='$CXXCPP $CPPFLAGS'
44684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44689 /* end confdefs.h. */
44690 #include <math.h>
44691 #ifdef HAVE_IEEEFP_H
44692 #include <ieeefp.h>
44693 #endif
44696 main ()
44698 isinfl(0);
44700 return 0;
44702 _ACEOF
44703 if ac_fn_cxx_try_compile "$LINENO"; then :
44704 glibcxx_cv_func_isinfl_use=yes
44705 else
44706 glibcxx_cv_func_isinfl_use=no
44708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44709 ac_ext=c
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44720 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44722 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44723 for ac_func in isinfl
44724 do :
44725 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44726 if test "x$ac_cv_func_isinfl" = x""yes; then :
44727 cat >>confdefs.h <<_ACEOF
44728 #define HAVE_ISINFL 1
44729 _ACEOF
44732 done
44734 else
44736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44737 $as_echo_n "checking for _isinfl declaration... " >&6; }
44738 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44739 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44740 $as_echo_n "(cached) " >&6
44741 else
44744 ac_ext=cpp
44745 ac_cpp='$CXXCPP $CPPFLAGS'
44746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44751 /* end confdefs.h. */
44752 #include <math.h>
44753 #ifdef HAVE_IEEEFP_H
44754 #include <ieeefp.h>
44755 #endif
44758 main ()
44760 _isinfl(0);
44762 return 0;
44764 _ACEOF
44765 if ac_fn_cxx_try_compile "$LINENO"; then :
44766 glibcxx_cv_func__isinfl_use=yes
44767 else
44768 glibcxx_cv_func__isinfl_use=no
44770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44771 ac_ext=c
44772 ac_cpp='$CPP $CPPFLAGS'
44773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44782 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44784 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44785 for ac_func in _isinfl
44786 do :
44787 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44788 if test "x$ac_cv_func__isinfl" = x""yes; then :
44789 cat >>confdefs.h <<_ACEOF
44790 #define HAVE__ISINFL 1
44791 _ACEOF
44794 done
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44804 $as_echo_n "checking for atan2l declaration... " >&6; }
44805 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44806 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44807 $as_echo_n "(cached) " >&6
44808 else
44811 ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h. */
44819 #include <math.h>
44821 main ()
44823 atan2l(0, 0);
44825 return 0;
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829 glibcxx_cv_func_atan2l_use=yes
44830 else
44831 glibcxx_cv_func_atan2l_use=no
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44845 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44847 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44848 for ac_func in atan2l
44849 do :
44850 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44851 if test "x$ac_cv_func_atan2l" = x""yes; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define HAVE_ATAN2L 1
44854 _ACEOF
44857 done
44859 else
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44862 $as_echo_n "checking for _atan2l declaration... " >&6; }
44863 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44864 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44865 $as_echo_n "(cached) " >&6
44866 else
44869 ac_ext=cpp
44870 ac_cpp='$CXXCPP $CPPFLAGS'
44871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44876 /* end confdefs.h. */
44877 #include <math.h>
44879 main ()
44881 _atan2l(0, 0);
44883 return 0;
44885 _ACEOF
44886 if ac_fn_cxx_try_compile "$LINENO"; then :
44887 glibcxx_cv_func__atan2l_use=yes
44888 else
44889 glibcxx_cv_func__atan2l_use=no
44891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44892 ac_ext=c
44893 ac_cpp='$CPP $CPPFLAGS'
44894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44903 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44905 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44906 for ac_func in _atan2l
44907 do :
44908 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44909 if test "x$ac_cv_func__atan2l" = x""yes; then :
44910 cat >>confdefs.h <<_ACEOF
44911 #define HAVE__ATAN2L 1
44912 _ACEOF
44915 done
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44925 $as_echo_n "checking for expl declaration... " >&6; }
44926 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44927 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44946 main ()
44948 expl(0);
44950 return 0;
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func_expl_use=yes
44955 else
44956 glibcxx_cv_func_expl_use=no
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44970 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44972 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44973 for ac_func in expl
44974 do :
44975 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44976 if test "x$ac_cv_func_expl" = x""yes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE_EXPL 1
44979 _ACEOF
44982 done
44984 else
44986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44987 $as_echo_n "checking for _expl declaration... " >&6; }
44988 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44989 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44990 $as_echo_n "(cached) " >&6
44991 else
44994 ac_ext=cpp
44995 ac_cpp='$CXXCPP $CPPFLAGS'
44996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45001 /* end confdefs.h. */
45002 #include <math.h>
45003 #ifdef HAVE_IEEEFP_H
45004 #include <ieeefp.h>
45005 #endif
45008 main ()
45010 _expl(0);
45012 return 0;
45014 _ACEOF
45015 if ac_fn_cxx_try_compile "$LINENO"; then :
45016 glibcxx_cv_func__expl_use=yes
45017 else
45018 glibcxx_cv_func__expl_use=no
45020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45021 ac_ext=c
45022 ac_cpp='$CPP $CPPFLAGS'
45023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45032 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45034 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45035 for ac_func in _expl
45036 do :
45037 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45038 if test "x$ac_cv_func__expl" = x""yes; then :
45039 cat >>confdefs.h <<_ACEOF
45040 #define HAVE__EXPL 1
45041 _ACEOF
45044 done
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45054 $as_echo_n "checking for fabsl declaration... " >&6; }
45055 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45056 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45070 #ifdef HAVE_IEEEFP_H
45071 #include <ieeefp.h>
45072 #endif
45075 main ()
45077 fabsl(0);
45079 return 0;
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083 glibcxx_cv_func_fabsl_use=yes
45084 else
45085 glibcxx_cv_func_fabsl_use=no
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088 ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45099 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45101 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45102 for ac_func in fabsl
45103 do :
45104 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45105 if test "x$ac_cv_func_fabsl" = x""yes; then :
45106 cat >>confdefs.h <<_ACEOF
45107 #define HAVE_FABSL 1
45108 _ACEOF
45111 done
45113 else
45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45116 $as_echo_n "checking for _fabsl declaration... " >&6; }
45117 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45118 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45119 $as_echo_n "(cached) " >&6
45120 else
45123 ac_ext=cpp
45124 ac_cpp='$CXXCPP $CPPFLAGS'
45125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45130 /* end confdefs.h. */
45131 #include <math.h>
45132 #ifdef HAVE_IEEEFP_H
45133 #include <ieeefp.h>
45134 #endif
45137 main ()
45139 _fabsl(0);
45141 return 0;
45143 _ACEOF
45144 if ac_fn_cxx_try_compile "$LINENO"; then :
45145 glibcxx_cv_func__fabsl_use=yes
45146 else
45147 glibcxx_cv_func__fabsl_use=no
45149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45150 ac_ext=c
45151 ac_cpp='$CPP $CPPFLAGS'
45152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45161 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45163 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45164 for ac_func in _fabsl
45165 do :
45166 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45167 if test "x$ac_cv_func__fabsl" = x""yes; then :
45168 cat >>confdefs.h <<_ACEOF
45169 #define HAVE__FABSL 1
45170 _ACEOF
45173 done
45182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45183 $as_echo_n "checking for fmodl declaration... " >&6; }
45184 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45185 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45186 $as_echo_n "(cached) " >&6
45187 else
45190 ac_ext=cpp
45191 ac_cpp='$CXXCPP $CPPFLAGS'
45192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45197 /* end confdefs.h. */
45198 #include <math.h>
45200 main ()
45202 fmodl(0, 0);
45204 return 0;
45206 _ACEOF
45207 if ac_fn_cxx_try_compile "$LINENO"; then :
45208 glibcxx_cv_func_fmodl_use=yes
45209 else
45210 glibcxx_cv_func_fmodl_use=no
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213 ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45224 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45226 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45227 for ac_func in fmodl
45228 do :
45229 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45230 if test "x$ac_cv_func_fmodl" = x""yes; then :
45231 cat >>confdefs.h <<_ACEOF
45232 #define HAVE_FMODL 1
45233 _ACEOF
45236 done
45238 else
45240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45241 $as_echo_n "checking for _fmodl declaration... " >&6; }
45242 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45243 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45244 $as_echo_n "(cached) " >&6
45245 else
45248 ac_ext=cpp
45249 ac_cpp='$CXXCPP $CPPFLAGS'
45250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45255 /* end confdefs.h. */
45256 #include <math.h>
45258 main ()
45260 _fmodl(0, 0);
45262 return 0;
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func__fmodl_use=yes
45267 else
45268 glibcxx_cv_func__fmodl_use=no
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45282 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45284 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45285 for ac_func in _fmodl
45286 do :
45287 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45288 if test "x$ac_cv_func__fmodl" = x""yes; then :
45289 cat >>confdefs.h <<_ACEOF
45290 #define HAVE__FMODL 1
45291 _ACEOF
45294 done
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45304 $as_echo_n "checking for frexpl declaration... " >&6; }
45305 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45306 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45307 $as_echo_n "(cached) " >&6
45308 else
45311 ac_ext=cpp
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 #include <math.h>
45321 main ()
45323 frexpl(0, 0);
45325 return 0;
45327 _ACEOF
45328 if ac_fn_cxx_try_compile "$LINENO"; then :
45329 glibcxx_cv_func_frexpl_use=yes
45330 else
45331 glibcxx_cv_func_frexpl_use=no
45333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 ac_ext=c
45335 ac_cpp='$CPP $CPPFLAGS'
45336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45345 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45347 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45348 for ac_func in frexpl
45349 do :
45350 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45351 if test "x$ac_cv_func_frexpl" = x""yes; then :
45352 cat >>confdefs.h <<_ACEOF
45353 #define HAVE_FREXPL 1
45354 _ACEOF
45357 done
45359 else
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45362 $as_echo_n "checking for _frexpl declaration... " >&6; }
45363 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45364 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45365 $as_echo_n "(cached) " >&6
45366 else
45369 ac_ext=cpp
45370 ac_cpp='$CXXCPP $CPPFLAGS'
45371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45376 /* end confdefs.h. */
45377 #include <math.h>
45379 main ()
45381 _frexpl(0, 0);
45383 return 0;
45385 _ACEOF
45386 if ac_fn_cxx_try_compile "$LINENO"; then :
45387 glibcxx_cv_func__frexpl_use=yes
45388 else
45389 glibcxx_cv_func__frexpl_use=no
45391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45392 ac_ext=c
45393 ac_cpp='$CPP $CPPFLAGS'
45394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45403 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45405 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45406 for ac_func in _frexpl
45407 do :
45408 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45409 if test "x$ac_cv_func__frexpl" = x""yes; then :
45410 cat >>confdefs.h <<_ACEOF
45411 #define HAVE__FREXPL 1
45412 _ACEOF
45415 done
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45425 $as_echo_n "checking for hypotl declaration... " >&6; }
45426 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45427 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45428 $as_echo_n "(cached) " >&6
45429 else
45432 ac_ext=cpp
45433 ac_cpp='$CXXCPP $CPPFLAGS'
45434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45439 /* end confdefs.h. */
45440 #include <math.h>
45442 main ()
45444 hypotl(0, 0);
45446 return 0;
45448 _ACEOF
45449 if ac_fn_cxx_try_compile "$LINENO"; then :
45450 glibcxx_cv_func_hypotl_use=yes
45451 else
45452 glibcxx_cv_func_hypotl_use=no
45454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45455 ac_ext=c
45456 ac_cpp='$CPP $CPPFLAGS'
45457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45466 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45468 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45469 for ac_func in hypotl
45470 do :
45471 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45472 if test "x$ac_cv_func_hypotl" = x""yes; then :
45473 cat >>confdefs.h <<_ACEOF
45474 #define HAVE_HYPOTL 1
45475 _ACEOF
45478 done
45480 else
45482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45483 $as_echo_n "checking for _hypotl declaration... " >&6; }
45484 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45485 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45486 $as_echo_n "(cached) " >&6
45487 else
45490 ac_ext=cpp
45491 ac_cpp='$CXXCPP $CPPFLAGS'
45492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45497 /* end confdefs.h. */
45498 #include <math.h>
45500 main ()
45502 _hypotl(0, 0);
45504 return 0;
45506 _ACEOF
45507 if ac_fn_cxx_try_compile "$LINENO"; then :
45508 glibcxx_cv_func__hypotl_use=yes
45509 else
45510 glibcxx_cv_func__hypotl_use=no
45512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45513 ac_ext=c
45514 ac_cpp='$CPP $CPPFLAGS'
45515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45524 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45526 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45527 for ac_func in _hypotl
45528 do :
45529 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45530 if test "x$ac_cv_func__hypotl" = x""yes; then :
45531 cat >>confdefs.h <<_ACEOF
45532 #define HAVE__HYPOTL 1
45533 _ACEOF
45536 done
45545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45546 $as_echo_n "checking for ldexpl declaration... " >&6; }
45547 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45548 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45549 $as_echo_n "(cached) " >&6
45550 else
45553 ac_ext=cpp
45554 ac_cpp='$CXXCPP $CPPFLAGS'
45555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45560 /* end confdefs.h. */
45561 #include <math.h>
45563 main ()
45565 ldexpl(0, 0);
45567 return 0;
45569 _ACEOF
45570 if ac_fn_cxx_try_compile "$LINENO"; then :
45571 glibcxx_cv_func_ldexpl_use=yes
45572 else
45573 glibcxx_cv_func_ldexpl_use=no
45575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45576 ac_ext=c
45577 ac_cpp='$CPP $CPPFLAGS'
45578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45587 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45589 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45590 for ac_func in ldexpl
45591 do :
45592 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45593 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45594 cat >>confdefs.h <<_ACEOF
45595 #define HAVE_LDEXPL 1
45596 _ACEOF
45599 done
45601 else
45603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45604 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45605 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45606 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45607 $as_echo_n "(cached) " >&6
45608 else
45611 ac_ext=cpp
45612 ac_cpp='$CXXCPP $CPPFLAGS'
45613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45618 /* end confdefs.h. */
45619 #include <math.h>
45621 main ()
45623 _ldexpl(0, 0);
45625 return 0;
45627 _ACEOF
45628 if ac_fn_cxx_try_compile "$LINENO"; then :
45629 glibcxx_cv_func__ldexpl_use=yes
45630 else
45631 glibcxx_cv_func__ldexpl_use=no
45633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45634 ac_ext=c
45635 ac_cpp='$CPP $CPPFLAGS'
45636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45645 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45647 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45648 for ac_func in _ldexpl
45649 do :
45650 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45651 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45652 cat >>confdefs.h <<_ACEOF
45653 #define HAVE__LDEXPL 1
45654 _ACEOF
45657 done
45666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45667 $as_echo_n "checking for logl declaration... " >&6; }
45668 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45669 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45670 $as_echo_n "(cached) " >&6
45671 else
45674 ac_ext=cpp
45675 ac_cpp='$CXXCPP $CPPFLAGS'
45676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45681 /* end confdefs.h. */
45682 #include <math.h>
45683 #ifdef HAVE_IEEEFP_H
45684 #include <ieeefp.h>
45685 #endif
45688 main ()
45690 logl(0);
45692 return 0;
45694 _ACEOF
45695 if ac_fn_cxx_try_compile "$LINENO"; then :
45696 glibcxx_cv_func_logl_use=yes
45697 else
45698 glibcxx_cv_func_logl_use=no
45700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45701 ac_ext=c
45702 ac_cpp='$CPP $CPPFLAGS'
45703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45712 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45714 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45715 for ac_func in logl
45716 do :
45717 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45718 if test "x$ac_cv_func_logl" = x""yes; then :
45719 cat >>confdefs.h <<_ACEOF
45720 #define HAVE_LOGL 1
45721 _ACEOF
45724 done
45726 else
45728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45729 $as_echo_n "checking for _logl declaration... " >&6; }
45730 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45731 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45732 $as_echo_n "(cached) " >&6
45733 else
45736 ac_ext=cpp
45737 ac_cpp='$CXXCPP $CPPFLAGS'
45738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45743 /* end confdefs.h. */
45744 #include <math.h>
45745 #ifdef HAVE_IEEEFP_H
45746 #include <ieeefp.h>
45747 #endif
45750 main ()
45752 _logl(0);
45754 return 0;
45756 _ACEOF
45757 if ac_fn_cxx_try_compile "$LINENO"; then :
45758 glibcxx_cv_func__logl_use=yes
45759 else
45760 glibcxx_cv_func__logl_use=no
45762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45763 ac_ext=c
45764 ac_cpp='$CPP $CPPFLAGS'
45765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45774 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45776 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45777 for ac_func in _logl
45778 do :
45779 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45780 if test "x$ac_cv_func__logl" = x""yes; then :
45781 cat >>confdefs.h <<_ACEOF
45782 #define HAVE__LOGL 1
45783 _ACEOF
45786 done
45795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45796 $as_echo_n "checking for log10l declaration... " >&6; }
45797 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45798 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45799 $as_echo_n "(cached) " >&6
45800 else
45803 ac_ext=cpp
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45810 /* end confdefs.h. */
45811 #include <math.h>
45812 #ifdef HAVE_IEEEFP_H
45813 #include <ieeefp.h>
45814 #endif
45817 main ()
45819 log10l(0);
45821 return 0;
45823 _ACEOF
45824 if ac_fn_cxx_try_compile "$LINENO"; then :
45825 glibcxx_cv_func_log10l_use=yes
45826 else
45827 glibcxx_cv_func_log10l_use=no
45829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45830 ac_ext=c
45831 ac_cpp='$CPP $CPPFLAGS'
45832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45841 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45843 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45844 for ac_func in log10l
45845 do :
45846 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45847 if test "x$ac_cv_func_log10l" = x""yes; then :
45848 cat >>confdefs.h <<_ACEOF
45849 #define HAVE_LOG10L 1
45850 _ACEOF
45853 done
45855 else
45857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45858 $as_echo_n "checking for _log10l declaration... " >&6; }
45859 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45860 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45861 $as_echo_n "(cached) " >&6
45862 else
45865 ac_ext=cpp
45866 ac_cpp='$CXXCPP $CPPFLAGS'
45867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45872 /* end confdefs.h. */
45873 #include <math.h>
45874 #ifdef HAVE_IEEEFP_H
45875 #include <ieeefp.h>
45876 #endif
45879 main ()
45881 _log10l(0);
45883 return 0;
45885 _ACEOF
45886 if ac_fn_cxx_try_compile "$LINENO"; then :
45887 glibcxx_cv_func__log10l_use=yes
45888 else
45889 glibcxx_cv_func__log10l_use=no
45891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45892 ac_ext=c
45893 ac_cpp='$CPP $CPPFLAGS'
45894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45903 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45905 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45906 for ac_func in _log10l
45907 do :
45908 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45909 if test "x$ac_cv_func__log10l" = x""yes; then :
45910 cat >>confdefs.h <<_ACEOF
45911 #define HAVE__LOG10L 1
45912 _ACEOF
45915 done
45924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45925 $as_echo_n "checking for modfl declaration... " >&6; }
45926 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45927 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45928 $as_echo_n "(cached) " >&6
45929 else
45932 ac_ext=cpp
45933 ac_cpp='$CXXCPP $CPPFLAGS'
45934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45939 /* end confdefs.h. */
45940 #include <math.h>
45942 main ()
45944 modfl(0, 0);
45946 return 0;
45948 _ACEOF
45949 if ac_fn_cxx_try_compile "$LINENO"; then :
45950 glibcxx_cv_func_modfl_use=yes
45951 else
45952 glibcxx_cv_func_modfl_use=no
45954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45955 ac_ext=c
45956 ac_cpp='$CPP $CPPFLAGS'
45957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45966 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45968 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45969 for ac_func in modfl
45970 do :
45971 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45972 if test "x$ac_cv_func_modfl" = x""yes; then :
45973 cat >>confdefs.h <<_ACEOF
45974 #define HAVE_MODFL 1
45975 _ACEOF
45978 done
45980 else
45982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45983 $as_echo_n "checking for _modfl declaration... " >&6; }
45984 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45985 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45986 $as_echo_n "(cached) " >&6
45987 else
45990 ac_ext=cpp
45991 ac_cpp='$CXXCPP $CPPFLAGS'
45992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45997 /* end confdefs.h. */
45998 #include <math.h>
46000 main ()
46002 _modfl(0, 0);
46004 return 0;
46006 _ACEOF
46007 if ac_fn_cxx_try_compile "$LINENO"; then :
46008 glibcxx_cv_func__modfl_use=yes
46009 else
46010 glibcxx_cv_func__modfl_use=no
46012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46013 ac_ext=c
46014 ac_cpp='$CPP $CPPFLAGS'
46015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46024 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46026 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46027 for ac_func in _modfl
46028 do :
46029 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46030 if test "x$ac_cv_func__modfl" = x""yes; then :
46031 cat >>confdefs.h <<_ACEOF
46032 #define HAVE__MODFL 1
46033 _ACEOF
46036 done
46045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46046 $as_echo_n "checking for powl declaration... " >&6; }
46047 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46048 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46049 $as_echo_n "(cached) " >&6
46050 else
46053 ac_ext=cpp
46054 ac_cpp='$CXXCPP $CPPFLAGS'
46055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46060 /* end confdefs.h. */
46061 #include <math.h>
46063 main ()
46065 powl(0, 0);
46067 return 0;
46069 _ACEOF
46070 if ac_fn_cxx_try_compile "$LINENO"; then :
46071 glibcxx_cv_func_powl_use=yes
46072 else
46073 glibcxx_cv_func_powl_use=no
46075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46076 ac_ext=c
46077 ac_cpp='$CPP $CPPFLAGS'
46078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46087 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46089 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46090 for ac_func in powl
46091 do :
46092 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46093 if test "x$ac_cv_func_powl" = x""yes; then :
46094 cat >>confdefs.h <<_ACEOF
46095 #define HAVE_POWL 1
46096 _ACEOF
46099 done
46101 else
46103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46104 $as_echo_n "checking for _powl declaration... " >&6; }
46105 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46106 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46107 $as_echo_n "(cached) " >&6
46108 else
46111 ac_ext=cpp
46112 ac_cpp='$CXXCPP $CPPFLAGS'
46113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46118 /* end confdefs.h. */
46119 #include <math.h>
46121 main ()
46123 _powl(0, 0);
46125 return 0;
46127 _ACEOF
46128 if ac_fn_cxx_try_compile "$LINENO"; then :
46129 glibcxx_cv_func__powl_use=yes
46130 else
46131 glibcxx_cv_func__powl_use=no
46133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46134 ac_ext=c
46135 ac_cpp='$CPP $CPPFLAGS'
46136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46145 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46147 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46148 for ac_func in _powl
46149 do :
46150 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46151 if test "x$ac_cv_func__powl" = x""yes; then :
46152 cat >>confdefs.h <<_ACEOF
46153 #define HAVE__POWL 1
46154 _ACEOF
46157 done
46166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46167 $as_echo_n "checking for sqrtl declaration... " >&6; }
46168 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46169 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46170 $as_echo_n "(cached) " >&6
46171 else
46174 ac_ext=cpp
46175 ac_cpp='$CXXCPP $CPPFLAGS'
46176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46181 /* end confdefs.h. */
46182 #include <math.h>
46183 #ifdef HAVE_IEEEFP_H
46184 #include <ieeefp.h>
46185 #endif
46188 main ()
46190 sqrtl(0);
46192 return 0;
46194 _ACEOF
46195 if ac_fn_cxx_try_compile "$LINENO"; then :
46196 glibcxx_cv_func_sqrtl_use=yes
46197 else
46198 glibcxx_cv_func_sqrtl_use=no
46200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46201 ac_ext=c
46202 ac_cpp='$CPP $CPPFLAGS'
46203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46212 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46214 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46215 for ac_func in sqrtl
46216 do :
46217 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46218 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46219 cat >>confdefs.h <<_ACEOF
46220 #define HAVE_SQRTL 1
46221 _ACEOF
46224 done
46226 else
46228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46229 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46230 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46231 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46232 $as_echo_n "(cached) " >&6
46233 else
46236 ac_ext=cpp
46237 ac_cpp='$CXXCPP $CPPFLAGS'
46238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46243 /* end confdefs.h. */
46244 #include <math.h>
46245 #ifdef HAVE_IEEEFP_H
46246 #include <ieeefp.h>
46247 #endif
46250 main ()
46252 _sqrtl(0);
46254 return 0;
46256 _ACEOF
46257 if ac_fn_cxx_try_compile "$LINENO"; then :
46258 glibcxx_cv_func__sqrtl_use=yes
46259 else
46260 glibcxx_cv_func__sqrtl_use=no
46262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46263 ac_ext=c
46264 ac_cpp='$CPP $CPPFLAGS'
46265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46274 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46276 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46277 for ac_func in _sqrtl
46278 do :
46279 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46280 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46281 cat >>confdefs.h <<_ACEOF
46282 #define HAVE__SQRTL 1
46283 _ACEOF
46286 done
46295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46296 $as_echo_n "checking for sincosl declaration... " >&6; }
46297 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46298 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46299 $as_echo_n "(cached) " >&6
46300 else
46303 ac_ext=cpp
46304 ac_cpp='$CXXCPP $CPPFLAGS'
46305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46310 /* end confdefs.h. */
46311 #include <math.h>
46313 main ()
46315 sincosl(0, 0, 0);
46317 return 0;
46319 _ACEOF
46320 if ac_fn_cxx_try_compile "$LINENO"; then :
46321 glibcxx_cv_func_sincosl_use=yes
46322 else
46323 glibcxx_cv_func_sincosl_use=no
46325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46326 ac_ext=c
46327 ac_cpp='$CPP $CPPFLAGS'
46328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46337 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46339 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46340 for ac_func in sincosl
46341 do :
46342 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46343 if test "x$ac_cv_func_sincosl" = x""yes; then :
46344 cat >>confdefs.h <<_ACEOF
46345 #define HAVE_SINCOSL 1
46346 _ACEOF
46349 done
46351 else
46353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46354 $as_echo_n "checking for _sincosl declaration... " >&6; }
46355 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46356 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46357 $as_echo_n "(cached) " >&6
46358 else
46361 ac_ext=cpp
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46368 /* end confdefs.h. */
46369 #include <math.h>
46371 main ()
46373 _sincosl(0, 0, 0);
46375 return 0;
46377 _ACEOF
46378 if ac_fn_cxx_try_compile "$LINENO"; then :
46379 glibcxx_cv_func__sincosl_use=yes
46380 else
46381 glibcxx_cv_func__sincosl_use=no
46383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46384 ac_ext=c
46385 ac_cpp='$CPP $CPPFLAGS'
46386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46395 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46397 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46398 for ac_func in _sincosl
46399 do :
46400 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46401 if test "x$ac_cv_func__sincosl" = x""yes; then :
46402 cat >>confdefs.h <<_ACEOF
46403 #define HAVE__SINCOSL 1
46404 _ACEOF
46407 done
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46417 $as_echo_n "checking for finitel declaration... " >&6; }
46418 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46419 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46420 $as_echo_n "(cached) " >&6
46421 else
46424 ac_ext=cpp
46425 ac_cpp='$CXXCPP $CPPFLAGS'
46426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46431 /* end confdefs.h. */
46432 #include <math.h>
46433 #ifdef HAVE_IEEEFP_H
46434 #include <ieeefp.h>
46435 #endif
46438 main ()
46440 finitel(0);
46442 return 0;
46444 _ACEOF
46445 if ac_fn_cxx_try_compile "$LINENO"; then :
46446 glibcxx_cv_func_finitel_use=yes
46447 else
46448 glibcxx_cv_func_finitel_use=no
46450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46451 ac_ext=c
46452 ac_cpp='$CPP $CPPFLAGS'
46453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46462 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46464 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46465 for ac_func in finitel
46466 do :
46467 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46468 if test "x$ac_cv_func_finitel" = x""yes; then :
46469 cat >>confdefs.h <<_ACEOF
46470 #define HAVE_FINITEL 1
46471 _ACEOF
46474 done
46476 else
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46479 $as_echo_n "checking for _finitel declaration... " >&6; }
46480 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46481 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46482 $as_echo_n "(cached) " >&6
46483 else
46486 ac_ext=cpp
46487 ac_cpp='$CXXCPP $CPPFLAGS'
46488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46493 /* end confdefs.h. */
46494 #include <math.h>
46495 #ifdef HAVE_IEEEFP_H
46496 #include <ieeefp.h>
46497 #endif
46500 main ()
46502 _finitel(0);
46504 return 0;
46506 _ACEOF
46507 if ac_fn_cxx_try_compile "$LINENO"; then :
46508 glibcxx_cv_func__finitel_use=yes
46509 else
46510 glibcxx_cv_func__finitel_use=no
46512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46513 ac_ext=c
46514 ac_cpp='$CPP $CPPFLAGS'
46515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46524 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46526 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46527 for ac_func in _finitel
46528 do :
46529 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46530 if test "x$ac_cv_func__finitel" = x""yes; then :
46531 cat >>confdefs.h <<_ACEOF
46532 #define HAVE__FINITEL 1
46533 _ACEOF
46536 done
46544 LIBS="$ac_save_LIBS"
46545 CXXFLAGS="$ac_save_CXXFLAGS"
46548 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46549 ac_save_CXXFLAGS="$CXXFLAGS"
46550 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46554 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46555 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46556 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46557 $as_echo_n "(cached) " >&6
46558 else
46561 ac_ext=cpp
46562 ac_cpp='$CXXCPP $CPPFLAGS'
46563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46568 /* end confdefs.h. */
46569 #include <stdlib.h>
46571 main ()
46573 at_quick_exit(0);
46575 return 0;
46577 _ACEOF
46578 if ac_fn_cxx_try_compile "$LINENO"; then :
46579 glibcxx_cv_func_at_quick_exit_use=yes
46580 else
46581 glibcxx_cv_func_at_quick_exit_use=no
46583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46584 ac_ext=c
46585 ac_cpp='$CPP $CPPFLAGS'
46586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46595 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46596 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46597 for ac_func in at_quick_exit
46598 do :
46599 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46600 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46601 cat >>confdefs.h <<_ACEOF
46602 #define HAVE_AT_QUICK_EXIT 1
46603 _ACEOF
46606 done
46611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46612 $as_echo_n "checking for quick_exit declaration... " >&6; }
46613 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46614 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46615 $as_echo_n "(cached) " >&6
46616 else
46619 ac_ext=cpp
46620 ac_cpp='$CXXCPP $CPPFLAGS'
46621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46626 /* end confdefs.h. */
46627 #include <stdlib.h>
46629 main ()
46631 quick_exit(0);
46633 return 0;
46635 _ACEOF
46636 if ac_fn_cxx_try_compile "$LINENO"; then :
46637 glibcxx_cv_func_quick_exit_use=yes
46638 else
46639 glibcxx_cv_func_quick_exit_use=no
46641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46642 ac_ext=c
46643 ac_cpp='$CPP $CPPFLAGS'
46644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46653 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46654 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46655 for ac_func in quick_exit
46656 do :
46657 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46658 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46659 cat >>confdefs.h <<_ACEOF
46660 #define HAVE_QUICK_EXIT 1
46661 _ACEOF
46664 done
46669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46670 $as_echo_n "checking for strtold declaration... " >&6; }
46671 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46672 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46673 $as_echo_n "(cached) " >&6
46674 else
46677 ac_ext=cpp
46678 ac_cpp='$CXXCPP $CPPFLAGS'
46679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46684 /* end confdefs.h. */
46685 #include <stdlib.h>
46687 main ()
46689 strtold(0, 0);
46691 return 0;
46693 _ACEOF
46694 if ac_fn_cxx_try_compile "$LINENO"; then :
46695 glibcxx_cv_func_strtold_use=yes
46696 else
46697 glibcxx_cv_func_strtold_use=no
46699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46700 ac_ext=c
46701 ac_cpp='$CPP $CPPFLAGS'
46702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46711 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46712 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46713 for ac_func in strtold
46714 do :
46715 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46716 if test "x$ac_cv_func_strtold" = x""yes; then :
46717 cat >>confdefs.h <<_ACEOF
46718 #define HAVE_STRTOLD 1
46719 _ACEOF
46722 done
46729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46730 $as_echo_n "checking for strtof declaration... " >&6; }
46731 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46732 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46733 $as_echo_n "(cached) " >&6
46734 else
46737 ac_ext=cpp
46738 ac_cpp='$CXXCPP $CPPFLAGS'
46739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46744 /* end confdefs.h. */
46745 #include <stdlib.h>
46747 main ()
46749 strtof(0, 0);
46751 return 0;
46753 _ACEOF
46754 if ac_fn_cxx_try_compile "$LINENO"; then :
46755 glibcxx_cv_func_strtof_use=yes
46756 else
46757 glibcxx_cv_func_strtof_use=no
46759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46760 ac_ext=c
46761 ac_cpp='$CPP $CPPFLAGS'
46762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46771 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46772 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46773 for ac_func in strtof
46774 do :
46775 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46776 if test "x$ac_cv_func_strtof" = x""yes; then :
46777 cat >>confdefs.h <<_ACEOF
46778 #define HAVE_STRTOF 1
46779 _ACEOF
46782 done
46789 CXXFLAGS="$ac_save_CXXFLAGS"
46791 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46793 # We don't yet support AIX's TLS ABI.
46794 #GCC_CHECK_TLS
46800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46801 $as_echo_n "checking for iconv... " >&6; }
46802 if test "${am_cv_func_iconv+set}" = set; then :
46803 $as_echo_n "(cached) " >&6
46804 else
46806 am_cv_func_iconv="no, consider installing GNU libiconv"
46807 am_cv_lib_iconv=no
46808 am_save_CPPFLAGS="$CPPFLAGS"
46809 CPPFLAGS="$CPPFLAGS $INCICONV"
46810 if test x$gcc_no_link = xyes; then
46811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46814 /* end confdefs.h. */
46815 #include <stdlib.h>
46816 #include <iconv.h>
46818 main ()
46820 iconv_t cd = iconv_open("","");
46821 iconv(cd,NULL,NULL,NULL,NULL);
46822 iconv_close(cd);
46824 return 0;
46826 _ACEOF
46827 if ac_fn_c_try_link "$LINENO"; then :
46828 am_cv_func_iconv=yes
46830 rm -f core conftest.err conftest.$ac_objext \
46831 conftest$ac_exeext conftest.$ac_ext
46832 CPPFLAGS="$am_save_CPPFLAGS"
46834 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46835 for _libs in .libs _libs; do
46836 am_save_CPPFLAGS="$CPPFLAGS"
46837 am_save_LIBS="$LIBS"
46838 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46839 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46840 if test x$gcc_no_link = xyes; then
46841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46844 /* end confdefs.h. */
46845 #include <stdlib.h>
46846 #include <iconv.h>
46848 main ()
46850 iconv_t cd = iconv_open("","");
46851 iconv(cd,NULL,NULL,NULL,NULL);
46852 iconv_close(cd);
46854 return 0;
46856 _ACEOF
46857 if ac_fn_c_try_link "$LINENO"; then :
46858 INCICONV="-I../libiconv/include"
46859 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46860 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46861 am_cv_lib_iconv=yes
46862 am_cv_func_iconv=yes
46864 rm -f core conftest.err conftest.$ac_objext \
46865 conftest$ac_exeext conftest.$ac_ext
46866 CPPFLAGS="$am_save_CPPFLAGS"
46867 LIBS="$am_save_LIBS"
46868 if test "$am_cv_func_iconv" = "yes"; then
46869 break
46871 done
46874 if test "$am_cv_func_iconv" != yes; then
46875 am_save_CPPFLAGS="$CPPFLAGS"
46876 am_save_LIBS="$LIBS"
46877 CPPFLAGS="$LIBS $INCICONV"
46878 LIBS="$LIBS $LIBICONV"
46879 if test x$gcc_no_link = xyes; then
46880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46883 /* end confdefs.h. */
46884 #include <stdlib.h>
46885 #include <iconv.h>
46887 main ()
46889 iconv_t cd = iconv_open("","");
46890 iconv(cd,NULL,NULL,NULL,NULL);
46891 iconv_close(cd);
46893 return 0;
46895 _ACEOF
46896 if ac_fn_c_try_link "$LINENO"; then :
46897 am_cv_lib_iconv=yes
46898 am_cv_func_iconv=yes
46900 rm -f core conftest.err conftest.$ac_objext \
46901 conftest$ac_exeext conftest.$ac_ext
46902 CPPFLAGS="$am_save_CPPFLAGS"
46903 LIBS="$am_save_LIBS"
46907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46908 $as_echo "$am_cv_func_iconv" >&6; }
46909 if test "$am_cv_func_iconv" = yes; then
46911 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46914 if test "$am_cv_lib_iconv" = yes; then
46916 for element in $INCICONV; do
46917 haveit=
46918 for x in $CPPFLAGS; do
46920 acl_save_prefix="$prefix"
46921 prefix="$acl_final_prefix"
46922 acl_save_exec_prefix="$exec_prefix"
46923 exec_prefix="$acl_final_exec_prefix"
46924 eval x=\"$x\"
46925 exec_prefix="$acl_save_exec_prefix"
46926 prefix="$acl_save_prefix"
46928 if test "X$x" = "X$element"; then
46929 haveit=yes
46930 break
46932 done
46933 if test -z "$haveit"; then
46934 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46936 done
46938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46939 $as_echo_n "checking how to link with libiconv... " >&6; }
46940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46941 $as_echo "$LIBICONV" >&6; }
46942 else
46943 LIBICONV=
46944 LTLIBICONV=
46949 if test "$am_cv_func_iconv" = yes; then
46950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46951 $as_echo_n "checking for iconv declaration... " >&6; }
46952 if test "${am_cv_proto_iconv+set}" = set; then :
46953 $as_echo_n "(cached) " >&6
46954 else
46956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46957 /* end confdefs.h. */
46959 #include <stdlib.h>
46960 #include <iconv.h>
46961 extern
46962 #ifdef __cplusplus
46964 #endif
46965 #if defined(__STDC__) || defined(__cplusplus)
46966 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46967 #else
46968 size_t iconv();
46969 #endif
46972 main ()
46976 return 0;
46978 _ACEOF
46979 if ac_fn_c_try_compile "$LINENO"; then :
46980 am_cv_proto_iconv_arg1=""
46981 else
46982 am_cv_proto_iconv_arg1="const"
46984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46985 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);"
46988 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46990 }$am_cv_proto_iconv" >&5
46991 $as_echo "${ac_t:-
46992 }$am_cv_proto_iconv" >&6; }
46994 cat >>confdefs.h <<_ACEOF
46995 #define ICONV_CONST $am_cv_proto_iconv_arg1
46996 _ACEOF
47002 *-darwin*)
47003 # Darwin versions vary, but the linker should work in a cross environment,
47004 # so we just check for all the features here.
47005 # Check for available headers.
47007 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47010 ac_save_CXXFLAGS="$CXXFLAGS"
47011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47014 $as_echo_n "checking for sin in -lm... " >&6; }
47015 if test "${ac_cv_lib_m_sin+set}" = set; then :
47016 $as_echo_n "(cached) " >&6
47017 else
47018 ac_check_lib_save_LIBS=$LIBS
47019 LIBS="-lm $LIBS"
47020 if test x$gcc_no_link = xyes; then
47021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47024 /* end confdefs.h. */
47026 /* Override any GCC internal prototype to avoid an error.
47027 Use char because int might match the return type of a GCC
47028 builtin and then its argument prototype would still apply. */
47029 #ifdef __cplusplus
47030 extern "C"
47031 #endif
47032 char sin ();
47034 main ()
47036 return sin ();
47038 return 0;
47040 _ACEOF
47041 if ac_fn_c_try_link "$LINENO"; then :
47042 ac_cv_lib_m_sin=yes
47043 else
47044 ac_cv_lib_m_sin=no
47046 rm -f core conftest.err conftest.$ac_objext \
47047 conftest$ac_exeext conftest.$ac_ext
47048 LIBS=$ac_check_lib_save_LIBS
47050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47051 $as_echo "$ac_cv_lib_m_sin" >&6; }
47052 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47053 libm="-lm"
47056 ac_save_LIBS="$LIBS"
47057 LIBS="$LIBS $libm"
47061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47062 $as_echo_n "checking for isinf declaration... " >&6; }
47063 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47064 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47065 $as_echo_n "(cached) " >&6
47066 else
47069 ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47076 /* end confdefs.h. */
47077 #include <math.h>
47078 #ifdef HAVE_IEEEFP_H
47079 #include <ieeefp.h>
47080 #endif
47083 main ()
47085 isinf(0);
47087 return 0;
47089 _ACEOF
47090 if ac_fn_cxx_try_compile "$LINENO"; then :
47091 glibcxx_cv_func_isinf_use=yes
47092 else
47093 glibcxx_cv_func_isinf_use=no
47095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47096 ac_ext=c
47097 ac_cpp='$CPP $CPPFLAGS'
47098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47107 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47109 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47110 for ac_func in isinf
47111 do :
47112 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47113 if test "x$ac_cv_func_isinf" = x""yes; then :
47114 cat >>confdefs.h <<_ACEOF
47115 #define HAVE_ISINF 1
47116 _ACEOF
47119 done
47121 else
47123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47124 $as_echo_n "checking for _isinf declaration... " >&6; }
47125 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47126 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47127 $as_echo_n "(cached) " >&6
47128 else
47131 ac_ext=cpp
47132 ac_cpp='$CXXCPP $CPPFLAGS'
47133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47138 /* end confdefs.h. */
47139 #include <math.h>
47140 #ifdef HAVE_IEEEFP_H
47141 #include <ieeefp.h>
47142 #endif
47145 main ()
47147 _isinf(0);
47149 return 0;
47151 _ACEOF
47152 if ac_fn_cxx_try_compile "$LINENO"; then :
47153 glibcxx_cv_func__isinf_use=yes
47154 else
47155 glibcxx_cv_func__isinf_use=no
47157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47158 ac_ext=c
47159 ac_cpp='$CPP $CPPFLAGS'
47160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47169 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47171 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47172 for ac_func in _isinf
47173 do :
47174 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47175 if test "x$ac_cv_func__isinf" = x""yes; then :
47176 cat >>confdefs.h <<_ACEOF
47177 #define HAVE__ISINF 1
47178 _ACEOF
47181 done
47190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47191 $as_echo_n "checking for isnan declaration... " >&6; }
47192 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47193 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47194 $as_echo_n "(cached) " >&6
47195 else
47198 ac_ext=cpp
47199 ac_cpp='$CXXCPP $CPPFLAGS'
47200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47205 /* end confdefs.h. */
47206 #include <math.h>
47207 #ifdef HAVE_IEEEFP_H
47208 #include <ieeefp.h>
47209 #endif
47212 main ()
47214 isnan(0);
47216 return 0;
47218 _ACEOF
47219 if ac_fn_cxx_try_compile "$LINENO"; then :
47220 glibcxx_cv_func_isnan_use=yes
47221 else
47222 glibcxx_cv_func_isnan_use=no
47224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47225 ac_ext=c
47226 ac_cpp='$CPP $CPPFLAGS'
47227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47236 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47238 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47239 for ac_func in isnan
47240 do :
47241 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47242 if test "x$ac_cv_func_isnan" = x""yes; then :
47243 cat >>confdefs.h <<_ACEOF
47244 #define HAVE_ISNAN 1
47245 _ACEOF
47248 done
47250 else
47252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47253 $as_echo_n "checking for _isnan declaration... " >&6; }
47254 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47255 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47256 $as_echo_n "(cached) " >&6
47257 else
47260 ac_ext=cpp
47261 ac_cpp='$CXXCPP $CPPFLAGS'
47262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47267 /* end confdefs.h. */
47268 #include <math.h>
47269 #ifdef HAVE_IEEEFP_H
47270 #include <ieeefp.h>
47271 #endif
47274 main ()
47276 _isnan(0);
47278 return 0;
47280 _ACEOF
47281 if ac_fn_cxx_try_compile "$LINENO"; then :
47282 glibcxx_cv_func__isnan_use=yes
47283 else
47284 glibcxx_cv_func__isnan_use=no
47286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47287 ac_ext=c
47288 ac_cpp='$CPP $CPPFLAGS'
47289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47298 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47300 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47301 for ac_func in _isnan
47302 do :
47303 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47304 if test "x$ac_cv_func__isnan" = x""yes; then :
47305 cat >>confdefs.h <<_ACEOF
47306 #define HAVE__ISNAN 1
47307 _ACEOF
47310 done
47319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47320 $as_echo_n "checking for finite declaration... " >&6; }
47321 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47322 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47323 $as_echo_n "(cached) " >&6
47324 else
47327 ac_ext=cpp
47328 ac_cpp='$CXXCPP $CPPFLAGS'
47329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47334 /* end confdefs.h. */
47335 #include <math.h>
47336 #ifdef HAVE_IEEEFP_H
47337 #include <ieeefp.h>
47338 #endif
47341 main ()
47343 finite(0);
47345 return 0;
47347 _ACEOF
47348 if ac_fn_cxx_try_compile "$LINENO"; then :
47349 glibcxx_cv_func_finite_use=yes
47350 else
47351 glibcxx_cv_func_finite_use=no
47353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47354 ac_ext=c
47355 ac_cpp='$CPP $CPPFLAGS'
47356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47365 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47367 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47368 for ac_func in finite
47369 do :
47370 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47371 if test "x$ac_cv_func_finite" = x""yes; then :
47372 cat >>confdefs.h <<_ACEOF
47373 #define HAVE_FINITE 1
47374 _ACEOF
47377 done
47379 else
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47382 $as_echo_n "checking for _finite declaration... " >&6; }
47383 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47384 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47385 $as_echo_n "(cached) " >&6
47386 else
47389 ac_ext=cpp
47390 ac_cpp='$CXXCPP $CPPFLAGS'
47391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47396 /* end confdefs.h. */
47397 #include <math.h>
47398 #ifdef HAVE_IEEEFP_H
47399 #include <ieeefp.h>
47400 #endif
47403 main ()
47405 _finite(0);
47407 return 0;
47409 _ACEOF
47410 if ac_fn_cxx_try_compile "$LINENO"; then :
47411 glibcxx_cv_func__finite_use=yes
47412 else
47413 glibcxx_cv_func__finite_use=no
47415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47416 ac_ext=c
47417 ac_cpp='$CPP $CPPFLAGS'
47418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47427 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47429 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47430 for ac_func in _finite
47431 do :
47432 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47433 if test "x$ac_cv_func__finite" = x""yes; then :
47434 cat >>confdefs.h <<_ACEOF
47435 #define HAVE__FINITE 1
47436 _ACEOF
47439 done
47448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47449 $as_echo_n "checking for sincos declaration... " >&6; }
47450 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47451 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47452 $as_echo_n "(cached) " >&6
47453 else
47456 ac_ext=cpp
47457 ac_cpp='$CXXCPP $CPPFLAGS'
47458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47463 /* end confdefs.h. */
47464 #include <math.h>
47466 main ()
47468 sincos(0, 0, 0);
47470 return 0;
47472 _ACEOF
47473 if ac_fn_cxx_try_compile "$LINENO"; then :
47474 glibcxx_cv_func_sincos_use=yes
47475 else
47476 glibcxx_cv_func_sincos_use=no
47478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47479 ac_ext=c
47480 ac_cpp='$CPP $CPPFLAGS'
47481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47490 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47492 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47493 for ac_func in sincos
47494 do :
47495 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47496 if test "x$ac_cv_func_sincos" = x""yes; then :
47497 cat >>confdefs.h <<_ACEOF
47498 #define HAVE_SINCOS 1
47499 _ACEOF
47502 done
47504 else
47506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47507 $as_echo_n "checking for _sincos declaration... " >&6; }
47508 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47509 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47510 $as_echo_n "(cached) " >&6
47511 else
47514 ac_ext=cpp
47515 ac_cpp='$CXXCPP $CPPFLAGS'
47516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47521 /* end confdefs.h. */
47522 #include <math.h>
47524 main ()
47526 _sincos(0, 0, 0);
47528 return 0;
47530 _ACEOF
47531 if ac_fn_cxx_try_compile "$LINENO"; then :
47532 glibcxx_cv_func__sincos_use=yes
47533 else
47534 glibcxx_cv_func__sincos_use=no
47536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47537 ac_ext=c
47538 ac_cpp='$CPP $CPPFLAGS'
47539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47548 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47550 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47551 for ac_func in _sincos
47552 do :
47553 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47554 if test "x$ac_cv_func__sincos" = x""yes; then :
47555 cat >>confdefs.h <<_ACEOF
47556 #define HAVE__SINCOS 1
47557 _ACEOF
47560 done
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47570 $as_echo_n "checking for fpclass declaration... " >&6; }
47571 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47572 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47573 $as_echo_n "(cached) " >&6
47574 else
47577 ac_ext=cpp
47578 ac_cpp='$CXXCPP $CPPFLAGS'
47579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47584 /* end confdefs.h. */
47585 #include <math.h>
47586 #ifdef HAVE_IEEEFP_H
47587 #include <ieeefp.h>
47588 #endif
47591 main ()
47593 fpclass(0);
47595 return 0;
47597 _ACEOF
47598 if ac_fn_cxx_try_compile "$LINENO"; then :
47599 glibcxx_cv_func_fpclass_use=yes
47600 else
47601 glibcxx_cv_func_fpclass_use=no
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 ac_ext=c
47605 ac_cpp='$CPP $CPPFLAGS'
47606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47615 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47617 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47618 for ac_func in fpclass
47619 do :
47620 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47621 if test "x$ac_cv_func_fpclass" = x""yes; then :
47622 cat >>confdefs.h <<_ACEOF
47623 #define HAVE_FPCLASS 1
47624 _ACEOF
47627 done
47629 else
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47632 $as_echo_n "checking for _fpclass declaration... " >&6; }
47633 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47634 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47635 $as_echo_n "(cached) " >&6
47636 else
47639 ac_ext=cpp
47640 ac_cpp='$CXXCPP $CPPFLAGS'
47641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47646 /* end confdefs.h. */
47647 #include <math.h>
47648 #ifdef HAVE_IEEEFP_H
47649 #include <ieeefp.h>
47650 #endif
47653 main ()
47655 _fpclass(0);
47657 return 0;
47659 _ACEOF
47660 if ac_fn_cxx_try_compile "$LINENO"; then :
47661 glibcxx_cv_func__fpclass_use=yes
47662 else
47663 glibcxx_cv_func__fpclass_use=no
47665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47666 ac_ext=c
47667 ac_cpp='$CPP $CPPFLAGS'
47668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47677 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47679 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47680 for ac_func in _fpclass
47681 do :
47682 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47683 if test "x$ac_cv_func__fpclass" = x""yes; then :
47684 cat >>confdefs.h <<_ACEOF
47685 #define HAVE__FPCLASS 1
47686 _ACEOF
47689 done
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47699 $as_echo_n "checking for qfpclass declaration... " >&6; }
47700 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47701 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47702 $as_echo_n "(cached) " >&6
47703 else
47706 ac_ext=cpp
47707 ac_cpp='$CXXCPP $CPPFLAGS'
47708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47713 /* end confdefs.h. */
47714 #include <math.h>
47715 #ifdef HAVE_IEEEFP_H
47716 #include <ieeefp.h>
47717 #endif
47720 main ()
47722 qfpclass(0);
47724 return 0;
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func_qfpclass_use=yes
47729 else
47730 glibcxx_cv_func_qfpclass_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733 ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47744 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47746 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47747 for ac_func in qfpclass
47748 do :
47749 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47750 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE_QFPCLASS 1
47753 _ACEOF
47756 done
47758 else
47760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47761 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47762 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47763 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47764 $as_echo_n "(cached) " >&6
47765 else
47768 ac_ext=cpp
47769 ac_cpp='$CXXCPP $CPPFLAGS'
47770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47775 /* end confdefs.h. */
47776 #include <math.h>
47777 #ifdef HAVE_IEEEFP_H
47778 #include <ieeefp.h>
47779 #endif
47782 main ()
47784 _qfpclass(0);
47786 return 0;
47788 _ACEOF
47789 if ac_fn_cxx_try_compile "$LINENO"; then :
47790 glibcxx_cv_func__qfpclass_use=yes
47791 else
47792 glibcxx_cv_func__qfpclass_use=no
47794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47795 ac_ext=c
47796 ac_cpp='$CPP $CPPFLAGS'
47797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47806 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47808 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47809 for ac_func in _qfpclass
47810 do :
47811 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47812 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47813 cat >>confdefs.h <<_ACEOF
47814 #define HAVE__QFPCLASS 1
47815 _ACEOF
47818 done
47827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47828 $as_echo_n "checking for hypot declaration... " >&6; }
47829 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47830 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47831 $as_echo_n "(cached) " >&6
47832 else
47835 ac_ext=cpp
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47842 /* end confdefs.h. */
47843 #include <math.h>
47845 main ()
47847 hypot(0, 0);
47849 return 0;
47851 _ACEOF
47852 if ac_fn_cxx_try_compile "$LINENO"; then :
47853 glibcxx_cv_func_hypot_use=yes
47854 else
47855 glibcxx_cv_func_hypot_use=no
47857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47858 ac_ext=c
47859 ac_cpp='$CPP $CPPFLAGS'
47860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47869 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47871 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47872 for ac_func in hypot
47873 do :
47874 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47875 if test "x$ac_cv_func_hypot" = x""yes; then :
47876 cat >>confdefs.h <<_ACEOF
47877 #define HAVE_HYPOT 1
47878 _ACEOF
47881 done
47883 else
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47886 $as_echo_n "checking for _hypot declaration... " >&6; }
47887 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47888 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47890 else
47893 ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47901 #include <math.h>
47903 main ()
47905 _hypot(0, 0);
47907 return 0;
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func__hypot_use=yes
47912 else
47913 glibcxx_cv_func__hypot_use=no
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916 ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47927 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47929 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47930 for ac_func in _hypot
47931 do :
47932 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47933 if test "x$ac_cv_func__hypot" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE__HYPOT 1
47936 _ACEOF
47939 done
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47949 $as_echo_n "checking for float trig functions... " >&6; }
47950 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47951 $as_echo_n "(cached) " >&6
47952 else
47955 ac_ext=cpp
47956 ac_cpp='$CXXCPP $CPPFLAGS'
47957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47962 /* end confdefs.h. */
47963 #include <math.h>
47965 main ()
47967 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47969 return 0;
47971 _ACEOF
47972 if ac_fn_cxx_try_compile "$LINENO"; then :
47973 glibcxx_cv_func_float_trig_use=yes
47974 else
47975 glibcxx_cv_func_float_trig_use=no
47977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47978 ac_ext=c
47979 ac_cpp='$CPP $CPPFLAGS'
47980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47987 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47988 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47989 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47990 do :
47991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47993 eval as_val=\$$as_ac_var
47994 if test "x$as_val" = x""yes; then :
47995 cat >>confdefs.h <<_ACEOF
47996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47997 _ACEOF
48000 done
48002 else
48003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48004 $as_echo_n "checking for _float trig functions... " >&6; }
48005 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48006 $as_echo_n "(cached) " >&6
48007 else
48010 ac_ext=cpp
48011 ac_cpp='$CXXCPP $CPPFLAGS'
48012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48017 /* end confdefs.h. */
48018 #include <math.h>
48020 main ()
48022 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48024 return 0;
48026 _ACEOF
48027 if ac_fn_cxx_try_compile "$LINENO"; then :
48028 glibcxx_cv_func__float_trig_use=yes
48029 else
48030 glibcxx_cv_func__float_trig_use=no
48032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48033 ac_ext=c
48034 ac_cpp='$CPP $CPPFLAGS'
48035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48042 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48043 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48044 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48045 do :
48046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48048 eval as_val=\$$as_ac_var
48049 if test "x$as_val" = x""yes; then :
48050 cat >>confdefs.h <<_ACEOF
48051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48052 _ACEOF
48055 done
48064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48065 $as_echo_n "checking for float round functions... " >&6; }
48066 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48067 $as_echo_n "(cached) " >&6
48068 else
48071 ac_ext=cpp
48072 ac_cpp='$CXXCPP $CPPFLAGS'
48073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48078 /* end confdefs.h. */
48079 #include <math.h>
48081 main ()
48083 ceilf (0); floorf (0);
48085 return 0;
48087 _ACEOF
48088 if ac_fn_cxx_try_compile "$LINENO"; then :
48089 glibcxx_cv_func_float_round_use=yes
48090 else
48091 glibcxx_cv_func_float_round_use=no
48093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48094 ac_ext=c
48095 ac_cpp='$CPP $CPPFLAGS'
48096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48103 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48104 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48105 for ac_func in ceilf floorf
48106 do :
48107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48109 eval as_val=\$$as_ac_var
48110 if test "x$as_val" = x""yes; then :
48111 cat >>confdefs.h <<_ACEOF
48112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48113 _ACEOF
48116 done
48118 else
48119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48120 $as_echo_n "checking for _float round functions... " >&6; }
48121 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48122 $as_echo_n "(cached) " >&6
48123 else
48126 ac_ext=cpp
48127 ac_cpp='$CXXCPP $CPPFLAGS'
48128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48133 /* end confdefs.h. */
48134 #include <math.h>
48136 main ()
48138 _ceilf (0); _floorf (0);
48140 return 0;
48142 _ACEOF
48143 if ac_fn_cxx_try_compile "$LINENO"; then :
48144 glibcxx_cv_func__float_round_use=yes
48145 else
48146 glibcxx_cv_func__float_round_use=no
48148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48149 ac_ext=c
48150 ac_cpp='$CPP $CPPFLAGS'
48151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48158 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48159 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48160 for ac_func in _ceilf _floorf
48161 do :
48162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48164 eval as_val=\$$as_ac_var
48165 if test "x$as_val" = x""yes; then :
48166 cat >>confdefs.h <<_ACEOF
48167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48168 _ACEOF
48171 done
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48182 $as_echo_n "checking for expf declaration... " >&6; }
48183 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48184 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48185 $as_echo_n "(cached) " >&6
48186 else
48189 ac_ext=cpp
48190 ac_cpp='$CXXCPP $CPPFLAGS'
48191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48196 /* end confdefs.h. */
48197 #include <math.h>
48198 #ifdef HAVE_IEEEFP_H
48199 #include <ieeefp.h>
48200 #endif
48203 main ()
48205 expf(0);
48207 return 0;
48209 _ACEOF
48210 if ac_fn_cxx_try_compile "$LINENO"; then :
48211 glibcxx_cv_func_expf_use=yes
48212 else
48213 glibcxx_cv_func_expf_use=no
48215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48216 ac_ext=c
48217 ac_cpp='$CPP $CPPFLAGS'
48218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48227 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48229 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48230 for ac_func in expf
48231 do :
48232 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48233 if test "x$ac_cv_func_expf" = x""yes; then :
48234 cat >>confdefs.h <<_ACEOF
48235 #define HAVE_EXPF 1
48236 _ACEOF
48239 done
48241 else
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48244 $as_echo_n "checking for _expf declaration... " >&6; }
48245 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48246 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48247 $as_echo_n "(cached) " >&6
48248 else
48251 ac_ext=cpp
48252 ac_cpp='$CXXCPP $CPPFLAGS'
48253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48258 /* end confdefs.h. */
48259 #include <math.h>
48260 #ifdef HAVE_IEEEFP_H
48261 #include <ieeefp.h>
48262 #endif
48265 main ()
48267 _expf(0);
48269 return 0;
48271 _ACEOF
48272 if ac_fn_cxx_try_compile "$LINENO"; then :
48273 glibcxx_cv_func__expf_use=yes
48274 else
48275 glibcxx_cv_func__expf_use=no
48277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48278 ac_ext=c
48279 ac_cpp='$CPP $CPPFLAGS'
48280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48289 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48291 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48292 for ac_func in _expf
48293 do :
48294 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48295 if test "x$ac_cv_func__expf" = x""yes; then :
48296 cat >>confdefs.h <<_ACEOF
48297 #define HAVE__EXPF 1
48298 _ACEOF
48301 done
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48311 $as_echo_n "checking for isnanf declaration... " >&6; }
48312 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48313 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48314 $as_echo_n "(cached) " >&6
48315 else
48318 ac_ext=cpp
48319 ac_cpp='$CXXCPP $CPPFLAGS'
48320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48325 /* end confdefs.h. */
48326 #include <math.h>
48327 #ifdef HAVE_IEEEFP_H
48328 #include <ieeefp.h>
48329 #endif
48332 main ()
48334 isnanf(0);
48336 return 0;
48338 _ACEOF
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340 glibcxx_cv_func_isnanf_use=yes
48341 else
48342 glibcxx_cv_func_isnanf_use=no
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48345 ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48356 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48358 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48359 for ac_func in isnanf
48360 do :
48361 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48362 if test "x$ac_cv_func_isnanf" = x""yes; then :
48363 cat >>confdefs.h <<_ACEOF
48364 #define HAVE_ISNANF 1
48365 _ACEOF
48368 done
48370 else
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48373 $as_echo_n "checking for _isnanf declaration... " >&6; }
48374 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48375 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48376 $as_echo_n "(cached) " >&6
48377 else
48380 ac_ext=cpp
48381 ac_cpp='$CXXCPP $CPPFLAGS'
48382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48387 /* end confdefs.h. */
48388 #include <math.h>
48389 #ifdef HAVE_IEEEFP_H
48390 #include <ieeefp.h>
48391 #endif
48394 main ()
48396 _isnanf(0);
48398 return 0;
48400 _ACEOF
48401 if ac_fn_cxx_try_compile "$LINENO"; then :
48402 glibcxx_cv_func__isnanf_use=yes
48403 else
48404 glibcxx_cv_func__isnanf_use=no
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48407 ac_ext=c
48408 ac_cpp='$CPP $CPPFLAGS'
48409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48418 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48420 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48421 for ac_func in _isnanf
48422 do :
48423 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48424 if test "x$ac_cv_func__isnanf" = x""yes; then :
48425 cat >>confdefs.h <<_ACEOF
48426 #define HAVE__ISNANF 1
48427 _ACEOF
48430 done
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48440 $as_echo_n "checking for isinff declaration... " >&6; }
48441 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48442 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48443 $as_echo_n "(cached) " >&6
48444 else
48447 ac_ext=cpp
48448 ac_cpp='$CXXCPP $CPPFLAGS'
48449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454 /* end confdefs.h. */
48455 #include <math.h>
48456 #ifdef HAVE_IEEEFP_H
48457 #include <ieeefp.h>
48458 #endif
48461 main ()
48463 isinff(0);
48465 return 0;
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func_isinff_use=yes
48470 else
48471 glibcxx_cv_func_isinff_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_isinff_use" >&5
48485 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48487 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48488 for ac_func in isinff
48489 do :
48490 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48491 if test "x$ac_cv_func_isinff" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE_ISINFF 1
48494 _ACEOF
48497 done
48499 else
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48502 $as_echo_n "checking for _isinff declaration... " >&6; }
48503 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48504 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48505 $as_echo_n "(cached) " >&6
48506 else
48509 ac_ext=cpp
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48516 /* end confdefs.h. */
48517 #include <math.h>
48518 #ifdef HAVE_IEEEFP_H
48519 #include <ieeefp.h>
48520 #endif
48523 main ()
48525 _isinff(0);
48527 return 0;
48529 _ACEOF
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func__isinff_use=yes
48532 else
48533 glibcxx_cv_func__isinff_use=no
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48547 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48549 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48550 for ac_func in _isinff
48551 do :
48552 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48553 if test "x$ac_cv_func__isinff" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE__ISINFF 1
48556 _ACEOF
48559 done
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48569 $as_echo_n "checking for atan2f declaration... " >&6; }
48570 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48571 if test "${glibcxx_cv_func_atan2f_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>
48586 main ()
48588 atan2f(0, 0);
48590 return 0;
48592 _ACEOF
48593 if ac_fn_cxx_try_compile "$LINENO"; then :
48594 glibcxx_cv_func_atan2f_use=yes
48595 else
48596 glibcxx_cv_func_atan2f_use=no
48598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48599 ac_ext=c
48600 ac_cpp='$CPP $CPPFLAGS'
48601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48610 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48612 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48613 for ac_func in atan2f
48614 do :
48615 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48616 if test "x$ac_cv_func_atan2f" = x""yes; then :
48617 cat >>confdefs.h <<_ACEOF
48618 #define HAVE_ATAN2F 1
48619 _ACEOF
48622 done
48624 else
48626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48627 $as_echo_n "checking for _atan2f declaration... " >&6; }
48628 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48629 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48630 $as_echo_n "(cached) " >&6
48631 else
48634 ac_ext=cpp
48635 ac_cpp='$CXXCPP $CPPFLAGS'
48636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48641 /* end confdefs.h. */
48642 #include <math.h>
48644 main ()
48646 _atan2f(0, 0);
48648 return 0;
48650 _ACEOF
48651 if ac_fn_cxx_try_compile "$LINENO"; then :
48652 glibcxx_cv_func__atan2f_use=yes
48653 else
48654 glibcxx_cv_func__atan2f_use=no
48656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48657 ac_ext=c
48658 ac_cpp='$CPP $CPPFLAGS'
48659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48668 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48670 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48671 for ac_func in _atan2f
48672 do :
48673 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48674 if test "x$ac_cv_func__atan2f" = x""yes; then :
48675 cat >>confdefs.h <<_ACEOF
48676 #define HAVE__ATAN2F 1
48677 _ACEOF
48680 done
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48690 $as_echo_n "checking for fabsf declaration... " >&6; }
48691 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48692 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48693 $as_echo_n "(cached) " >&6
48694 else
48697 ac_ext=cpp
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48704 /* end confdefs.h. */
48705 #include <math.h>
48706 #ifdef HAVE_IEEEFP_H
48707 #include <ieeefp.h>
48708 #endif
48711 main ()
48713 fabsf(0);
48715 return 0;
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func_fabsf_use=yes
48720 else
48721 glibcxx_cv_func_fabsf_use=no
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48735 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48737 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48738 for ac_func in fabsf
48739 do :
48740 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48741 if test "x$ac_cv_func_fabsf" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE_FABSF 1
48744 _ACEOF
48747 done
48749 else
48751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48752 $as_echo_n "checking for _fabsf declaration... " >&6; }
48753 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48754 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48755 $as_echo_n "(cached) " >&6
48756 else
48759 ac_ext=cpp
48760 ac_cpp='$CXXCPP $CPPFLAGS'
48761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48766 /* end confdefs.h. */
48767 #include <math.h>
48768 #ifdef HAVE_IEEEFP_H
48769 #include <ieeefp.h>
48770 #endif
48773 main ()
48775 _fabsf(0);
48777 return 0;
48779 _ACEOF
48780 if ac_fn_cxx_try_compile "$LINENO"; then :
48781 glibcxx_cv_func__fabsf_use=yes
48782 else
48783 glibcxx_cv_func__fabsf_use=no
48785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48786 ac_ext=c
48787 ac_cpp='$CPP $CPPFLAGS'
48788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48797 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48799 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48800 for ac_func in _fabsf
48801 do :
48802 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48803 if test "x$ac_cv_func__fabsf" = x""yes; then :
48804 cat >>confdefs.h <<_ACEOF
48805 #define HAVE__FABSF 1
48806 _ACEOF
48809 done
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48819 $as_echo_n "checking for fmodf declaration... " >&6; }
48820 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48821 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48836 main ()
48838 fmodf(0, 0);
48840 return 0;
48842 _ACEOF
48843 if ac_fn_cxx_try_compile "$LINENO"; then :
48844 glibcxx_cv_func_fmodf_use=yes
48845 else
48846 glibcxx_cv_func_fmodf_use=no
48848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48849 ac_ext=c
48850 ac_cpp='$CPP $CPPFLAGS'
48851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48860 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48862 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48863 for ac_func in fmodf
48864 do :
48865 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48866 if test "x$ac_cv_func_fmodf" = x""yes; then :
48867 cat >>confdefs.h <<_ACEOF
48868 #define HAVE_FMODF 1
48869 _ACEOF
48872 done
48874 else
48876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48877 $as_echo_n "checking for _fmodf declaration... " >&6; }
48878 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48879 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48880 $as_echo_n "(cached) " >&6
48881 else
48884 ac_ext=cpp
48885 ac_cpp='$CXXCPP $CPPFLAGS'
48886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48891 /* end confdefs.h. */
48892 #include <math.h>
48894 main ()
48896 _fmodf(0, 0);
48898 return 0;
48900 _ACEOF
48901 if ac_fn_cxx_try_compile "$LINENO"; then :
48902 glibcxx_cv_func__fmodf_use=yes
48903 else
48904 glibcxx_cv_func__fmodf_use=no
48906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48907 ac_ext=c
48908 ac_cpp='$CPP $CPPFLAGS'
48909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48918 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48920 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48921 for ac_func in _fmodf
48922 do :
48923 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48924 if test "x$ac_cv_func__fmodf" = x""yes; then :
48925 cat >>confdefs.h <<_ACEOF
48926 #define HAVE__FMODF 1
48927 _ACEOF
48930 done
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48940 $as_echo_n "checking for frexpf declaration... " >&6; }
48941 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48942 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <math.h>
48957 main ()
48959 frexpf(0, 0);
48961 return 0;
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func_frexpf_use=yes
48966 else
48967 glibcxx_cv_func_frexpf_use=no
48969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48970 ac_ext=c
48971 ac_cpp='$CPP $CPPFLAGS'
48972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48981 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48983 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48984 for ac_func in frexpf
48985 do :
48986 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48987 if test "x$ac_cv_func_frexpf" = x""yes; then :
48988 cat >>confdefs.h <<_ACEOF
48989 #define HAVE_FREXPF 1
48990 _ACEOF
48993 done
48995 else
48997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48998 $as_echo_n "checking for _frexpf declaration... " >&6; }
48999 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49000 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49001 $as_echo_n "(cached) " >&6
49002 else
49005 ac_ext=cpp
49006 ac_cpp='$CXXCPP $CPPFLAGS'
49007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49012 /* end confdefs.h. */
49013 #include <math.h>
49015 main ()
49017 _frexpf(0, 0);
49019 return 0;
49021 _ACEOF
49022 if ac_fn_cxx_try_compile "$LINENO"; then :
49023 glibcxx_cv_func__frexpf_use=yes
49024 else
49025 glibcxx_cv_func__frexpf_use=no
49027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49028 ac_ext=c
49029 ac_cpp='$CPP $CPPFLAGS'
49030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49039 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49041 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49042 for ac_func in _frexpf
49043 do :
49044 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49045 if test "x$ac_cv_func__frexpf" = x""yes; then :
49046 cat >>confdefs.h <<_ACEOF
49047 #define HAVE__FREXPF 1
49048 _ACEOF
49051 done
49060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49061 $as_echo_n "checking for hypotf declaration... " >&6; }
49062 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49063 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49064 $as_echo_n "(cached) " >&6
49065 else
49068 ac_ext=cpp
49069 ac_cpp='$CXXCPP $CPPFLAGS'
49070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49075 /* end confdefs.h. */
49076 #include <math.h>
49078 main ()
49080 hypotf(0, 0);
49082 return 0;
49084 _ACEOF
49085 if ac_fn_cxx_try_compile "$LINENO"; then :
49086 glibcxx_cv_func_hypotf_use=yes
49087 else
49088 glibcxx_cv_func_hypotf_use=no
49090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49091 ac_ext=c
49092 ac_cpp='$CPP $CPPFLAGS'
49093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49102 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49104 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49105 for ac_func in hypotf
49106 do :
49107 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49108 if test "x$ac_cv_func_hypotf" = x""yes; then :
49109 cat >>confdefs.h <<_ACEOF
49110 #define HAVE_HYPOTF 1
49111 _ACEOF
49114 done
49116 else
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49119 $as_echo_n "checking for _hypotf declaration... " >&6; }
49120 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49121 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49122 $as_echo_n "(cached) " >&6
49123 else
49126 ac_ext=cpp
49127 ac_cpp='$CXXCPP $CPPFLAGS'
49128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49133 /* end confdefs.h. */
49134 #include <math.h>
49136 main ()
49138 _hypotf(0, 0);
49140 return 0;
49142 _ACEOF
49143 if ac_fn_cxx_try_compile "$LINENO"; then :
49144 glibcxx_cv_func__hypotf_use=yes
49145 else
49146 glibcxx_cv_func__hypotf_use=no
49148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49149 ac_ext=c
49150 ac_cpp='$CPP $CPPFLAGS'
49151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49160 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49162 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49163 for ac_func in _hypotf
49164 do :
49165 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49166 if test "x$ac_cv_func__hypotf" = x""yes; then :
49167 cat >>confdefs.h <<_ACEOF
49168 #define HAVE__HYPOTF 1
49169 _ACEOF
49172 done
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49182 $as_echo_n "checking for ldexpf declaration... " >&6; }
49183 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49184 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49185 $as_echo_n "(cached) " >&6
49186 else
49189 ac_ext=cpp
49190 ac_cpp='$CXXCPP $CPPFLAGS'
49191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49196 /* end confdefs.h. */
49197 #include <math.h>
49199 main ()
49201 ldexpf(0, 0);
49203 return 0;
49205 _ACEOF
49206 if ac_fn_cxx_try_compile "$LINENO"; then :
49207 glibcxx_cv_func_ldexpf_use=yes
49208 else
49209 glibcxx_cv_func_ldexpf_use=no
49211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49212 ac_ext=c
49213 ac_cpp='$CPP $CPPFLAGS'
49214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49223 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49225 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49226 for ac_func in ldexpf
49227 do :
49228 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49229 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49230 cat >>confdefs.h <<_ACEOF
49231 #define HAVE_LDEXPF 1
49232 _ACEOF
49235 done
49237 else
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49240 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49241 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49242 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49243 $as_echo_n "(cached) " >&6
49244 else
49247 ac_ext=cpp
49248 ac_cpp='$CXXCPP $CPPFLAGS'
49249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49254 /* end confdefs.h. */
49255 #include <math.h>
49257 main ()
49259 _ldexpf(0, 0);
49261 return 0;
49263 _ACEOF
49264 if ac_fn_cxx_try_compile "$LINENO"; then :
49265 glibcxx_cv_func__ldexpf_use=yes
49266 else
49267 glibcxx_cv_func__ldexpf_use=no
49269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49270 ac_ext=c
49271 ac_cpp='$CPP $CPPFLAGS'
49272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49281 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49283 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49284 for ac_func in _ldexpf
49285 do :
49286 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49287 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49288 cat >>confdefs.h <<_ACEOF
49289 #define HAVE__LDEXPF 1
49290 _ACEOF
49293 done
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49303 $as_echo_n "checking for logf declaration... " >&6; }
49304 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49305 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49306 $as_echo_n "(cached) " >&6
49307 else
49310 ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h. */
49318 #include <math.h>
49319 #ifdef HAVE_IEEEFP_H
49320 #include <ieeefp.h>
49321 #endif
49324 main ()
49326 logf(0);
49328 return 0;
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func_logf_use=yes
49333 else
49334 glibcxx_cv_func_logf_use=no
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49348 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49350 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49351 for ac_func in logf
49352 do :
49353 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49354 if test "x$ac_cv_func_logf" = x""yes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE_LOGF 1
49357 _ACEOF
49360 done
49362 else
49364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49365 $as_echo_n "checking for _logf declaration... " >&6; }
49366 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49367 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49368 $as_echo_n "(cached) " >&6
49369 else
49372 ac_ext=cpp
49373 ac_cpp='$CXXCPP $CPPFLAGS'
49374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49379 /* end confdefs.h. */
49380 #include <math.h>
49381 #ifdef HAVE_IEEEFP_H
49382 #include <ieeefp.h>
49383 #endif
49386 main ()
49388 _logf(0);
49390 return 0;
49392 _ACEOF
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func__logf_use=yes
49395 else
49396 glibcxx_cv_func__logf_use=no
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49410 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49412 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49413 for ac_func in _logf
49414 do :
49415 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49416 if test "x$ac_cv_func__logf" = x""yes; then :
49417 cat >>confdefs.h <<_ACEOF
49418 #define HAVE__LOGF 1
49419 _ACEOF
49422 done
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49432 $as_echo_n "checking for log10f declaration... " >&6; }
49433 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49434 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49435 $as_echo_n "(cached) " >&6
49436 else
49439 ac_ext=cpp
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h. */
49447 #include <math.h>
49448 #ifdef HAVE_IEEEFP_H
49449 #include <ieeefp.h>
49450 #endif
49453 main ()
49455 log10f(0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func_log10f_use=yes
49462 else
49463 glibcxx_cv_func_log10f_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49477 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49479 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49480 for ac_func in log10f
49481 do :
49482 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49483 if test "x$ac_cv_func_log10f" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE_LOG10F 1
49486 _ACEOF
49489 done
49491 else
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49494 $as_echo_n "checking for _log10f declaration... " >&6; }
49495 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49496 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49497 $as_echo_n "(cached) " >&6
49498 else
49501 ac_ext=cpp
49502 ac_cpp='$CXXCPP $CPPFLAGS'
49503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49508 /* end confdefs.h. */
49509 #include <math.h>
49510 #ifdef HAVE_IEEEFP_H
49511 #include <ieeefp.h>
49512 #endif
49515 main ()
49517 _log10f(0);
49519 return 0;
49521 _ACEOF
49522 if ac_fn_cxx_try_compile "$LINENO"; then :
49523 glibcxx_cv_func__log10f_use=yes
49524 else
49525 glibcxx_cv_func__log10f_use=no
49527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49528 ac_ext=c
49529 ac_cpp='$CPP $CPPFLAGS'
49530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49539 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49541 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49542 for ac_func in _log10f
49543 do :
49544 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49545 if test "x$ac_cv_func__log10f" = x""yes; then :
49546 cat >>confdefs.h <<_ACEOF
49547 #define HAVE__LOG10F 1
49548 _ACEOF
49551 done
49560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49561 $as_echo_n "checking for modff declaration... " >&6; }
49562 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49563 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
49582 return 0;
49584 _ACEOF
49585 if ac_fn_cxx_try_compile "$LINENO"; then :
49586 glibcxx_cv_func_modff_use=yes
49587 else
49588 glibcxx_cv_func_modff_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
49601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49602 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49604 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49605 for ac_func in modff
49606 do :
49607 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49608 if test "x$ac_cv_func_modff" = x""yes; then :
49609 cat >>confdefs.h <<_ACEOF
49610 #define HAVE_MODFF 1
49611 _ACEOF
49614 done
49616 else
49618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49619 $as_echo_n "checking for _modff declaration... " >&6; }
49620 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49621 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49622 $as_echo_n "(cached) " >&6
49623 else
49626 ac_ext=cpp
49627 ac_cpp='$CXXCPP $CPPFLAGS'
49628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49633 /* end confdefs.h. */
49634 #include <math.h>
49636 main ()
49638 _modff(0, 0);
49640 return 0;
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644 glibcxx_cv_func__modff_use=yes
49645 else
49646 glibcxx_cv_func__modff_use=no
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649 ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49660 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49662 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49663 for ac_func in _modff
49664 do :
49665 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49666 if test "x$ac_cv_func__modff" = x""yes; then :
49667 cat >>confdefs.h <<_ACEOF
49668 #define HAVE__MODFF 1
49669 _ACEOF
49672 done
49681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49682 $as_echo_n "checking for modf declaration... " >&6; }
49683 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49684 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49685 $as_echo_n "(cached) " >&6
49686 else
49689 ac_ext=cpp
49690 ac_cpp='$CXXCPP $CPPFLAGS'
49691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49696 /* end confdefs.h. */
49697 #include <math.h>
49699 main ()
49701 modf(0, 0);
49703 return 0;
49705 _ACEOF
49706 if ac_fn_cxx_try_compile "$LINENO"; then :
49707 glibcxx_cv_func_modf_use=yes
49708 else
49709 glibcxx_cv_func_modf_use=no
49711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49712 ac_ext=c
49713 ac_cpp='$CPP $CPPFLAGS'
49714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49723 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49725 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49726 for ac_func in modf
49727 do :
49728 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49729 if test "x$ac_cv_func_modf" = x""yes; then :
49730 cat >>confdefs.h <<_ACEOF
49731 #define HAVE_MODF 1
49732 _ACEOF
49735 done
49737 else
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49740 $as_echo_n "checking for _modf declaration... " >&6; }
49741 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49742 if test "${glibcxx_cv_func__modf_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>
49757 main ()
49759 _modf(0, 0);
49761 return 0;
49763 _ACEOF
49764 if ac_fn_cxx_try_compile "$LINENO"; then :
49765 glibcxx_cv_func__modf_use=yes
49766 else
49767 glibcxx_cv_func__modf_use=no
49769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49770 ac_ext=c
49771 ac_cpp='$CPP $CPPFLAGS'
49772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49781 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49783 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49784 for ac_func in _modf
49785 do :
49786 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49787 if test "x$ac_cv_func__modf" = x""yes; then :
49788 cat >>confdefs.h <<_ACEOF
49789 #define HAVE__MODF 1
49790 _ACEOF
49793 done
49802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49803 $as_echo_n "checking for powf declaration... " >&6; }
49804 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49805 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49806 $as_echo_n "(cached) " >&6
49807 else
49810 ac_ext=cpp
49811 ac_cpp='$CXXCPP $CPPFLAGS'
49812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49817 /* end confdefs.h. */
49818 #include <math.h>
49820 main ()
49822 powf(0, 0);
49824 return 0;
49826 _ACEOF
49827 if ac_fn_cxx_try_compile "$LINENO"; then :
49828 glibcxx_cv_func_powf_use=yes
49829 else
49830 glibcxx_cv_func_powf_use=no
49832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49833 ac_ext=c
49834 ac_cpp='$CPP $CPPFLAGS'
49835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49844 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49846 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49847 for ac_func in powf
49848 do :
49849 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49850 if test "x$ac_cv_func_powf" = x""yes; then :
49851 cat >>confdefs.h <<_ACEOF
49852 #define HAVE_POWF 1
49853 _ACEOF
49856 done
49858 else
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49861 $as_echo_n "checking for _powf declaration... " >&6; }
49862 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49863 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49864 $as_echo_n "(cached) " >&6
49865 else
49868 ac_ext=cpp
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49875 /* end confdefs.h. */
49876 #include <math.h>
49878 main ()
49880 _powf(0, 0);
49882 return 0;
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func__powf_use=yes
49887 else
49888 glibcxx_cv_func__powf_use=no
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49902 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49904 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49905 for ac_func in _powf
49906 do :
49907 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49908 if test "x$ac_cv_func__powf" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE__POWF 1
49911 _ACEOF
49914 done
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49924 $as_echo_n "checking for sqrtf declaration... " >&6; }
49925 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49926 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49927 $as_echo_n "(cached) " >&6
49928 else
49931 ac_ext=cpp
49932 ac_cpp='$CXXCPP $CPPFLAGS'
49933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49938 /* end confdefs.h. */
49939 #include <math.h>
49940 #ifdef HAVE_IEEEFP_H
49941 #include <ieeefp.h>
49942 #endif
49945 main ()
49947 sqrtf(0);
49949 return 0;
49951 _ACEOF
49952 if ac_fn_cxx_try_compile "$LINENO"; then :
49953 glibcxx_cv_func_sqrtf_use=yes
49954 else
49955 glibcxx_cv_func_sqrtf_use=no
49957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49958 ac_ext=c
49959 ac_cpp='$CPP $CPPFLAGS'
49960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49969 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49971 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49972 for ac_func in sqrtf
49973 do :
49974 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49975 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49976 cat >>confdefs.h <<_ACEOF
49977 #define HAVE_SQRTF 1
49978 _ACEOF
49981 done
49983 else
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49986 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49987 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49988 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49989 $as_echo_n "(cached) " >&6
49990 else
49993 ac_ext=cpp
49994 ac_cpp='$CXXCPP $CPPFLAGS'
49995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50000 /* end confdefs.h. */
50001 #include <math.h>
50002 #ifdef HAVE_IEEEFP_H
50003 #include <ieeefp.h>
50004 #endif
50007 main ()
50009 _sqrtf(0);
50011 return 0;
50013 _ACEOF
50014 if ac_fn_cxx_try_compile "$LINENO"; then :
50015 glibcxx_cv_func__sqrtf_use=yes
50016 else
50017 glibcxx_cv_func__sqrtf_use=no
50019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50020 ac_ext=c
50021 ac_cpp='$CPP $CPPFLAGS'
50022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50031 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50033 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50034 for ac_func in _sqrtf
50035 do :
50036 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50037 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50038 cat >>confdefs.h <<_ACEOF
50039 #define HAVE__SQRTF 1
50040 _ACEOF
50043 done
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50053 $as_echo_n "checking for sincosf declaration... " >&6; }
50054 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50055 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50056 $as_echo_n "(cached) " >&6
50057 else
50060 ac_ext=cpp
50061 ac_cpp='$CXXCPP $CPPFLAGS'
50062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50067 /* end confdefs.h. */
50068 #include <math.h>
50070 main ()
50072 sincosf(0, 0, 0);
50074 return 0;
50076 _ACEOF
50077 if ac_fn_cxx_try_compile "$LINENO"; then :
50078 glibcxx_cv_func_sincosf_use=yes
50079 else
50080 glibcxx_cv_func_sincosf_use=no
50082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50083 ac_ext=c
50084 ac_cpp='$CPP $CPPFLAGS'
50085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50094 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50096 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50097 for ac_func in sincosf
50098 do :
50099 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50100 if test "x$ac_cv_func_sincosf" = x""yes; then :
50101 cat >>confdefs.h <<_ACEOF
50102 #define HAVE_SINCOSF 1
50103 _ACEOF
50106 done
50108 else
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50111 $as_echo_n "checking for _sincosf declaration... " >&6; }
50112 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50113 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50128 main ()
50130 _sincosf(0, 0, 0);
50132 return 0;
50134 _ACEOF
50135 if ac_fn_cxx_try_compile "$LINENO"; then :
50136 glibcxx_cv_func__sincosf_use=yes
50137 else
50138 glibcxx_cv_func__sincosf_use=no
50140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50141 ac_ext=c
50142 ac_cpp='$CPP $CPPFLAGS'
50143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50152 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50154 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50155 for ac_func in _sincosf
50156 do :
50157 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50158 if test "x$ac_cv_func__sincosf" = x""yes; then :
50159 cat >>confdefs.h <<_ACEOF
50160 #define HAVE__SINCOSF 1
50161 _ACEOF
50164 done
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50174 $as_echo_n "checking for finitef declaration... " >&6; }
50175 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50176 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50177 $as_echo_n "(cached) " >&6
50178 else
50181 ac_ext=cpp
50182 ac_cpp='$CXXCPP $CPPFLAGS'
50183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50188 /* end confdefs.h. */
50189 #include <math.h>
50190 #ifdef HAVE_IEEEFP_H
50191 #include <ieeefp.h>
50192 #endif
50195 main ()
50197 finitef(0);
50199 return 0;
50201 _ACEOF
50202 if ac_fn_cxx_try_compile "$LINENO"; then :
50203 glibcxx_cv_func_finitef_use=yes
50204 else
50205 glibcxx_cv_func_finitef_use=no
50207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50208 ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50219 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50221 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50222 for ac_func in finitef
50223 do :
50224 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50225 if test "x$ac_cv_func_finitef" = x""yes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE_FINITEF 1
50228 _ACEOF
50231 done
50233 else
50235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50236 $as_echo_n "checking for _finitef declaration... " >&6; }
50237 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50238 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50239 $as_echo_n "(cached) " >&6
50240 else
50243 ac_ext=cpp
50244 ac_cpp='$CXXCPP $CPPFLAGS'
50245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50250 /* end confdefs.h. */
50251 #include <math.h>
50252 #ifdef HAVE_IEEEFP_H
50253 #include <ieeefp.h>
50254 #endif
50257 main ()
50259 _finitef(0);
50261 return 0;
50263 _ACEOF
50264 if ac_fn_cxx_try_compile "$LINENO"; then :
50265 glibcxx_cv_func__finitef_use=yes
50266 else
50267 glibcxx_cv_func__finitef_use=no
50269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50270 ac_ext=c
50271 ac_cpp='$CPP $CPPFLAGS'
50272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50281 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50283 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50284 for ac_func in _finitef
50285 do :
50286 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50287 if test "x$ac_cv_func__finitef" = x""yes; then :
50288 cat >>confdefs.h <<_ACEOF
50289 #define HAVE__FINITEF 1
50290 _ACEOF
50293 done
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50303 $as_echo_n "checking for long double trig functions... " >&6; }
50304 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50305 $as_echo_n "(cached) " >&6
50306 else
50309 ac_ext=cpp
50310 ac_cpp='$CXXCPP $CPPFLAGS'
50311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50316 /* end confdefs.h. */
50317 #include <math.h>
50319 main ()
50321 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50323 return 0;
50325 _ACEOF
50326 if ac_fn_cxx_try_compile "$LINENO"; then :
50327 glibcxx_cv_func_long_double_trig_use=yes
50328 else
50329 glibcxx_cv_func_long_double_trig_use=no
50331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50332 ac_ext=c
50333 ac_cpp='$CPP $CPPFLAGS'
50334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50341 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50342 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50343 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50344 do :
50345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50347 eval as_val=\$$as_ac_var
50348 if test "x$as_val" = x""yes; then :
50349 cat >>confdefs.h <<_ACEOF
50350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50351 _ACEOF
50354 done
50356 else
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50358 $as_echo_n "checking for _long double trig functions... " >&6; }
50359 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50360 $as_echo_n "(cached) " >&6
50361 else
50364 ac_ext=cpp
50365 ac_cpp='$CXXCPP $CPPFLAGS'
50366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50371 /* end confdefs.h. */
50372 #include <math.h>
50374 main ()
50376 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50378 return 0;
50380 _ACEOF
50381 if ac_fn_cxx_try_compile "$LINENO"; then :
50382 glibcxx_cv_func__long_double_trig_use=yes
50383 else
50384 glibcxx_cv_func__long_double_trig_use=no
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387 ac_ext=c
50388 ac_cpp='$CPP $CPPFLAGS'
50389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50396 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50397 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50398 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50399 do :
50400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50402 eval as_val=\$$as_ac_var
50403 if test "x$as_val" = x""yes; then :
50404 cat >>confdefs.h <<_ACEOF
50405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50406 _ACEOF
50409 done
50418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50419 $as_echo_n "checking for long double round functions... " >&6; }
50420 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50421 $as_echo_n "(cached) " >&6
50422 else
50425 ac_ext=cpp
50426 ac_cpp='$CXXCPP $CPPFLAGS'
50427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50432 /* end confdefs.h. */
50433 #include <math.h>
50435 main ()
50437 ceill (0); floorl (0);
50439 return 0;
50441 _ACEOF
50442 if ac_fn_cxx_try_compile "$LINENO"; then :
50443 glibcxx_cv_func_long_double_round_use=yes
50444 else
50445 glibcxx_cv_func_long_double_round_use=no
50447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50448 ac_ext=c
50449 ac_cpp='$CPP $CPPFLAGS'
50450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50457 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50458 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50459 for ac_func in ceill floorl
50460 do :
50461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50463 eval as_val=\$$as_ac_var
50464 if test "x$as_val" = x""yes; then :
50465 cat >>confdefs.h <<_ACEOF
50466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50467 _ACEOF
50470 done
50472 else
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50474 $as_echo_n "checking for _long double round functions... " >&6; }
50475 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50476 $as_echo_n "(cached) " >&6
50477 else
50480 ac_ext=cpp
50481 ac_cpp='$CXXCPP $CPPFLAGS'
50482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50487 /* end confdefs.h. */
50488 #include <math.h>
50490 main ()
50492 _ceill (0); _floorl (0);
50494 return 0;
50496 _ACEOF
50497 if ac_fn_cxx_try_compile "$LINENO"; then :
50498 glibcxx_cv_func__long_double_round_use=yes
50499 else
50500 glibcxx_cv_func__long_double_round_use=no
50502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50503 ac_ext=c
50504 ac_cpp='$CPP $CPPFLAGS'
50505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50512 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50513 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50514 for ac_func in _ceill _floorl
50515 do :
50516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50518 eval as_val=\$$as_ac_var
50519 if test "x$as_val" = x""yes; then :
50520 cat >>confdefs.h <<_ACEOF
50521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50522 _ACEOF
50525 done
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50536 $as_echo_n "checking for isnanl declaration... " >&6; }
50537 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50538 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50539 $as_echo_n "(cached) " >&6
50540 else
50543 ac_ext=cpp
50544 ac_cpp='$CXXCPP $CPPFLAGS'
50545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550 /* end confdefs.h. */
50551 #include <math.h>
50552 #ifdef HAVE_IEEEFP_H
50553 #include <ieeefp.h>
50554 #endif
50557 main ()
50559 isnanl(0);
50561 return 0;
50563 _ACEOF
50564 if ac_fn_cxx_try_compile "$LINENO"; then :
50565 glibcxx_cv_func_isnanl_use=yes
50566 else
50567 glibcxx_cv_func_isnanl_use=no
50569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50570 ac_ext=c
50571 ac_cpp='$CPP $CPPFLAGS'
50572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50581 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50583 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50584 for ac_func in isnanl
50585 do :
50586 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50587 if test "x$ac_cv_func_isnanl" = x""yes; then :
50588 cat >>confdefs.h <<_ACEOF
50589 #define HAVE_ISNANL 1
50590 _ACEOF
50593 done
50595 else
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50598 $as_echo_n "checking for _isnanl declaration... " >&6; }
50599 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50600 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50601 $as_echo_n "(cached) " >&6
50602 else
50605 ac_ext=cpp
50606 ac_cpp='$CXXCPP $CPPFLAGS'
50607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50612 /* end confdefs.h. */
50613 #include <math.h>
50614 #ifdef HAVE_IEEEFP_H
50615 #include <ieeefp.h>
50616 #endif
50619 main ()
50621 _isnanl(0);
50623 return 0;
50625 _ACEOF
50626 if ac_fn_cxx_try_compile "$LINENO"; then :
50627 glibcxx_cv_func__isnanl_use=yes
50628 else
50629 glibcxx_cv_func__isnanl_use=no
50631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50632 ac_ext=c
50633 ac_cpp='$CPP $CPPFLAGS'
50634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50643 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50645 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50646 for ac_func in _isnanl
50647 do :
50648 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50649 if test "x$ac_cv_func__isnanl" = x""yes; then :
50650 cat >>confdefs.h <<_ACEOF
50651 #define HAVE__ISNANL 1
50652 _ACEOF
50655 done
50664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50665 $as_echo_n "checking for isinfl declaration... " >&6; }
50666 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50667 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50668 $as_echo_n "(cached) " >&6
50669 else
50672 ac_ext=cpp
50673 ac_cpp='$CXXCPP $CPPFLAGS'
50674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50679 /* end confdefs.h. */
50680 #include <math.h>
50681 #ifdef HAVE_IEEEFP_H
50682 #include <ieeefp.h>
50683 #endif
50686 main ()
50688 isinfl(0);
50690 return 0;
50692 _ACEOF
50693 if ac_fn_cxx_try_compile "$LINENO"; then :
50694 glibcxx_cv_func_isinfl_use=yes
50695 else
50696 glibcxx_cv_func_isinfl_use=no
50698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50699 ac_ext=c
50700 ac_cpp='$CPP $CPPFLAGS'
50701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50710 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50712 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50713 for ac_func in isinfl
50714 do :
50715 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50716 if test "x$ac_cv_func_isinfl" = x""yes; then :
50717 cat >>confdefs.h <<_ACEOF
50718 #define HAVE_ISINFL 1
50719 _ACEOF
50722 done
50724 else
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50727 $as_echo_n "checking for _isinfl declaration... " >&6; }
50728 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50729 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50730 $as_echo_n "(cached) " >&6
50731 else
50734 ac_ext=cpp
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h. */
50742 #include <math.h>
50743 #ifdef HAVE_IEEEFP_H
50744 #include <ieeefp.h>
50745 #endif
50748 main ()
50750 _isinfl(0);
50752 return 0;
50754 _ACEOF
50755 if ac_fn_cxx_try_compile "$LINENO"; then :
50756 glibcxx_cv_func__isinfl_use=yes
50757 else
50758 glibcxx_cv_func__isinfl_use=no
50760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50761 ac_ext=c
50762 ac_cpp='$CPP $CPPFLAGS'
50763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50772 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50774 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50775 for ac_func in _isinfl
50776 do :
50777 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50778 if test "x$ac_cv_func__isinfl" = x""yes; then :
50779 cat >>confdefs.h <<_ACEOF
50780 #define HAVE__ISINFL 1
50781 _ACEOF
50784 done
50793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50794 $as_echo_n "checking for atan2l declaration... " >&6; }
50795 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50796 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50797 $as_echo_n "(cached) " >&6
50798 else
50801 ac_ext=cpp
50802 ac_cpp='$CXXCPP $CPPFLAGS'
50803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50808 /* end confdefs.h. */
50809 #include <math.h>
50811 main ()
50813 atan2l(0, 0);
50815 return 0;
50817 _ACEOF
50818 if ac_fn_cxx_try_compile "$LINENO"; then :
50819 glibcxx_cv_func_atan2l_use=yes
50820 else
50821 glibcxx_cv_func_atan2l_use=no
50823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50824 ac_ext=c
50825 ac_cpp='$CPP $CPPFLAGS'
50826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50835 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50837 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50838 for ac_func in atan2l
50839 do :
50840 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50841 if test "x$ac_cv_func_atan2l" = x""yes; then :
50842 cat >>confdefs.h <<_ACEOF
50843 #define HAVE_ATAN2L 1
50844 _ACEOF
50847 done
50849 else
50851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50852 $as_echo_n "checking for _atan2l declaration... " >&6; }
50853 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50854 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50855 $as_echo_n "(cached) " >&6
50856 else
50859 ac_ext=cpp
50860 ac_cpp='$CXXCPP $CPPFLAGS'
50861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50866 /* end confdefs.h. */
50867 #include <math.h>
50869 main ()
50871 _atan2l(0, 0);
50873 return 0;
50875 _ACEOF
50876 if ac_fn_cxx_try_compile "$LINENO"; then :
50877 glibcxx_cv_func__atan2l_use=yes
50878 else
50879 glibcxx_cv_func__atan2l_use=no
50881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50882 ac_ext=c
50883 ac_cpp='$CPP $CPPFLAGS'
50884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50893 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50895 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50896 for ac_func in _atan2l
50897 do :
50898 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50899 if test "x$ac_cv_func__atan2l" = x""yes; then :
50900 cat >>confdefs.h <<_ACEOF
50901 #define HAVE__ATAN2L 1
50902 _ACEOF
50905 done
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50915 $as_echo_n "checking for expl declaration... " >&6; }
50916 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50917 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50918 $as_echo_n "(cached) " >&6
50919 else
50922 ac_ext=cpp
50923 ac_cpp='$CXXCPP $CPPFLAGS'
50924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929 /* end confdefs.h. */
50930 #include <math.h>
50931 #ifdef HAVE_IEEEFP_H
50932 #include <ieeefp.h>
50933 #endif
50936 main ()
50938 expl(0);
50940 return 0;
50942 _ACEOF
50943 if ac_fn_cxx_try_compile "$LINENO"; then :
50944 glibcxx_cv_func_expl_use=yes
50945 else
50946 glibcxx_cv_func_expl_use=no
50948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50960 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50962 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50963 for ac_func in expl
50964 do :
50965 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50966 if test "x$ac_cv_func_expl" = x""yes; then :
50967 cat >>confdefs.h <<_ACEOF
50968 #define HAVE_EXPL 1
50969 _ACEOF
50972 done
50974 else
50976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50977 $as_echo_n "checking for _expl declaration... " >&6; }
50978 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50979 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50980 $as_echo_n "(cached) " >&6
50981 else
50984 ac_ext=cpp
50985 ac_cpp='$CXXCPP $CPPFLAGS'
50986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50991 /* end confdefs.h. */
50992 #include <math.h>
50993 #ifdef HAVE_IEEEFP_H
50994 #include <ieeefp.h>
50995 #endif
50998 main ()
51000 _expl(0);
51002 return 0;
51004 _ACEOF
51005 if ac_fn_cxx_try_compile "$LINENO"; then :
51006 glibcxx_cv_func__expl_use=yes
51007 else
51008 glibcxx_cv_func__expl_use=no
51010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51011 ac_ext=c
51012 ac_cpp='$CPP $CPPFLAGS'
51013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51022 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51024 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51025 for ac_func in _expl
51026 do :
51027 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51028 if test "x$ac_cv_func__expl" = x""yes; then :
51029 cat >>confdefs.h <<_ACEOF
51030 #define HAVE__EXPL 1
51031 _ACEOF
51034 done
51043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51044 $as_echo_n "checking for fabsl declaration... " >&6; }
51045 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51046 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51047 $as_echo_n "(cached) " >&6
51048 else
51051 ac_ext=cpp
51052 ac_cpp='$CXXCPP $CPPFLAGS'
51053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51058 /* end confdefs.h. */
51059 #include <math.h>
51060 #ifdef HAVE_IEEEFP_H
51061 #include <ieeefp.h>
51062 #endif
51065 main ()
51067 fabsl(0);
51069 return 0;
51071 _ACEOF
51072 if ac_fn_cxx_try_compile "$LINENO"; then :
51073 glibcxx_cv_func_fabsl_use=yes
51074 else
51075 glibcxx_cv_func_fabsl_use=no
51077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_ext=c
51079 ac_cpp='$CPP $CPPFLAGS'
51080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51089 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51091 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51092 for ac_func in fabsl
51093 do :
51094 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51095 if test "x$ac_cv_func_fabsl" = x""yes; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define HAVE_FABSL 1
51098 _ACEOF
51101 done
51103 else
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51106 $as_echo_n "checking for _fabsl declaration... " >&6; }
51107 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51108 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51109 $as_echo_n "(cached) " >&6
51110 else
51113 ac_ext=cpp
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120 /* end confdefs.h. */
51121 #include <math.h>
51122 #ifdef HAVE_IEEEFP_H
51123 #include <ieeefp.h>
51124 #endif
51127 main ()
51129 _fabsl(0);
51131 return 0;
51133 _ACEOF
51134 if ac_fn_cxx_try_compile "$LINENO"; then :
51135 glibcxx_cv_func__fabsl_use=yes
51136 else
51137 glibcxx_cv_func__fabsl_use=no
51139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51140 ac_ext=c
51141 ac_cpp='$CPP $CPPFLAGS'
51142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51151 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51153 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51154 for ac_func in _fabsl
51155 do :
51156 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51157 if test "x$ac_cv_func__fabsl" = x""yes; then :
51158 cat >>confdefs.h <<_ACEOF
51159 #define HAVE__FABSL 1
51160 _ACEOF
51163 done
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51173 $as_echo_n "checking for fmodl declaration... " >&6; }
51174 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51175 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <math.h>
51190 main ()
51192 fmodl(0, 0);
51194 return 0;
51196 _ACEOF
51197 if ac_fn_cxx_try_compile "$LINENO"; then :
51198 glibcxx_cv_func_fmodl_use=yes
51199 else
51200 glibcxx_cv_func_fmodl_use=no
51202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51203 ac_ext=c
51204 ac_cpp='$CPP $CPPFLAGS'
51205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51214 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51216 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51217 for ac_func in fmodl
51218 do :
51219 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51220 if test "x$ac_cv_func_fmodl" = x""yes; then :
51221 cat >>confdefs.h <<_ACEOF
51222 #define HAVE_FMODL 1
51223 _ACEOF
51226 done
51228 else
51230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51231 $as_echo_n "checking for _fmodl declaration... " >&6; }
51232 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51233 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51234 $as_echo_n "(cached) " >&6
51235 else
51238 ac_ext=cpp
51239 ac_cpp='$CXXCPP $CPPFLAGS'
51240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51245 /* end confdefs.h. */
51246 #include <math.h>
51248 main ()
51250 _fmodl(0, 0);
51252 return 0;
51254 _ACEOF
51255 if ac_fn_cxx_try_compile "$LINENO"; then :
51256 glibcxx_cv_func__fmodl_use=yes
51257 else
51258 glibcxx_cv_func__fmodl_use=no
51260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51261 ac_ext=c
51262 ac_cpp='$CPP $CPPFLAGS'
51263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51272 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51274 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51275 for ac_func in _fmodl
51276 do :
51277 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51278 if test "x$ac_cv_func__fmodl" = x""yes; then :
51279 cat >>confdefs.h <<_ACEOF
51280 #define HAVE__FMODL 1
51281 _ACEOF
51284 done
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51294 $as_echo_n "checking for frexpl declaration... " >&6; }
51295 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51296 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51297 $as_echo_n "(cached) " >&6
51298 else
51301 ac_ext=cpp
51302 ac_cpp='$CXXCPP $CPPFLAGS'
51303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51308 /* end confdefs.h. */
51309 #include <math.h>
51311 main ()
51313 frexpl(0, 0);
51315 return 0;
51317 _ACEOF
51318 if ac_fn_cxx_try_compile "$LINENO"; then :
51319 glibcxx_cv_func_frexpl_use=yes
51320 else
51321 glibcxx_cv_func_frexpl_use=no
51323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51324 ac_ext=c
51325 ac_cpp='$CPP $CPPFLAGS'
51326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51335 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51337 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51338 for ac_func in frexpl
51339 do :
51340 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51341 if test "x$ac_cv_func_frexpl" = x""yes; then :
51342 cat >>confdefs.h <<_ACEOF
51343 #define HAVE_FREXPL 1
51344 _ACEOF
51347 done
51349 else
51351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51352 $as_echo_n "checking for _frexpl declaration... " >&6; }
51353 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51354 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51355 $as_echo_n "(cached) " >&6
51356 else
51359 ac_ext=cpp
51360 ac_cpp='$CXXCPP $CPPFLAGS'
51361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51366 /* end confdefs.h. */
51367 #include <math.h>
51369 main ()
51371 _frexpl(0, 0);
51373 return 0;
51375 _ACEOF
51376 if ac_fn_cxx_try_compile "$LINENO"; then :
51377 glibcxx_cv_func__frexpl_use=yes
51378 else
51379 glibcxx_cv_func__frexpl_use=no
51381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51382 ac_ext=c
51383 ac_cpp='$CPP $CPPFLAGS'
51384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51393 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51395 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51396 for ac_func in _frexpl
51397 do :
51398 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51399 if test "x$ac_cv_func__frexpl" = x""yes; then :
51400 cat >>confdefs.h <<_ACEOF
51401 #define HAVE__FREXPL 1
51402 _ACEOF
51405 done
51414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51415 $as_echo_n "checking for hypotl declaration... " >&6; }
51416 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51417 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51418 $as_echo_n "(cached) " >&6
51419 else
51422 ac_ext=cpp
51423 ac_cpp='$CXXCPP $CPPFLAGS'
51424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51429 /* end confdefs.h. */
51430 #include <math.h>
51432 main ()
51434 hypotl(0, 0);
51436 return 0;
51438 _ACEOF
51439 if ac_fn_cxx_try_compile "$LINENO"; then :
51440 glibcxx_cv_func_hypotl_use=yes
51441 else
51442 glibcxx_cv_func_hypotl_use=no
51444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51445 ac_ext=c
51446 ac_cpp='$CPP $CPPFLAGS'
51447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51456 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51458 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51459 for ac_func in hypotl
51460 do :
51461 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51462 if test "x$ac_cv_func_hypotl" = x""yes; then :
51463 cat >>confdefs.h <<_ACEOF
51464 #define HAVE_HYPOTL 1
51465 _ACEOF
51468 done
51470 else
51472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51473 $as_echo_n "checking for _hypotl declaration... " >&6; }
51474 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51475 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51476 $as_echo_n "(cached) " >&6
51477 else
51480 ac_ext=cpp
51481 ac_cpp='$CXXCPP $CPPFLAGS'
51482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51487 /* end confdefs.h. */
51488 #include <math.h>
51490 main ()
51492 _hypotl(0, 0);
51494 return 0;
51496 _ACEOF
51497 if ac_fn_cxx_try_compile "$LINENO"; then :
51498 glibcxx_cv_func__hypotl_use=yes
51499 else
51500 glibcxx_cv_func__hypotl_use=no
51502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51503 ac_ext=c
51504 ac_cpp='$CPP $CPPFLAGS'
51505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51514 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51516 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51517 for ac_func in _hypotl
51518 do :
51519 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51520 if test "x$ac_cv_func__hypotl" = x""yes; then :
51521 cat >>confdefs.h <<_ACEOF
51522 #define HAVE__HYPOTL 1
51523 _ACEOF
51526 done
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51536 $as_echo_n "checking for ldexpl declaration... " >&6; }
51537 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51538 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51539 $as_echo_n "(cached) " >&6
51540 else
51543 ac_ext=cpp
51544 ac_cpp='$CXXCPP $CPPFLAGS'
51545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51550 /* end confdefs.h. */
51551 #include <math.h>
51553 main ()
51555 ldexpl(0, 0);
51557 return 0;
51559 _ACEOF
51560 if ac_fn_cxx_try_compile "$LINENO"; then :
51561 glibcxx_cv_func_ldexpl_use=yes
51562 else
51563 glibcxx_cv_func_ldexpl_use=no
51565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51566 ac_ext=c
51567 ac_cpp='$CPP $CPPFLAGS'
51568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51577 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51579 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51580 for ac_func in ldexpl
51581 do :
51582 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51583 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51584 cat >>confdefs.h <<_ACEOF
51585 #define HAVE_LDEXPL 1
51586 _ACEOF
51589 done
51591 else
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51594 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51595 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51596 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51597 $as_echo_n "(cached) " >&6
51598 else
51601 ac_ext=cpp
51602 ac_cpp='$CXXCPP $CPPFLAGS'
51603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51608 /* end confdefs.h. */
51609 #include <math.h>
51611 main ()
51613 _ldexpl(0, 0);
51615 return 0;
51617 _ACEOF
51618 if ac_fn_cxx_try_compile "$LINENO"; then :
51619 glibcxx_cv_func__ldexpl_use=yes
51620 else
51621 glibcxx_cv_func__ldexpl_use=no
51623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51624 ac_ext=c
51625 ac_cpp='$CPP $CPPFLAGS'
51626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51635 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51637 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51638 for ac_func in _ldexpl
51639 do :
51640 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51641 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51642 cat >>confdefs.h <<_ACEOF
51643 #define HAVE__LDEXPL 1
51644 _ACEOF
51647 done
51656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51657 $as_echo_n "checking for logl declaration... " >&6; }
51658 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51659 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51660 $as_echo_n "(cached) " >&6
51661 else
51664 ac_ext=cpp
51665 ac_cpp='$CXXCPP $CPPFLAGS'
51666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51671 /* end confdefs.h. */
51672 #include <math.h>
51673 #ifdef HAVE_IEEEFP_H
51674 #include <ieeefp.h>
51675 #endif
51678 main ()
51680 logl(0);
51682 return 0;
51684 _ACEOF
51685 if ac_fn_cxx_try_compile "$LINENO"; then :
51686 glibcxx_cv_func_logl_use=yes
51687 else
51688 glibcxx_cv_func_logl_use=no
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691 ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51702 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51704 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51705 for ac_func in logl
51706 do :
51707 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51708 if test "x$ac_cv_func_logl" = x""yes; then :
51709 cat >>confdefs.h <<_ACEOF
51710 #define HAVE_LOGL 1
51711 _ACEOF
51714 done
51716 else
51718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51719 $as_echo_n "checking for _logl declaration... " >&6; }
51720 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51721 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51722 $as_echo_n "(cached) " >&6
51723 else
51726 ac_ext=cpp
51727 ac_cpp='$CXXCPP $CPPFLAGS'
51728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51733 /* end confdefs.h. */
51734 #include <math.h>
51735 #ifdef HAVE_IEEEFP_H
51736 #include <ieeefp.h>
51737 #endif
51740 main ()
51742 _logl(0);
51744 return 0;
51746 _ACEOF
51747 if ac_fn_cxx_try_compile "$LINENO"; then :
51748 glibcxx_cv_func__logl_use=yes
51749 else
51750 glibcxx_cv_func__logl_use=no
51752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51753 ac_ext=c
51754 ac_cpp='$CPP $CPPFLAGS'
51755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51764 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51766 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51767 for ac_func in _logl
51768 do :
51769 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51770 if test "x$ac_cv_func__logl" = x""yes; then :
51771 cat >>confdefs.h <<_ACEOF
51772 #define HAVE__LOGL 1
51773 _ACEOF
51776 done
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51786 $as_echo_n "checking for log10l declaration... " >&6; }
51787 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51788 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51789 $as_echo_n "(cached) " >&6
51790 else
51793 ac_ext=cpp
51794 ac_cpp='$CXXCPP $CPPFLAGS'
51795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51800 /* end confdefs.h. */
51801 #include <math.h>
51802 #ifdef HAVE_IEEEFP_H
51803 #include <ieeefp.h>
51804 #endif
51807 main ()
51809 log10l(0);
51811 return 0;
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func_log10l_use=yes
51816 else
51817 glibcxx_cv_func_log10l_use=no
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51831 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51833 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51834 for ac_func in log10l
51835 do :
51836 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51837 if test "x$ac_cv_func_log10l" = x""yes; then :
51838 cat >>confdefs.h <<_ACEOF
51839 #define HAVE_LOG10L 1
51840 _ACEOF
51843 done
51845 else
51847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51848 $as_echo_n "checking for _log10l declaration... " >&6; }
51849 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51850 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51851 $as_echo_n "(cached) " >&6
51852 else
51855 ac_ext=cpp
51856 ac_cpp='$CXXCPP $CPPFLAGS'
51857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51862 /* end confdefs.h. */
51863 #include <math.h>
51864 #ifdef HAVE_IEEEFP_H
51865 #include <ieeefp.h>
51866 #endif
51869 main ()
51871 _log10l(0);
51873 return 0;
51875 _ACEOF
51876 if ac_fn_cxx_try_compile "$LINENO"; then :
51877 glibcxx_cv_func__log10l_use=yes
51878 else
51879 glibcxx_cv_func__log10l_use=no
51881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51882 ac_ext=c
51883 ac_cpp='$CPP $CPPFLAGS'
51884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51893 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51895 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51896 for ac_func in _log10l
51897 do :
51898 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51899 if test "x$ac_cv_func__log10l" = x""yes; then :
51900 cat >>confdefs.h <<_ACEOF
51901 #define HAVE__LOG10L 1
51902 _ACEOF
51905 done
51914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51915 $as_echo_n "checking for modfl declaration... " >&6; }
51916 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51917 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51918 $as_echo_n "(cached) " >&6
51919 else
51922 ac_ext=cpp
51923 ac_cpp='$CXXCPP $CPPFLAGS'
51924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51929 /* end confdefs.h. */
51930 #include <math.h>
51932 main ()
51934 modfl(0, 0);
51936 return 0;
51938 _ACEOF
51939 if ac_fn_cxx_try_compile "$LINENO"; then :
51940 glibcxx_cv_func_modfl_use=yes
51941 else
51942 glibcxx_cv_func_modfl_use=no
51944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51945 ac_ext=c
51946 ac_cpp='$CPP $CPPFLAGS'
51947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51956 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51958 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51959 for ac_func in modfl
51960 do :
51961 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51962 if test "x$ac_cv_func_modfl" = x""yes; then :
51963 cat >>confdefs.h <<_ACEOF
51964 #define HAVE_MODFL 1
51965 _ACEOF
51968 done
51970 else
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51973 $as_echo_n "checking for _modfl declaration... " >&6; }
51974 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51975 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51976 $as_echo_n "(cached) " >&6
51977 else
51980 ac_ext=cpp
51981 ac_cpp='$CXXCPP $CPPFLAGS'
51982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51987 /* end confdefs.h. */
51988 #include <math.h>
51990 main ()
51992 _modfl(0, 0);
51994 return 0;
51996 _ACEOF
51997 if ac_fn_cxx_try_compile "$LINENO"; then :
51998 glibcxx_cv_func__modfl_use=yes
51999 else
52000 glibcxx_cv_func__modfl_use=no
52002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52003 ac_ext=c
52004 ac_cpp='$CPP $CPPFLAGS'
52005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52014 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52016 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52017 for ac_func in _modfl
52018 do :
52019 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52020 if test "x$ac_cv_func__modfl" = x""yes; then :
52021 cat >>confdefs.h <<_ACEOF
52022 #define HAVE__MODFL 1
52023 _ACEOF
52026 done
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52036 $as_echo_n "checking for powl declaration... " >&6; }
52037 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52038 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52039 $as_echo_n "(cached) " >&6
52040 else
52043 ac_ext=cpp
52044 ac_cpp='$CXXCPP $CPPFLAGS'
52045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52050 /* end confdefs.h. */
52051 #include <math.h>
52053 main ()
52055 powl(0, 0);
52057 return 0;
52059 _ACEOF
52060 if ac_fn_cxx_try_compile "$LINENO"; then :
52061 glibcxx_cv_func_powl_use=yes
52062 else
52063 glibcxx_cv_func_powl_use=no
52065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52066 ac_ext=c
52067 ac_cpp='$CPP $CPPFLAGS'
52068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52077 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52079 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52080 for ac_func in powl
52081 do :
52082 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52083 if test "x$ac_cv_func_powl" = x""yes; then :
52084 cat >>confdefs.h <<_ACEOF
52085 #define HAVE_POWL 1
52086 _ACEOF
52089 done
52091 else
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52094 $as_echo_n "checking for _powl declaration... " >&6; }
52095 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52096 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52097 $as_echo_n "(cached) " >&6
52098 else
52101 ac_ext=cpp
52102 ac_cpp='$CXXCPP $CPPFLAGS'
52103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52108 /* end confdefs.h. */
52109 #include <math.h>
52111 main ()
52113 _powl(0, 0);
52115 return 0;
52117 _ACEOF
52118 if ac_fn_cxx_try_compile "$LINENO"; then :
52119 glibcxx_cv_func__powl_use=yes
52120 else
52121 glibcxx_cv_func__powl_use=no
52123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52124 ac_ext=c
52125 ac_cpp='$CPP $CPPFLAGS'
52126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52135 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52137 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52138 for ac_func in _powl
52139 do :
52140 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52141 if test "x$ac_cv_func__powl" = x""yes; then :
52142 cat >>confdefs.h <<_ACEOF
52143 #define HAVE__POWL 1
52144 _ACEOF
52147 done
52156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52157 $as_echo_n "checking for sqrtl declaration... " >&6; }
52158 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52159 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52160 $as_echo_n "(cached) " >&6
52161 else
52164 ac_ext=cpp
52165 ac_cpp='$CXXCPP $CPPFLAGS'
52166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52171 /* end confdefs.h. */
52172 #include <math.h>
52173 #ifdef HAVE_IEEEFP_H
52174 #include <ieeefp.h>
52175 #endif
52178 main ()
52180 sqrtl(0);
52182 return 0;
52184 _ACEOF
52185 if ac_fn_cxx_try_compile "$LINENO"; then :
52186 glibcxx_cv_func_sqrtl_use=yes
52187 else
52188 glibcxx_cv_func_sqrtl_use=no
52190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52191 ac_ext=c
52192 ac_cpp='$CPP $CPPFLAGS'
52193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52202 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52204 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52205 for ac_func in sqrtl
52206 do :
52207 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52208 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52209 cat >>confdefs.h <<_ACEOF
52210 #define HAVE_SQRTL 1
52211 _ACEOF
52214 done
52216 else
52218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52219 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52220 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52221 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52222 $as_echo_n "(cached) " >&6
52223 else
52226 ac_ext=cpp
52227 ac_cpp='$CXXCPP $CPPFLAGS'
52228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52233 /* end confdefs.h. */
52234 #include <math.h>
52235 #ifdef HAVE_IEEEFP_H
52236 #include <ieeefp.h>
52237 #endif
52240 main ()
52242 _sqrtl(0);
52244 return 0;
52246 _ACEOF
52247 if ac_fn_cxx_try_compile "$LINENO"; then :
52248 glibcxx_cv_func__sqrtl_use=yes
52249 else
52250 glibcxx_cv_func__sqrtl_use=no
52252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52253 ac_ext=c
52254 ac_cpp='$CPP $CPPFLAGS'
52255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52264 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52266 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52267 for ac_func in _sqrtl
52268 do :
52269 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52270 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52271 cat >>confdefs.h <<_ACEOF
52272 #define HAVE__SQRTL 1
52273 _ACEOF
52276 done
52285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52286 $as_echo_n "checking for sincosl declaration... " >&6; }
52287 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52288 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52289 $as_echo_n "(cached) " >&6
52290 else
52293 ac_ext=cpp
52294 ac_cpp='$CXXCPP $CPPFLAGS'
52295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52300 /* end confdefs.h. */
52301 #include <math.h>
52303 main ()
52305 sincosl(0, 0, 0);
52307 return 0;
52309 _ACEOF
52310 if ac_fn_cxx_try_compile "$LINENO"; then :
52311 glibcxx_cv_func_sincosl_use=yes
52312 else
52313 glibcxx_cv_func_sincosl_use=no
52315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52316 ac_ext=c
52317 ac_cpp='$CPP $CPPFLAGS'
52318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52327 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52329 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52330 for ac_func in sincosl
52331 do :
52332 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52333 if test "x$ac_cv_func_sincosl" = x""yes; then :
52334 cat >>confdefs.h <<_ACEOF
52335 #define HAVE_SINCOSL 1
52336 _ACEOF
52339 done
52341 else
52343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52344 $as_echo_n "checking for _sincosl declaration... " >&6; }
52345 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52346 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52347 $as_echo_n "(cached) " >&6
52348 else
52351 ac_ext=cpp
52352 ac_cpp='$CXXCPP $CPPFLAGS'
52353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 #include <math.h>
52361 main ()
52363 _sincosl(0, 0, 0);
52365 return 0;
52367 _ACEOF
52368 if ac_fn_cxx_try_compile "$LINENO"; then :
52369 glibcxx_cv_func__sincosl_use=yes
52370 else
52371 glibcxx_cv_func__sincosl_use=no
52373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52374 ac_ext=c
52375 ac_cpp='$CPP $CPPFLAGS'
52376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52385 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52387 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52388 for ac_func in _sincosl
52389 do :
52390 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52391 if test "x$ac_cv_func__sincosl" = x""yes; then :
52392 cat >>confdefs.h <<_ACEOF
52393 #define HAVE__SINCOSL 1
52394 _ACEOF
52397 done
52406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52407 $as_echo_n "checking for finitel declaration... " >&6; }
52408 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52409 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52410 $as_echo_n "(cached) " >&6
52411 else
52414 ac_ext=cpp
52415 ac_cpp='$CXXCPP $CPPFLAGS'
52416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52421 /* end confdefs.h. */
52422 #include <math.h>
52423 #ifdef HAVE_IEEEFP_H
52424 #include <ieeefp.h>
52425 #endif
52428 main ()
52430 finitel(0);
52432 return 0;
52434 _ACEOF
52435 if ac_fn_cxx_try_compile "$LINENO"; then :
52436 glibcxx_cv_func_finitel_use=yes
52437 else
52438 glibcxx_cv_func_finitel_use=no
52440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52441 ac_ext=c
52442 ac_cpp='$CPP $CPPFLAGS'
52443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52452 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52454 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52455 for ac_func in finitel
52456 do :
52457 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52458 if test "x$ac_cv_func_finitel" = x""yes; then :
52459 cat >>confdefs.h <<_ACEOF
52460 #define HAVE_FINITEL 1
52461 _ACEOF
52464 done
52466 else
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52469 $as_echo_n "checking for _finitel declaration... " >&6; }
52470 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52471 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52472 $as_echo_n "(cached) " >&6
52473 else
52476 ac_ext=cpp
52477 ac_cpp='$CXXCPP $CPPFLAGS'
52478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52483 /* end confdefs.h. */
52484 #include <math.h>
52485 #ifdef HAVE_IEEEFP_H
52486 #include <ieeefp.h>
52487 #endif
52490 main ()
52492 _finitel(0);
52494 return 0;
52496 _ACEOF
52497 if ac_fn_cxx_try_compile "$LINENO"; then :
52498 glibcxx_cv_func__finitel_use=yes
52499 else
52500 glibcxx_cv_func__finitel_use=no
52502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52503 ac_ext=c
52504 ac_cpp='$CPP $CPPFLAGS'
52505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52514 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52516 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52517 for ac_func in _finitel
52518 do :
52519 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52520 if test "x$ac_cv_func__finitel" = x""yes; then :
52521 cat >>confdefs.h <<_ACEOF
52522 #define HAVE__FINITEL 1
52523 _ACEOF
52526 done
52534 LIBS="$ac_save_LIBS"
52535 CXXFLAGS="$ac_save_CXXFLAGS"
52538 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52539 ac_save_CXXFLAGS="$CXXFLAGS"
52540 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52544 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52545 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52546 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52547 $as_echo_n "(cached) " >&6
52548 else
52551 ac_ext=cpp
52552 ac_cpp='$CXXCPP $CPPFLAGS'
52553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52558 /* end confdefs.h. */
52559 #include <stdlib.h>
52561 main ()
52563 at_quick_exit(0);
52565 return 0;
52567 _ACEOF
52568 if ac_fn_cxx_try_compile "$LINENO"; then :
52569 glibcxx_cv_func_at_quick_exit_use=yes
52570 else
52571 glibcxx_cv_func_at_quick_exit_use=no
52573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52574 ac_ext=c
52575 ac_cpp='$CPP $CPPFLAGS'
52576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52585 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52586 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52587 for ac_func in at_quick_exit
52588 do :
52589 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52590 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52591 cat >>confdefs.h <<_ACEOF
52592 #define HAVE_AT_QUICK_EXIT 1
52593 _ACEOF
52596 done
52601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52602 $as_echo_n "checking for quick_exit declaration... " >&6; }
52603 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52604 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52605 $as_echo_n "(cached) " >&6
52606 else
52609 ac_ext=cpp
52610 ac_cpp='$CXXCPP $CPPFLAGS'
52611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52616 /* end confdefs.h. */
52617 #include <stdlib.h>
52619 main ()
52621 quick_exit(0);
52623 return 0;
52625 _ACEOF
52626 if ac_fn_cxx_try_compile "$LINENO"; then :
52627 glibcxx_cv_func_quick_exit_use=yes
52628 else
52629 glibcxx_cv_func_quick_exit_use=no
52631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52632 ac_ext=c
52633 ac_cpp='$CPP $CPPFLAGS'
52634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52643 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52644 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52645 for ac_func in quick_exit
52646 do :
52647 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52648 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52649 cat >>confdefs.h <<_ACEOF
52650 #define HAVE_QUICK_EXIT 1
52651 _ACEOF
52654 done
52659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52660 $as_echo_n "checking for strtold declaration... " >&6; }
52661 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52662 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52663 $as_echo_n "(cached) " >&6
52664 else
52667 ac_ext=cpp
52668 ac_cpp='$CXXCPP $CPPFLAGS'
52669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52674 /* end confdefs.h. */
52675 #include <stdlib.h>
52677 main ()
52679 strtold(0, 0);
52681 return 0;
52683 _ACEOF
52684 if ac_fn_cxx_try_compile "$LINENO"; then :
52685 glibcxx_cv_func_strtold_use=yes
52686 else
52687 glibcxx_cv_func_strtold_use=no
52689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52690 ac_ext=c
52691 ac_cpp='$CPP $CPPFLAGS'
52692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52701 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52702 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52703 for ac_func in strtold
52704 do :
52705 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52706 if test "x$ac_cv_func_strtold" = x""yes; then :
52707 cat >>confdefs.h <<_ACEOF
52708 #define HAVE_STRTOLD 1
52709 _ACEOF
52712 done
52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52720 $as_echo_n "checking for strtof declaration... " >&6; }
52721 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52722 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52723 $as_echo_n "(cached) " >&6
52724 else
52727 ac_ext=cpp
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52734 /* end confdefs.h. */
52735 #include <stdlib.h>
52737 main ()
52739 strtof(0, 0);
52741 return 0;
52743 _ACEOF
52744 if ac_fn_cxx_try_compile "$LINENO"; then :
52745 glibcxx_cv_func_strtof_use=yes
52746 else
52747 glibcxx_cv_func_strtof_use=no
52749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52750 ac_ext=c
52751 ac_cpp='$CPP $CPPFLAGS'
52752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52761 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52762 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52763 for ac_func in strtof
52764 do :
52765 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52766 if test "x$ac_cv_func_strtof" = x""yes; then :
52767 cat >>confdefs.h <<_ACEOF
52768 #define HAVE_STRTOF 1
52769 _ACEOF
52772 done
52779 CXXFLAGS="$ac_save_CXXFLAGS"
52783 *djgpp)
52784 # GLIBCXX_CHECK_MATH_SUPPORT
52785 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52787 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52789 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52791 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52793 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52797 *-freebsd*)
52798 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52801 # If we're not using GNU ld, then there's no point in even trying these
52802 # tests. Check for that first. We should have already tested for gld
52803 # by now (in libtool), but require it now just to be safe...
52804 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52805 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52809 # The name set by libtool depends on the version of libtool. Shame on us
52810 # for depending on an impl detail, but c'est la vie. Older versions used
52811 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52812 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52813 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52814 # set (hence we're using an older libtool), then set it.
52815 if test x${with_gnu_ld+set} != xset; then
52816 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52817 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52818 with_gnu_ld=no
52819 else
52820 with_gnu_ld=$ac_cv_prog_gnu_ld
52824 # Start by getting the version number. I think the libtool test already
52825 # does some of this, but throws away the result.
52826 glibcxx_ld_is_gold=no
52827 if test x"$with_gnu_ld" = x"yes"; then
52828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52829 $as_echo_n "checking for ld version... " >&6; }
52831 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52832 glibcxx_ld_is_gold=yes
52834 ldver=`$LD --version 2>/dev/null |
52835 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'`
52837 glibcxx_gnu_ld_version=`echo $ldver | \
52838 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52840 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52843 # Set --gc-sections.
52844 glibcxx_have_gc_sections=no
52845 if test "$glibcxx_ld_is_gold" = "yes"; then
52846 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52847 glibcxx_have_gc_sections=yes
52849 else
52850 glibcxx_gcsections_min_ld=21602
52851 if test x"$with_gnu_ld" = x"yes" &&
52852 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52853 glibcxx_have_gc_sections=yes
52856 if test "$glibcxx_have_gc_sections" = "yes"; then
52857 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52858 # NB: This flag only works reliably after 2.16.1. Configure tests
52859 # for this are difficult, so hard wire a value that should work.
52861 ac_test_CFLAGS="${CFLAGS+set}"
52862 ac_save_CFLAGS="$CFLAGS"
52863 CFLAGS='-Wl,--gc-sections'
52865 # Check for -Wl,--gc-sections
52866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52867 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52868 if test x$gcc_no_link = xyes; then
52869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52872 /* end confdefs.h. */
52873 int one(void) { return 1; }
52874 int two(void) { return 2; }
52877 main ()
52879 two();
52881 return 0;
52883 _ACEOF
52884 if ac_fn_c_try_link "$LINENO"; then :
52885 ac_gcsections=yes
52886 else
52887 ac_gcsections=no
52889 rm -f core conftest.err conftest.$ac_objext \
52890 conftest$ac_exeext conftest.$ac_ext
52891 if test "$ac_gcsections" = "yes"; then
52892 rm -f conftest.c
52893 touch conftest.c
52894 if $CC -c conftest.c; then
52895 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52896 grep "Warning: gc-sections option ignored" > /dev/null; then
52897 ac_gcsections=no
52900 rm -f conftest.c conftest.o conftest
52902 if test "$ac_gcsections" = "yes"; then
52903 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52906 $as_echo "$ac_gcsections" >&6; }
52908 if test "$ac_test_CFLAGS" = set; then
52909 CFLAGS="$ac_save_CFLAGS"
52910 else
52911 # this is the suspicious part
52912 CFLAGS=''
52916 # Set -z,relro.
52917 # Note this is only for shared objects.
52918 ac_ld_relro=no
52919 if test x"$with_gnu_ld" = x"yes"; then
52920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52921 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52922 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52923 if test -n "$cxx_z_relo"; then
52924 OPT_LDFLAGS="-Wl,-z,relro"
52925 ac_ld_relro=yes
52927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52928 $as_echo "$ac_ld_relro" >&6; }
52931 # Set linker optimization flags.
52932 if test x"$with_gnu_ld" = x"yes"; then
52933 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52939 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52941 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52943 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52945 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52947 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52949 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52951 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52953 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52955 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52958 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52960 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52962 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52964 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52966 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52968 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52970 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52972 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52974 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52976 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52978 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52980 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52982 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52984 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52986 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52988 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52990 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52992 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52994 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52996 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52998 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53000 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53002 if test x"long_double_math_on_this_cpu" = x"yes"; then
53003 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53005 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53007 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53011 *-hpux*)
53012 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53015 # If we're not using GNU ld, then there's no point in even trying these
53016 # tests. Check for that first. We should have already tested for gld
53017 # by now (in libtool), but require it now just to be safe...
53018 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53019 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53023 # The name set by libtool depends on the version of libtool. Shame on us
53024 # for depending on an impl detail, but c'est la vie. Older versions used
53025 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53026 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53027 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53028 # set (hence we're using an older libtool), then set it.
53029 if test x${with_gnu_ld+set} != xset; then
53030 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53031 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53032 with_gnu_ld=no
53033 else
53034 with_gnu_ld=$ac_cv_prog_gnu_ld
53038 # Start by getting the version number. I think the libtool test already
53039 # does some of this, but throws away the result.
53040 glibcxx_ld_is_gold=no
53041 if test x"$with_gnu_ld" = x"yes"; then
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53043 $as_echo_n "checking for ld version... " >&6; }
53045 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53046 glibcxx_ld_is_gold=yes
53048 ldver=`$LD --version 2>/dev/null |
53049 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'`
53051 glibcxx_gnu_ld_version=`echo $ldver | \
53052 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53054 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53057 # Set --gc-sections.
53058 glibcxx_have_gc_sections=no
53059 if test "$glibcxx_ld_is_gold" = "yes"; then
53060 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53061 glibcxx_have_gc_sections=yes
53063 else
53064 glibcxx_gcsections_min_ld=21602
53065 if test x"$with_gnu_ld" = x"yes" &&
53066 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53067 glibcxx_have_gc_sections=yes
53070 if test "$glibcxx_have_gc_sections" = "yes"; then
53071 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53072 # NB: This flag only works reliably after 2.16.1. Configure tests
53073 # for this are difficult, so hard wire a value that should work.
53075 ac_test_CFLAGS="${CFLAGS+set}"
53076 ac_save_CFLAGS="$CFLAGS"
53077 CFLAGS='-Wl,--gc-sections'
53079 # Check for -Wl,--gc-sections
53080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53081 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53082 if test x$gcc_no_link = xyes; then
53083 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53086 /* end confdefs.h. */
53087 int one(void) { return 1; }
53088 int two(void) { return 2; }
53091 main ()
53093 two();
53095 return 0;
53097 _ACEOF
53098 if ac_fn_c_try_link "$LINENO"; then :
53099 ac_gcsections=yes
53100 else
53101 ac_gcsections=no
53103 rm -f core conftest.err conftest.$ac_objext \
53104 conftest$ac_exeext conftest.$ac_ext
53105 if test "$ac_gcsections" = "yes"; then
53106 rm -f conftest.c
53107 touch conftest.c
53108 if $CC -c conftest.c; then
53109 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53110 grep "Warning: gc-sections option ignored" > /dev/null; then
53111 ac_gcsections=no
53114 rm -f conftest.c conftest.o conftest
53116 if test "$ac_gcsections" = "yes"; then
53117 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53120 $as_echo "$ac_gcsections" >&6; }
53122 if test "$ac_test_CFLAGS" = set; then
53123 CFLAGS="$ac_save_CFLAGS"
53124 else
53125 # this is the suspicious part
53126 CFLAGS=''
53130 # Set -z,relro.
53131 # Note this is only for shared objects.
53132 ac_ld_relro=no
53133 if test x"$with_gnu_ld" = x"yes"; then
53134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53135 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53136 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53137 if test -n "$cxx_z_relo"; then
53138 OPT_LDFLAGS="-Wl,-z,relro"
53139 ac_ld_relro=yes
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53142 $as_echo "$ac_ld_relro" >&6; }
53145 # Set linker optimization flags.
53146 if test x"$with_gnu_ld" = x"yes"; then
53147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53154 # GLIBCXX_CHECK_MATH_SUPPORT
53155 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53157 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53159 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53161 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53163 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53165 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53167 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53169 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53171 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53173 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53175 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53177 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53179 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53181 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53183 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53185 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53187 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53189 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53191 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53193 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53195 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53198 # GLIBCXX_CHECK_STDLIB_SUPPORT
53199 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53204 # Check whether --enable-tls was given.
53205 if test "${enable_tls+set}" = set; then :
53206 enableval=$enable_tls;
53207 case "$enableval" in
53208 yes|no) ;;
53209 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53210 esac
53212 else
53213 enable_tls=yes
53217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53218 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53219 if test "${gcc_cv_have_tls+set}" = set; then :
53220 $as_echo_n "(cached) " >&6
53221 else
53223 if test "$cross_compiling" = yes; then :
53224 if test x$gcc_no_link = xyes; then
53225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53228 /* end confdefs.h. */
53229 __thread int a; int b; int main() { return a = b; }
53230 _ACEOF
53231 if ac_fn_c_try_link "$LINENO"; then :
53232 chktls_save_LDFLAGS="$LDFLAGS"
53233 case $host in
53234 *-*-linux*)
53235 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53237 esac
53238 chktls_save_CFLAGS="$CFLAGS"
53239 CFLAGS="-fPIC $CFLAGS"
53240 if test x$gcc_no_link = xyes; then
53241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53244 /* end confdefs.h. */
53245 int f() { return 0; }
53246 _ACEOF
53247 if ac_fn_c_try_link "$LINENO"; then :
53248 if test x$gcc_no_link = xyes; then
53249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53252 /* end confdefs.h. */
53253 __thread int a; int b; int f() { return a = b; }
53254 _ACEOF
53255 if ac_fn_c_try_link "$LINENO"; then :
53256 gcc_cv_have_tls=yes
53257 else
53258 gcc_cv_have_tls=no
53260 rm -f core conftest.err conftest.$ac_objext \
53261 conftest$ac_exeext conftest.$ac_ext
53262 else
53263 gcc_cv_have_tls=yes
53265 rm -f core conftest.err conftest.$ac_objext \
53266 conftest$ac_exeext conftest.$ac_ext
53267 CFLAGS="$chktls_save_CFLAGS"
53268 LDFLAGS="$chktls_save_LDFLAGS"
53269 else
53270 gcc_cv_have_tls=no
53272 rm -f core conftest.err conftest.$ac_objext \
53273 conftest$ac_exeext conftest.$ac_ext
53276 else
53277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53278 /* end confdefs.h. */
53279 __thread int a; int b; int main() { return a = b; }
53280 _ACEOF
53281 if ac_fn_c_try_run "$LINENO"; then :
53282 chktls_save_LDFLAGS="$LDFLAGS"
53283 LDFLAGS="-static $LDFLAGS"
53284 if test x$gcc_no_link = xyes; then
53285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53288 /* end confdefs.h. */
53289 int main() { return 0; }
53290 _ACEOF
53291 if ac_fn_c_try_link "$LINENO"; then :
53292 if test "$cross_compiling" = yes; then :
53293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53295 as_fn_error "cannot run test program while cross compiling
53296 See \`config.log' for more details." "$LINENO" 5; }
53297 else
53298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53299 /* end confdefs.h. */
53300 __thread int a; int b; int main() { return a = b; }
53301 _ACEOF
53302 if ac_fn_c_try_run "$LINENO"; then :
53303 gcc_cv_have_tls=yes
53304 else
53305 gcc_cv_have_tls=no
53307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53308 conftest.$ac_objext conftest.beam conftest.$ac_ext
53311 else
53312 gcc_cv_have_tls=yes
53314 rm -f core conftest.err conftest.$ac_objext \
53315 conftest$ac_exeext conftest.$ac_ext
53316 LDFLAGS="$chktls_save_LDFLAGS"
53317 if test $gcc_cv_have_tls = yes; then
53318 chktls_save_CFLAGS="$CFLAGS"
53319 thread_CFLAGS=failed
53320 for flag in '' '-pthread' '-lpthread'; do
53321 CFLAGS="$flag $chktls_save_CFLAGS"
53322 if test x$gcc_no_link = xyes; then
53323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53326 /* end confdefs.h. */
53327 #include <pthread.h>
53328 void *g(void *d) { return NULL; }
53330 main ()
53332 pthread_t t; pthread_create(&t,NULL,g,NULL);
53334 return 0;
53336 _ACEOF
53337 if ac_fn_c_try_link "$LINENO"; then :
53338 thread_CFLAGS="$flag"
53340 rm -f core conftest.err conftest.$ac_objext \
53341 conftest$ac_exeext conftest.$ac_ext
53342 if test "X$thread_CFLAGS" != Xfailed; then
53343 break
53345 done
53346 CFLAGS="$chktls_save_CFLAGS"
53347 if test "X$thread_CFLAGS" != Xfailed; then
53348 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53349 if test "$cross_compiling" = yes; then :
53350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53352 as_fn_error "cannot run test program while cross compiling
53353 See \`config.log' for more details." "$LINENO" 5; }
53354 else
53355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53356 /* end confdefs.h. */
53357 #include <pthread.h>
53358 __thread int a;
53359 static int *volatile a_in_other_thread;
53360 static void *
53361 thread_func (void *arg)
53363 a_in_other_thread = &a;
53364 return (void *)0;
53367 main ()
53369 pthread_t thread;
53370 void *thread_retval;
53371 int *volatile a_in_main_thread;
53372 a_in_main_thread = &a;
53373 if (pthread_create (&thread, (pthread_attr_t *)0,
53374 thread_func, (void *)0))
53375 return 0;
53376 if (pthread_join (thread, &thread_retval))
53377 return 0;
53378 return (a_in_other_thread == a_in_main_thread);
53380 return 0;
53382 _ACEOF
53383 if ac_fn_c_try_run "$LINENO"; then :
53384 gcc_cv_have_tls=yes
53385 else
53386 gcc_cv_have_tls=no
53388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53389 conftest.$ac_objext conftest.beam conftest.$ac_ext
53392 CFLAGS="$chktls_save_CFLAGS"
53395 else
53396 gcc_cv_have_tls=no
53398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53399 conftest.$ac_objext conftest.beam conftest.$ac_ext
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53404 $as_echo "$gcc_cv_have_tls" >&6; }
53405 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53407 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53410 case "$target" in
53411 *-hpux10*)
53412 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53414 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53416 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53418 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53420 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53423 esac
53425 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
53427 # All these tests are for C++; save the language and the compiler flags.
53428 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53429 # found in GLIBCXX_CONFIGURE.
53431 ac_ext=cpp
53432 ac_cpp='$CXXCPP $CPPFLAGS'
53433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53437 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53438 ac_save_CXXFLAGS="$CXXFLAGS"
53440 # Check for maintainer-mode bits.
53441 if test x"$USE_MAINTAINER_MODE" = xno; then
53442 WERROR=''
53443 else
53444 WERROR='-Werror'
53447 # Check for -ffunction-sections -fdata-sections
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53449 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53450 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53452 /* end confdefs.h. */
53453 int foo; void bar() { };
53455 main ()
53459 return 0;
53461 _ACEOF
53462 if ac_fn_cxx_try_compile "$LINENO"; then :
53463 ac_fdsections=yes
53464 else
53465 ac_fdsections=no
53467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53468 if test "$ac_test_CXXFLAGS" = set; then
53469 CXXFLAGS="$ac_save_CXXFLAGS"
53470 else
53471 # this is the suspicious part
53472 CXXFLAGS=''
53474 if test x"$ac_fdsections" = x"yes"; then
53475 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53478 $as_echo "$ac_fdsections" >&6; }
53480 ac_ext=c
53481 ac_cpp='$CPP $CPPFLAGS'
53482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53490 # If we're not using GNU ld, then there's no point in even trying these
53491 # tests. Check for that first. We should have already tested for gld
53492 # by now (in libtool), but require it now just to be safe...
53493 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53494 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53498 # The name set by libtool depends on the version of libtool. Shame on us
53499 # for depending on an impl detail, but c'est la vie. Older versions used
53500 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53501 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53502 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53503 # set (hence we're using an older libtool), then set it.
53504 if test x${with_gnu_ld+set} != xset; then
53505 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53506 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53507 with_gnu_ld=no
53508 else
53509 with_gnu_ld=$ac_cv_prog_gnu_ld
53513 # Start by getting the version number. I think the libtool test already
53514 # does some of this, but throws away the result.
53515 glibcxx_ld_is_gold=no
53516 if test x"$with_gnu_ld" = x"yes"; then
53517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53518 $as_echo_n "checking for ld version... " >&6; }
53520 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53521 glibcxx_ld_is_gold=yes
53523 ldver=`$LD --version 2>/dev/null |
53524 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'`
53526 glibcxx_gnu_ld_version=`echo $ldver | \
53527 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53529 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53532 # Set --gc-sections.
53533 glibcxx_have_gc_sections=no
53534 if test "$glibcxx_ld_is_gold" = "yes"; then
53535 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53536 glibcxx_have_gc_sections=yes
53538 else
53539 glibcxx_gcsections_min_ld=21602
53540 if test x"$with_gnu_ld" = x"yes" &&
53541 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53542 glibcxx_have_gc_sections=yes
53545 if test "$glibcxx_have_gc_sections" = "yes"; then
53546 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53547 # NB: This flag only works reliably after 2.16.1. Configure tests
53548 # for this are difficult, so hard wire a value that should work.
53550 ac_test_CFLAGS="${CFLAGS+set}"
53551 ac_save_CFLAGS="$CFLAGS"
53552 CFLAGS='-Wl,--gc-sections'
53554 # Check for -Wl,--gc-sections
53555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53556 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53557 if test x$gcc_no_link = xyes; then
53558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53561 /* end confdefs.h. */
53562 int one(void) { return 1; }
53563 int two(void) { return 2; }
53566 main ()
53568 two();
53570 return 0;
53572 _ACEOF
53573 if ac_fn_c_try_link "$LINENO"; then :
53574 ac_gcsections=yes
53575 else
53576 ac_gcsections=no
53578 rm -f core conftest.err conftest.$ac_objext \
53579 conftest$ac_exeext conftest.$ac_ext
53580 if test "$ac_gcsections" = "yes"; then
53581 rm -f conftest.c
53582 touch conftest.c
53583 if $CC -c conftest.c; then
53584 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53585 grep "Warning: gc-sections option ignored" > /dev/null; then
53586 ac_gcsections=no
53589 rm -f conftest.c conftest.o conftest
53591 if test "$ac_gcsections" = "yes"; then
53592 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53595 $as_echo "$ac_gcsections" >&6; }
53597 if test "$ac_test_CFLAGS" = set; then
53598 CFLAGS="$ac_save_CFLAGS"
53599 else
53600 # this is the suspicious part
53601 CFLAGS=''
53605 # Set -z,relro.
53606 # Note this is only for shared objects.
53607 ac_ld_relro=no
53608 if test x"$with_gnu_ld" = x"yes"; then
53609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53610 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53611 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53612 if test -n "$cxx_z_relo"; then
53613 OPT_LDFLAGS="-Wl,-z,relro"
53614 ac_ld_relro=yes
53616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53617 $as_echo "$ac_ld_relro" >&6; }
53620 # Set linker optimization flags.
53621 if test x"$with_gnu_ld" = x"yes"; then
53622 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53629 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53630 ac_save_CXXFLAGS="$CXXFLAGS"
53631 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53634 $as_echo_n "checking for sin in -lm... " >&6; }
53635 if test "${ac_cv_lib_m_sin+set}" = set; then :
53636 $as_echo_n "(cached) " >&6
53637 else
53638 ac_check_lib_save_LIBS=$LIBS
53639 LIBS="-lm $LIBS"
53640 if test x$gcc_no_link = xyes; then
53641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h. */
53646 /* Override any GCC internal prototype to avoid an error.
53647 Use char because int might match the return type of a GCC
53648 builtin and then its argument prototype would still apply. */
53649 #ifdef __cplusplus
53650 extern "C"
53651 #endif
53652 char sin ();
53654 main ()
53656 return sin ();
53658 return 0;
53660 _ACEOF
53661 if ac_fn_c_try_link "$LINENO"; then :
53662 ac_cv_lib_m_sin=yes
53663 else
53664 ac_cv_lib_m_sin=no
53666 rm -f core conftest.err conftest.$ac_objext \
53667 conftest$ac_exeext conftest.$ac_ext
53668 LIBS=$ac_check_lib_save_LIBS
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53671 $as_echo "$ac_cv_lib_m_sin" >&6; }
53672 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53673 libm="-lm"
53676 ac_save_LIBS="$LIBS"
53677 LIBS="$LIBS $libm"
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53682 $as_echo_n "checking for isinf declaration... " >&6; }
53683 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53684 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53685 $as_echo_n "(cached) " >&6
53686 else
53689 ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h. */
53697 #include <math.h>
53698 #ifdef HAVE_IEEEFP_H
53699 #include <ieeefp.h>
53700 #endif
53703 main ()
53705 isinf(0);
53707 return 0;
53709 _ACEOF
53710 if ac_fn_cxx_try_compile "$LINENO"; then :
53711 glibcxx_cv_func_isinf_use=yes
53712 else
53713 glibcxx_cv_func_isinf_use=no
53715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53716 ac_ext=c
53717 ac_cpp='$CPP $CPPFLAGS'
53718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53727 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53729 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53730 for ac_func in isinf
53731 do :
53732 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53733 if test "x$ac_cv_func_isinf" = x""yes; then :
53734 cat >>confdefs.h <<_ACEOF
53735 #define HAVE_ISINF 1
53736 _ACEOF
53739 done
53741 else
53743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53744 $as_echo_n "checking for _isinf declaration... " >&6; }
53745 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53746 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53747 $as_echo_n "(cached) " >&6
53748 else
53751 ac_ext=cpp
53752 ac_cpp='$CXXCPP $CPPFLAGS'
53753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53758 /* end confdefs.h. */
53759 #include <math.h>
53760 #ifdef HAVE_IEEEFP_H
53761 #include <ieeefp.h>
53762 #endif
53765 main ()
53767 _isinf(0);
53769 return 0;
53771 _ACEOF
53772 if ac_fn_cxx_try_compile "$LINENO"; then :
53773 glibcxx_cv_func__isinf_use=yes
53774 else
53775 glibcxx_cv_func__isinf_use=no
53777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53778 ac_ext=c
53779 ac_cpp='$CPP $CPPFLAGS'
53780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53789 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53791 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53792 for ac_func in _isinf
53793 do :
53794 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53795 if test "x$ac_cv_func__isinf" = x""yes; then :
53796 cat >>confdefs.h <<_ACEOF
53797 #define HAVE__ISINF 1
53798 _ACEOF
53801 done
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53811 $as_echo_n "checking for isnan declaration... " >&6; }
53812 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53813 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53814 $as_echo_n "(cached) " >&6
53815 else
53818 ac_ext=cpp
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53825 /* end confdefs.h. */
53826 #include <math.h>
53827 #ifdef HAVE_IEEEFP_H
53828 #include <ieeefp.h>
53829 #endif
53832 main ()
53834 isnan(0);
53836 return 0;
53838 _ACEOF
53839 if ac_fn_cxx_try_compile "$LINENO"; then :
53840 glibcxx_cv_func_isnan_use=yes
53841 else
53842 glibcxx_cv_func_isnan_use=no
53844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53845 ac_ext=c
53846 ac_cpp='$CPP $CPPFLAGS'
53847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53856 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53858 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53859 for ac_func in isnan
53860 do :
53861 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53862 if test "x$ac_cv_func_isnan" = x""yes; then :
53863 cat >>confdefs.h <<_ACEOF
53864 #define HAVE_ISNAN 1
53865 _ACEOF
53868 done
53870 else
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53873 $as_echo_n "checking for _isnan declaration... " >&6; }
53874 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53875 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53876 $as_echo_n "(cached) " >&6
53877 else
53880 ac_ext=cpp
53881 ac_cpp='$CXXCPP $CPPFLAGS'
53882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53887 /* end confdefs.h. */
53888 #include <math.h>
53889 #ifdef HAVE_IEEEFP_H
53890 #include <ieeefp.h>
53891 #endif
53894 main ()
53896 _isnan(0);
53898 return 0;
53900 _ACEOF
53901 if ac_fn_cxx_try_compile "$LINENO"; then :
53902 glibcxx_cv_func__isnan_use=yes
53903 else
53904 glibcxx_cv_func__isnan_use=no
53906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53907 ac_ext=c
53908 ac_cpp='$CPP $CPPFLAGS'
53909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53918 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53920 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53921 for ac_func in _isnan
53922 do :
53923 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53924 if test "x$ac_cv_func__isnan" = x""yes; then :
53925 cat >>confdefs.h <<_ACEOF
53926 #define HAVE__ISNAN 1
53927 _ACEOF
53930 done
53939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53940 $as_echo_n "checking for finite declaration... " >&6; }
53941 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53942 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53943 $as_echo_n "(cached) " >&6
53944 else
53947 ac_ext=cpp
53948 ac_cpp='$CXXCPP $CPPFLAGS'
53949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954 /* end confdefs.h. */
53955 #include <math.h>
53956 #ifdef HAVE_IEEEFP_H
53957 #include <ieeefp.h>
53958 #endif
53961 main ()
53963 finite(0);
53965 return 0;
53967 _ACEOF
53968 if ac_fn_cxx_try_compile "$LINENO"; then :
53969 glibcxx_cv_func_finite_use=yes
53970 else
53971 glibcxx_cv_func_finite_use=no
53973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53974 ac_ext=c
53975 ac_cpp='$CPP $CPPFLAGS'
53976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53985 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53987 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53988 for ac_func in finite
53989 do :
53990 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53991 if test "x$ac_cv_func_finite" = x""yes; then :
53992 cat >>confdefs.h <<_ACEOF
53993 #define HAVE_FINITE 1
53994 _ACEOF
53997 done
53999 else
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54002 $as_echo_n "checking for _finite declaration... " >&6; }
54003 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54004 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54005 $as_echo_n "(cached) " >&6
54006 else
54009 ac_ext=cpp
54010 ac_cpp='$CXXCPP $CPPFLAGS'
54011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54016 /* end confdefs.h. */
54017 #include <math.h>
54018 #ifdef HAVE_IEEEFP_H
54019 #include <ieeefp.h>
54020 #endif
54023 main ()
54025 _finite(0);
54027 return 0;
54029 _ACEOF
54030 if ac_fn_cxx_try_compile "$LINENO"; then :
54031 glibcxx_cv_func__finite_use=yes
54032 else
54033 glibcxx_cv_func__finite_use=no
54035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54036 ac_ext=c
54037 ac_cpp='$CPP $CPPFLAGS'
54038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54047 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54049 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54050 for ac_func in _finite
54051 do :
54052 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54053 if test "x$ac_cv_func__finite" = x""yes; then :
54054 cat >>confdefs.h <<_ACEOF
54055 #define HAVE__FINITE 1
54056 _ACEOF
54059 done
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54069 $as_echo_n "checking for sincos declaration... " >&6; }
54070 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54071 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54072 $as_echo_n "(cached) " >&6
54073 else
54076 ac_ext=cpp
54077 ac_cpp='$CXXCPP $CPPFLAGS'
54078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54083 /* end confdefs.h. */
54084 #include <math.h>
54086 main ()
54088 sincos(0, 0, 0);
54090 return 0;
54092 _ACEOF
54093 if ac_fn_cxx_try_compile "$LINENO"; then :
54094 glibcxx_cv_func_sincos_use=yes
54095 else
54096 glibcxx_cv_func_sincos_use=no
54098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54099 ac_ext=c
54100 ac_cpp='$CPP $CPPFLAGS'
54101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54110 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54112 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54113 for ac_func in sincos
54114 do :
54115 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54116 if test "x$ac_cv_func_sincos" = x""yes; then :
54117 cat >>confdefs.h <<_ACEOF
54118 #define HAVE_SINCOS 1
54119 _ACEOF
54122 done
54124 else
54126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54127 $as_echo_n "checking for _sincos declaration... " >&6; }
54128 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54129 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54130 $as_echo_n "(cached) " >&6
54131 else
54134 ac_ext=cpp
54135 ac_cpp='$CXXCPP $CPPFLAGS'
54136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141 /* end confdefs.h. */
54142 #include <math.h>
54144 main ()
54146 _sincos(0, 0, 0);
54148 return 0;
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152 glibcxx_cv_func__sincos_use=yes
54153 else
54154 glibcxx_cv_func__sincos_use=no
54156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54157 ac_ext=c
54158 ac_cpp='$CPP $CPPFLAGS'
54159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54168 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54170 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54171 for ac_func in _sincos
54172 do :
54173 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54174 if test "x$ac_cv_func__sincos" = x""yes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE__SINCOS 1
54177 _ACEOF
54180 done
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54190 $as_echo_n "checking for fpclass declaration... " >&6; }
54191 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54192 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54193 $as_echo_n "(cached) " >&6
54194 else
54197 ac_ext=cpp
54198 ac_cpp='$CXXCPP $CPPFLAGS'
54199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54204 /* end confdefs.h. */
54205 #include <math.h>
54206 #ifdef HAVE_IEEEFP_H
54207 #include <ieeefp.h>
54208 #endif
54211 main ()
54213 fpclass(0);
54215 return 0;
54217 _ACEOF
54218 if ac_fn_cxx_try_compile "$LINENO"; then :
54219 glibcxx_cv_func_fpclass_use=yes
54220 else
54221 glibcxx_cv_func_fpclass_use=no
54223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54224 ac_ext=c
54225 ac_cpp='$CPP $CPPFLAGS'
54226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54235 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54237 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54238 for ac_func in fpclass
54239 do :
54240 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54241 if test "x$ac_cv_func_fpclass" = x""yes; then :
54242 cat >>confdefs.h <<_ACEOF
54243 #define HAVE_FPCLASS 1
54244 _ACEOF
54247 done
54249 else
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54252 $as_echo_n "checking for _fpclass declaration... " >&6; }
54253 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54254 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54255 $as_echo_n "(cached) " >&6
54256 else
54259 ac_ext=cpp
54260 ac_cpp='$CXXCPP $CPPFLAGS'
54261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54266 /* end confdefs.h. */
54267 #include <math.h>
54268 #ifdef HAVE_IEEEFP_H
54269 #include <ieeefp.h>
54270 #endif
54273 main ()
54275 _fpclass(0);
54277 return 0;
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281 glibcxx_cv_func__fpclass_use=yes
54282 else
54283 glibcxx_cv_func__fpclass_use=no
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54297 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54299 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54300 for ac_func in _fpclass
54301 do :
54302 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54303 if test "x$ac_cv_func__fpclass" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define HAVE__FPCLASS 1
54306 _ACEOF
54309 done
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54319 $as_echo_n "checking for qfpclass declaration... " >&6; }
54320 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54321 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54322 $as_echo_n "(cached) " >&6
54323 else
54326 ac_ext=cpp
54327 ac_cpp='$CXXCPP $CPPFLAGS'
54328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54333 /* end confdefs.h. */
54334 #include <math.h>
54335 #ifdef HAVE_IEEEFP_H
54336 #include <ieeefp.h>
54337 #endif
54340 main ()
54342 qfpclass(0);
54344 return 0;
54346 _ACEOF
54347 if ac_fn_cxx_try_compile "$LINENO"; then :
54348 glibcxx_cv_func_qfpclass_use=yes
54349 else
54350 glibcxx_cv_func_qfpclass_use=no
54352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54353 ac_ext=c
54354 ac_cpp='$CPP $CPPFLAGS'
54355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54364 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54366 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54367 for ac_func in qfpclass
54368 do :
54369 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54370 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54371 cat >>confdefs.h <<_ACEOF
54372 #define HAVE_QFPCLASS 1
54373 _ACEOF
54376 done
54378 else
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54381 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54382 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54383 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54384 $as_echo_n "(cached) " >&6
54385 else
54388 ac_ext=cpp
54389 ac_cpp='$CXXCPP $CPPFLAGS'
54390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54395 /* end confdefs.h. */
54396 #include <math.h>
54397 #ifdef HAVE_IEEEFP_H
54398 #include <ieeefp.h>
54399 #endif
54402 main ()
54404 _qfpclass(0);
54406 return 0;
54408 _ACEOF
54409 if ac_fn_cxx_try_compile "$LINENO"; then :
54410 glibcxx_cv_func__qfpclass_use=yes
54411 else
54412 glibcxx_cv_func__qfpclass_use=no
54414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54415 ac_ext=c
54416 ac_cpp='$CPP $CPPFLAGS'
54417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54426 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54428 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54429 for ac_func in _qfpclass
54430 do :
54431 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54432 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54433 cat >>confdefs.h <<_ACEOF
54434 #define HAVE__QFPCLASS 1
54435 _ACEOF
54438 done
54447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54448 $as_echo_n "checking for hypot declaration... " >&6; }
54449 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54450 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54451 $as_echo_n "(cached) " >&6
54452 else
54455 ac_ext=cpp
54456 ac_cpp='$CXXCPP $CPPFLAGS'
54457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54462 /* end confdefs.h. */
54463 #include <math.h>
54465 main ()
54467 hypot(0, 0);
54469 return 0;
54471 _ACEOF
54472 if ac_fn_cxx_try_compile "$LINENO"; then :
54473 glibcxx_cv_func_hypot_use=yes
54474 else
54475 glibcxx_cv_func_hypot_use=no
54477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54478 ac_ext=c
54479 ac_cpp='$CPP $CPPFLAGS'
54480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54489 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54491 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54492 for ac_func in hypot
54493 do :
54494 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54495 if test "x$ac_cv_func_hypot" = x""yes; then :
54496 cat >>confdefs.h <<_ACEOF
54497 #define HAVE_HYPOT 1
54498 _ACEOF
54501 done
54503 else
54505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54506 $as_echo_n "checking for _hypot declaration... " >&6; }
54507 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54508 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54509 $as_echo_n "(cached) " >&6
54510 else
54513 ac_ext=cpp
54514 ac_cpp='$CXXCPP $CPPFLAGS'
54515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54520 /* end confdefs.h. */
54521 #include <math.h>
54523 main ()
54525 _hypot(0, 0);
54527 return 0;
54529 _ACEOF
54530 if ac_fn_cxx_try_compile "$LINENO"; then :
54531 glibcxx_cv_func__hypot_use=yes
54532 else
54533 glibcxx_cv_func__hypot_use=no
54535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54536 ac_ext=c
54537 ac_cpp='$CPP $CPPFLAGS'
54538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54547 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54549 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54550 for ac_func in _hypot
54551 do :
54552 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54553 if test "x$ac_cv_func__hypot" = x""yes; then :
54554 cat >>confdefs.h <<_ACEOF
54555 #define HAVE__HYPOT 1
54556 _ACEOF
54559 done
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54569 $as_echo_n "checking for float trig functions... " >&6; }
54570 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54571 $as_echo_n "(cached) " >&6
54572 else
54575 ac_ext=cpp
54576 ac_cpp='$CXXCPP $CPPFLAGS'
54577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54582 /* end confdefs.h. */
54583 #include <math.h>
54585 main ()
54587 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54589 return 0;
54591 _ACEOF
54592 if ac_fn_cxx_try_compile "$LINENO"; then :
54593 glibcxx_cv_func_float_trig_use=yes
54594 else
54595 glibcxx_cv_func_float_trig_use=no
54597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54598 ac_ext=c
54599 ac_cpp='$CPP $CPPFLAGS'
54600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54607 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54608 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54609 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54610 do :
54611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54613 eval as_val=\$$as_ac_var
54614 if test "x$as_val" = x""yes; then :
54615 cat >>confdefs.h <<_ACEOF
54616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54617 _ACEOF
54620 done
54622 else
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54624 $as_echo_n "checking for _float trig functions... " >&6; }
54625 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54626 $as_echo_n "(cached) " >&6
54627 else
54630 ac_ext=cpp
54631 ac_cpp='$CXXCPP $CPPFLAGS'
54632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54637 /* end confdefs.h. */
54638 #include <math.h>
54640 main ()
54642 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54644 return 0;
54646 _ACEOF
54647 if ac_fn_cxx_try_compile "$LINENO"; then :
54648 glibcxx_cv_func__float_trig_use=yes
54649 else
54650 glibcxx_cv_func__float_trig_use=no
54652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54653 ac_ext=c
54654 ac_cpp='$CPP $CPPFLAGS'
54655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54662 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54663 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54664 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54665 do :
54666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54668 eval as_val=\$$as_ac_var
54669 if test "x$as_val" = x""yes; then :
54670 cat >>confdefs.h <<_ACEOF
54671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54672 _ACEOF
54675 done
54684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54685 $as_echo_n "checking for float round functions... " >&6; }
54686 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54687 $as_echo_n "(cached) " >&6
54688 else
54691 ac_ext=cpp
54692 ac_cpp='$CXXCPP $CPPFLAGS'
54693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54698 /* end confdefs.h. */
54699 #include <math.h>
54701 main ()
54703 ceilf (0); floorf (0);
54705 return 0;
54707 _ACEOF
54708 if ac_fn_cxx_try_compile "$LINENO"; then :
54709 glibcxx_cv_func_float_round_use=yes
54710 else
54711 glibcxx_cv_func_float_round_use=no
54713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54714 ac_ext=c
54715 ac_cpp='$CPP $CPPFLAGS'
54716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54723 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54724 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54725 for ac_func in ceilf floorf
54726 do :
54727 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54728 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54729 eval as_val=\$$as_ac_var
54730 if test "x$as_val" = x""yes; then :
54731 cat >>confdefs.h <<_ACEOF
54732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54733 _ACEOF
54736 done
54738 else
54739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54740 $as_echo_n "checking for _float round functions... " >&6; }
54741 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54742 $as_echo_n "(cached) " >&6
54743 else
54746 ac_ext=cpp
54747 ac_cpp='$CXXCPP $CPPFLAGS'
54748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54753 /* end confdefs.h. */
54754 #include <math.h>
54756 main ()
54758 _ceilf (0); _floorf (0);
54760 return 0;
54762 _ACEOF
54763 if ac_fn_cxx_try_compile "$LINENO"; then :
54764 glibcxx_cv_func__float_round_use=yes
54765 else
54766 glibcxx_cv_func__float_round_use=no
54768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54769 ac_ext=c
54770 ac_cpp='$CPP $CPPFLAGS'
54771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54778 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54779 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54780 for ac_func in _ceilf _floorf
54781 do :
54782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54784 eval as_val=\$$as_ac_var
54785 if test "x$as_val" = x""yes; then :
54786 cat >>confdefs.h <<_ACEOF
54787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54788 _ACEOF
54791 done
54801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54802 $as_echo_n "checking for expf declaration... " >&6; }
54803 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54804 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54805 $as_echo_n "(cached) " >&6
54806 else
54809 ac_ext=cpp
54810 ac_cpp='$CXXCPP $CPPFLAGS'
54811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54816 /* end confdefs.h. */
54817 #include <math.h>
54818 #ifdef HAVE_IEEEFP_H
54819 #include <ieeefp.h>
54820 #endif
54823 main ()
54825 expf(0);
54827 return 0;
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831 glibcxx_cv_func_expf_use=yes
54832 else
54833 glibcxx_cv_func_expf_use=no
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54847 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54849 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54850 for ac_func in expf
54851 do :
54852 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54853 if test "x$ac_cv_func_expf" = x""yes; then :
54854 cat >>confdefs.h <<_ACEOF
54855 #define HAVE_EXPF 1
54856 _ACEOF
54859 done
54861 else
54863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54864 $as_echo_n "checking for _expf declaration... " >&6; }
54865 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54866 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54867 $as_echo_n "(cached) " >&6
54868 else
54871 ac_ext=cpp
54872 ac_cpp='$CXXCPP $CPPFLAGS'
54873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54878 /* end confdefs.h. */
54879 #include <math.h>
54880 #ifdef HAVE_IEEEFP_H
54881 #include <ieeefp.h>
54882 #endif
54885 main ()
54887 _expf(0);
54889 return 0;
54891 _ACEOF
54892 if ac_fn_cxx_try_compile "$LINENO"; then :
54893 glibcxx_cv_func__expf_use=yes
54894 else
54895 glibcxx_cv_func__expf_use=no
54897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54898 ac_ext=c
54899 ac_cpp='$CPP $CPPFLAGS'
54900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54909 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54911 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54912 for ac_func in _expf
54913 do :
54914 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54915 if test "x$ac_cv_func__expf" = x""yes; then :
54916 cat >>confdefs.h <<_ACEOF
54917 #define HAVE__EXPF 1
54918 _ACEOF
54921 done
54930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54931 $as_echo_n "checking for isnanf declaration... " >&6; }
54932 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54933 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54934 $as_echo_n "(cached) " >&6
54935 else
54938 ac_ext=cpp
54939 ac_cpp='$CXXCPP $CPPFLAGS'
54940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54945 /* end confdefs.h. */
54946 #include <math.h>
54947 #ifdef HAVE_IEEEFP_H
54948 #include <ieeefp.h>
54949 #endif
54952 main ()
54954 isnanf(0);
54956 return 0;
54958 _ACEOF
54959 if ac_fn_cxx_try_compile "$LINENO"; then :
54960 glibcxx_cv_func_isnanf_use=yes
54961 else
54962 glibcxx_cv_func_isnanf_use=no
54964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54965 ac_ext=c
54966 ac_cpp='$CPP $CPPFLAGS'
54967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54976 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54978 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54979 for ac_func in isnanf
54980 do :
54981 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54982 if test "x$ac_cv_func_isnanf" = x""yes; then :
54983 cat >>confdefs.h <<_ACEOF
54984 #define HAVE_ISNANF 1
54985 _ACEOF
54988 done
54990 else
54992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54993 $as_echo_n "checking for _isnanf declaration... " >&6; }
54994 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54995 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54996 $as_echo_n "(cached) " >&6
54997 else
55000 ac_ext=cpp
55001 ac_cpp='$CXXCPP $CPPFLAGS'
55002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55007 /* end confdefs.h. */
55008 #include <math.h>
55009 #ifdef HAVE_IEEEFP_H
55010 #include <ieeefp.h>
55011 #endif
55014 main ()
55016 _isnanf(0);
55018 return 0;
55020 _ACEOF
55021 if ac_fn_cxx_try_compile "$LINENO"; then :
55022 glibcxx_cv_func__isnanf_use=yes
55023 else
55024 glibcxx_cv_func__isnanf_use=no
55026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55027 ac_ext=c
55028 ac_cpp='$CPP $CPPFLAGS'
55029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55038 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55040 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55041 for ac_func in _isnanf
55042 do :
55043 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55044 if test "x$ac_cv_func__isnanf" = x""yes; then :
55045 cat >>confdefs.h <<_ACEOF
55046 #define HAVE__ISNANF 1
55047 _ACEOF
55050 done
55059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55060 $as_echo_n "checking for isinff declaration... " >&6; }
55061 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55062 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55063 $as_echo_n "(cached) " >&6
55064 else
55067 ac_ext=cpp
55068 ac_cpp='$CXXCPP $CPPFLAGS'
55069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55074 /* end confdefs.h. */
55075 #include <math.h>
55076 #ifdef HAVE_IEEEFP_H
55077 #include <ieeefp.h>
55078 #endif
55081 main ()
55083 isinff(0);
55085 return 0;
55087 _ACEOF
55088 if ac_fn_cxx_try_compile "$LINENO"; then :
55089 glibcxx_cv_func_isinff_use=yes
55090 else
55091 glibcxx_cv_func_isinff_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_isinff_use" >&5
55105 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55107 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55108 for ac_func in isinff
55109 do :
55110 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55111 if test "x$ac_cv_func_isinff" = x""yes; then :
55112 cat >>confdefs.h <<_ACEOF
55113 #define HAVE_ISINFF 1
55114 _ACEOF
55117 done
55119 else
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55122 $as_echo_n "checking for _isinff declaration... " >&6; }
55123 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55124 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55125 $as_echo_n "(cached) " >&6
55126 else
55129 ac_ext=cpp
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55136 /* end confdefs.h. */
55137 #include <math.h>
55138 #ifdef HAVE_IEEEFP_H
55139 #include <ieeefp.h>
55140 #endif
55143 main ()
55145 _isinff(0);
55147 return 0;
55149 _ACEOF
55150 if ac_fn_cxx_try_compile "$LINENO"; then :
55151 glibcxx_cv_func__isinff_use=yes
55152 else
55153 glibcxx_cv_func__isinff_use=no
55155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55156 ac_ext=c
55157 ac_cpp='$CPP $CPPFLAGS'
55158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55167 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55169 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55170 for ac_func in _isinff
55171 do :
55172 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55173 if test "x$ac_cv_func__isinff" = x""yes; then :
55174 cat >>confdefs.h <<_ACEOF
55175 #define HAVE__ISINFF 1
55176 _ACEOF
55179 done
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55189 $as_echo_n "checking for atan2f declaration... " >&6; }
55190 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55191 if test "${glibcxx_cv_func_atan2f_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>
55206 main ()
55208 atan2f(0, 0);
55210 return 0;
55212 _ACEOF
55213 if ac_fn_cxx_try_compile "$LINENO"; then :
55214 glibcxx_cv_func_atan2f_use=yes
55215 else
55216 glibcxx_cv_func_atan2f_use=no
55218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55219 ac_ext=c
55220 ac_cpp='$CPP $CPPFLAGS'
55221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55230 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55232 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55233 for ac_func in atan2f
55234 do :
55235 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55236 if test "x$ac_cv_func_atan2f" = x""yes; then :
55237 cat >>confdefs.h <<_ACEOF
55238 #define HAVE_ATAN2F 1
55239 _ACEOF
55242 done
55244 else
55246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55247 $as_echo_n "checking for _atan2f declaration... " >&6; }
55248 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55249 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55250 $as_echo_n "(cached) " >&6
55251 else
55254 ac_ext=cpp
55255 ac_cpp='$CXXCPP $CPPFLAGS'
55256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55261 /* end confdefs.h. */
55262 #include <math.h>
55264 main ()
55266 _atan2f(0, 0);
55268 return 0;
55270 _ACEOF
55271 if ac_fn_cxx_try_compile "$LINENO"; then :
55272 glibcxx_cv_func__atan2f_use=yes
55273 else
55274 glibcxx_cv_func__atan2f_use=no
55276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55277 ac_ext=c
55278 ac_cpp='$CPP $CPPFLAGS'
55279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55288 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55290 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55291 for ac_func in _atan2f
55292 do :
55293 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55294 if test "x$ac_cv_func__atan2f" = x""yes; then :
55295 cat >>confdefs.h <<_ACEOF
55296 #define HAVE__ATAN2F 1
55297 _ACEOF
55300 done
55309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55310 $as_echo_n "checking for fabsf declaration... " >&6; }
55311 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55312 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55313 $as_echo_n "(cached) " >&6
55314 else
55317 ac_ext=cpp
55318 ac_cpp='$CXXCPP $CPPFLAGS'
55319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55324 /* end confdefs.h. */
55325 #include <math.h>
55326 #ifdef HAVE_IEEEFP_H
55327 #include <ieeefp.h>
55328 #endif
55331 main ()
55333 fabsf(0);
55335 return 0;
55337 _ACEOF
55338 if ac_fn_cxx_try_compile "$LINENO"; then :
55339 glibcxx_cv_func_fabsf_use=yes
55340 else
55341 glibcxx_cv_func_fabsf_use=no
55343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55344 ac_ext=c
55345 ac_cpp='$CPP $CPPFLAGS'
55346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55355 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55357 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55358 for ac_func in fabsf
55359 do :
55360 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55361 if test "x$ac_cv_func_fabsf" = x""yes; then :
55362 cat >>confdefs.h <<_ACEOF
55363 #define HAVE_FABSF 1
55364 _ACEOF
55367 done
55369 else
55371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55372 $as_echo_n "checking for _fabsf declaration... " >&6; }
55373 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55374 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55375 $as_echo_n "(cached) " >&6
55376 else
55379 ac_ext=cpp
55380 ac_cpp='$CXXCPP $CPPFLAGS'
55381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55386 /* end confdefs.h. */
55387 #include <math.h>
55388 #ifdef HAVE_IEEEFP_H
55389 #include <ieeefp.h>
55390 #endif
55393 main ()
55395 _fabsf(0);
55397 return 0;
55399 _ACEOF
55400 if ac_fn_cxx_try_compile "$LINENO"; then :
55401 glibcxx_cv_func__fabsf_use=yes
55402 else
55403 glibcxx_cv_func__fabsf_use=no
55405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55406 ac_ext=c
55407 ac_cpp='$CPP $CPPFLAGS'
55408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55417 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55419 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55420 for ac_func in _fabsf
55421 do :
55422 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55423 if test "x$ac_cv_func__fabsf" = x""yes; then :
55424 cat >>confdefs.h <<_ACEOF
55425 #define HAVE__FABSF 1
55426 _ACEOF
55429 done
55438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55439 $as_echo_n "checking for fmodf declaration... " >&6; }
55440 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55441 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55442 $as_echo_n "(cached) " >&6
55443 else
55446 ac_ext=cpp
55447 ac_cpp='$CXXCPP $CPPFLAGS'
55448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55453 /* end confdefs.h. */
55454 #include <math.h>
55456 main ()
55458 fmodf(0, 0);
55460 return 0;
55462 _ACEOF
55463 if ac_fn_cxx_try_compile "$LINENO"; then :
55464 glibcxx_cv_func_fmodf_use=yes
55465 else
55466 glibcxx_cv_func_fmodf_use=no
55468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55469 ac_ext=c
55470 ac_cpp='$CPP $CPPFLAGS'
55471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55480 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55482 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55483 for ac_func in fmodf
55484 do :
55485 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55486 if test "x$ac_cv_func_fmodf" = x""yes; then :
55487 cat >>confdefs.h <<_ACEOF
55488 #define HAVE_FMODF 1
55489 _ACEOF
55492 done
55494 else
55496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55497 $as_echo_n "checking for _fmodf declaration... " >&6; }
55498 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55499 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55500 $as_echo_n "(cached) " >&6
55501 else
55504 ac_ext=cpp
55505 ac_cpp='$CXXCPP $CPPFLAGS'
55506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55511 /* end confdefs.h. */
55512 #include <math.h>
55514 main ()
55516 _fmodf(0, 0);
55518 return 0;
55520 _ACEOF
55521 if ac_fn_cxx_try_compile "$LINENO"; then :
55522 glibcxx_cv_func__fmodf_use=yes
55523 else
55524 glibcxx_cv_func__fmodf_use=no
55526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55527 ac_ext=c
55528 ac_cpp='$CPP $CPPFLAGS'
55529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55538 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55540 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55541 for ac_func in _fmodf
55542 do :
55543 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55544 if test "x$ac_cv_func__fmodf" = x""yes; then :
55545 cat >>confdefs.h <<_ACEOF
55546 #define HAVE__FMODF 1
55547 _ACEOF
55550 done
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55560 $as_echo_n "checking for frexpf declaration... " >&6; }
55561 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55562 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55563 $as_echo_n "(cached) " >&6
55564 else
55567 ac_ext=cpp
55568 ac_cpp='$CXXCPP $CPPFLAGS'
55569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55574 /* end confdefs.h. */
55575 #include <math.h>
55577 main ()
55579 frexpf(0, 0);
55581 return 0;
55583 _ACEOF
55584 if ac_fn_cxx_try_compile "$LINENO"; then :
55585 glibcxx_cv_func_frexpf_use=yes
55586 else
55587 glibcxx_cv_func_frexpf_use=no
55589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55590 ac_ext=c
55591 ac_cpp='$CPP $CPPFLAGS'
55592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55601 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55603 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55604 for ac_func in frexpf
55605 do :
55606 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55607 if test "x$ac_cv_func_frexpf" = x""yes; then :
55608 cat >>confdefs.h <<_ACEOF
55609 #define HAVE_FREXPF 1
55610 _ACEOF
55613 done
55615 else
55617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55618 $as_echo_n "checking for _frexpf declaration... " >&6; }
55619 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55620 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55621 $as_echo_n "(cached) " >&6
55622 else
55625 ac_ext=cpp
55626 ac_cpp='$CXXCPP $CPPFLAGS'
55627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55632 /* end confdefs.h. */
55633 #include <math.h>
55635 main ()
55637 _frexpf(0, 0);
55639 return 0;
55641 _ACEOF
55642 if ac_fn_cxx_try_compile "$LINENO"; then :
55643 glibcxx_cv_func__frexpf_use=yes
55644 else
55645 glibcxx_cv_func__frexpf_use=no
55647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55648 ac_ext=c
55649 ac_cpp='$CPP $CPPFLAGS'
55650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55659 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55661 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55662 for ac_func in _frexpf
55663 do :
55664 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55665 if test "x$ac_cv_func__frexpf" = x""yes; then :
55666 cat >>confdefs.h <<_ACEOF
55667 #define HAVE__FREXPF 1
55668 _ACEOF
55671 done
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55681 $as_echo_n "checking for hypotf declaration... " >&6; }
55682 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55683 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55684 $as_echo_n "(cached) " >&6
55685 else
55688 ac_ext=cpp
55689 ac_cpp='$CXXCPP $CPPFLAGS'
55690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55695 /* end confdefs.h. */
55696 #include <math.h>
55698 main ()
55700 hypotf(0, 0);
55702 return 0;
55704 _ACEOF
55705 if ac_fn_cxx_try_compile "$LINENO"; then :
55706 glibcxx_cv_func_hypotf_use=yes
55707 else
55708 glibcxx_cv_func_hypotf_use=no
55710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55711 ac_ext=c
55712 ac_cpp='$CPP $CPPFLAGS'
55713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55722 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55724 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55725 for ac_func in hypotf
55726 do :
55727 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55728 if test "x$ac_cv_func_hypotf" = x""yes; then :
55729 cat >>confdefs.h <<_ACEOF
55730 #define HAVE_HYPOTF 1
55731 _ACEOF
55734 done
55736 else
55738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55739 $as_echo_n "checking for _hypotf declaration... " >&6; }
55740 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55741 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55742 $as_echo_n "(cached) " >&6
55743 else
55746 ac_ext=cpp
55747 ac_cpp='$CXXCPP $CPPFLAGS'
55748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55753 /* end confdefs.h. */
55754 #include <math.h>
55756 main ()
55758 _hypotf(0, 0);
55760 return 0;
55762 _ACEOF
55763 if ac_fn_cxx_try_compile "$LINENO"; then :
55764 glibcxx_cv_func__hypotf_use=yes
55765 else
55766 glibcxx_cv_func__hypotf_use=no
55768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55769 ac_ext=c
55770 ac_cpp='$CPP $CPPFLAGS'
55771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55780 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55782 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55783 for ac_func in _hypotf
55784 do :
55785 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55786 if test "x$ac_cv_func__hypotf" = x""yes; then :
55787 cat >>confdefs.h <<_ACEOF
55788 #define HAVE__HYPOTF 1
55789 _ACEOF
55792 done
55801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55802 $as_echo_n "checking for ldexpf declaration... " >&6; }
55803 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55804 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55805 $as_echo_n "(cached) " >&6
55806 else
55809 ac_ext=cpp
55810 ac_cpp='$CXXCPP $CPPFLAGS'
55811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55816 /* end confdefs.h. */
55817 #include <math.h>
55819 main ()
55821 ldexpf(0, 0);
55823 return 0;
55825 _ACEOF
55826 if ac_fn_cxx_try_compile "$LINENO"; then :
55827 glibcxx_cv_func_ldexpf_use=yes
55828 else
55829 glibcxx_cv_func_ldexpf_use=no
55831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55832 ac_ext=c
55833 ac_cpp='$CPP $CPPFLAGS'
55834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55843 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55845 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55846 for ac_func in ldexpf
55847 do :
55848 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55849 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55850 cat >>confdefs.h <<_ACEOF
55851 #define HAVE_LDEXPF 1
55852 _ACEOF
55855 done
55857 else
55859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55860 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55861 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55862 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55863 $as_echo_n "(cached) " >&6
55864 else
55867 ac_ext=cpp
55868 ac_cpp='$CXXCPP $CPPFLAGS'
55869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55874 /* end confdefs.h. */
55875 #include <math.h>
55877 main ()
55879 _ldexpf(0, 0);
55881 return 0;
55883 _ACEOF
55884 if ac_fn_cxx_try_compile "$LINENO"; then :
55885 glibcxx_cv_func__ldexpf_use=yes
55886 else
55887 glibcxx_cv_func__ldexpf_use=no
55889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55890 ac_ext=c
55891 ac_cpp='$CPP $CPPFLAGS'
55892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55901 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55903 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55904 for ac_func in _ldexpf
55905 do :
55906 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55907 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55908 cat >>confdefs.h <<_ACEOF
55909 #define HAVE__LDEXPF 1
55910 _ACEOF
55913 done
55922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55923 $as_echo_n "checking for logf declaration... " >&6; }
55924 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55925 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55926 $as_echo_n "(cached) " >&6
55927 else
55930 ac_ext=cpp
55931 ac_cpp='$CXXCPP $CPPFLAGS'
55932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55937 /* end confdefs.h. */
55938 #include <math.h>
55939 #ifdef HAVE_IEEEFP_H
55940 #include <ieeefp.h>
55941 #endif
55944 main ()
55946 logf(0);
55948 return 0;
55950 _ACEOF
55951 if ac_fn_cxx_try_compile "$LINENO"; then :
55952 glibcxx_cv_func_logf_use=yes
55953 else
55954 glibcxx_cv_func_logf_use=no
55956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55957 ac_ext=c
55958 ac_cpp='$CPP $CPPFLAGS'
55959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55968 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55970 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55971 for ac_func in logf
55972 do :
55973 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55974 if test "x$ac_cv_func_logf" = x""yes; then :
55975 cat >>confdefs.h <<_ACEOF
55976 #define HAVE_LOGF 1
55977 _ACEOF
55980 done
55982 else
55984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55985 $as_echo_n "checking for _logf declaration... " >&6; }
55986 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55987 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55988 $as_echo_n "(cached) " >&6
55989 else
55992 ac_ext=cpp
55993 ac_cpp='$CXXCPP $CPPFLAGS'
55994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55999 /* end confdefs.h. */
56000 #include <math.h>
56001 #ifdef HAVE_IEEEFP_H
56002 #include <ieeefp.h>
56003 #endif
56006 main ()
56008 _logf(0);
56010 return 0;
56012 _ACEOF
56013 if ac_fn_cxx_try_compile "$LINENO"; then :
56014 glibcxx_cv_func__logf_use=yes
56015 else
56016 glibcxx_cv_func__logf_use=no
56018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56019 ac_ext=c
56020 ac_cpp='$CPP $CPPFLAGS'
56021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56030 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56032 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56033 for ac_func in _logf
56034 do :
56035 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56036 if test "x$ac_cv_func__logf" = x""yes; then :
56037 cat >>confdefs.h <<_ACEOF
56038 #define HAVE__LOGF 1
56039 _ACEOF
56042 done
56051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56052 $as_echo_n "checking for log10f declaration... " >&6; }
56053 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56054 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56055 $as_echo_n "(cached) " >&6
56056 else
56059 ac_ext=cpp
56060 ac_cpp='$CXXCPP $CPPFLAGS'
56061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56066 /* end confdefs.h. */
56067 #include <math.h>
56068 #ifdef HAVE_IEEEFP_H
56069 #include <ieeefp.h>
56070 #endif
56073 main ()
56075 log10f(0);
56077 return 0;
56079 _ACEOF
56080 if ac_fn_cxx_try_compile "$LINENO"; then :
56081 glibcxx_cv_func_log10f_use=yes
56082 else
56083 glibcxx_cv_func_log10f_use=no
56085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56086 ac_ext=c
56087 ac_cpp='$CPP $CPPFLAGS'
56088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56097 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56099 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56100 for ac_func in log10f
56101 do :
56102 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56103 if test "x$ac_cv_func_log10f" = x""yes; then :
56104 cat >>confdefs.h <<_ACEOF
56105 #define HAVE_LOG10F 1
56106 _ACEOF
56109 done
56111 else
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56114 $as_echo_n "checking for _log10f declaration... " >&6; }
56115 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56116 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56117 $as_echo_n "(cached) " >&6
56118 else
56121 ac_ext=cpp
56122 ac_cpp='$CXXCPP $CPPFLAGS'
56123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56128 /* end confdefs.h. */
56129 #include <math.h>
56130 #ifdef HAVE_IEEEFP_H
56131 #include <ieeefp.h>
56132 #endif
56135 main ()
56137 _log10f(0);
56139 return 0;
56141 _ACEOF
56142 if ac_fn_cxx_try_compile "$LINENO"; then :
56143 glibcxx_cv_func__log10f_use=yes
56144 else
56145 glibcxx_cv_func__log10f_use=no
56147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56148 ac_ext=c
56149 ac_cpp='$CPP $CPPFLAGS'
56150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56159 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56161 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56162 for ac_func in _log10f
56163 do :
56164 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56165 if test "x$ac_cv_func__log10f" = x""yes; then :
56166 cat >>confdefs.h <<_ACEOF
56167 #define HAVE__LOG10F 1
56168 _ACEOF
56171 done
56180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56181 $as_echo_n "checking for modff declaration... " >&6; }
56182 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56183 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
56202 return 0;
56204 _ACEOF
56205 if ac_fn_cxx_try_compile "$LINENO"; then :
56206 glibcxx_cv_func_modff_use=yes
56207 else
56208 glibcxx_cv_func_modff_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
56221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56222 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56224 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56225 for ac_func in modff
56226 do :
56227 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56228 if test "x$ac_cv_func_modff" = x""yes; then :
56229 cat >>confdefs.h <<_ACEOF
56230 #define HAVE_MODFF 1
56231 _ACEOF
56234 done
56236 else
56238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56239 $as_echo_n "checking for _modff declaration... " >&6; }
56240 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56241 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56242 $as_echo_n "(cached) " >&6
56243 else
56246 ac_ext=cpp
56247 ac_cpp='$CXXCPP $CPPFLAGS'
56248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56253 /* end confdefs.h. */
56254 #include <math.h>
56256 main ()
56258 _modff(0, 0);
56260 return 0;
56262 _ACEOF
56263 if ac_fn_cxx_try_compile "$LINENO"; then :
56264 glibcxx_cv_func__modff_use=yes
56265 else
56266 glibcxx_cv_func__modff_use=no
56268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56269 ac_ext=c
56270 ac_cpp='$CPP $CPPFLAGS'
56271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56280 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56282 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56283 for ac_func in _modff
56284 do :
56285 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56286 if test "x$ac_cv_func__modff" = x""yes; then :
56287 cat >>confdefs.h <<_ACEOF
56288 #define HAVE__MODFF 1
56289 _ACEOF
56292 done
56301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56302 $as_echo_n "checking for modf declaration... " >&6; }
56303 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56304 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56305 $as_echo_n "(cached) " >&6
56306 else
56309 ac_ext=cpp
56310 ac_cpp='$CXXCPP $CPPFLAGS'
56311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56316 /* end confdefs.h. */
56317 #include <math.h>
56319 main ()
56321 modf(0, 0);
56323 return 0;
56325 _ACEOF
56326 if ac_fn_cxx_try_compile "$LINENO"; then :
56327 glibcxx_cv_func_modf_use=yes
56328 else
56329 glibcxx_cv_func_modf_use=no
56331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56332 ac_ext=c
56333 ac_cpp='$CPP $CPPFLAGS'
56334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56343 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56345 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56346 for ac_func in modf
56347 do :
56348 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56349 if test "x$ac_cv_func_modf" = x""yes; then :
56350 cat >>confdefs.h <<_ACEOF
56351 #define HAVE_MODF 1
56352 _ACEOF
56355 done
56357 else
56359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56360 $as_echo_n "checking for _modf declaration... " >&6; }
56361 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56362 if test "${glibcxx_cv_func__modf_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>
56377 main ()
56379 _modf(0, 0);
56381 return 0;
56383 _ACEOF
56384 if ac_fn_cxx_try_compile "$LINENO"; then :
56385 glibcxx_cv_func__modf_use=yes
56386 else
56387 glibcxx_cv_func__modf_use=no
56389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56390 ac_ext=c
56391 ac_cpp='$CPP $CPPFLAGS'
56392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56401 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56403 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56404 for ac_func in _modf
56405 do :
56406 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56407 if test "x$ac_cv_func__modf" = x""yes; then :
56408 cat >>confdefs.h <<_ACEOF
56409 #define HAVE__MODF 1
56410 _ACEOF
56413 done
56422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56423 $as_echo_n "checking for powf declaration... " >&6; }
56424 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56425 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56426 $as_echo_n "(cached) " >&6
56427 else
56430 ac_ext=cpp
56431 ac_cpp='$CXXCPP $CPPFLAGS'
56432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56437 /* end confdefs.h. */
56438 #include <math.h>
56440 main ()
56442 powf(0, 0);
56444 return 0;
56446 _ACEOF
56447 if ac_fn_cxx_try_compile "$LINENO"; then :
56448 glibcxx_cv_func_powf_use=yes
56449 else
56450 glibcxx_cv_func_powf_use=no
56452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56453 ac_ext=c
56454 ac_cpp='$CPP $CPPFLAGS'
56455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56464 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56466 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56467 for ac_func in powf
56468 do :
56469 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56470 if test "x$ac_cv_func_powf" = x""yes; then :
56471 cat >>confdefs.h <<_ACEOF
56472 #define HAVE_POWF 1
56473 _ACEOF
56476 done
56478 else
56480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56481 $as_echo_n "checking for _powf declaration... " >&6; }
56482 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56483 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56484 $as_echo_n "(cached) " >&6
56485 else
56488 ac_ext=cpp
56489 ac_cpp='$CXXCPP $CPPFLAGS'
56490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56495 /* end confdefs.h. */
56496 #include <math.h>
56498 main ()
56500 _powf(0, 0);
56502 return 0;
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func__powf_use=yes
56507 else
56508 glibcxx_cv_func__powf_use=no
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56522 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56524 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56525 for ac_func in _powf
56526 do :
56527 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56528 if test "x$ac_cv_func__powf" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE__POWF 1
56531 _ACEOF
56534 done
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56544 $as_echo_n "checking for sqrtf declaration... " >&6; }
56545 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56546 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56547 $as_echo_n "(cached) " >&6
56548 else
56551 ac_ext=cpp
56552 ac_cpp='$CXXCPP $CPPFLAGS'
56553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56558 /* end confdefs.h. */
56559 #include <math.h>
56560 #ifdef HAVE_IEEEFP_H
56561 #include <ieeefp.h>
56562 #endif
56565 main ()
56567 sqrtf(0);
56569 return 0;
56571 _ACEOF
56572 if ac_fn_cxx_try_compile "$LINENO"; then :
56573 glibcxx_cv_func_sqrtf_use=yes
56574 else
56575 glibcxx_cv_func_sqrtf_use=no
56577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56578 ac_ext=c
56579 ac_cpp='$CPP $CPPFLAGS'
56580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56589 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56591 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56592 for ac_func in sqrtf
56593 do :
56594 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56595 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56596 cat >>confdefs.h <<_ACEOF
56597 #define HAVE_SQRTF 1
56598 _ACEOF
56601 done
56603 else
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56606 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56607 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56608 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56609 $as_echo_n "(cached) " >&6
56610 else
56613 ac_ext=cpp
56614 ac_cpp='$CXXCPP $CPPFLAGS'
56615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56620 /* end confdefs.h. */
56621 #include <math.h>
56622 #ifdef HAVE_IEEEFP_H
56623 #include <ieeefp.h>
56624 #endif
56627 main ()
56629 _sqrtf(0);
56631 return 0;
56633 _ACEOF
56634 if ac_fn_cxx_try_compile "$LINENO"; then :
56635 glibcxx_cv_func__sqrtf_use=yes
56636 else
56637 glibcxx_cv_func__sqrtf_use=no
56639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56651 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56653 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56654 for ac_func in _sqrtf
56655 do :
56656 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56657 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56658 cat >>confdefs.h <<_ACEOF
56659 #define HAVE__SQRTF 1
56660 _ACEOF
56663 done
56672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56673 $as_echo_n "checking for sincosf declaration... " >&6; }
56674 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56675 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56676 $as_echo_n "(cached) " >&6
56677 else
56680 ac_ext=cpp
56681 ac_cpp='$CXXCPP $CPPFLAGS'
56682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56687 /* end confdefs.h. */
56688 #include <math.h>
56690 main ()
56692 sincosf(0, 0, 0);
56694 return 0;
56696 _ACEOF
56697 if ac_fn_cxx_try_compile "$LINENO"; then :
56698 glibcxx_cv_func_sincosf_use=yes
56699 else
56700 glibcxx_cv_func_sincosf_use=no
56702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56703 ac_ext=c
56704 ac_cpp='$CPP $CPPFLAGS'
56705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56714 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56716 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56717 for ac_func in sincosf
56718 do :
56719 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56720 if test "x$ac_cv_func_sincosf" = x""yes; then :
56721 cat >>confdefs.h <<_ACEOF
56722 #define HAVE_SINCOSF 1
56723 _ACEOF
56726 done
56728 else
56730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56731 $as_echo_n "checking for _sincosf declaration... " >&6; }
56732 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56733 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56734 $as_echo_n "(cached) " >&6
56735 else
56738 ac_ext=cpp
56739 ac_cpp='$CXXCPP $CPPFLAGS'
56740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56745 /* end confdefs.h. */
56746 #include <math.h>
56748 main ()
56750 _sincosf(0, 0, 0);
56752 return 0;
56754 _ACEOF
56755 if ac_fn_cxx_try_compile "$LINENO"; then :
56756 glibcxx_cv_func__sincosf_use=yes
56757 else
56758 glibcxx_cv_func__sincosf_use=no
56760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56761 ac_ext=c
56762 ac_cpp='$CPP $CPPFLAGS'
56763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56772 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56774 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56775 for ac_func in _sincosf
56776 do :
56777 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56778 if test "x$ac_cv_func__sincosf" = x""yes; then :
56779 cat >>confdefs.h <<_ACEOF
56780 #define HAVE__SINCOSF 1
56781 _ACEOF
56784 done
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56794 $as_echo_n "checking for finitef declaration... " >&6; }
56795 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56796 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56797 $as_echo_n "(cached) " >&6
56798 else
56801 ac_ext=cpp
56802 ac_cpp='$CXXCPP $CPPFLAGS'
56803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56808 /* end confdefs.h. */
56809 #include <math.h>
56810 #ifdef HAVE_IEEEFP_H
56811 #include <ieeefp.h>
56812 #endif
56815 main ()
56817 finitef(0);
56819 return 0;
56821 _ACEOF
56822 if ac_fn_cxx_try_compile "$LINENO"; then :
56823 glibcxx_cv_func_finitef_use=yes
56824 else
56825 glibcxx_cv_func_finitef_use=no
56827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56828 ac_ext=c
56829 ac_cpp='$CPP $CPPFLAGS'
56830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56839 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56841 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56842 for ac_func in finitef
56843 do :
56844 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56845 if test "x$ac_cv_func_finitef" = x""yes; then :
56846 cat >>confdefs.h <<_ACEOF
56847 #define HAVE_FINITEF 1
56848 _ACEOF
56851 done
56853 else
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56856 $as_echo_n "checking for _finitef declaration... " >&6; }
56857 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56858 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56859 $as_echo_n "(cached) " >&6
56860 else
56863 ac_ext=cpp
56864 ac_cpp='$CXXCPP $CPPFLAGS'
56865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56870 /* end confdefs.h. */
56871 #include <math.h>
56872 #ifdef HAVE_IEEEFP_H
56873 #include <ieeefp.h>
56874 #endif
56877 main ()
56879 _finitef(0);
56881 return 0;
56883 _ACEOF
56884 if ac_fn_cxx_try_compile "$LINENO"; then :
56885 glibcxx_cv_func__finitef_use=yes
56886 else
56887 glibcxx_cv_func__finitef_use=no
56889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56890 ac_ext=c
56891 ac_cpp='$CPP $CPPFLAGS'
56892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56901 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56903 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56904 for ac_func in _finitef
56905 do :
56906 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56907 if test "x$ac_cv_func__finitef" = x""yes; then :
56908 cat >>confdefs.h <<_ACEOF
56909 #define HAVE__FINITEF 1
56910 _ACEOF
56913 done
56922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56923 $as_echo_n "checking for long double trig functions... " >&6; }
56924 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56925 $as_echo_n "(cached) " >&6
56926 else
56929 ac_ext=cpp
56930 ac_cpp='$CXXCPP $CPPFLAGS'
56931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56936 /* end confdefs.h. */
56937 #include <math.h>
56939 main ()
56941 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56943 return 0;
56945 _ACEOF
56946 if ac_fn_cxx_try_compile "$LINENO"; then :
56947 glibcxx_cv_func_long_double_trig_use=yes
56948 else
56949 glibcxx_cv_func_long_double_trig_use=no
56951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56952 ac_ext=c
56953 ac_cpp='$CPP $CPPFLAGS'
56954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56961 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56962 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56963 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56964 do :
56965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56967 eval as_val=\$$as_ac_var
56968 if test "x$as_val" = x""yes; then :
56969 cat >>confdefs.h <<_ACEOF
56970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56971 _ACEOF
56974 done
56976 else
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56978 $as_echo_n "checking for _long double trig functions... " >&6; }
56979 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56980 $as_echo_n "(cached) " >&6
56981 else
56984 ac_ext=cpp
56985 ac_cpp='$CXXCPP $CPPFLAGS'
56986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56991 /* end confdefs.h. */
56992 #include <math.h>
56994 main ()
56996 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56998 return 0;
57000 _ACEOF
57001 if ac_fn_cxx_try_compile "$LINENO"; then :
57002 glibcxx_cv_func__long_double_trig_use=yes
57003 else
57004 glibcxx_cv_func__long_double_trig_use=no
57006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57007 ac_ext=c
57008 ac_cpp='$CPP $CPPFLAGS'
57009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57016 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57017 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57018 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57019 do :
57020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57022 eval as_val=\$$as_ac_var
57023 if test "x$as_val" = x""yes; then :
57024 cat >>confdefs.h <<_ACEOF
57025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57026 _ACEOF
57029 done
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57039 $as_echo_n "checking for long double round functions... " >&6; }
57040 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57041 $as_echo_n "(cached) " >&6
57042 else
57045 ac_ext=cpp
57046 ac_cpp='$CXXCPP $CPPFLAGS'
57047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57052 /* end confdefs.h. */
57053 #include <math.h>
57055 main ()
57057 ceill (0); floorl (0);
57059 return 0;
57061 _ACEOF
57062 if ac_fn_cxx_try_compile "$LINENO"; then :
57063 glibcxx_cv_func_long_double_round_use=yes
57064 else
57065 glibcxx_cv_func_long_double_round_use=no
57067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57068 ac_ext=c
57069 ac_cpp='$CPP $CPPFLAGS'
57070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57077 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57078 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57079 for ac_func in ceill floorl
57080 do :
57081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57083 eval as_val=\$$as_ac_var
57084 if test "x$as_val" = x""yes; then :
57085 cat >>confdefs.h <<_ACEOF
57086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57087 _ACEOF
57090 done
57092 else
57093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57094 $as_echo_n "checking for _long double round functions... " >&6; }
57095 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57096 $as_echo_n "(cached) " >&6
57097 else
57100 ac_ext=cpp
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57107 /* end confdefs.h. */
57108 #include <math.h>
57110 main ()
57112 _ceill (0); _floorl (0);
57114 return 0;
57116 _ACEOF
57117 if ac_fn_cxx_try_compile "$LINENO"; then :
57118 glibcxx_cv_func__long_double_round_use=yes
57119 else
57120 glibcxx_cv_func__long_double_round_use=no
57122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57123 ac_ext=c
57124 ac_cpp='$CPP $CPPFLAGS'
57125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57132 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57133 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57134 for ac_func in _ceill _floorl
57135 do :
57136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57138 eval as_val=\$$as_ac_var
57139 if test "x$as_val" = x""yes; then :
57140 cat >>confdefs.h <<_ACEOF
57141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57142 _ACEOF
57145 done
57155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57156 $as_echo_n "checking for isnanl declaration... " >&6; }
57157 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57158 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57159 $as_echo_n "(cached) " >&6
57160 else
57163 ac_ext=cpp
57164 ac_cpp='$CXXCPP $CPPFLAGS'
57165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57170 /* end confdefs.h. */
57171 #include <math.h>
57172 #ifdef HAVE_IEEEFP_H
57173 #include <ieeefp.h>
57174 #endif
57177 main ()
57179 isnanl(0);
57181 return 0;
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func_isnanl_use=yes
57186 else
57187 glibcxx_cv_func_isnanl_use=no
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57201 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57203 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57204 for ac_func in isnanl
57205 do :
57206 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57207 if test "x$ac_cv_func_isnanl" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE_ISNANL 1
57210 _ACEOF
57213 done
57215 else
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57218 $as_echo_n "checking for _isnanl declaration... " >&6; }
57219 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57220 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57234 #ifdef HAVE_IEEEFP_H
57235 #include <ieeefp.h>
57236 #endif
57239 main ()
57241 _isnanl(0);
57243 return 0;
57245 _ACEOF
57246 if ac_fn_cxx_try_compile "$LINENO"; then :
57247 glibcxx_cv_func__isnanl_use=yes
57248 else
57249 glibcxx_cv_func__isnanl_use=no
57251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57252 ac_ext=c
57253 ac_cpp='$CPP $CPPFLAGS'
57254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57263 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57265 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57266 for ac_func in _isnanl
57267 do :
57268 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57269 if test "x$ac_cv_func__isnanl" = x""yes; then :
57270 cat >>confdefs.h <<_ACEOF
57271 #define HAVE__ISNANL 1
57272 _ACEOF
57275 done
57284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57285 $as_echo_n "checking for isinfl declaration... " >&6; }
57286 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57287 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57288 $as_echo_n "(cached) " >&6
57289 else
57292 ac_ext=cpp
57293 ac_cpp='$CXXCPP $CPPFLAGS'
57294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57299 /* end confdefs.h. */
57300 #include <math.h>
57301 #ifdef HAVE_IEEEFP_H
57302 #include <ieeefp.h>
57303 #endif
57306 main ()
57308 isinfl(0);
57310 return 0;
57312 _ACEOF
57313 if ac_fn_cxx_try_compile "$LINENO"; then :
57314 glibcxx_cv_func_isinfl_use=yes
57315 else
57316 glibcxx_cv_func_isinfl_use=no
57318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57319 ac_ext=c
57320 ac_cpp='$CPP $CPPFLAGS'
57321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57330 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57332 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57333 for ac_func in isinfl
57334 do :
57335 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57336 if test "x$ac_cv_func_isinfl" = x""yes; then :
57337 cat >>confdefs.h <<_ACEOF
57338 #define HAVE_ISINFL 1
57339 _ACEOF
57342 done
57344 else
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57347 $as_echo_n "checking for _isinfl declaration... " >&6; }
57348 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57349 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57350 $as_echo_n "(cached) " >&6
57351 else
57354 ac_ext=cpp
57355 ac_cpp='$CXXCPP $CPPFLAGS'
57356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57361 /* end confdefs.h. */
57362 #include <math.h>
57363 #ifdef HAVE_IEEEFP_H
57364 #include <ieeefp.h>
57365 #endif
57368 main ()
57370 _isinfl(0);
57372 return 0;
57374 _ACEOF
57375 if ac_fn_cxx_try_compile "$LINENO"; then :
57376 glibcxx_cv_func__isinfl_use=yes
57377 else
57378 glibcxx_cv_func__isinfl_use=no
57380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57381 ac_ext=c
57382 ac_cpp='$CPP $CPPFLAGS'
57383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57392 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57394 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57395 for ac_func in _isinfl
57396 do :
57397 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57398 if test "x$ac_cv_func__isinfl" = x""yes; then :
57399 cat >>confdefs.h <<_ACEOF
57400 #define HAVE__ISINFL 1
57401 _ACEOF
57404 done
57413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57414 $as_echo_n "checking for atan2l declaration... " >&6; }
57415 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57416 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57417 $as_echo_n "(cached) " >&6
57418 else
57421 ac_ext=cpp
57422 ac_cpp='$CXXCPP $CPPFLAGS'
57423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57428 /* end confdefs.h. */
57429 #include <math.h>
57431 main ()
57433 atan2l(0, 0);
57435 return 0;
57437 _ACEOF
57438 if ac_fn_cxx_try_compile "$LINENO"; then :
57439 glibcxx_cv_func_atan2l_use=yes
57440 else
57441 glibcxx_cv_func_atan2l_use=no
57443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57444 ac_ext=c
57445 ac_cpp='$CPP $CPPFLAGS'
57446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57455 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57457 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57458 for ac_func in atan2l
57459 do :
57460 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57461 if test "x$ac_cv_func_atan2l" = x""yes; then :
57462 cat >>confdefs.h <<_ACEOF
57463 #define HAVE_ATAN2L 1
57464 _ACEOF
57467 done
57469 else
57471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57472 $as_echo_n "checking for _atan2l declaration... " >&6; }
57473 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57474 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57475 $as_echo_n "(cached) " >&6
57476 else
57479 ac_ext=cpp
57480 ac_cpp='$CXXCPP $CPPFLAGS'
57481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57486 /* end confdefs.h. */
57487 #include <math.h>
57489 main ()
57491 _atan2l(0, 0);
57493 return 0;
57495 _ACEOF
57496 if ac_fn_cxx_try_compile "$LINENO"; then :
57497 glibcxx_cv_func__atan2l_use=yes
57498 else
57499 glibcxx_cv_func__atan2l_use=no
57501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57502 ac_ext=c
57503 ac_cpp='$CPP $CPPFLAGS'
57504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57513 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57515 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57516 for ac_func in _atan2l
57517 do :
57518 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57519 if test "x$ac_cv_func__atan2l" = x""yes; then :
57520 cat >>confdefs.h <<_ACEOF
57521 #define HAVE__ATAN2L 1
57522 _ACEOF
57525 done
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57535 $as_echo_n "checking for expl declaration... " >&6; }
57536 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57537 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57538 $as_echo_n "(cached) " >&6
57539 else
57542 ac_ext=cpp
57543 ac_cpp='$CXXCPP $CPPFLAGS'
57544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57549 /* end confdefs.h. */
57550 #include <math.h>
57551 #ifdef HAVE_IEEEFP_H
57552 #include <ieeefp.h>
57553 #endif
57556 main ()
57558 expl(0);
57560 return 0;
57562 _ACEOF
57563 if ac_fn_cxx_try_compile "$LINENO"; then :
57564 glibcxx_cv_func_expl_use=yes
57565 else
57566 glibcxx_cv_func_expl_use=no
57568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57569 ac_ext=c
57570 ac_cpp='$CPP $CPPFLAGS'
57571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57580 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57582 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57583 for ac_func in expl
57584 do :
57585 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57586 if test "x$ac_cv_func_expl" = x""yes; then :
57587 cat >>confdefs.h <<_ACEOF
57588 #define HAVE_EXPL 1
57589 _ACEOF
57592 done
57594 else
57596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57597 $as_echo_n "checking for _expl declaration... " >&6; }
57598 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57599 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57600 $as_echo_n "(cached) " >&6
57601 else
57604 ac_ext=cpp
57605 ac_cpp='$CXXCPP $CPPFLAGS'
57606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57611 /* end confdefs.h. */
57612 #include <math.h>
57613 #ifdef HAVE_IEEEFP_H
57614 #include <ieeefp.h>
57615 #endif
57618 main ()
57620 _expl(0);
57622 return 0;
57624 _ACEOF
57625 if ac_fn_cxx_try_compile "$LINENO"; then :
57626 glibcxx_cv_func__expl_use=yes
57627 else
57628 glibcxx_cv_func__expl_use=no
57630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57631 ac_ext=c
57632 ac_cpp='$CPP $CPPFLAGS'
57633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57642 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57644 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57645 for ac_func in _expl
57646 do :
57647 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57648 if test "x$ac_cv_func__expl" = x""yes; then :
57649 cat >>confdefs.h <<_ACEOF
57650 #define HAVE__EXPL 1
57651 _ACEOF
57654 done
57663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57664 $as_echo_n "checking for fabsl declaration... " >&6; }
57665 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57666 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57667 $as_echo_n "(cached) " >&6
57668 else
57671 ac_ext=cpp
57672 ac_cpp='$CXXCPP $CPPFLAGS'
57673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57678 /* end confdefs.h. */
57679 #include <math.h>
57680 #ifdef HAVE_IEEEFP_H
57681 #include <ieeefp.h>
57682 #endif
57685 main ()
57687 fabsl(0);
57689 return 0;
57691 _ACEOF
57692 if ac_fn_cxx_try_compile "$LINENO"; then :
57693 glibcxx_cv_func_fabsl_use=yes
57694 else
57695 glibcxx_cv_func_fabsl_use=no
57697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57698 ac_ext=c
57699 ac_cpp='$CPP $CPPFLAGS'
57700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57709 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57711 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57712 for ac_func in fabsl
57713 do :
57714 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57715 if test "x$ac_cv_func_fabsl" = x""yes; then :
57716 cat >>confdefs.h <<_ACEOF
57717 #define HAVE_FABSL 1
57718 _ACEOF
57721 done
57723 else
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57726 $as_echo_n "checking for _fabsl declaration... " >&6; }
57727 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57728 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57729 $as_echo_n "(cached) " >&6
57730 else
57733 ac_ext=cpp
57734 ac_cpp='$CXXCPP $CPPFLAGS'
57735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57740 /* end confdefs.h. */
57741 #include <math.h>
57742 #ifdef HAVE_IEEEFP_H
57743 #include <ieeefp.h>
57744 #endif
57747 main ()
57749 _fabsl(0);
57751 return 0;
57753 _ACEOF
57754 if ac_fn_cxx_try_compile "$LINENO"; then :
57755 glibcxx_cv_func__fabsl_use=yes
57756 else
57757 glibcxx_cv_func__fabsl_use=no
57759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57760 ac_ext=c
57761 ac_cpp='$CPP $CPPFLAGS'
57762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57771 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57773 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57774 for ac_func in _fabsl
57775 do :
57776 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57777 if test "x$ac_cv_func__fabsl" = x""yes; then :
57778 cat >>confdefs.h <<_ACEOF
57779 #define HAVE__FABSL 1
57780 _ACEOF
57783 done
57792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57793 $as_echo_n "checking for fmodl declaration... " >&6; }
57794 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57795 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57796 $as_echo_n "(cached) " >&6
57797 else
57800 ac_ext=cpp
57801 ac_cpp='$CXXCPP $CPPFLAGS'
57802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57807 /* end confdefs.h. */
57808 #include <math.h>
57810 main ()
57812 fmodl(0, 0);
57814 return 0;
57816 _ACEOF
57817 if ac_fn_cxx_try_compile "$LINENO"; then :
57818 glibcxx_cv_func_fmodl_use=yes
57819 else
57820 glibcxx_cv_func_fmodl_use=no
57822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57823 ac_ext=c
57824 ac_cpp='$CPP $CPPFLAGS'
57825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57834 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57836 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57837 for ac_func in fmodl
57838 do :
57839 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57840 if test "x$ac_cv_func_fmodl" = x""yes; then :
57841 cat >>confdefs.h <<_ACEOF
57842 #define HAVE_FMODL 1
57843 _ACEOF
57846 done
57848 else
57850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57851 $as_echo_n "checking for _fmodl declaration... " >&6; }
57852 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57853 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57854 $as_echo_n "(cached) " >&6
57855 else
57858 ac_ext=cpp
57859 ac_cpp='$CXXCPP $CPPFLAGS'
57860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57865 /* end confdefs.h. */
57866 #include <math.h>
57868 main ()
57870 _fmodl(0, 0);
57872 return 0;
57874 _ACEOF
57875 if ac_fn_cxx_try_compile "$LINENO"; then :
57876 glibcxx_cv_func__fmodl_use=yes
57877 else
57878 glibcxx_cv_func__fmodl_use=no
57880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57881 ac_ext=c
57882 ac_cpp='$CPP $CPPFLAGS'
57883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57892 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57894 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57895 for ac_func in _fmodl
57896 do :
57897 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57898 if test "x$ac_cv_func__fmodl" = x""yes; then :
57899 cat >>confdefs.h <<_ACEOF
57900 #define HAVE__FMODL 1
57901 _ACEOF
57904 done
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57914 $as_echo_n "checking for frexpl declaration... " >&6; }
57915 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57916 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57917 $as_echo_n "(cached) " >&6
57918 else
57921 ac_ext=cpp
57922 ac_cpp='$CXXCPP $CPPFLAGS'
57923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57928 /* end confdefs.h. */
57929 #include <math.h>
57931 main ()
57933 frexpl(0, 0);
57935 return 0;
57937 _ACEOF
57938 if ac_fn_cxx_try_compile "$LINENO"; then :
57939 glibcxx_cv_func_frexpl_use=yes
57940 else
57941 glibcxx_cv_func_frexpl_use=no
57943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57944 ac_ext=c
57945 ac_cpp='$CPP $CPPFLAGS'
57946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57955 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57957 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57958 for ac_func in frexpl
57959 do :
57960 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57961 if test "x$ac_cv_func_frexpl" = x""yes; then :
57962 cat >>confdefs.h <<_ACEOF
57963 #define HAVE_FREXPL 1
57964 _ACEOF
57967 done
57969 else
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57972 $as_echo_n "checking for _frexpl declaration... " >&6; }
57973 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57974 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57975 $as_echo_n "(cached) " >&6
57976 else
57979 ac_ext=cpp
57980 ac_cpp='$CXXCPP $CPPFLAGS'
57981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57986 /* end confdefs.h. */
57987 #include <math.h>
57989 main ()
57991 _frexpl(0, 0);
57993 return 0;
57995 _ACEOF
57996 if ac_fn_cxx_try_compile "$LINENO"; then :
57997 glibcxx_cv_func__frexpl_use=yes
57998 else
57999 glibcxx_cv_func__frexpl_use=no
58001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58002 ac_ext=c
58003 ac_cpp='$CPP $CPPFLAGS'
58004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58013 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58015 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58016 for ac_func in _frexpl
58017 do :
58018 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58019 if test "x$ac_cv_func__frexpl" = x""yes; then :
58020 cat >>confdefs.h <<_ACEOF
58021 #define HAVE__FREXPL 1
58022 _ACEOF
58025 done
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58035 $as_echo_n "checking for hypotl declaration... " >&6; }
58036 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58037 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58038 $as_echo_n "(cached) " >&6
58039 else
58042 ac_ext=cpp
58043 ac_cpp='$CXXCPP $CPPFLAGS'
58044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58049 /* end confdefs.h. */
58050 #include <math.h>
58052 main ()
58054 hypotl(0, 0);
58056 return 0;
58058 _ACEOF
58059 if ac_fn_cxx_try_compile "$LINENO"; then :
58060 glibcxx_cv_func_hypotl_use=yes
58061 else
58062 glibcxx_cv_func_hypotl_use=no
58064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58065 ac_ext=c
58066 ac_cpp='$CPP $CPPFLAGS'
58067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58076 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58078 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58079 for ac_func in hypotl
58080 do :
58081 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58082 if test "x$ac_cv_func_hypotl" = x""yes; then :
58083 cat >>confdefs.h <<_ACEOF
58084 #define HAVE_HYPOTL 1
58085 _ACEOF
58088 done
58090 else
58092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58093 $as_echo_n "checking for _hypotl declaration... " >&6; }
58094 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58095 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58096 $as_echo_n "(cached) " >&6
58097 else
58100 ac_ext=cpp
58101 ac_cpp='$CXXCPP $CPPFLAGS'
58102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58107 /* end confdefs.h. */
58108 #include <math.h>
58110 main ()
58112 _hypotl(0, 0);
58114 return 0;
58116 _ACEOF
58117 if ac_fn_cxx_try_compile "$LINENO"; then :
58118 glibcxx_cv_func__hypotl_use=yes
58119 else
58120 glibcxx_cv_func__hypotl_use=no
58122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58123 ac_ext=c
58124 ac_cpp='$CPP $CPPFLAGS'
58125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58134 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58136 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58137 for ac_func in _hypotl
58138 do :
58139 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58140 if test "x$ac_cv_func__hypotl" = x""yes; then :
58141 cat >>confdefs.h <<_ACEOF
58142 #define HAVE__HYPOTL 1
58143 _ACEOF
58146 done
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58156 $as_echo_n "checking for ldexpl declaration... " >&6; }
58157 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58158 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58159 $as_echo_n "(cached) " >&6
58160 else
58163 ac_ext=cpp
58164 ac_cpp='$CXXCPP $CPPFLAGS'
58165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58170 /* end confdefs.h. */
58171 #include <math.h>
58173 main ()
58175 ldexpl(0, 0);
58177 return 0;
58179 _ACEOF
58180 if ac_fn_cxx_try_compile "$LINENO"; then :
58181 glibcxx_cv_func_ldexpl_use=yes
58182 else
58183 glibcxx_cv_func_ldexpl_use=no
58185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58186 ac_ext=c
58187 ac_cpp='$CPP $CPPFLAGS'
58188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58197 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58199 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58200 for ac_func in ldexpl
58201 do :
58202 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58203 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58204 cat >>confdefs.h <<_ACEOF
58205 #define HAVE_LDEXPL 1
58206 _ACEOF
58209 done
58211 else
58213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58214 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58215 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58216 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58217 $as_echo_n "(cached) " >&6
58218 else
58221 ac_ext=cpp
58222 ac_cpp='$CXXCPP $CPPFLAGS'
58223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58228 /* end confdefs.h. */
58229 #include <math.h>
58231 main ()
58233 _ldexpl(0, 0);
58235 return 0;
58237 _ACEOF
58238 if ac_fn_cxx_try_compile "$LINENO"; then :
58239 glibcxx_cv_func__ldexpl_use=yes
58240 else
58241 glibcxx_cv_func__ldexpl_use=no
58243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58244 ac_ext=c
58245 ac_cpp='$CPP $CPPFLAGS'
58246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58255 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58257 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58258 for ac_func in _ldexpl
58259 do :
58260 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58261 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58262 cat >>confdefs.h <<_ACEOF
58263 #define HAVE__LDEXPL 1
58264 _ACEOF
58267 done
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58277 $as_echo_n "checking for logl declaration... " >&6; }
58278 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58279 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58280 $as_echo_n "(cached) " >&6
58281 else
58284 ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h. */
58292 #include <math.h>
58293 #ifdef HAVE_IEEEFP_H
58294 #include <ieeefp.h>
58295 #endif
58298 main ()
58300 logl(0);
58302 return 0;
58304 _ACEOF
58305 if ac_fn_cxx_try_compile "$LINENO"; then :
58306 glibcxx_cv_func_logl_use=yes
58307 else
58308 glibcxx_cv_func_logl_use=no
58310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58311 ac_ext=c
58312 ac_cpp='$CPP $CPPFLAGS'
58313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58322 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58324 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58325 for ac_func in logl
58326 do :
58327 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58328 if test "x$ac_cv_func_logl" = x""yes; then :
58329 cat >>confdefs.h <<_ACEOF
58330 #define HAVE_LOGL 1
58331 _ACEOF
58334 done
58336 else
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58339 $as_echo_n "checking for _logl declaration... " >&6; }
58340 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58341 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58342 $as_echo_n "(cached) " >&6
58343 else
58346 ac_ext=cpp
58347 ac_cpp='$CXXCPP $CPPFLAGS'
58348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58353 /* end confdefs.h. */
58354 #include <math.h>
58355 #ifdef HAVE_IEEEFP_H
58356 #include <ieeefp.h>
58357 #endif
58360 main ()
58362 _logl(0);
58364 return 0;
58366 _ACEOF
58367 if ac_fn_cxx_try_compile "$LINENO"; then :
58368 glibcxx_cv_func__logl_use=yes
58369 else
58370 glibcxx_cv_func__logl_use=no
58372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58373 ac_ext=c
58374 ac_cpp='$CPP $CPPFLAGS'
58375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58384 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58386 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58387 for ac_func in _logl
58388 do :
58389 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58390 if test "x$ac_cv_func__logl" = x""yes; then :
58391 cat >>confdefs.h <<_ACEOF
58392 #define HAVE__LOGL 1
58393 _ACEOF
58396 done
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58406 $as_echo_n "checking for log10l declaration... " >&6; }
58407 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58408 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58409 $as_echo_n "(cached) " >&6
58410 else
58413 ac_ext=cpp
58414 ac_cpp='$CXXCPP $CPPFLAGS'
58415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58420 /* end confdefs.h. */
58421 #include <math.h>
58422 #ifdef HAVE_IEEEFP_H
58423 #include <ieeefp.h>
58424 #endif
58427 main ()
58429 log10l(0);
58431 return 0;
58433 _ACEOF
58434 if ac_fn_cxx_try_compile "$LINENO"; then :
58435 glibcxx_cv_func_log10l_use=yes
58436 else
58437 glibcxx_cv_func_log10l_use=no
58439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58440 ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58451 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58453 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58454 for ac_func in log10l
58455 do :
58456 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58457 if test "x$ac_cv_func_log10l" = x""yes; then :
58458 cat >>confdefs.h <<_ACEOF
58459 #define HAVE_LOG10L 1
58460 _ACEOF
58463 done
58465 else
58467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58468 $as_echo_n "checking for _log10l declaration... " >&6; }
58469 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58470 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58471 $as_echo_n "(cached) " >&6
58472 else
58475 ac_ext=cpp
58476 ac_cpp='$CXXCPP $CPPFLAGS'
58477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58482 /* end confdefs.h. */
58483 #include <math.h>
58484 #ifdef HAVE_IEEEFP_H
58485 #include <ieeefp.h>
58486 #endif
58489 main ()
58491 _log10l(0);
58493 return 0;
58495 _ACEOF
58496 if ac_fn_cxx_try_compile "$LINENO"; then :
58497 glibcxx_cv_func__log10l_use=yes
58498 else
58499 glibcxx_cv_func__log10l_use=no
58501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58502 ac_ext=c
58503 ac_cpp='$CPP $CPPFLAGS'
58504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58513 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58515 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58516 for ac_func in _log10l
58517 do :
58518 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58519 if test "x$ac_cv_func__log10l" = x""yes; then :
58520 cat >>confdefs.h <<_ACEOF
58521 #define HAVE__LOG10L 1
58522 _ACEOF
58525 done
58534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58535 $as_echo_n "checking for modfl declaration... " >&6; }
58536 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58537 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58538 $as_echo_n "(cached) " >&6
58539 else
58542 ac_ext=cpp
58543 ac_cpp='$CXXCPP $CPPFLAGS'
58544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58549 /* end confdefs.h. */
58550 #include <math.h>
58552 main ()
58554 modfl(0, 0);
58556 return 0;
58558 _ACEOF
58559 if ac_fn_cxx_try_compile "$LINENO"; then :
58560 glibcxx_cv_func_modfl_use=yes
58561 else
58562 glibcxx_cv_func_modfl_use=no
58564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58565 ac_ext=c
58566 ac_cpp='$CPP $CPPFLAGS'
58567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58576 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58578 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58579 for ac_func in modfl
58580 do :
58581 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58582 if test "x$ac_cv_func_modfl" = x""yes; then :
58583 cat >>confdefs.h <<_ACEOF
58584 #define HAVE_MODFL 1
58585 _ACEOF
58588 done
58590 else
58592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58593 $as_echo_n "checking for _modfl declaration... " >&6; }
58594 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58595 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58596 $as_echo_n "(cached) " >&6
58597 else
58600 ac_ext=cpp
58601 ac_cpp='$CXXCPP $CPPFLAGS'
58602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58607 /* end confdefs.h. */
58608 #include <math.h>
58610 main ()
58612 _modfl(0, 0);
58614 return 0;
58616 _ACEOF
58617 if ac_fn_cxx_try_compile "$LINENO"; then :
58618 glibcxx_cv_func__modfl_use=yes
58619 else
58620 glibcxx_cv_func__modfl_use=no
58622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58623 ac_ext=c
58624 ac_cpp='$CPP $CPPFLAGS'
58625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58634 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58636 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58637 for ac_func in _modfl
58638 do :
58639 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58640 if test "x$ac_cv_func__modfl" = x""yes; then :
58641 cat >>confdefs.h <<_ACEOF
58642 #define HAVE__MODFL 1
58643 _ACEOF
58646 done
58655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58656 $as_echo_n "checking for powl declaration... " >&6; }
58657 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58658 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58659 $as_echo_n "(cached) " >&6
58660 else
58663 ac_ext=cpp
58664 ac_cpp='$CXXCPP $CPPFLAGS'
58665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58670 /* end confdefs.h. */
58671 #include <math.h>
58673 main ()
58675 powl(0, 0);
58677 return 0;
58679 _ACEOF
58680 if ac_fn_cxx_try_compile "$LINENO"; then :
58681 glibcxx_cv_func_powl_use=yes
58682 else
58683 glibcxx_cv_func_powl_use=no
58685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58686 ac_ext=c
58687 ac_cpp='$CPP $CPPFLAGS'
58688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58697 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58699 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58700 for ac_func in powl
58701 do :
58702 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58703 if test "x$ac_cv_func_powl" = x""yes; then :
58704 cat >>confdefs.h <<_ACEOF
58705 #define HAVE_POWL 1
58706 _ACEOF
58709 done
58711 else
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58714 $as_echo_n "checking for _powl declaration... " >&6; }
58715 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58716 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58717 $as_echo_n "(cached) " >&6
58718 else
58721 ac_ext=cpp
58722 ac_cpp='$CXXCPP $CPPFLAGS'
58723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58728 /* end confdefs.h. */
58729 #include <math.h>
58731 main ()
58733 _powl(0, 0);
58735 return 0;
58737 _ACEOF
58738 if ac_fn_cxx_try_compile "$LINENO"; then :
58739 glibcxx_cv_func__powl_use=yes
58740 else
58741 glibcxx_cv_func__powl_use=no
58743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58744 ac_ext=c
58745 ac_cpp='$CPP $CPPFLAGS'
58746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58755 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58757 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58758 for ac_func in _powl
58759 do :
58760 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58761 if test "x$ac_cv_func__powl" = x""yes; then :
58762 cat >>confdefs.h <<_ACEOF
58763 #define HAVE__POWL 1
58764 _ACEOF
58767 done
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58777 $as_echo_n "checking for sqrtl declaration... " >&6; }
58778 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58779 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58780 $as_echo_n "(cached) " >&6
58781 else
58784 ac_ext=cpp
58785 ac_cpp='$CXXCPP $CPPFLAGS'
58786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58791 /* end confdefs.h. */
58792 #include <math.h>
58793 #ifdef HAVE_IEEEFP_H
58794 #include <ieeefp.h>
58795 #endif
58798 main ()
58800 sqrtl(0);
58802 return 0;
58804 _ACEOF
58805 if ac_fn_cxx_try_compile "$LINENO"; then :
58806 glibcxx_cv_func_sqrtl_use=yes
58807 else
58808 glibcxx_cv_func_sqrtl_use=no
58810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58811 ac_ext=c
58812 ac_cpp='$CPP $CPPFLAGS'
58813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58822 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58824 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58825 for ac_func in sqrtl
58826 do :
58827 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58828 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58829 cat >>confdefs.h <<_ACEOF
58830 #define HAVE_SQRTL 1
58831 _ACEOF
58834 done
58836 else
58838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58839 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58840 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58841 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58842 $as_echo_n "(cached) " >&6
58843 else
58846 ac_ext=cpp
58847 ac_cpp='$CXXCPP $CPPFLAGS'
58848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58853 /* end confdefs.h. */
58854 #include <math.h>
58855 #ifdef HAVE_IEEEFP_H
58856 #include <ieeefp.h>
58857 #endif
58860 main ()
58862 _sqrtl(0);
58864 return 0;
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868 glibcxx_cv_func__sqrtl_use=yes
58869 else
58870 glibcxx_cv_func__sqrtl_use=no
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873 ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58884 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58886 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58887 for ac_func in _sqrtl
58888 do :
58889 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58890 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58891 cat >>confdefs.h <<_ACEOF
58892 #define HAVE__SQRTL 1
58893 _ACEOF
58896 done
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58906 $as_echo_n "checking for sincosl declaration... " >&6; }
58907 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58908 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58909 $as_echo_n "(cached) " >&6
58910 else
58913 ac_ext=cpp
58914 ac_cpp='$CXXCPP $CPPFLAGS'
58915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58920 /* end confdefs.h. */
58921 #include <math.h>
58923 main ()
58925 sincosl(0, 0, 0);
58927 return 0;
58929 _ACEOF
58930 if ac_fn_cxx_try_compile "$LINENO"; then :
58931 glibcxx_cv_func_sincosl_use=yes
58932 else
58933 glibcxx_cv_func_sincosl_use=no
58935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58936 ac_ext=c
58937 ac_cpp='$CPP $CPPFLAGS'
58938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58947 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58949 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58950 for ac_func in sincosl
58951 do :
58952 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58953 if test "x$ac_cv_func_sincosl" = x""yes; then :
58954 cat >>confdefs.h <<_ACEOF
58955 #define HAVE_SINCOSL 1
58956 _ACEOF
58959 done
58961 else
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58964 $as_echo_n "checking for _sincosl declaration... " >&6; }
58965 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58966 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58967 $as_echo_n "(cached) " >&6
58968 else
58971 ac_ext=cpp
58972 ac_cpp='$CXXCPP $CPPFLAGS'
58973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58978 /* end confdefs.h. */
58979 #include <math.h>
58981 main ()
58983 _sincosl(0, 0, 0);
58985 return 0;
58987 _ACEOF
58988 if ac_fn_cxx_try_compile "$LINENO"; then :
58989 glibcxx_cv_func__sincosl_use=yes
58990 else
58991 glibcxx_cv_func__sincosl_use=no
58993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58994 ac_ext=c
58995 ac_cpp='$CPP $CPPFLAGS'
58996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59005 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59007 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59008 for ac_func in _sincosl
59009 do :
59010 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59011 if test "x$ac_cv_func__sincosl" = x""yes; then :
59012 cat >>confdefs.h <<_ACEOF
59013 #define HAVE__SINCOSL 1
59014 _ACEOF
59017 done
59026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59027 $as_echo_n "checking for finitel declaration... " >&6; }
59028 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59029 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59030 $as_echo_n "(cached) " >&6
59031 else
59034 ac_ext=cpp
59035 ac_cpp='$CXXCPP $CPPFLAGS'
59036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59041 /* end confdefs.h. */
59042 #include <math.h>
59043 #ifdef HAVE_IEEEFP_H
59044 #include <ieeefp.h>
59045 #endif
59048 main ()
59050 finitel(0);
59052 return 0;
59054 _ACEOF
59055 if ac_fn_cxx_try_compile "$LINENO"; then :
59056 glibcxx_cv_func_finitel_use=yes
59057 else
59058 glibcxx_cv_func_finitel_use=no
59060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59061 ac_ext=c
59062 ac_cpp='$CPP $CPPFLAGS'
59063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59072 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59074 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59075 for ac_func in finitel
59076 do :
59077 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59078 if test "x$ac_cv_func_finitel" = x""yes; then :
59079 cat >>confdefs.h <<_ACEOF
59080 #define HAVE_FINITEL 1
59081 _ACEOF
59084 done
59086 else
59088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59089 $as_echo_n "checking for _finitel declaration... " >&6; }
59090 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59091 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59092 $as_echo_n "(cached) " >&6
59093 else
59096 ac_ext=cpp
59097 ac_cpp='$CXXCPP $CPPFLAGS'
59098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59103 /* end confdefs.h. */
59104 #include <math.h>
59105 #ifdef HAVE_IEEEFP_H
59106 #include <ieeefp.h>
59107 #endif
59110 main ()
59112 _finitel(0);
59114 return 0;
59116 _ACEOF
59117 if ac_fn_cxx_try_compile "$LINENO"; then :
59118 glibcxx_cv_func__finitel_use=yes
59119 else
59120 glibcxx_cv_func__finitel_use=no
59122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59123 ac_ext=c
59124 ac_cpp='$CPP $CPPFLAGS'
59125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59134 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59136 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59137 for ac_func in _finitel
59138 do :
59139 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59140 if test "x$ac_cv_func__finitel" = x""yes; then :
59141 cat >>confdefs.h <<_ACEOF
59142 #define HAVE__FINITEL 1
59143 _ACEOF
59146 done
59154 LIBS="$ac_save_LIBS"
59155 CXXFLAGS="$ac_save_CXXFLAGS"
59158 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59159 ac_save_CXXFLAGS="$CXXFLAGS"
59160 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59164 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59165 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59166 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59167 $as_echo_n "(cached) " >&6
59168 else
59171 ac_ext=cpp
59172 ac_cpp='$CXXCPP $CPPFLAGS'
59173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59178 /* end confdefs.h. */
59179 #include <stdlib.h>
59181 main ()
59183 at_quick_exit(0);
59185 return 0;
59187 _ACEOF
59188 if ac_fn_cxx_try_compile "$LINENO"; then :
59189 glibcxx_cv_func_at_quick_exit_use=yes
59190 else
59191 glibcxx_cv_func_at_quick_exit_use=no
59193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59194 ac_ext=c
59195 ac_cpp='$CPP $CPPFLAGS'
59196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59205 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59206 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59207 for ac_func in at_quick_exit
59208 do :
59209 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59210 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59211 cat >>confdefs.h <<_ACEOF
59212 #define HAVE_AT_QUICK_EXIT 1
59213 _ACEOF
59216 done
59221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59222 $as_echo_n "checking for quick_exit declaration... " >&6; }
59223 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59224 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59225 $as_echo_n "(cached) " >&6
59226 else
59229 ac_ext=cpp
59230 ac_cpp='$CXXCPP $CPPFLAGS'
59231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59236 /* end confdefs.h. */
59237 #include <stdlib.h>
59239 main ()
59241 quick_exit(0);
59243 return 0;
59245 _ACEOF
59246 if ac_fn_cxx_try_compile "$LINENO"; then :
59247 glibcxx_cv_func_quick_exit_use=yes
59248 else
59249 glibcxx_cv_func_quick_exit_use=no
59251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59252 ac_ext=c
59253 ac_cpp='$CPP $CPPFLAGS'
59254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59263 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59264 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59265 for ac_func in quick_exit
59266 do :
59267 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59268 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59269 cat >>confdefs.h <<_ACEOF
59270 #define HAVE_QUICK_EXIT 1
59271 _ACEOF
59274 done
59279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59280 $as_echo_n "checking for strtold declaration... " >&6; }
59281 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59282 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59283 $as_echo_n "(cached) " >&6
59284 else
59287 ac_ext=cpp
59288 ac_cpp='$CXXCPP $CPPFLAGS'
59289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59294 /* end confdefs.h. */
59295 #include <stdlib.h>
59297 main ()
59299 strtold(0, 0);
59301 return 0;
59303 _ACEOF
59304 if ac_fn_cxx_try_compile "$LINENO"; then :
59305 glibcxx_cv_func_strtold_use=yes
59306 else
59307 glibcxx_cv_func_strtold_use=no
59309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59310 ac_ext=c
59311 ac_cpp='$CPP $CPPFLAGS'
59312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59321 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59322 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59323 for ac_func in strtold
59324 do :
59325 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59326 if test "x$ac_cv_func_strtold" = x""yes; then :
59327 cat >>confdefs.h <<_ACEOF
59328 #define HAVE_STRTOLD 1
59329 _ACEOF
59332 done
59339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59340 $as_echo_n "checking for strtof declaration... " >&6; }
59341 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59342 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59343 $as_echo_n "(cached) " >&6
59344 else
59347 ac_ext=cpp
59348 ac_cpp='$CXXCPP $CPPFLAGS'
59349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59354 /* end confdefs.h. */
59355 #include <stdlib.h>
59357 main ()
59359 strtof(0, 0);
59361 return 0;
59363 _ACEOF
59364 if ac_fn_cxx_try_compile "$LINENO"; then :
59365 glibcxx_cv_func_strtof_use=yes
59366 else
59367 glibcxx_cv_func_strtof_use=no
59369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59370 ac_ext=c
59371 ac_cpp='$CPP $CPPFLAGS'
59372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59381 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59382 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59383 for ac_func in strtof
59384 do :
59385 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59386 if test "x$ac_cv_func_strtof" = x""yes; then :
59387 cat >>confdefs.h <<_ACEOF
59388 #define HAVE_STRTOF 1
59389 _ACEOF
59392 done
59399 CXXFLAGS="$ac_save_CXXFLAGS"
59401 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59405 # Check whether --enable-tls was given.
59406 if test "${enable_tls+set}" = set; then :
59407 enableval=$enable_tls;
59408 case "$enableval" in
59409 yes|no) ;;
59410 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59411 esac
59413 else
59414 enable_tls=yes
59418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59419 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59420 if test "${gcc_cv_have_tls+set}" = set; then :
59421 $as_echo_n "(cached) " >&6
59422 else
59424 if test "$cross_compiling" = yes; then :
59425 if test x$gcc_no_link = xyes; then
59426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59429 /* end confdefs.h. */
59430 __thread int a; int b; int main() { return a = b; }
59431 _ACEOF
59432 if ac_fn_c_try_link "$LINENO"; then :
59433 chktls_save_LDFLAGS="$LDFLAGS"
59434 case $host in
59435 *-*-linux*)
59436 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59438 esac
59439 chktls_save_CFLAGS="$CFLAGS"
59440 CFLAGS="-fPIC $CFLAGS"
59441 if test x$gcc_no_link = xyes; then
59442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59445 /* end confdefs.h. */
59446 int f() { return 0; }
59447 _ACEOF
59448 if ac_fn_c_try_link "$LINENO"; then :
59449 if test x$gcc_no_link = xyes; then
59450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 __thread int a; int b; int f() { return a = b; }
59455 _ACEOF
59456 if ac_fn_c_try_link "$LINENO"; then :
59457 gcc_cv_have_tls=yes
59458 else
59459 gcc_cv_have_tls=no
59461 rm -f core conftest.err conftest.$ac_objext \
59462 conftest$ac_exeext conftest.$ac_ext
59463 else
59464 gcc_cv_have_tls=yes
59466 rm -f core conftest.err conftest.$ac_objext \
59467 conftest$ac_exeext conftest.$ac_ext
59468 CFLAGS="$chktls_save_CFLAGS"
59469 LDFLAGS="$chktls_save_LDFLAGS"
59470 else
59471 gcc_cv_have_tls=no
59473 rm -f core conftest.err conftest.$ac_objext \
59474 conftest$ac_exeext conftest.$ac_ext
59477 else
59478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59479 /* end confdefs.h. */
59480 __thread int a; int b; int main() { return a = b; }
59481 _ACEOF
59482 if ac_fn_c_try_run "$LINENO"; then :
59483 chktls_save_LDFLAGS="$LDFLAGS"
59484 LDFLAGS="-static $LDFLAGS"
59485 if test x$gcc_no_link = xyes; then
59486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59489 /* end confdefs.h. */
59490 int main() { return 0; }
59491 _ACEOF
59492 if ac_fn_c_try_link "$LINENO"; then :
59493 if test "$cross_compiling" = yes; then :
59494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59496 as_fn_error "cannot run test program while cross compiling
59497 See \`config.log' for more details." "$LINENO" 5; }
59498 else
59499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59500 /* end confdefs.h. */
59501 __thread int a; int b; int main() { return a = b; }
59502 _ACEOF
59503 if ac_fn_c_try_run "$LINENO"; then :
59504 gcc_cv_have_tls=yes
59505 else
59506 gcc_cv_have_tls=no
59508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59509 conftest.$ac_objext conftest.beam conftest.$ac_ext
59512 else
59513 gcc_cv_have_tls=yes
59515 rm -f core conftest.err conftest.$ac_objext \
59516 conftest$ac_exeext conftest.$ac_ext
59517 LDFLAGS="$chktls_save_LDFLAGS"
59518 if test $gcc_cv_have_tls = yes; then
59519 chktls_save_CFLAGS="$CFLAGS"
59520 thread_CFLAGS=failed
59521 for flag in '' '-pthread' '-lpthread'; do
59522 CFLAGS="$flag $chktls_save_CFLAGS"
59523 if test x$gcc_no_link = xyes; then
59524 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59527 /* end confdefs.h. */
59528 #include <pthread.h>
59529 void *g(void *d) { return NULL; }
59531 main ()
59533 pthread_t t; pthread_create(&t,NULL,g,NULL);
59535 return 0;
59537 _ACEOF
59538 if ac_fn_c_try_link "$LINENO"; then :
59539 thread_CFLAGS="$flag"
59541 rm -f core conftest.err conftest.$ac_objext \
59542 conftest$ac_exeext conftest.$ac_ext
59543 if test "X$thread_CFLAGS" != Xfailed; then
59544 break
59546 done
59547 CFLAGS="$chktls_save_CFLAGS"
59548 if test "X$thread_CFLAGS" != Xfailed; then
59549 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59550 if test "$cross_compiling" = yes; then :
59551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59553 as_fn_error "cannot run test program while cross compiling
59554 See \`config.log' for more details." "$LINENO" 5; }
59555 else
59556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59557 /* end confdefs.h. */
59558 #include <pthread.h>
59559 __thread int a;
59560 static int *volatile a_in_other_thread;
59561 static void *
59562 thread_func (void *arg)
59564 a_in_other_thread = &a;
59565 return (void *)0;
59568 main ()
59570 pthread_t thread;
59571 void *thread_retval;
59572 int *volatile a_in_main_thread;
59573 a_in_main_thread = &a;
59574 if (pthread_create (&thread, (pthread_attr_t *)0,
59575 thread_func, (void *)0))
59576 return 0;
59577 if (pthread_join (thread, &thread_retval))
59578 return 0;
59579 return (a_in_other_thread == a_in_main_thread);
59581 return 0;
59583 _ACEOF
59584 if ac_fn_c_try_run "$LINENO"; then :
59585 gcc_cv_have_tls=yes
59586 else
59587 gcc_cv_have_tls=no
59589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59590 conftest.$ac_objext conftest.beam conftest.$ac_ext
59593 CFLAGS="$chktls_save_CFLAGS"
59596 else
59597 gcc_cv_have_tls=no
59599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59600 conftest.$ac_objext conftest.beam conftest.$ac_ext
59604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59605 $as_echo "$gcc_cv_have_tls" >&6; }
59606 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59608 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59611 for ac_func in __cxa_thread_atexit_impl
59612 do :
59613 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59614 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59615 cat >>confdefs.h <<_ACEOF
59616 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59617 _ACEOF
59620 done
59627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59628 $as_echo_n "checking for iconv... " >&6; }
59629 if test "${am_cv_func_iconv+set}" = set; then :
59630 $as_echo_n "(cached) " >&6
59631 else
59633 am_cv_func_iconv="no, consider installing GNU libiconv"
59634 am_cv_lib_iconv=no
59635 am_save_CPPFLAGS="$CPPFLAGS"
59636 CPPFLAGS="$CPPFLAGS $INCICONV"
59637 if test x$gcc_no_link = xyes; then
59638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641 /* end confdefs.h. */
59642 #include <stdlib.h>
59643 #include <iconv.h>
59645 main ()
59647 iconv_t cd = iconv_open("","");
59648 iconv(cd,NULL,NULL,NULL,NULL);
59649 iconv_close(cd);
59651 return 0;
59653 _ACEOF
59654 if ac_fn_c_try_link "$LINENO"; then :
59655 am_cv_func_iconv=yes
59657 rm -f core conftest.err conftest.$ac_objext \
59658 conftest$ac_exeext conftest.$ac_ext
59659 CPPFLAGS="$am_save_CPPFLAGS"
59661 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59662 for _libs in .libs _libs; do
59663 am_save_CPPFLAGS="$CPPFLAGS"
59664 am_save_LIBS="$LIBS"
59665 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59666 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59667 if test x$gcc_no_link = xyes; then
59668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59671 /* end confdefs.h. */
59672 #include <stdlib.h>
59673 #include <iconv.h>
59675 main ()
59677 iconv_t cd = iconv_open("","");
59678 iconv(cd,NULL,NULL,NULL,NULL);
59679 iconv_close(cd);
59681 return 0;
59683 _ACEOF
59684 if ac_fn_c_try_link "$LINENO"; then :
59685 INCICONV="-I../libiconv/include"
59686 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59687 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59688 am_cv_lib_iconv=yes
59689 am_cv_func_iconv=yes
59691 rm -f core conftest.err conftest.$ac_objext \
59692 conftest$ac_exeext conftest.$ac_ext
59693 CPPFLAGS="$am_save_CPPFLAGS"
59694 LIBS="$am_save_LIBS"
59695 if test "$am_cv_func_iconv" = "yes"; then
59696 break
59698 done
59701 if test "$am_cv_func_iconv" != yes; then
59702 am_save_CPPFLAGS="$CPPFLAGS"
59703 am_save_LIBS="$LIBS"
59704 CPPFLAGS="$LIBS $INCICONV"
59705 LIBS="$LIBS $LIBICONV"
59706 if test x$gcc_no_link = xyes; then
59707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59710 /* end confdefs.h. */
59711 #include <stdlib.h>
59712 #include <iconv.h>
59714 main ()
59716 iconv_t cd = iconv_open("","");
59717 iconv(cd,NULL,NULL,NULL,NULL);
59718 iconv_close(cd);
59720 return 0;
59722 _ACEOF
59723 if ac_fn_c_try_link "$LINENO"; then :
59724 am_cv_lib_iconv=yes
59725 am_cv_func_iconv=yes
59727 rm -f core conftest.err conftest.$ac_objext \
59728 conftest$ac_exeext conftest.$ac_ext
59729 CPPFLAGS="$am_save_CPPFLAGS"
59730 LIBS="$am_save_LIBS"
59734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59735 $as_echo "$am_cv_func_iconv" >&6; }
59736 if test "$am_cv_func_iconv" = yes; then
59738 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59741 if test "$am_cv_lib_iconv" = yes; then
59743 for element in $INCICONV; do
59744 haveit=
59745 for x in $CPPFLAGS; do
59747 acl_save_prefix="$prefix"
59748 prefix="$acl_final_prefix"
59749 acl_save_exec_prefix="$exec_prefix"
59750 exec_prefix="$acl_final_exec_prefix"
59751 eval x=\"$x\"
59752 exec_prefix="$acl_save_exec_prefix"
59753 prefix="$acl_save_prefix"
59755 if test "X$x" = "X$element"; then
59756 haveit=yes
59757 break
59759 done
59760 if test -z "$haveit"; then
59761 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59763 done
59765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59766 $as_echo_n "checking how to link with libiconv... " >&6; }
59767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59768 $as_echo "$LIBICONV" >&6; }
59769 else
59770 LIBICONV=
59771 LTLIBICONV=
59776 if test "$am_cv_func_iconv" = yes; then
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59778 $as_echo_n "checking for iconv declaration... " >&6; }
59779 if test "${am_cv_proto_iconv+set}" = set; then :
59780 $as_echo_n "(cached) " >&6
59781 else
59783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59784 /* end confdefs.h. */
59786 #include <stdlib.h>
59787 #include <iconv.h>
59788 extern
59789 #ifdef __cplusplus
59791 #endif
59792 #if defined(__STDC__) || defined(__cplusplus)
59793 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59794 #else
59795 size_t iconv();
59796 #endif
59799 main ()
59803 return 0;
59805 _ACEOF
59806 if ac_fn_c_try_compile "$LINENO"; then :
59807 am_cv_proto_iconv_arg1=""
59808 else
59809 am_cv_proto_iconv_arg1="const"
59811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59812 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);"
59815 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59817 }$am_cv_proto_iconv" >&5
59818 $as_echo "${ac_t:-
59819 }$am_cv_proto_iconv" >&6; }
59821 cat >>confdefs.h <<_ACEOF
59822 #define ICONV_CONST $am_cv_proto_iconv_arg1
59823 _ACEOF
59828 *-mingw32*)
59830 # If we're not using GNU ld, then there's no point in even trying these
59831 # tests. Check for that first. We should have already tested for gld
59832 # by now (in libtool), but require it now just to be safe...
59833 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59834 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59838 # The name set by libtool depends on the version of libtool. Shame on us
59839 # for depending on an impl detail, but c'est la vie. Older versions used
59840 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59841 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59842 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59843 # set (hence we're using an older libtool), then set it.
59844 if test x${with_gnu_ld+set} != xset; then
59845 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59846 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59847 with_gnu_ld=no
59848 else
59849 with_gnu_ld=$ac_cv_prog_gnu_ld
59853 # Start by getting the version number. I think the libtool test already
59854 # does some of this, but throws away the result.
59855 glibcxx_ld_is_gold=no
59856 if test x"$with_gnu_ld" = x"yes"; then
59857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59858 $as_echo_n "checking for ld version... " >&6; }
59860 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59861 glibcxx_ld_is_gold=yes
59863 ldver=`$LD --version 2>/dev/null |
59864 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'`
59866 glibcxx_gnu_ld_version=`echo $ldver | \
59867 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59869 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59872 # Set --gc-sections.
59873 glibcxx_have_gc_sections=no
59874 if test "$glibcxx_ld_is_gold" = "yes"; then
59875 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59876 glibcxx_have_gc_sections=yes
59878 else
59879 glibcxx_gcsections_min_ld=21602
59880 if test x"$with_gnu_ld" = x"yes" &&
59881 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59882 glibcxx_have_gc_sections=yes
59885 if test "$glibcxx_have_gc_sections" = "yes"; then
59886 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59887 # NB: This flag only works reliably after 2.16.1. Configure tests
59888 # for this are difficult, so hard wire a value that should work.
59890 ac_test_CFLAGS="${CFLAGS+set}"
59891 ac_save_CFLAGS="$CFLAGS"
59892 CFLAGS='-Wl,--gc-sections'
59894 # Check for -Wl,--gc-sections
59895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59896 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59897 if test x$gcc_no_link = xyes; then
59898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59901 /* end confdefs.h. */
59902 int one(void) { return 1; }
59903 int two(void) { return 2; }
59906 main ()
59908 two();
59910 return 0;
59912 _ACEOF
59913 if ac_fn_c_try_link "$LINENO"; then :
59914 ac_gcsections=yes
59915 else
59916 ac_gcsections=no
59918 rm -f core conftest.err conftest.$ac_objext \
59919 conftest$ac_exeext conftest.$ac_ext
59920 if test "$ac_gcsections" = "yes"; then
59921 rm -f conftest.c
59922 touch conftest.c
59923 if $CC -c conftest.c; then
59924 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59925 grep "Warning: gc-sections option ignored" > /dev/null; then
59926 ac_gcsections=no
59929 rm -f conftest.c conftest.o conftest
59931 if test "$ac_gcsections" = "yes"; then
59932 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59935 $as_echo "$ac_gcsections" >&6; }
59937 if test "$ac_test_CFLAGS" = set; then
59938 CFLAGS="$ac_save_CFLAGS"
59939 else
59940 # this is the suspicious part
59941 CFLAGS=''
59945 # Set -z,relro.
59946 # Note this is only for shared objects.
59947 ac_ld_relro=no
59948 if test x"$with_gnu_ld" = x"yes"; then
59949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59950 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59951 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59952 if test -n "$cxx_z_relo"; then
59953 OPT_LDFLAGS="-Wl,-z,relro"
59954 ac_ld_relro=yes
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59957 $as_echo "$ac_ld_relro" >&6; }
59960 # Set linker optimization flags.
59961 if test x"$with_gnu_ld" = x"yes"; then
59962 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59969 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59970 ac_save_CXXFLAGS="$CXXFLAGS"
59971 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59974 $as_echo_n "checking for sin in -lm... " >&6; }
59975 if test "${ac_cv_lib_m_sin+set}" = set; then :
59976 $as_echo_n "(cached) " >&6
59977 else
59978 ac_check_lib_save_LIBS=$LIBS
59979 LIBS="-lm $LIBS"
59980 if test x$gcc_no_link = xyes; then
59981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59984 /* end confdefs.h. */
59986 /* Override any GCC internal prototype to avoid an error.
59987 Use char because int might match the return type of a GCC
59988 builtin and then its argument prototype would still apply. */
59989 #ifdef __cplusplus
59990 extern "C"
59991 #endif
59992 char sin ();
59994 main ()
59996 return sin ();
59998 return 0;
60000 _ACEOF
60001 if ac_fn_c_try_link "$LINENO"; then :
60002 ac_cv_lib_m_sin=yes
60003 else
60004 ac_cv_lib_m_sin=no
60006 rm -f core conftest.err conftest.$ac_objext \
60007 conftest$ac_exeext conftest.$ac_ext
60008 LIBS=$ac_check_lib_save_LIBS
60010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60011 $as_echo "$ac_cv_lib_m_sin" >&6; }
60012 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60013 libm="-lm"
60016 ac_save_LIBS="$LIBS"
60017 LIBS="$LIBS $libm"
60021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60022 $as_echo_n "checking for isinf declaration... " >&6; }
60023 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60024 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60025 $as_echo_n "(cached) " >&6
60026 else
60029 ac_ext=cpp
60030 ac_cpp='$CXXCPP $CPPFLAGS'
60031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60036 /* end confdefs.h. */
60037 #include <math.h>
60038 #ifdef HAVE_IEEEFP_H
60039 #include <ieeefp.h>
60040 #endif
60043 main ()
60045 isinf(0);
60047 return 0;
60049 _ACEOF
60050 if ac_fn_cxx_try_compile "$LINENO"; then :
60051 glibcxx_cv_func_isinf_use=yes
60052 else
60053 glibcxx_cv_func_isinf_use=no
60055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60056 ac_ext=c
60057 ac_cpp='$CPP $CPPFLAGS'
60058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60067 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60069 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60070 for ac_func in isinf
60071 do :
60072 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60073 if test "x$ac_cv_func_isinf" = x""yes; then :
60074 cat >>confdefs.h <<_ACEOF
60075 #define HAVE_ISINF 1
60076 _ACEOF
60079 done
60081 else
60083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60084 $as_echo_n "checking for _isinf declaration... " >&6; }
60085 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60086 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60087 $as_echo_n "(cached) " >&6
60088 else
60091 ac_ext=cpp
60092 ac_cpp='$CXXCPP $CPPFLAGS'
60093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60098 /* end confdefs.h. */
60099 #include <math.h>
60100 #ifdef HAVE_IEEEFP_H
60101 #include <ieeefp.h>
60102 #endif
60105 main ()
60107 _isinf(0);
60109 return 0;
60111 _ACEOF
60112 if ac_fn_cxx_try_compile "$LINENO"; then :
60113 glibcxx_cv_func__isinf_use=yes
60114 else
60115 glibcxx_cv_func__isinf_use=no
60117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60118 ac_ext=c
60119 ac_cpp='$CPP $CPPFLAGS'
60120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60129 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60131 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60132 for ac_func in _isinf
60133 do :
60134 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60135 if test "x$ac_cv_func__isinf" = x""yes; then :
60136 cat >>confdefs.h <<_ACEOF
60137 #define HAVE__ISINF 1
60138 _ACEOF
60141 done
60150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60151 $as_echo_n "checking for isnan declaration... " >&6; }
60152 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60153 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60154 $as_echo_n "(cached) " >&6
60155 else
60158 ac_ext=cpp
60159 ac_cpp='$CXXCPP $CPPFLAGS'
60160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60165 /* end confdefs.h. */
60166 #include <math.h>
60167 #ifdef HAVE_IEEEFP_H
60168 #include <ieeefp.h>
60169 #endif
60172 main ()
60174 isnan(0);
60176 return 0;
60178 _ACEOF
60179 if ac_fn_cxx_try_compile "$LINENO"; then :
60180 glibcxx_cv_func_isnan_use=yes
60181 else
60182 glibcxx_cv_func_isnan_use=no
60184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60185 ac_ext=c
60186 ac_cpp='$CPP $CPPFLAGS'
60187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60196 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60198 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60199 for ac_func in isnan
60200 do :
60201 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60202 if test "x$ac_cv_func_isnan" = x""yes; then :
60203 cat >>confdefs.h <<_ACEOF
60204 #define HAVE_ISNAN 1
60205 _ACEOF
60208 done
60210 else
60212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60213 $as_echo_n "checking for _isnan declaration... " >&6; }
60214 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60215 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60216 $as_echo_n "(cached) " >&6
60217 else
60220 ac_ext=cpp
60221 ac_cpp='$CXXCPP $CPPFLAGS'
60222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60227 /* end confdefs.h. */
60228 #include <math.h>
60229 #ifdef HAVE_IEEEFP_H
60230 #include <ieeefp.h>
60231 #endif
60234 main ()
60236 _isnan(0);
60238 return 0;
60240 _ACEOF
60241 if ac_fn_cxx_try_compile "$LINENO"; then :
60242 glibcxx_cv_func__isnan_use=yes
60243 else
60244 glibcxx_cv_func__isnan_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
60257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60258 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60260 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60261 for ac_func in _isnan
60262 do :
60263 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60264 if test "x$ac_cv_func__isnan" = x""yes; then :
60265 cat >>confdefs.h <<_ACEOF
60266 #define HAVE__ISNAN 1
60267 _ACEOF
60270 done
60279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60280 $as_echo_n "checking for finite declaration... " >&6; }
60281 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60282 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60283 $as_echo_n "(cached) " >&6
60284 else
60287 ac_ext=cpp
60288 ac_cpp='$CXXCPP $CPPFLAGS'
60289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60294 /* end confdefs.h. */
60295 #include <math.h>
60296 #ifdef HAVE_IEEEFP_H
60297 #include <ieeefp.h>
60298 #endif
60301 main ()
60303 finite(0);
60305 return 0;
60307 _ACEOF
60308 if ac_fn_cxx_try_compile "$LINENO"; then :
60309 glibcxx_cv_func_finite_use=yes
60310 else
60311 glibcxx_cv_func_finite_use=no
60313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60314 ac_ext=c
60315 ac_cpp='$CPP $CPPFLAGS'
60316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60325 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60327 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60328 for ac_func in finite
60329 do :
60330 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60331 if test "x$ac_cv_func_finite" = x""yes; then :
60332 cat >>confdefs.h <<_ACEOF
60333 #define HAVE_FINITE 1
60334 _ACEOF
60337 done
60339 else
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60342 $as_echo_n "checking for _finite declaration... " >&6; }
60343 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60344 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60345 $as_echo_n "(cached) " >&6
60346 else
60349 ac_ext=cpp
60350 ac_cpp='$CXXCPP $CPPFLAGS'
60351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60356 /* end confdefs.h. */
60357 #include <math.h>
60358 #ifdef HAVE_IEEEFP_H
60359 #include <ieeefp.h>
60360 #endif
60363 main ()
60365 _finite(0);
60367 return 0;
60369 _ACEOF
60370 if ac_fn_cxx_try_compile "$LINENO"; then :
60371 glibcxx_cv_func__finite_use=yes
60372 else
60373 glibcxx_cv_func__finite_use=no
60375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60376 ac_ext=c
60377 ac_cpp='$CPP $CPPFLAGS'
60378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60387 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60389 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60390 for ac_func in _finite
60391 do :
60392 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60393 if test "x$ac_cv_func__finite" = x""yes; then :
60394 cat >>confdefs.h <<_ACEOF
60395 #define HAVE__FINITE 1
60396 _ACEOF
60399 done
60408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60409 $as_echo_n "checking for sincos declaration... " >&6; }
60410 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60411 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60412 $as_echo_n "(cached) " >&6
60413 else
60416 ac_ext=cpp
60417 ac_cpp='$CXXCPP $CPPFLAGS'
60418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60423 /* end confdefs.h. */
60424 #include <math.h>
60426 main ()
60428 sincos(0, 0, 0);
60430 return 0;
60432 _ACEOF
60433 if ac_fn_cxx_try_compile "$LINENO"; then :
60434 glibcxx_cv_func_sincos_use=yes
60435 else
60436 glibcxx_cv_func_sincos_use=no
60438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60439 ac_ext=c
60440 ac_cpp='$CPP $CPPFLAGS'
60441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60450 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60452 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60453 for ac_func in sincos
60454 do :
60455 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60456 if test "x$ac_cv_func_sincos" = x""yes; then :
60457 cat >>confdefs.h <<_ACEOF
60458 #define HAVE_SINCOS 1
60459 _ACEOF
60462 done
60464 else
60466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60467 $as_echo_n "checking for _sincos declaration... " >&6; }
60468 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60469 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60470 $as_echo_n "(cached) " >&6
60471 else
60474 ac_ext=cpp
60475 ac_cpp='$CXXCPP $CPPFLAGS'
60476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60481 /* end confdefs.h. */
60482 #include <math.h>
60484 main ()
60486 _sincos(0, 0, 0);
60488 return 0;
60490 _ACEOF
60491 if ac_fn_cxx_try_compile "$LINENO"; then :
60492 glibcxx_cv_func__sincos_use=yes
60493 else
60494 glibcxx_cv_func__sincos_use=no
60496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60497 ac_ext=c
60498 ac_cpp='$CPP $CPPFLAGS'
60499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60508 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60510 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60511 for ac_func in _sincos
60512 do :
60513 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60514 if test "x$ac_cv_func__sincos" = x""yes; then :
60515 cat >>confdefs.h <<_ACEOF
60516 #define HAVE__SINCOS 1
60517 _ACEOF
60520 done
60529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60530 $as_echo_n "checking for fpclass declaration... " >&6; }
60531 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60532 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60533 $as_echo_n "(cached) " >&6
60534 else
60537 ac_ext=cpp
60538 ac_cpp='$CXXCPP $CPPFLAGS'
60539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60544 /* end confdefs.h. */
60545 #include <math.h>
60546 #ifdef HAVE_IEEEFP_H
60547 #include <ieeefp.h>
60548 #endif
60551 main ()
60553 fpclass(0);
60555 return 0;
60557 _ACEOF
60558 if ac_fn_cxx_try_compile "$LINENO"; then :
60559 glibcxx_cv_func_fpclass_use=yes
60560 else
60561 glibcxx_cv_func_fpclass_use=no
60563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60564 ac_ext=c
60565 ac_cpp='$CPP $CPPFLAGS'
60566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60575 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60577 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60578 for ac_func in fpclass
60579 do :
60580 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60581 if test "x$ac_cv_func_fpclass" = x""yes; then :
60582 cat >>confdefs.h <<_ACEOF
60583 #define HAVE_FPCLASS 1
60584 _ACEOF
60587 done
60589 else
60591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60592 $as_echo_n "checking for _fpclass declaration... " >&6; }
60593 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60594 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60595 $as_echo_n "(cached) " >&6
60596 else
60599 ac_ext=cpp
60600 ac_cpp='$CXXCPP $CPPFLAGS'
60601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60606 /* end confdefs.h. */
60607 #include <math.h>
60608 #ifdef HAVE_IEEEFP_H
60609 #include <ieeefp.h>
60610 #endif
60613 main ()
60615 _fpclass(0);
60617 return 0;
60619 _ACEOF
60620 if ac_fn_cxx_try_compile "$LINENO"; then :
60621 glibcxx_cv_func__fpclass_use=yes
60622 else
60623 glibcxx_cv_func__fpclass_use=no
60625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60626 ac_ext=c
60627 ac_cpp='$CPP $CPPFLAGS'
60628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60637 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60639 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60640 for ac_func in _fpclass
60641 do :
60642 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60643 if test "x$ac_cv_func__fpclass" = x""yes; then :
60644 cat >>confdefs.h <<_ACEOF
60645 #define HAVE__FPCLASS 1
60646 _ACEOF
60649 done
60658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60659 $as_echo_n "checking for qfpclass declaration... " >&6; }
60660 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60661 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60662 $as_echo_n "(cached) " >&6
60663 else
60666 ac_ext=cpp
60667 ac_cpp='$CXXCPP $CPPFLAGS'
60668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60673 /* end confdefs.h. */
60674 #include <math.h>
60675 #ifdef HAVE_IEEEFP_H
60676 #include <ieeefp.h>
60677 #endif
60680 main ()
60682 qfpclass(0);
60684 return 0;
60686 _ACEOF
60687 if ac_fn_cxx_try_compile "$LINENO"; then :
60688 glibcxx_cv_func_qfpclass_use=yes
60689 else
60690 glibcxx_cv_func_qfpclass_use=no
60692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60693 ac_ext=c
60694 ac_cpp='$CPP $CPPFLAGS'
60695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60704 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60706 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60707 for ac_func in qfpclass
60708 do :
60709 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60710 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60711 cat >>confdefs.h <<_ACEOF
60712 #define HAVE_QFPCLASS 1
60713 _ACEOF
60716 done
60718 else
60720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60721 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60722 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60723 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60724 $as_echo_n "(cached) " >&6
60725 else
60728 ac_ext=cpp
60729 ac_cpp='$CXXCPP $CPPFLAGS'
60730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60735 /* end confdefs.h. */
60736 #include <math.h>
60737 #ifdef HAVE_IEEEFP_H
60738 #include <ieeefp.h>
60739 #endif
60742 main ()
60744 _qfpclass(0);
60746 return 0;
60748 _ACEOF
60749 if ac_fn_cxx_try_compile "$LINENO"; then :
60750 glibcxx_cv_func__qfpclass_use=yes
60751 else
60752 glibcxx_cv_func__qfpclass_use=no
60754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60755 ac_ext=c
60756 ac_cpp='$CPP $CPPFLAGS'
60757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60766 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60768 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60769 for ac_func in _qfpclass
60770 do :
60771 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60772 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60773 cat >>confdefs.h <<_ACEOF
60774 #define HAVE__QFPCLASS 1
60775 _ACEOF
60778 done
60787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60788 $as_echo_n "checking for hypot declaration... " >&6; }
60789 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60790 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60791 $as_echo_n "(cached) " >&6
60792 else
60795 ac_ext=cpp
60796 ac_cpp='$CXXCPP $CPPFLAGS'
60797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60802 /* end confdefs.h. */
60803 #include <math.h>
60805 main ()
60807 hypot(0, 0);
60809 return 0;
60811 _ACEOF
60812 if ac_fn_cxx_try_compile "$LINENO"; then :
60813 glibcxx_cv_func_hypot_use=yes
60814 else
60815 glibcxx_cv_func_hypot_use=no
60817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60818 ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60829 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60831 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60832 for ac_func in hypot
60833 do :
60834 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60835 if test "x$ac_cv_func_hypot" = x""yes; then :
60836 cat >>confdefs.h <<_ACEOF
60837 #define HAVE_HYPOT 1
60838 _ACEOF
60841 done
60843 else
60845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60846 $as_echo_n "checking for _hypot declaration... " >&6; }
60847 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60848 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60849 $as_echo_n "(cached) " >&6
60850 else
60853 ac_ext=cpp
60854 ac_cpp='$CXXCPP $CPPFLAGS'
60855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60860 /* end confdefs.h. */
60861 #include <math.h>
60863 main ()
60865 _hypot(0, 0);
60867 return 0;
60869 _ACEOF
60870 if ac_fn_cxx_try_compile "$LINENO"; then :
60871 glibcxx_cv_func__hypot_use=yes
60872 else
60873 glibcxx_cv_func__hypot_use=no
60875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60876 ac_ext=c
60877 ac_cpp='$CPP $CPPFLAGS'
60878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60887 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60889 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60890 for ac_func in _hypot
60891 do :
60892 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60893 if test "x$ac_cv_func__hypot" = x""yes; then :
60894 cat >>confdefs.h <<_ACEOF
60895 #define HAVE__HYPOT 1
60896 _ACEOF
60899 done
60908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60909 $as_echo_n "checking for float trig functions... " >&6; }
60910 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60911 $as_echo_n "(cached) " >&6
60912 else
60915 ac_ext=cpp
60916 ac_cpp='$CXXCPP $CPPFLAGS'
60917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60922 /* end confdefs.h. */
60923 #include <math.h>
60925 main ()
60927 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60929 return 0;
60931 _ACEOF
60932 if ac_fn_cxx_try_compile "$LINENO"; then :
60933 glibcxx_cv_func_float_trig_use=yes
60934 else
60935 glibcxx_cv_func_float_trig_use=no
60937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60938 ac_ext=c
60939 ac_cpp='$CPP $CPPFLAGS'
60940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60947 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60948 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60949 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60950 do :
60951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60953 eval as_val=\$$as_ac_var
60954 if test "x$as_val" = x""yes; then :
60955 cat >>confdefs.h <<_ACEOF
60956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60957 _ACEOF
60960 done
60962 else
60963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60964 $as_echo_n "checking for _float trig functions... " >&6; }
60965 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60966 $as_echo_n "(cached) " >&6
60967 else
60970 ac_ext=cpp
60971 ac_cpp='$CXXCPP $CPPFLAGS'
60972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60977 /* end confdefs.h. */
60978 #include <math.h>
60980 main ()
60982 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60984 return 0;
60986 _ACEOF
60987 if ac_fn_cxx_try_compile "$LINENO"; then :
60988 glibcxx_cv_func__float_trig_use=yes
60989 else
60990 glibcxx_cv_func__float_trig_use=no
60992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60993 ac_ext=c
60994 ac_cpp='$CPP $CPPFLAGS'
60995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61002 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61003 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61004 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61005 do :
61006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61008 eval as_val=\$$as_ac_var
61009 if test "x$as_val" = x""yes; then :
61010 cat >>confdefs.h <<_ACEOF
61011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61012 _ACEOF
61015 done
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61025 $as_echo_n "checking for float round functions... " >&6; }
61026 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61027 $as_echo_n "(cached) " >&6
61028 else
61031 ac_ext=cpp
61032 ac_cpp='$CXXCPP $CPPFLAGS'
61033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61038 /* end confdefs.h. */
61039 #include <math.h>
61041 main ()
61043 ceilf (0); floorf (0);
61045 return 0;
61047 _ACEOF
61048 if ac_fn_cxx_try_compile "$LINENO"; then :
61049 glibcxx_cv_func_float_round_use=yes
61050 else
61051 glibcxx_cv_func_float_round_use=no
61053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61054 ac_ext=c
61055 ac_cpp='$CPP $CPPFLAGS'
61056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61063 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61064 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61065 for ac_func in ceilf floorf
61066 do :
61067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61069 eval as_val=\$$as_ac_var
61070 if test "x$as_val" = x""yes; then :
61071 cat >>confdefs.h <<_ACEOF
61072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61073 _ACEOF
61076 done
61078 else
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61080 $as_echo_n "checking for _float round functions... " >&6; }
61081 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61082 $as_echo_n "(cached) " >&6
61083 else
61086 ac_ext=cpp
61087 ac_cpp='$CXXCPP $CPPFLAGS'
61088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61093 /* end confdefs.h. */
61094 #include <math.h>
61096 main ()
61098 _ceilf (0); _floorf (0);
61100 return 0;
61102 _ACEOF
61103 if ac_fn_cxx_try_compile "$LINENO"; then :
61104 glibcxx_cv_func__float_round_use=yes
61105 else
61106 glibcxx_cv_func__float_round_use=no
61108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61109 ac_ext=c
61110 ac_cpp='$CPP $CPPFLAGS'
61111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61118 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61119 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61120 for ac_func in _ceilf _floorf
61121 do :
61122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61124 eval as_val=\$$as_ac_var
61125 if test "x$as_val" = x""yes; then :
61126 cat >>confdefs.h <<_ACEOF
61127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61128 _ACEOF
61131 done
61141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61142 $as_echo_n "checking for expf declaration... " >&6; }
61143 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61144 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61145 $as_echo_n "(cached) " >&6
61146 else
61149 ac_ext=cpp
61150 ac_cpp='$CXXCPP $CPPFLAGS'
61151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61156 /* end confdefs.h. */
61157 #include <math.h>
61158 #ifdef HAVE_IEEEFP_H
61159 #include <ieeefp.h>
61160 #endif
61163 main ()
61165 expf(0);
61167 return 0;
61169 _ACEOF
61170 if ac_fn_cxx_try_compile "$LINENO"; then :
61171 glibcxx_cv_func_expf_use=yes
61172 else
61173 glibcxx_cv_func_expf_use=no
61175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61176 ac_ext=c
61177 ac_cpp='$CPP $CPPFLAGS'
61178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61187 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61189 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61190 for ac_func in expf
61191 do :
61192 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61193 if test "x$ac_cv_func_expf" = x""yes; then :
61194 cat >>confdefs.h <<_ACEOF
61195 #define HAVE_EXPF 1
61196 _ACEOF
61199 done
61201 else
61203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61204 $as_echo_n "checking for _expf declaration... " >&6; }
61205 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61206 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61207 $as_echo_n "(cached) " >&6
61208 else
61211 ac_ext=cpp
61212 ac_cpp='$CXXCPP $CPPFLAGS'
61213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61218 /* end confdefs.h. */
61219 #include <math.h>
61220 #ifdef HAVE_IEEEFP_H
61221 #include <ieeefp.h>
61222 #endif
61225 main ()
61227 _expf(0);
61229 return 0;
61231 _ACEOF
61232 if ac_fn_cxx_try_compile "$LINENO"; then :
61233 glibcxx_cv_func__expf_use=yes
61234 else
61235 glibcxx_cv_func__expf_use=no
61237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238 ac_ext=c
61239 ac_cpp='$CPP $CPPFLAGS'
61240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61249 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61251 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61252 for ac_func in _expf
61253 do :
61254 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61255 if test "x$ac_cv_func__expf" = x""yes; then :
61256 cat >>confdefs.h <<_ACEOF
61257 #define HAVE__EXPF 1
61258 _ACEOF
61261 done
61270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61271 $as_echo_n "checking for isnanf declaration... " >&6; }
61272 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61273 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61274 $as_echo_n "(cached) " >&6
61275 else
61278 ac_ext=cpp
61279 ac_cpp='$CXXCPP $CPPFLAGS'
61280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61285 /* end confdefs.h. */
61286 #include <math.h>
61287 #ifdef HAVE_IEEEFP_H
61288 #include <ieeefp.h>
61289 #endif
61292 main ()
61294 isnanf(0);
61296 return 0;
61298 _ACEOF
61299 if ac_fn_cxx_try_compile "$LINENO"; then :
61300 glibcxx_cv_func_isnanf_use=yes
61301 else
61302 glibcxx_cv_func_isnanf_use=no
61304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61316 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61318 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61319 for ac_func in isnanf
61320 do :
61321 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61322 if test "x$ac_cv_func_isnanf" = x""yes; then :
61323 cat >>confdefs.h <<_ACEOF
61324 #define HAVE_ISNANF 1
61325 _ACEOF
61328 done
61330 else
61332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61333 $as_echo_n "checking for _isnanf declaration... " >&6; }
61334 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61335 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61336 $as_echo_n "(cached) " >&6
61337 else
61340 ac_ext=cpp
61341 ac_cpp='$CXXCPP $CPPFLAGS'
61342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61347 /* end confdefs.h. */
61348 #include <math.h>
61349 #ifdef HAVE_IEEEFP_H
61350 #include <ieeefp.h>
61351 #endif
61354 main ()
61356 _isnanf(0);
61358 return 0;
61360 _ACEOF
61361 if ac_fn_cxx_try_compile "$LINENO"; then :
61362 glibcxx_cv_func__isnanf_use=yes
61363 else
61364 glibcxx_cv_func__isnanf_use=no
61366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367 ac_ext=c
61368 ac_cpp='$CPP $CPPFLAGS'
61369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61378 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61380 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61381 for ac_func in _isnanf
61382 do :
61383 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61384 if test "x$ac_cv_func__isnanf" = x""yes; then :
61385 cat >>confdefs.h <<_ACEOF
61386 #define HAVE__ISNANF 1
61387 _ACEOF
61390 done
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61400 $as_echo_n "checking for isinff declaration... " >&6; }
61401 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61402 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61403 $as_echo_n "(cached) " >&6
61404 else
61407 ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h. */
61415 #include <math.h>
61416 #ifdef HAVE_IEEEFP_H
61417 #include <ieeefp.h>
61418 #endif
61421 main ()
61423 isinff(0);
61425 return 0;
61427 _ACEOF
61428 if ac_fn_cxx_try_compile "$LINENO"; then :
61429 glibcxx_cv_func_isinff_use=yes
61430 else
61431 glibcxx_cv_func_isinff_use=no
61433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61434 ac_ext=c
61435 ac_cpp='$CPP $CPPFLAGS'
61436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61445 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61447 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61448 for ac_func in isinff
61449 do :
61450 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61451 if test "x$ac_cv_func_isinff" = x""yes; then :
61452 cat >>confdefs.h <<_ACEOF
61453 #define HAVE_ISINFF 1
61454 _ACEOF
61457 done
61459 else
61461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61462 $as_echo_n "checking for _isinff declaration... " >&6; }
61463 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61464 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61465 $as_echo_n "(cached) " >&6
61466 else
61469 ac_ext=cpp
61470 ac_cpp='$CXXCPP $CPPFLAGS'
61471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61476 /* end confdefs.h. */
61477 #include <math.h>
61478 #ifdef HAVE_IEEEFP_H
61479 #include <ieeefp.h>
61480 #endif
61483 main ()
61485 _isinff(0);
61487 return 0;
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491 glibcxx_cv_func__isinff_use=yes
61492 else
61493 glibcxx_cv_func__isinff_use=no
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496 ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61507 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61509 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61510 for ac_func in _isinff
61511 do :
61512 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61513 if test "x$ac_cv_func__isinff" = x""yes; then :
61514 cat >>confdefs.h <<_ACEOF
61515 #define HAVE__ISINFF 1
61516 _ACEOF
61519 done
61528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61529 $as_echo_n "checking for atan2f declaration... " >&6; }
61530 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61531 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61532 $as_echo_n "(cached) " >&6
61533 else
61536 ac_ext=cpp
61537 ac_cpp='$CXXCPP $CPPFLAGS'
61538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61543 /* end confdefs.h. */
61544 #include <math.h>
61546 main ()
61548 atan2f(0, 0);
61550 return 0;
61552 _ACEOF
61553 if ac_fn_cxx_try_compile "$LINENO"; then :
61554 glibcxx_cv_func_atan2f_use=yes
61555 else
61556 glibcxx_cv_func_atan2f_use=no
61558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61559 ac_ext=c
61560 ac_cpp='$CPP $CPPFLAGS'
61561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61570 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61572 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61573 for ac_func in atan2f
61574 do :
61575 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61576 if test "x$ac_cv_func_atan2f" = x""yes; then :
61577 cat >>confdefs.h <<_ACEOF
61578 #define HAVE_ATAN2F 1
61579 _ACEOF
61582 done
61584 else
61586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61587 $as_echo_n "checking for _atan2f declaration... " >&6; }
61588 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61589 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61590 $as_echo_n "(cached) " >&6
61591 else
61594 ac_ext=cpp
61595 ac_cpp='$CXXCPP $CPPFLAGS'
61596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61601 /* end confdefs.h. */
61602 #include <math.h>
61604 main ()
61606 _atan2f(0, 0);
61608 return 0;
61610 _ACEOF
61611 if ac_fn_cxx_try_compile "$LINENO"; then :
61612 glibcxx_cv_func__atan2f_use=yes
61613 else
61614 glibcxx_cv_func__atan2f_use=no
61616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61617 ac_ext=c
61618 ac_cpp='$CPP $CPPFLAGS'
61619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61628 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61630 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61631 for ac_func in _atan2f
61632 do :
61633 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61634 if test "x$ac_cv_func__atan2f" = x""yes; then :
61635 cat >>confdefs.h <<_ACEOF
61636 #define HAVE__ATAN2F 1
61637 _ACEOF
61640 done
61649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61650 $as_echo_n "checking for fabsf declaration... " >&6; }
61651 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61652 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61653 $as_echo_n "(cached) " >&6
61654 else
61657 ac_ext=cpp
61658 ac_cpp='$CXXCPP $CPPFLAGS'
61659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61664 /* end confdefs.h. */
61665 #include <math.h>
61666 #ifdef HAVE_IEEEFP_H
61667 #include <ieeefp.h>
61668 #endif
61671 main ()
61673 fabsf(0);
61675 return 0;
61677 _ACEOF
61678 if ac_fn_cxx_try_compile "$LINENO"; then :
61679 glibcxx_cv_func_fabsf_use=yes
61680 else
61681 glibcxx_cv_func_fabsf_use=no
61683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61684 ac_ext=c
61685 ac_cpp='$CPP $CPPFLAGS'
61686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61695 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61697 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61698 for ac_func in fabsf
61699 do :
61700 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61701 if test "x$ac_cv_func_fabsf" = x""yes; then :
61702 cat >>confdefs.h <<_ACEOF
61703 #define HAVE_FABSF 1
61704 _ACEOF
61707 done
61709 else
61711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61712 $as_echo_n "checking for _fabsf declaration... " >&6; }
61713 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61714 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61715 $as_echo_n "(cached) " >&6
61716 else
61719 ac_ext=cpp
61720 ac_cpp='$CXXCPP $CPPFLAGS'
61721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61726 /* end confdefs.h. */
61727 #include <math.h>
61728 #ifdef HAVE_IEEEFP_H
61729 #include <ieeefp.h>
61730 #endif
61733 main ()
61735 _fabsf(0);
61737 return 0;
61739 _ACEOF
61740 if ac_fn_cxx_try_compile "$LINENO"; then :
61741 glibcxx_cv_func__fabsf_use=yes
61742 else
61743 glibcxx_cv_func__fabsf_use=no
61745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61746 ac_ext=c
61747 ac_cpp='$CPP $CPPFLAGS'
61748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61757 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61759 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61760 for ac_func in _fabsf
61761 do :
61762 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61763 if test "x$ac_cv_func__fabsf" = x""yes; then :
61764 cat >>confdefs.h <<_ACEOF
61765 #define HAVE__FABSF 1
61766 _ACEOF
61769 done
61778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61779 $as_echo_n "checking for fmodf declaration... " >&6; }
61780 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61781 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61782 $as_echo_n "(cached) " >&6
61783 else
61786 ac_ext=cpp
61787 ac_cpp='$CXXCPP $CPPFLAGS'
61788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61793 /* end confdefs.h. */
61794 #include <math.h>
61796 main ()
61798 fmodf(0, 0);
61800 return 0;
61802 _ACEOF
61803 if ac_fn_cxx_try_compile "$LINENO"; then :
61804 glibcxx_cv_func_fmodf_use=yes
61805 else
61806 glibcxx_cv_func_fmodf_use=no
61808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61809 ac_ext=c
61810 ac_cpp='$CPP $CPPFLAGS'
61811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61820 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61822 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61823 for ac_func in fmodf
61824 do :
61825 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61826 if test "x$ac_cv_func_fmodf" = x""yes; then :
61827 cat >>confdefs.h <<_ACEOF
61828 #define HAVE_FMODF 1
61829 _ACEOF
61832 done
61834 else
61836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61837 $as_echo_n "checking for _fmodf declaration... " >&6; }
61838 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61839 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61840 $as_echo_n "(cached) " >&6
61841 else
61844 ac_ext=cpp
61845 ac_cpp='$CXXCPP $CPPFLAGS'
61846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61851 /* end confdefs.h. */
61852 #include <math.h>
61854 main ()
61856 _fmodf(0, 0);
61858 return 0;
61860 _ACEOF
61861 if ac_fn_cxx_try_compile "$LINENO"; then :
61862 glibcxx_cv_func__fmodf_use=yes
61863 else
61864 glibcxx_cv_func__fmodf_use=no
61866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61867 ac_ext=c
61868 ac_cpp='$CPP $CPPFLAGS'
61869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61878 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61880 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61881 for ac_func in _fmodf
61882 do :
61883 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61884 if test "x$ac_cv_func__fmodf" = x""yes; then :
61885 cat >>confdefs.h <<_ACEOF
61886 #define HAVE__FMODF 1
61887 _ACEOF
61890 done
61899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61900 $as_echo_n "checking for frexpf declaration... " >&6; }
61901 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61902 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61903 $as_echo_n "(cached) " >&6
61904 else
61907 ac_ext=cpp
61908 ac_cpp='$CXXCPP $CPPFLAGS'
61909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61914 /* end confdefs.h. */
61915 #include <math.h>
61917 main ()
61919 frexpf(0, 0);
61921 return 0;
61923 _ACEOF
61924 if ac_fn_cxx_try_compile "$LINENO"; then :
61925 glibcxx_cv_func_frexpf_use=yes
61926 else
61927 glibcxx_cv_func_frexpf_use=no
61929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61930 ac_ext=c
61931 ac_cpp='$CPP $CPPFLAGS'
61932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61941 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61943 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61944 for ac_func in frexpf
61945 do :
61946 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61947 if test "x$ac_cv_func_frexpf" = x""yes; then :
61948 cat >>confdefs.h <<_ACEOF
61949 #define HAVE_FREXPF 1
61950 _ACEOF
61953 done
61955 else
61957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61958 $as_echo_n "checking for _frexpf declaration... " >&6; }
61959 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61960 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61961 $as_echo_n "(cached) " >&6
61962 else
61965 ac_ext=cpp
61966 ac_cpp='$CXXCPP $CPPFLAGS'
61967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61972 /* end confdefs.h. */
61973 #include <math.h>
61975 main ()
61977 _frexpf(0, 0);
61979 return 0;
61981 _ACEOF
61982 if ac_fn_cxx_try_compile "$LINENO"; then :
61983 glibcxx_cv_func__frexpf_use=yes
61984 else
61985 glibcxx_cv_func__frexpf_use=no
61987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61988 ac_ext=c
61989 ac_cpp='$CPP $CPPFLAGS'
61990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61999 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62001 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62002 for ac_func in _frexpf
62003 do :
62004 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62005 if test "x$ac_cv_func__frexpf" = x""yes; then :
62006 cat >>confdefs.h <<_ACEOF
62007 #define HAVE__FREXPF 1
62008 _ACEOF
62011 done
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62021 $as_echo_n "checking for hypotf declaration... " >&6; }
62022 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62023 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62024 $as_echo_n "(cached) " >&6
62025 else
62028 ac_ext=cpp
62029 ac_cpp='$CXXCPP $CPPFLAGS'
62030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62035 /* end confdefs.h. */
62036 #include <math.h>
62038 main ()
62040 hypotf(0, 0);
62042 return 0;
62044 _ACEOF
62045 if ac_fn_cxx_try_compile "$LINENO"; then :
62046 glibcxx_cv_func_hypotf_use=yes
62047 else
62048 glibcxx_cv_func_hypotf_use=no
62050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62051 ac_ext=c
62052 ac_cpp='$CPP $CPPFLAGS'
62053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62062 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62064 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62065 for ac_func in hypotf
62066 do :
62067 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62068 if test "x$ac_cv_func_hypotf" = x""yes; then :
62069 cat >>confdefs.h <<_ACEOF
62070 #define HAVE_HYPOTF 1
62071 _ACEOF
62074 done
62076 else
62078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62079 $as_echo_n "checking for _hypotf declaration... " >&6; }
62080 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62081 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62082 $as_echo_n "(cached) " >&6
62083 else
62086 ac_ext=cpp
62087 ac_cpp='$CXXCPP $CPPFLAGS'
62088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62093 /* end confdefs.h. */
62094 #include <math.h>
62096 main ()
62098 _hypotf(0, 0);
62100 return 0;
62102 _ACEOF
62103 if ac_fn_cxx_try_compile "$LINENO"; then :
62104 glibcxx_cv_func__hypotf_use=yes
62105 else
62106 glibcxx_cv_func__hypotf_use=no
62108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109 ac_ext=c
62110 ac_cpp='$CPP $CPPFLAGS'
62111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62120 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62122 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62123 for ac_func in _hypotf
62124 do :
62125 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62126 if test "x$ac_cv_func__hypotf" = x""yes; then :
62127 cat >>confdefs.h <<_ACEOF
62128 #define HAVE__HYPOTF 1
62129 _ACEOF
62132 done
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62142 $as_echo_n "checking for ldexpf declaration... " >&6; }
62143 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62144 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62145 $as_echo_n "(cached) " >&6
62146 else
62149 ac_ext=cpp
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156 /* end confdefs.h. */
62157 #include <math.h>
62159 main ()
62161 ldexpf(0, 0);
62163 return 0;
62165 _ACEOF
62166 if ac_fn_cxx_try_compile "$LINENO"; then :
62167 glibcxx_cv_func_ldexpf_use=yes
62168 else
62169 glibcxx_cv_func_ldexpf_use=no
62171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62172 ac_ext=c
62173 ac_cpp='$CPP $CPPFLAGS'
62174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62183 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62185 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62186 for ac_func in ldexpf
62187 do :
62188 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62189 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62190 cat >>confdefs.h <<_ACEOF
62191 #define HAVE_LDEXPF 1
62192 _ACEOF
62195 done
62197 else
62199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62200 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62201 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62202 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62203 $as_echo_n "(cached) " >&6
62204 else
62207 ac_ext=cpp
62208 ac_cpp='$CXXCPP $CPPFLAGS'
62209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62214 /* end confdefs.h. */
62215 #include <math.h>
62217 main ()
62219 _ldexpf(0, 0);
62221 return 0;
62223 _ACEOF
62224 if ac_fn_cxx_try_compile "$LINENO"; then :
62225 glibcxx_cv_func__ldexpf_use=yes
62226 else
62227 glibcxx_cv_func__ldexpf_use=no
62229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62230 ac_ext=c
62231 ac_cpp='$CPP $CPPFLAGS'
62232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62241 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62243 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62244 for ac_func in _ldexpf
62245 do :
62246 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62247 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62248 cat >>confdefs.h <<_ACEOF
62249 #define HAVE__LDEXPF 1
62250 _ACEOF
62253 done
62262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62263 $as_echo_n "checking for logf declaration... " >&6; }
62264 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62265 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62266 $as_echo_n "(cached) " >&6
62267 else
62270 ac_ext=cpp
62271 ac_cpp='$CXXCPP $CPPFLAGS'
62272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62277 /* end confdefs.h. */
62278 #include <math.h>
62279 #ifdef HAVE_IEEEFP_H
62280 #include <ieeefp.h>
62281 #endif
62284 main ()
62286 logf(0);
62288 return 0;
62290 _ACEOF
62291 if ac_fn_cxx_try_compile "$LINENO"; then :
62292 glibcxx_cv_func_logf_use=yes
62293 else
62294 glibcxx_cv_func_logf_use=no
62296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62297 ac_ext=c
62298 ac_cpp='$CPP $CPPFLAGS'
62299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62308 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62310 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62311 for ac_func in logf
62312 do :
62313 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62314 if test "x$ac_cv_func_logf" = x""yes; then :
62315 cat >>confdefs.h <<_ACEOF
62316 #define HAVE_LOGF 1
62317 _ACEOF
62320 done
62322 else
62324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62325 $as_echo_n "checking for _logf declaration... " >&6; }
62326 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62327 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62328 $as_echo_n "(cached) " >&6
62329 else
62332 ac_ext=cpp
62333 ac_cpp='$CXXCPP $CPPFLAGS'
62334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62339 /* end confdefs.h. */
62340 #include <math.h>
62341 #ifdef HAVE_IEEEFP_H
62342 #include <ieeefp.h>
62343 #endif
62346 main ()
62348 _logf(0);
62350 return 0;
62352 _ACEOF
62353 if ac_fn_cxx_try_compile "$LINENO"; then :
62354 glibcxx_cv_func__logf_use=yes
62355 else
62356 glibcxx_cv_func__logf_use=no
62358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359 ac_ext=c
62360 ac_cpp='$CPP $CPPFLAGS'
62361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62370 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62372 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62373 for ac_func in _logf
62374 do :
62375 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62376 if test "x$ac_cv_func__logf" = x""yes; then :
62377 cat >>confdefs.h <<_ACEOF
62378 #define HAVE__LOGF 1
62379 _ACEOF
62382 done
62391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62392 $as_echo_n "checking for log10f declaration... " >&6; }
62393 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62394 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62395 $as_echo_n "(cached) " >&6
62396 else
62399 ac_ext=cpp
62400 ac_cpp='$CXXCPP $CPPFLAGS'
62401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62406 /* end confdefs.h. */
62407 #include <math.h>
62408 #ifdef HAVE_IEEEFP_H
62409 #include <ieeefp.h>
62410 #endif
62413 main ()
62415 log10f(0);
62417 return 0;
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421 glibcxx_cv_func_log10f_use=yes
62422 else
62423 glibcxx_cv_func_log10f_use=no
62425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62426 ac_ext=c
62427 ac_cpp='$CPP $CPPFLAGS'
62428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62437 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62439 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62440 for ac_func in log10f
62441 do :
62442 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62443 if test "x$ac_cv_func_log10f" = x""yes; then :
62444 cat >>confdefs.h <<_ACEOF
62445 #define HAVE_LOG10F 1
62446 _ACEOF
62449 done
62451 else
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62454 $as_echo_n "checking for _log10f declaration... " >&6; }
62455 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62456 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62457 $as_echo_n "(cached) " >&6
62458 else
62461 ac_ext=cpp
62462 ac_cpp='$CXXCPP $CPPFLAGS'
62463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62468 /* end confdefs.h. */
62469 #include <math.h>
62470 #ifdef HAVE_IEEEFP_H
62471 #include <ieeefp.h>
62472 #endif
62475 main ()
62477 _log10f(0);
62479 return 0;
62481 _ACEOF
62482 if ac_fn_cxx_try_compile "$LINENO"; then :
62483 glibcxx_cv_func__log10f_use=yes
62484 else
62485 glibcxx_cv_func__log10f_use=no
62487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62488 ac_ext=c
62489 ac_cpp='$CPP $CPPFLAGS'
62490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62499 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62501 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62502 for ac_func in _log10f
62503 do :
62504 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62505 if test "x$ac_cv_func__log10f" = x""yes; then :
62506 cat >>confdefs.h <<_ACEOF
62507 #define HAVE__LOG10F 1
62508 _ACEOF
62511 done
62520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62521 $as_echo_n "checking for modff declaration... " >&6; }
62522 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62523 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62524 $as_echo_n "(cached) " >&6
62525 else
62528 ac_ext=cpp
62529 ac_cpp='$CXXCPP $CPPFLAGS'
62530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62535 /* end confdefs.h. */
62536 #include <math.h>
62538 main ()
62540 modff(0, 0);
62542 return 0;
62544 _ACEOF
62545 if ac_fn_cxx_try_compile "$LINENO"; then :
62546 glibcxx_cv_func_modff_use=yes
62547 else
62548 glibcxx_cv_func_modff_use=no
62550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62551 ac_ext=c
62552 ac_cpp='$CPP $CPPFLAGS'
62553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62562 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62564 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62565 for ac_func in modff
62566 do :
62567 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62568 if test "x$ac_cv_func_modff" = x""yes; then :
62569 cat >>confdefs.h <<_ACEOF
62570 #define HAVE_MODFF 1
62571 _ACEOF
62574 done
62576 else
62578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62579 $as_echo_n "checking for _modff declaration... " >&6; }
62580 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62581 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62582 $as_echo_n "(cached) " >&6
62583 else
62586 ac_ext=cpp
62587 ac_cpp='$CXXCPP $CPPFLAGS'
62588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62593 /* end confdefs.h. */
62594 #include <math.h>
62596 main ()
62598 _modff(0, 0);
62600 return 0;
62602 _ACEOF
62603 if ac_fn_cxx_try_compile "$LINENO"; then :
62604 glibcxx_cv_func__modff_use=yes
62605 else
62606 glibcxx_cv_func__modff_use=no
62608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62609 ac_ext=c
62610 ac_cpp='$CPP $CPPFLAGS'
62611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62620 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62622 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62623 for ac_func in _modff
62624 do :
62625 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62626 if test "x$ac_cv_func__modff" = x""yes; then :
62627 cat >>confdefs.h <<_ACEOF
62628 #define HAVE__MODFF 1
62629 _ACEOF
62632 done
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62642 $as_echo_n "checking for modf declaration... " >&6; }
62643 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62644 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62645 $as_echo_n "(cached) " >&6
62646 else
62649 ac_ext=cpp
62650 ac_cpp='$CXXCPP $CPPFLAGS'
62651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62656 /* end confdefs.h. */
62657 #include <math.h>
62659 main ()
62661 modf(0, 0);
62663 return 0;
62665 _ACEOF
62666 if ac_fn_cxx_try_compile "$LINENO"; then :
62667 glibcxx_cv_func_modf_use=yes
62668 else
62669 glibcxx_cv_func_modf_use=no
62671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62672 ac_ext=c
62673 ac_cpp='$CPP $CPPFLAGS'
62674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62683 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62685 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62686 for ac_func in modf
62687 do :
62688 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62689 if test "x$ac_cv_func_modf" = x""yes; then :
62690 cat >>confdefs.h <<_ACEOF
62691 #define HAVE_MODF 1
62692 _ACEOF
62695 done
62697 else
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62700 $as_echo_n "checking for _modf declaration... " >&6; }
62701 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62702 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62703 $as_echo_n "(cached) " >&6
62704 else
62707 ac_ext=cpp
62708 ac_cpp='$CXXCPP $CPPFLAGS'
62709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62714 /* end confdefs.h. */
62715 #include <math.h>
62717 main ()
62719 _modf(0, 0);
62721 return 0;
62723 _ACEOF
62724 if ac_fn_cxx_try_compile "$LINENO"; then :
62725 glibcxx_cv_func__modf_use=yes
62726 else
62727 glibcxx_cv_func__modf_use=no
62729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62730 ac_ext=c
62731 ac_cpp='$CPP $CPPFLAGS'
62732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62741 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62743 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62744 for ac_func in _modf
62745 do :
62746 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62747 if test "x$ac_cv_func__modf" = x""yes; then :
62748 cat >>confdefs.h <<_ACEOF
62749 #define HAVE__MODF 1
62750 _ACEOF
62753 done
62762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62763 $as_echo_n "checking for powf declaration... " >&6; }
62764 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62765 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62766 $as_echo_n "(cached) " >&6
62767 else
62770 ac_ext=cpp
62771 ac_cpp='$CXXCPP $CPPFLAGS'
62772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62777 /* end confdefs.h. */
62778 #include <math.h>
62780 main ()
62782 powf(0, 0);
62784 return 0;
62786 _ACEOF
62787 if ac_fn_cxx_try_compile "$LINENO"; then :
62788 glibcxx_cv_func_powf_use=yes
62789 else
62790 glibcxx_cv_func_powf_use=no
62792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62793 ac_ext=c
62794 ac_cpp='$CPP $CPPFLAGS'
62795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62804 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62806 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62807 for ac_func in powf
62808 do :
62809 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62810 if test "x$ac_cv_func_powf" = x""yes; then :
62811 cat >>confdefs.h <<_ACEOF
62812 #define HAVE_POWF 1
62813 _ACEOF
62816 done
62818 else
62820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62821 $as_echo_n "checking for _powf declaration... " >&6; }
62822 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62823 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62824 $as_echo_n "(cached) " >&6
62825 else
62828 ac_ext=cpp
62829 ac_cpp='$CXXCPP $CPPFLAGS'
62830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62835 /* end confdefs.h. */
62836 #include <math.h>
62838 main ()
62840 _powf(0, 0);
62842 return 0;
62844 _ACEOF
62845 if ac_fn_cxx_try_compile "$LINENO"; then :
62846 glibcxx_cv_func__powf_use=yes
62847 else
62848 glibcxx_cv_func__powf_use=no
62850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62851 ac_ext=c
62852 ac_cpp='$CPP $CPPFLAGS'
62853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62862 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62864 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62865 for ac_func in _powf
62866 do :
62867 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62868 if test "x$ac_cv_func__powf" = x""yes; then :
62869 cat >>confdefs.h <<_ACEOF
62870 #define HAVE__POWF 1
62871 _ACEOF
62874 done
62883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62884 $as_echo_n "checking for sqrtf declaration... " >&6; }
62885 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62886 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62887 $as_echo_n "(cached) " >&6
62888 else
62891 ac_ext=cpp
62892 ac_cpp='$CXXCPP $CPPFLAGS'
62893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62898 /* end confdefs.h. */
62899 #include <math.h>
62900 #ifdef HAVE_IEEEFP_H
62901 #include <ieeefp.h>
62902 #endif
62905 main ()
62907 sqrtf(0);
62909 return 0;
62911 _ACEOF
62912 if ac_fn_cxx_try_compile "$LINENO"; then :
62913 glibcxx_cv_func_sqrtf_use=yes
62914 else
62915 glibcxx_cv_func_sqrtf_use=no
62917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62918 ac_ext=c
62919 ac_cpp='$CPP $CPPFLAGS'
62920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62929 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62931 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62932 for ac_func in sqrtf
62933 do :
62934 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62935 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62936 cat >>confdefs.h <<_ACEOF
62937 #define HAVE_SQRTF 1
62938 _ACEOF
62941 done
62943 else
62945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62946 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62947 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62948 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62949 $as_echo_n "(cached) " >&6
62950 else
62953 ac_ext=cpp
62954 ac_cpp='$CXXCPP $CPPFLAGS'
62955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62960 /* end confdefs.h. */
62961 #include <math.h>
62962 #ifdef HAVE_IEEEFP_H
62963 #include <ieeefp.h>
62964 #endif
62967 main ()
62969 _sqrtf(0);
62971 return 0;
62973 _ACEOF
62974 if ac_fn_cxx_try_compile "$LINENO"; then :
62975 glibcxx_cv_func__sqrtf_use=yes
62976 else
62977 glibcxx_cv_func__sqrtf_use=no
62979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62980 ac_ext=c
62981 ac_cpp='$CPP $CPPFLAGS'
62982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62991 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62993 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62994 for ac_func in _sqrtf
62995 do :
62996 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62997 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62998 cat >>confdefs.h <<_ACEOF
62999 #define HAVE__SQRTF 1
63000 _ACEOF
63003 done
63012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63013 $as_echo_n "checking for sincosf declaration... " >&6; }
63014 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63015 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63016 $as_echo_n "(cached) " >&6
63017 else
63020 ac_ext=cpp
63021 ac_cpp='$CXXCPP $CPPFLAGS'
63022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63027 /* end confdefs.h. */
63028 #include <math.h>
63030 main ()
63032 sincosf(0, 0, 0);
63034 return 0;
63036 _ACEOF
63037 if ac_fn_cxx_try_compile "$LINENO"; then :
63038 glibcxx_cv_func_sincosf_use=yes
63039 else
63040 glibcxx_cv_func_sincosf_use=no
63042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63043 ac_ext=c
63044 ac_cpp='$CPP $CPPFLAGS'
63045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63054 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63056 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63057 for ac_func in sincosf
63058 do :
63059 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63060 if test "x$ac_cv_func_sincosf" = x""yes; then :
63061 cat >>confdefs.h <<_ACEOF
63062 #define HAVE_SINCOSF 1
63063 _ACEOF
63066 done
63068 else
63070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63071 $as_echo_n "checking for _sincosf declaration... " >&6; }
63072 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63073 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63074 $as_echo_n "(cached) " >&6
63075 else
63078 ac_ext=cpp
63079 ac_cpp='$CXXCPP $CPPFLAGS'
63080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63085 /* end confdefs.h. */
63086 #include <math.h>
63088 main ()
63090 _sincosf(0, 0, 0);
63092 return 0;
63094 _ACEOF
63095 if ac_fn_cxx_try_compile "$LINENO"; then :
63096 glibcxx_cv_func__sincosf_use=yes
63097 else
63098 glibcxx_cv_func__sincosf_use=no
63100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63101 ac_ext=c
63102 ac_cpp='$CPP $CPPFLAGS'
63103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63112 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63114 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63115 for ac_func in _sincosf
63116 do :
63117 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63118 if test "x$ac_cv_func__sincosf" = x""yes; then :
63119 cat >>confdefs.h <<_ACEOF
63120 #define HAVE__SINCOSF 1
63121 _ACEOF
63124 done
63133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63134 $as_echo_n "checking for finitef declaration... " >&6; }
63135 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63136 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63137 $as_echo_n "(cached) " >&6
63138 else
63141 ac_ext=cpp
63142 ac_cpp='$CXXCPP $CPPFLAGS'
63143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63148 /* end confdefs.h. */
63149 #include <math.h>
63150 #ifdef HAVE_IEEEFP_H
63151 #include <ieeefp.h>
63152 #endif
63155 main ()
63157 finitef(0);
63159 return 0;
63161 _ACEOF
63162 if ac_fn_cxx_try_compile "$LINENO"; then :
63163 glibcxx_cv_func_finitef_use=yes
63164 else
63165 glibcxx_cv_func_finitef_use=no
63167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63168 ac_ext=c
63169 ac_cpp='$CPP $CPPFLAGS'
63170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63179 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63181 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63182 for ac_func in finitef
63183 do :
63184 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63185 if test "x$ac_cv_func_finitef" = x""yes; then :
63186 cat >>confdefs.h <<_ACEOF
63187 #define HAVE_FINITEF 1
63188 _ACEOF
63191 done
63193 else
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63196 $as_echo_n "checking for _finitef declaration... " >&6; }
63197 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63198 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63199 $as_echo_n "(cached) " >&6
63200 else
63203 ac_ext=cpp
63204 ac_cpp='$CXXCPP $CPPFLAGS'
63205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63210 /* end confdefs.h. */
63211 #include <math.h>
63212 #ifdef HAVE_IEEEFP_H
63213 #include <ieeefp.h>
63214 #endif
63217 main ()
63219 _finitef(0);
63221 return 0;
63223 _ACEOF
63224 if ac_fn_cxx_try_compile "$LINENO"; then :
63225 glibcxx_cv_func__finitef_use=yes
63226 else
63227 glibcxx_cv_func__finitef_use=no
63229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63230 ac_ext=c
63231 ac_cpp='$CPP $CPPFLAGS'
63232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63241 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63243 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63244 for ac_func in _finitef
63245 do :
63246 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63247 if test "x$ac_cv_func__finitef" = x""yes; then :
63248 cat >>confdefs.h <<_ACEOF
63249 #define HAVE__FINITEF 1
63250 _ACEOF
63253 done
63262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63263 $as_echo_n "checking for long double trig functions... " >&6; }
63264 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63265 $as_echo_n "(cached) " >&6
63266 else
63269 ac_ext=cpp
63270 ac_cpp='$CXXCPP $CPPFLAGS'
63271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63276 /* end confdefs.h. */
63277 #include <math.h>
63279 main ()
63281 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63283 return 0;
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func_long_double_trig_use=yes
63288 else
63289 glibcxx_cv_func_long_double_trig_use=no
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63301 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63302 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63303 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63304 do :
63305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63307 eval as_val=\$$as_ac_var
63308 if test "x$as_val" = x""yes; then :
63309 cat >>confdefs.h <<_ACEOF
63310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63311 _ACEOF
63314 done
63316 else
63317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63318 $as_echo_n "checking for _long double trig functions... " >&6; }
63319 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63320 $as_echo_n "(cached) " >&6
63321 else
63324 ac_ext=cpp
63325 ac_cpp='$CXXCPP $CPPFLAGS'
63326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63331 /* end confdefs.h. */
63332 #include <math.h>
63334 main ()
63336 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63338 return 0;
63340 _ACEOF
63341 if ac_fn_cxx_try_compile "$LINENO"; then :
63342 glibcxx_cv_func__long_double_trig_use=yes
63343 else
63344 glibcxx_cv_func__long_double_trig_use=no
63346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63347 ac_ext=c
63348 ac_cpp='$CPP $CPPFLAGS'
63349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63356 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63357 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63358 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63359 do :
63360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63362 eval as_val=\$$as_ac_var
63363 if test "x$as_val" = x""yes; then :
63364 cat >>confdefs.h <<_ACEOF
63365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63366 _ACEOF
63369 done
63378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63379 $as_echo_n "checking for long double round functions... " >&6; }
63380 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63381 $as_echo_n "(cached) " >&6
63382 else
63385 ac_ext=cpp
63386 ac_cpp='$CXXCPP $CPPFLAGS'
63387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63392 /* end confdefs.h. */
63393 #include <math.h>
63395 main ()
63397 ceill (0); floorl (0);
63399 return 0;
63401 _ACEOF
63402 if ac_fn_cxx_try_compile "$LINENO"; then :
63403 glibcxx_cv_func_long_double_round_use=yes
63404 else
63405 glibcxx_cv_func_long_double_round_use=no
63407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63408 ac_ext=c
63409 ac_cpp='$CPP $CPPFLAGS'
63410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63417 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63418 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63419 for ac_func in ceill floorl
63420 do :
63421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63423 eval as_val=\$$as_ac_var
63424 if test "x$as_val" = x""yes; then :
63425 cat >>confdefs.h <<_ACEOF
63426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63427 _ACEOF
63430 done
63432 else
63433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63434 $as_echo_n "checking for _long double round functions... " >&6; }
63435 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63436 $as_echo_n "(cached) " >&6
63437 else
63440 ac_ext=cpp
63441 ac_cpp='$CXXCPP $CPPFLAGS'
63442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63447 /* end confdefs.h. */
63448 #include <math.h>
63450 main ()
63452 _ceill (0); _floorl (0);
63454 return 0;
63456 _ACEOF
63457 if ac_fn_cxx_try_compile "$LINENO"; then :
63458 glibcxx_cv_func__long_double_round_use=yes
63459 else
63460 glibcxx_cv_func__long_double_round_use=no
63462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63463 ac_ext=c
63464 ac_cpp='$CPP $CPPFLAGS'
63465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63472 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63473 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63474 for ac_func in _ceill _floorl
63475 do :
63476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63478 eval as_val=\$$as_ac_var
63479 if test "x$as_val" = x""yes; then :
63480 cat >>confdefs.h <<_ACEOF
63481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63482 _ACEOF
63485 done
63495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63496 $as_echo_n "checking for isnanl declaration... " >&6; }
63497 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63498 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63499 $as_echo_n "(cached) " >&6
63500 else
63503 ac_ext=cpp
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63510 /* end confdefs.h. */
63511 #include <math.h>
63512 #ifdef HAVE_IEEEFP_H
63513 #include <ieeefp.h>
63514 #endif
63517 main ()
63519 isnanl(0);
63521 return 0;
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525 glibcxx_cv_func_isnanl_use=yes
63526 else
63527 glibcxx_cv_func_isnanl_use=no
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530 ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63541 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63543 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63544 for ac_func in isnanl
63545 do :
63546 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63547 if test "x$ac_cv_func_isnanl" = x""yes; then :
63548 cat >>confdefs.h <<_ACEOF
63549 #define HAVE_ISNANL 1
63550 _ACEOF
63553 done
63555 else
63557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63558 $as_echo_n "checking for _isnanl declaration... " >&6; }
63559 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63560 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63561 $as_echo_n "(cached) " >&6
63562 else
63565 ac_ext=cpp
63566 ac_cpp='$CXXCPP $CPPFLAGS'
63567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63572 /* end confdefs.h. */
63573 #include <math.h>
63574 #ifdef HAVE_IEEEFP_H
63575 #include <ieeefp.h>
63576 #endif
63579 main ()
63581 _isnanl(0);
63583 return 0;
63585 _ACEOF
63586 if ac_fn_cxx_try_compile "$LINENO"; then :
63587 glibcxx_cv_func__isnanl_use=yes
63588 else
63589 glibcxx_cv_func__isnanl_use=no
63591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63592 ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63603 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63605 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63606 for ac_func in _isnanl
63607 do :
63608 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63609 if test "x$ac_cv_func__isnanl" = x""yes; then :
63610 cat >>confdefs.h <<_ACEOF
63611 #define HAVE__ISNANL 1
63612 _ACEOF
63615 done
63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63625 $as_echo_n "checking for isinfl declaration... " >&6; }
63626 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63627 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63628 $as_echo_n "(cached) " >&6
63629 else
63632 ac_ext=cpp
63633 ac_cpp='$CXXCPP $CPPFLAGS'
63634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63639 /* end confdefs.h. */
63640 #include <math.h>
63641 #ifdef HAVE_IEEEFP_H
63642 #include <ieeefp.h>
63643 #endif
63646 main ()
63648 isinfl(0);
63650 return 0;
63652 _ACEOF
63653 if ac_fn_cxx_try_compile "$LINENO"; then :
63654 glibcxx_cv_func_isinfl_use=yes
63655 else
63656 glibcxx_cv_func_isinfl_use=no
63658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63659 ac_ext=c
63660 ac_cpp='$CPP $CPPFLAGS'
63661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63670 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63672 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63673 for ac_func in isinfl
63674 do :
63675 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63676 if test "x$ac_cv_func_isinfl" = x""yes; then :
63677 cat >>confdefs.h <<_ACEOF
63678 #define HAVE_ISINFL 1
63679 _ACEOF
63682 done
63684 else
63686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63687 $as_echo_n "checking for _isinfl declaration... " >&6; }
63688 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63689 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63690 $as_echo_n "(cached) " >&6
63691 else
63694 ac_ext=cpp
63695 ac_cpp='$CXXCPP $CPPFLAGS'
63696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63701 /* end confdefs.h. */
63702 #include <math.h>
63703 #ifdef HAVE_IEEEFP_H
63704 #include <ieeefp.h>
63705 #endif
63708 main ()
63710 _isinfl(0);
63712 return 0;
63714 _ACEOF
63715 if ac_fn_cxx_try_compile "$LINENO"; then :
63716 glibcxx_cv_func__isinfl_use=yes
63717 else
63718 glibcxx_cv_func__isinfl_use=no
63720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63721 ac_ext=c
63722 ac_cpp='$CPP $CPPFLAGS'
63723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63732 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63734 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63735 for ac_func in _isinfl
63736 do :
63737 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63738 if test "x$ac_cv_func__isinfl" = x""yes; then :
63739 cat >>confdefs.h <<_ACEOF
63740 #define HAVE__ISINFL 1
63741 _ACEOF
63744 done
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63754 $as_echo_n "checking for atan2l declaration... " >&6; }
63755 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63756 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63757 $as_echo_n "(cached) " >&6
63758 else
63761 ac_ext=cpp
63762 ac_cpp='$CXXCPP $CPPFLAGS'
63763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63768 /* end confdefs.h. */
63769 #include <math.h>
63771 main ()
63773 atan2l(0, 0);
63775 return 0;
63777 _ACEOF
63778 if ac_fn_cxx_try_compile "$LINENO"; then :
63779 glibcxx_cv_func_atan2l_use=yes
63780 else
63781 glibcxx_cv_func_atan2l_use=no
63783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63784 ac_ext=c
63785 ac_cpp='$CPP $CPPFLAGS'
63786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63795 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63797 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63798 for ac_func in atan2l
63799 do :
63800 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63801 if test "x$ac_cv_func_atan2l" = x""yes; then :
63802 cat >>confdefs.h <<_ACEOF
63803 #define HAVE_ATAN2L 1
63804 _ACEOF
63807 done
63809 else
63811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63812 $as_echo_n "checking for _atan2l declaration... " >&6; }
63813 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63814 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63815 $as_echo_n "(cached) " >&6
63816 else
63819 ac_ext=cpp
63820 ac_cpp='$CXXCPP $CPPFLAGS'
63821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63826 /* end confdefs.h. */
63827 #include <math.h>
63829 main ()
63831 _atan2l(0, 0);
63833 return 0;
63835 _ACEOF
63836 if ac_fn_cxx_try_compile "$LINENO"; then :
63837 glibcxx_cv_func__atan2l_use=yes
63838 else
63839 glibcxx_cv_func__atan2l_use=no
63841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63842 ac_ext=c
63843 ac_cpp='$CPP $CPPFLAGS'
63844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63853 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63855 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63856 for ac_func in _atan2l
63857 do :
63858 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63859 if test "x$ac_cv_func__atan2l" = x""yes; then :
63860 cat >>confdefs.h <<_ACEOF
63861 #define HAVE__ATAN2L 1
63862 _ACEOF
63865 done
63874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63875 $as_echo_n "checking for expl declaration... " >&6; }
63876 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63877 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63878 $as_echo_n "(cached) " >&6
63879 else
63882 ac_ext=cpp
63883 ac_cpp='$CXXCPP $CPPFLAGS'
63884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63889 /* end confdefs.h. */
63890 #include <math.h>
63891 #ifdef HAVE_IEEEFP_H
63892 #include <ieeefp.h>
63893 #endif
63896 main ()
63898 expl(0);
63900 return 0;
63902 _ACEOF
63903 if ac_fn_cxx_try_compile "$LINENO"; then :
63904 glibcxx_cv_func_expl_use=yes
63905 else
63906 glibcxx_cv_func_expl_use=no
63908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63909 ac_ext=c
63910 ac_cpp='$CPP $CPPFLAGS'
63911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63920 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63922 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63923 for ac_func in expl
63924 do :
63925 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63926 if test "x$ac_cv_func_expl" = x""yes; then :
63927 cat >>confdefs.h <<_ACEOF
63928 #define HAVE_EXPL 1
63929 _ACEOF
63932 done
63934 else
63936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63937 $as_echo_n "checking for _expl declaration... " >&6; }
63938 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63939 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63940 $as_echo_n "(cached) " >&6
63941 else
63944 ac_ext=cpp
63945 ac_cpp='$CXXCPP $CPPFLAGS'
63946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63951 /* end confdefs.h. */
63952 #include <math.h>
63953 #ifdef HAVE_IEEEFP_H
63954 #include <ieeefp.h>
63955 #endif
63958 main ()
63960 _expl(0);
63962 return 0;
63964 _ACEOF
63965 if ac_fn_cxx_try_compile "$LINENO"; then :
63966 glibcxx_cv_func__expl_use=yes
63967 else
63968 glibcxx_cv_func__expl_use=no
63970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63971 ac_ext=c
63972 ac_cpp='$CPP $CPPFLAGS'
63973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63982 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63984 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63985 for ac_func in _expl
63986 do :
63987 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63988 if test "x$ac_cv_func__expl" = x""yes; then :
63989 cat >>confdefs.h <<_ACEOF
63990 #define HAVE__EXPL 1
63991 _ACEOF
63994 done
64003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64004 $as_echo_n "checking for fabsl declaration... " >&6; }
64005 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64006 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64007 $as_echo_n "(cached) " >&6
64008 else
64011 ac_ext=cpp
64012 ac_cpp='$CXXCPP $CPPFLAGS'
64013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64018 /* end confdefs.h. */
64019 #include <math.h>
64020 #ifdef HAVE_IEEEFP_H
64021 #include <ieeefp.h>
64022 #endif
64025 main ()
64027 fabsl(0);
64029 return 0;
64031 _ACEOF
64032 if ac_fn_cxx_try_compile "$LINENO"; then :
64033 glibcxx_cv_func_fabsl_use=yes
64034 else
64035 glibcxx_cv_func_fabsl_use=no
64037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64038 ac_ext=c
64039 ac_cpp='$CPP $CPPFLAGS'
64040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64049 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64051 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64052 for ac_func in fabsl
64053 do :
64054 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64055 if test "x$ac_cv_func_fabsl" = x""yes; then :
64056 cat >>confdefs.h <<_ACEOF
64057 #define HAVE_FABSL 1
64058 _ACEOF
64061 done
64063 else
64065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64066 $as_echo_n "checking for _fabsl declaration... " >&6; }
64067 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64068 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64069 $as_echo_n "(cached) " >&6
64070 else
64073 ac_ext=cpp
64074 ac_cpp='$CXXCPP $CPPFLAGS'
64075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64080 /* end confdefs.h. */
64081 #include <math.h>
64082 #ifdef HAVE_IEEEFP_H
64083 #include <ieeefp.h>
64084 #endif
64087 main ()
64089 _fabsl(0);
64091 return 0;
64093 _ACEOF
64094 if ac_fn_cxx_try_compile "$LINENO"; then :
64095 glibcxx_cv_func__fabsl_use=yes
64096 else
64097 glibcxx_cv_func__fabsl_use=no
64099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64100 ac_ext=c
64101 ac_cpp='$CPP $CPPFLAGS'
64102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64111 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64113 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64114 for ac_func in _fabsl
64115 do :
64116 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64117 if test "x$ac_cv_func__fabsl" = x""yes; then :
64118 cat >>confdefs.h <<_ACEOF
64119 #define HAVE__FABSL 1
64120 _ACEOF
64123 done
64132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64133 $as_echo_n "checking for fmodl declaration... " >&6; }
64134 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64135 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64136 $as_echo_n "(cached) " >&6
64137 else
64140 ac_ext=cpp
64141 ac_cpp='$CXXCPP $CPPFLAGS'
64142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64147 /* end confdefs.h. */
64148 #include <math.h>
64150 main ()
64152 fmodl(0, 0);
64154 return 0;
64156 _ACEOF
64157 if ac_fn_cxx_try_compile "$LINENO"; then :
64158 glibcxx_cv_func_fmodl_use=yes
64159 else
64160 glibcxx_cv_func_fmodl_use=no
64162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64163 ac_ext=c
64164 ac_cpp='$CPP $CPPFLAGS'
64165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64174 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64176 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64177 for ac_func in fmodl
64178 do :
64179 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64180 if test "x$ac_cv_func_fmodl" = x""yes; then :
64181 cat >>confdefs.h <<_ACEOF
64182 #define HAVE_FMODL 1
64183 _ACEOF
64186 done
64188 else
64190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64191 $as_echo_n "checking for _fmodl declaration... " >&6; }
64192 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64193 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64194 $as_echo_n "(cached) " >&6
64195 else
64198 ac_ext=cpp
64199 ac_cpp='$CXXCPP $CPPFLAGS'
64200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64205 /* end confdefs.h. */
64206 #include <math.h>
64208 main ()
64210 _fmodl(0, 0);
64212 return 0;
64214 _ACEOF
64215 if ac_fn_cxx_try_compile "$LINENO"; then :
64216 glibcxx_cv_func__fmodl_use=yes
64217 else
64218 glibcxx_cv_func__fmodl_use=no
64220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64221 ac_ext=c
64222 ac_cpp='$CPP $CPPFLAGS'
64223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64232 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64234 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64235 for ac_func in _fmodl
64236 do :
64237 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64238 if test "x$ac_cv_func__fmodl" = x""yes; then :
64239 cat >>confdefs.h <<_ACEOF
64240 #define HAVE__FMODL 1
64241 _ACEOF
64244 done
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64254 $as_echo_n "checking for frexpl declaration... " >&6; }
64255 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64256 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64257 $as_echo_n "(cached) " >&6
64258 else
64261 ac_ext=cpp
64262 ac_cpp='$CXXCPP $CPPFLAGS'
64263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64268 /* end confdefs.h. */
64269 #include <math.h>
64271 main ()
64273 frexpl(0, 0);
64275 return 0;
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func_frexpl_use=yes
64280 else
64281 glibcxx_cv_func_frexpl_use=no
64283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64284 ac_ext=c
64285 ac_cpp='$CPP $CPPFLAGS'
64286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64295 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64297 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64298 for ac_func in frexpl
64299 do :
64300 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64301 if test "x$ac_cv_func_frexpl" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE_FREXPL 1
64304 _ACEOF
64307 done
64309 else
64311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64312 $as_echo_n "checking for _frexpl declaration... " >&6; }
64313 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64314 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64315 $as_echo_n "(cached) " >&6
64316 else
64319 ac_ext=cpp
64320 ac_cpp='$CXXCPP $CPPFLAGS'
64321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64326 /* end confdefs.h. */
64327 #include <math.h>
64329 main ()
64331 _frexpl(0, 0);
64333 return 0;
64335 _ACEOF
64336 if ac_fn_cxx_try_compile "$LINENO"; then :
64337 glibcxx_cv_func__frexpl_use=yes
64338 else
64339 glibcxx_cv_func__frexpl_use=no
64341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64342 ac_ext=c
64343 ac_cpp='$CPP $CPPFLAGS'
64344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64353 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64355 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64356 for ac_func in _frexpl
64357 do :
64358 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64359 if test "x$ac_cv_func__frexpl" = x""yes; then :
64360 cat >>confdefs.h <<_ACEOF
64361 #define HAVE__FREXPL 1
64362 _ACEOF
64365 done
64374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64375 $as_echo_n "checking for hypotl declaration... " >&6; }
64376 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64377 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64378 $as_echo_n "(cached) " >&6
64379 else
64382 ac_ext=cpp
64383 ac_cpp='$CXXCPP $CPPFLAGS'
64384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h. */
64390 #include <math.h>
64392 main ()
64394 hypotl(0, 0);
64396 return 0;
64398 _ACEOF
64399 if ac_fn_cxx_try_compile "$LINENO"; then :
64400 glibcxx_cv_func_hypotl_use=yes
64401 else
64402 glibcxx_cv_func_hypotl_use=no
64404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64405 ac_ext=c
64406 ac_cpp='$CPP $CPPFLAGS'
64407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64416 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64418 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64419 for ac_func in hypotl
64420 do :
64421 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64422 if test "x$ac_cv_func_hypotl" = x""yes; then :
64423 cat >>confdefs.h <<_ACEOF
64424 #define HAVE_HYPOTL 1
64425 _ACEOF
64428 done
64430 else
64432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64433 $as_echo_n "checking for _hypotl declaration... " >&6; }
64434 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64435 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64436 $as_echo_n "(cached) " >&6
64437 else
64440 ac_ext=cpp
64441 ac_cpp='$CXXCPP $CPPFLAGS'
64442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64447 /* end confdefs.h. */
64448 #include <math.h>
64450 main ()
64452 _hypotl(0, 0);
64454 return 0;
64456 _ACEOF
64457 if ac_fn_cxx_try_compile "$LINENO"; then :
64458 glibcxx_cv_func__hypotl_use=yes
64459 else
64460 glibcxx_cv_func__hypotl_use=no
64462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64463 ac_ext=c
64464 ac_cpp='$CPP $CPPFLAGS'
64465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64474 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64476 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64477 for ac_func in _hypotl
64478 do :
64479 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64480 if test "x$ac_cv_func__hypotl" = x""yes; then :
64481 cat >>confdefs.h <<_ACEOF
64482 #define HAVE__HYPOTL 1
64483 _ACEOF
64486 done
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64496 $as_echo_n "checking for ldexpl declaration... " >&6; }
64497 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64498 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64499 $as_echo_n "(cached) " >&6
64500 else
64503 ac_ext=cpp
64504 ac_cpp='$CXXCPP $CPPFLAGS'
64505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64510 /* end confdefs.h. */
64511 #include <math.h>
64513 main ()
64515 ldexpl(0, 0);
64517 return 0;
64519 _ACEOF
64520 if ac_fn_cxx_try_compile "$LINENO"; then :
64521 glibcxx_cv_func_ldexpl_use=yes
64522 else
64523 glibcxx_cv_func_ldexpl_use=no
64525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64526 ac_ext=c
64527 ac_cpp='$CPP $CPPFLAGS'
64528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64537 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64539 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64540 for ac_func in ldexpl
64541 do :
64542 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64543 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64544 cat >>confdefs.h <<_ACEOF
64545 #define HAVE_LDEXPL 1
64546 _ACEOF
64549 done
64551 else
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64554 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64555 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64556 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64557 $as_echo_n "(cached) " >&6
64558 else
64561 ac_ext=cpp
64562 ac_cpp='$CXXCPP $CPPFLAGS'
64563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64568 /* end confdefs.h. */
64569 #include <math.h>
64571 main ()
64573 _ldexpl(0, 0);
64575 return 0;
64577 _ACEOF
64578 if ac_fn_cxx_try_compile "$LINENO"; then :
64579 glibcxx_cv_func__ldexpl_use=yes
64580 else
64581 glibcxx_cv_func__ldexpl_use=no
64583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64584 ac_ext=c
64585 ac_cpp='$CPP $CPPFLAGS'
64586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64595 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64597 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64598 for ac_func in _ldexpl
64599 do :
64600 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64601 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64602 cat >>confdefs.h <<_ACEOF
64603 #define HAVE__LDEXPL 1
64604 _ACEOF
64607 done
64616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64617 $as_echo_n "checking for logl declaration... " >&6; }
64618 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64619 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64620 $as_echo_n "(cached) " >&6
64621 else
64624 ac_ext=cpp
64625 ac_cpp='$CXXCPP $CPPFLAGS'
64626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64631 /* end confdefs.h. */
64632 #include <math.h>
64633 #ifdef HAVE_IEEEFP_H
64634 #include <ieeefp.h>
64635 #endif
64638 main ()
64640 logl(0);
64642 return 0;
64644 _ACEOF
64645 if ac_fn_cxx_try_compile "$LINENO"; then :
64646 glibcxx_cv_func_logl_use=yes
64647 else
64648 glibcxx_cv_func_logl_use=no
64650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64651 ac_ext=c
64652 ac_cpp='$CPP $CPPFLAGS'
64653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64662 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64664 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64665 for ac_func in logl
64666 do :
64667 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64668 if test "x$ac_cv_func_logl" = x""yes; then :
64669 cat >>confdefs.h <<_ACEOF
64670 #define HAVE_LOGL 1
64671 _ACEOF
64674 done
64676 else
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64679 $as_echo_n "checking for _logl declaration... " >&6; }
64680 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64681 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64682 $as_echo_n "(cached) " >&6
64683 else
64686 ac_ext=cpp
64687 ac_cpp='$CXXCPP $CPPFLAGS'
64688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64693 /* end confdefs.h. */
64694 #include <math.h>
64695 #ifdef HAVE_IEEEFP_H
64696 #include <ieeefp.h>
64697 #endif
64700 main ()
64702 _logl(0);
64704 return 0;
64706 _ACEOF
64707 if ac_fn_cxx_try_compile "$LINENO"; then :
64708 glibcxx_cv_func__logl_use=yes
64709 else
64710 glibcxx_cv_func__logl_use=no
64712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64713 ac_ext=c
64714 ac_cpp='$CPP $CPPFLAGS'
64715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64724 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64726 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64727 for ac_func in _logl
64728 do :
64729 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64730 if test "x$ac_cv_func__logl" = x""yes; then :
64731 cat >>confdefs.h <<_ACEOF
64732 #define HAVE__LOGL 1
64733 _ACEOF
64736 done
64745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64746 $as_echo_n "checking for log10l declaration... " >&6; }
64747 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64748 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64749 $as_echo_n "(cached) " >&6
64750 else
64753 ac_ext=cpp
64754 ac_cpp='$CXXCPP $CPPFLAGS'
64755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64760 /* end confdefs.h. */
64761 #include <math.h>
64762 #ifdef HAVE_IEEEFP_H
64763 #include <ieeefp.h>
64764 #endif
64767 main ()
64769 log10l(0);
64771 return 0;
64773 _ACEOF
64774 if ac_fn_cxx_try_compile "$LINENO"; then :
64775 glibcxx_cv_func_log10l_use=yes
64776 else
64777 glibcxx_cv_func_log10l_use=no
64779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64780 ac_ext=c
64781 ac_cpp='$CPP $CPPFLAGS'
64782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64791 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64793 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64794 for ac_func in log10l
64795 do :
64796 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64797 if test "x$ac_cv_func_log10l" = x""yes; then :
64798 cat >>confdefs.h <<_ACEOF
64799 #define HAVE_LOG10L 1
64800 _ACEOF
64803 done
64805 else
64807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64808 $as_echo_n "checking for _log10l declaration... " >&6; }
64809 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64810 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64811 $as_echo_n "(cached) " >&6
64812 else
64815 ac_ext=cpp
64816 ac_cpp='$CXXCPP $CPPFLAGS'
64817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64822 /* end confdefs.h. */
64823 #include <math.h>
64824 #ifdef HAVE_IEEEFP_H
64825 #include <ieeefp.h>
64826 #endif
64829 main ()
64831 _log10l(0);
64833 return 0;
64835 _ACEOF
64836 if ac_fn_cxx_try_compile "$LINENO"; then :
64837 glibcxx_cv_func__log10l_use=yes
64838 else
64839 glibcxx_cv_func__log10l_use=no
64841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64842 ac_ext=c
64843 ac_cpp='$CPP $CPPFLAGS'
64844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64853 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64855 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64856 for ac_func in _log10l
64857 do :
64858 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64859 if test "x$ac_cv_func__log10l" = x""yes; then :
64860 cat >>confdefs.h <<_ACEOF
64861 #define HAVE__LOG10L 1
64862 _ACEOF
64865 done
64874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64875 $as_echo_n "checking for modfl declaration... " >&6; }
64876 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64877 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64878 $as_echo_n "(cached) " >&6
64879 else
64882 ac_ext=cpp
64883 ac_cpp='$CXXCPP $CPPFLAGS'
64884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64889 /* end confdefs.h. */
64890 #include <math.h>
64892 main ()
64894 modfl(0, 0);
64896 return 0;
64898 _ACEOF
64899 if ac_fn_cxx_try_compile "$LINENO"; then :
64900 glibcxx_cv_func_modfl_use=yes
64901 else
64902 glibcxx_cv_func_modfl_use=no
64904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64905 ac_ext=c
64906 ac_cpp='$CPP $CPPFLAGS'
64907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64916 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64918 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64919 for ac_func in modfl
64920 do :
64921 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64922 if test "x$ac_cv_func_modfl" = x""yes; then :
64923 cat >>confdefs.h <<_ACEOF
64924 #define HAVE_MODFL 1
64925 _ACEOF
64928 done
64930 else
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64933 $as_echo_n "checking for _modfl declaration... " >&6; }
64934 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64935 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64936 $as_echo_n "(cached) " >&6
64937 else
64940 ac_ext=cpp
64941 ac_cpp='$CXXCPP $CPPFLAGS'
64942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64947 /* end confdefs.h. */
64948 #include <math.h>
64950 main ()
64952 _modfl(0, 0);
64954 return 0;
64956 _ACEOF
64957 if ac_fn_cxx_try_compile "$LINENO"; then :
64958 glibcxx_cv_func__modfl_use=yes
64959 else
64960 glibcxx_cv_func__modfl_use=no
64962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64963 ac_ext=c
64964 ac_cpp='$CPP $CPPFLAGS'
64965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64974 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64976 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64977 for ac_func in _modfl
64978 do :
64979 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64980 if test "x$ac_cv_func__modfl" = x""yes; then :
64981 cat >>confdefs.h <<_ACEOF
64982 #define HAVE__MODFL 1
64983 _ACEOF
64986 done
64995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64996 $as_echo_n "checking for powl declaration... " >&6; }
64997 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64998 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64999 $as_echo_n "(cached) " >&6
65000 else
65003 ac_ext=cpp
65004 ac_cpp='$CXXCPP $CPPFLAGS'
65005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65010 /* end confdefs.h. */
65011 #include <math.h>
65013 main ()
65015 powl(0, 0);
65017 return 0;
65019 _ACEOF
65020 if ac_fn_cxx_try_compile "$LINENO"; then :
65021 glibcxx_cv_func_powl_use=yes
65022 else
65023 glibcxx_cv_func_powl_use=no
65025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65026 ac_ext=c
65027 ac_cpp='$CPP $CPPFLAGS'
65028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65037 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65039 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65040 for ac_func in powl
65041 do :
65042 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65043 if test "x$ac_cv_func_powl" = x""yes; then :
65044 cat >>confdefs.h <<_ACEOF
65045 #define HAVE_POWL 1
65046 _ACEOF
65049 done
65051 else
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65054 $as_echo_n "checking for _powl declaration... " >&6; }
65055 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65056 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65057 $as_echo_n "(cached) " >&6
65058 else
65061 ac_ext=cpp
65062 ac_cpp='$CXXCPP $CPPFLAGS'
65063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65068 /* end confdefs.h. */
65069 #include <math.h>
65071 main ()
65073 _powl(0, 0);
65075 return 0;
65077 _ACEOF
65078 if ac_fn_cxx_try_compile "$LINENO"; then :
65079 glibcxx_cv_func__powl_use=yes
65080 else
65081 glibcxx_cv_func__powl_use=no
65083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65084 ac_ext=c
65085 ac_cpp='$CPP $CPPFLAGS'
65086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65095 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65097 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65098 for ac_func in _powl
65099 do :
65100 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65101 if test "x$ac_cv_func__powl" = x""yes; then :
65102 cat >>confdefs.h <<_ACEOF
65103 #define HAVE__POWL 1
65104 _ACEOF
65107 done
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65117 $as_echo_n "checking for sqrtl declaration... " >&6; }
65118 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65119 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65120 $as_echo_n "(cached) " >&6
65121 else
65124 ac_ext=cpp
65125 ac_cpp='$CXXCPP $CPPFLAGS'
65126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65131 /* end confdefs.h. */
65132 #include <math.h>
65133 #ifdef HAVE_IEEEFP_H
65134 #include <ieeefp.h>
65135 #endif
65138 main ()
65140 sqrtl(0);
65142 return 0;
65144 _ACEOF
65145 if ac_fn_cxx_try_compile "$LINENO"; then :
65146 glibcxx_cv_func_sqrtl_use=yes
65147 else
65148 glibcxx_cv_func_sqrtl_use=no
65150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65151 ac_ext=c
65152 ac_cpp='$CPP $CPPFLAGS'
65153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65162 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65164 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65165 for ac_func in sqrtl
65166 do :
65167 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65168 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65169 cat >>confdefs.h <<_ACEOF
65170 #define HAVE_SQRTL 1
65171 _ACEOF
65174 done
65176 else
65178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65179 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65180 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65181 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65182 $as_echo_n "(cached) " >&6
65183 else
65186 ac_ext=cpp
65187 ac_cpp='$CXXCPP $CPPFLAGS'
65188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65193 /* end confdefs.h. */
65194 #include <math.h>
65195 #ifdef HAVE_IEEEFP_H
65196 #include <ieeefp.h>
65197 #endif
65200 main ()
65202 _sqrtl(0);
65204 return 0;
65206 _ACEOF
65207 if ac_fn_cxx_try_compile "$LINENO"; then :
65208 glibcxx_cv_func__sqrtl_use=yes
65209 else
65210 glibcxx_cv_func__sqrtl_use=no
65212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65213 ac_ext=c
65214 ac_cpp='$CPP $CPPFLAGS'
65215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65224 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65226 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65227 for ac_func in _sqrtl
65228 do :
65229 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65230 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65231 cat >>confdefs.h <<_ACEOF
65232 #define HAVE__SQRTL 1
65233 _ACEOF
65236 done
65245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65246 $as_echo_n "checking for sincosl declaration... " >&6; }
65247 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65248 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65249 $as_echo_n "(cached) " >&6
65250 else
65253 ac_ext=cpp
65254 ac_cpp='$CXXCPP $CPPFLAGS'
65255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65260 /* end confdefs.h. */
65261 #include <math.h>
65263 main ()
65265 sincosl(0, 0, 0);
65267 return 0;
65269 _ACEOF
65270 if ac_fn_cxx_try_compile "$LINENO"; then :
65271 glibcxx_cv_func_sincosl_use=yes
65272 else
65273 glibcxx_cv_func_sincosl_use=no
65275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65276 ac_ext=c
65277 ac_cpp='$CPP $CPPFLAGS'
65278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65287 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65289 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65290 for ac_func in sincosl
65291 do :
65292 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65293 if test "x$ac_cv_func_sincosl" = x""yes; then :
65294 cat >>confdefs.h <<_ACEOF
65295 #define HAVE_SINCOSL 1
65296 _ACEOF
65299 done
65301 else
65303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65304 $as_echo_n "checking for _sincosl declaration... " >&6; }
65305 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65306 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65307 $as_echo_n "(cached) " >&6
65308 else
65311 ac_ext=cpp
65312 ac_cpp='$CXXCPP $CPPFLAGS'
65313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65318 /* end confdefs.h. */
65319 #include <math.h>
65321 main ()
65323 _sincosl(0, 0, 0);
65325 return 0;
65327 _ACEOF
65328 if ac_fn_cxx_try_compile "$LINENO"; then :
65329 glibcxx_cv_func__sincosl_use=yes
65330 else
65331 glibcxx_cv_func__sincosl_use=no
65333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65334 ac_ext=c
65335 ac_cpp='$CPP $CPPFLAGS'
65336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65345 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65347 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65348 for ac_func in _sincosl
65349 do :
65350 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65351 if test "x$ac_cv_func__sincosl" = x""yes; then :
65352 cat >>confdefs.h <<_ACEOF
65353 #define HAVE__SINCOSL 1
65354 _ACEOF
65357 done
65366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65367 $as_echo_n "checking for finitel declaration... " >&6; }
65368 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65369 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65370 $as_echo_n "(cached) " >&6
65371 else
65374 ac_ext=cpp
65375 ac_cpp='$CXXCPP $CPPFLAGS'
65376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65381 /* end confdefs.h. */
65382 #include <math.h>
65383 #ifdef HAVE_IEEEFP_H
65384 #include <ieeefp.h>
65385 #endif
65388 main ()
65390 finitel(0);
65392 return 0;
65394 _ACEOF
65395 if ac_fn_cxx_try_compile "$LINENO"; then :
65396 glibcxx_cv_func_finitel_use=yes
65397 else
65398 glibcxx_cv_func_finitel_use=no
65400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65401 ac_ext=c
65402 ac_cpp='$CPP $CPPFLAGS'
65403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65412 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65414 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65415 for ac_func in finitel
65416 do :
65417 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65418 if test "x$ac_cv_func_finitel" = x""yes; then :
65419 cat >>confdefs.h <<_ACEOF
65420 #define HAVE_FINITEL 1
65421 _ACEOF
65424 done
65426 else
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65429 $as_echo_n "checking for _finitel declaration... " >&6; }
65430 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65431 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65432 $as_echo_n "(cached) " >&6
65433 else
65436 ac_ext=cpp
65437 ac_cpp='$CXXCPP $CPPFLAGS'
65438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65443 /* end confdefs.h. */
65444 #include <math.h>
65445 #ifdef HAVE_IEEEFP_H
65446 #include <ieeefp.h>
65447 #endif
65450 main ()
65452 _finitel(0);
65454 return 0;
65456 _ACEOF
65457 if ac_fn_cxx_try_compile "$LINENO"; then :
65458 glibcxx_cv_func__finitel_use=yes
65459 else
65460 glibcxx_cv_func__finitel_use=no
65462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65463 ac_ext=c
65464 ac_cpp='$CPP $CPPFLAGS'
65465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65474 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65476 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65477 for ac_func in _finitel
65478 do :
65479 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65480 if test "x$ac_cv_func__finitel" = x""yes; then :
65481 cat >>confdefs.h <<_ACEOF
65482 #define HAVE__FINITEL 1
65483 _ACEOF
65486 done
65494 LIBS="$ac_save_LIBS"
65495 CXXFLAGS="$ac_save_CXXFLAGS"
65498 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65499 ac_save_CXXFLAGS="$CXXFLAGS"
65500 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65504 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65505 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65506 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65507 $as_echo_n "(cached) " >&6
65508 else
65511 ac_ext=cpp
65512 ac_cpp='$CXXCPP $CPPFLAGS'
65513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65518 /* end confdefs.h. */
65519 #include <stdlib.h>
65521 main ()
65523 at_quick_exit(0);
65525 return 0;
65527 _ACEOF
65528 if ac_fn_cxx_try_compile "$LINENO"; then :
65529 glibcxx_cv_func_at_quick_exit_use=yes
65530 else
65531 glibcxx_cv_func_at_quick_exit_use=no
65533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65534 ac_ext=c
65535 ac_cpp='$CPP $CPPFLAGS'
65536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65545 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65546 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65547 for ac_func in at_quick_exit
65548 do :
65549 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65550 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65551 cat >>confdefs.h <<_ACEOF
65552 #define HAVE_AT_QUICK_EXIT 1
65553 _ACEOF
65556 done
65561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65562 $as_echo_n "checking for quick_exit declaration... " >&6; }
65563 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65564 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65565 $as_echo_n "(cached) " >&6
65566 else
65569 ac_ext=cpp
65570 ac_cpp='$CXXCPP $CPPFLAGS'
65571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65576 /* end confdefs.h. */
65577 #include <stdlib.h>
65579 main ()
65581 quick_exit(0);
65583 return 0;
65585 _ACEOF
65586 if ac_fn_cxx_try_compile "$LINENO"; then :
65587 glibcxx_cv_func_quick_exit_use=yes
65588 else
65589 glibcxx_cv_func_quick_exit_use=no
65591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65592 ac_ext=c
65593 ac_cpp='$CPP $CPPFLAGS'
65594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65603 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65604 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65605 for ac_func in quick_exit
65606 do :
65607 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65608 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65609 cat >>confdefs.h <<_ACEOF
65610 #define HAVE_QUICK_EXIT 1
65611 _ACEOF
65614 done
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65620 $as_echo_n "checking for strtold declaration... " >&6; }
65621 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65622 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65623 $as_echo_n "(cached) " >&6
65624 else
65627 ac_ext=cpp
65628 ac_cpp='$CXXCPP $CPPFLAGS'
65629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65634 /* end confdefs.h. */
65635 #include <stdlib.h>
65637 main ()
65639 strtold(0, 0);
65641 return 0;
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func_strtold_use=yes
65646 else
65647 glibcxx_cv_func_strtold_use=no
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65661 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65662 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65663 for ac_func in strtold
65664 do :
65665 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65666 if test "x$ac_cv_func_strtold" = x""yes; then :
65667 cat >>confdefs.h <<_ACEOF
65668 #define HAVE_STRTOLD 1
65669 _ACEOF
65672 done
65679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65680 $as_echo_n "checking for strtof declaration... " >&6; }
65681 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65682 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65683 $as_echo_n "(cached) " >&6
65684 else
65687 ac_ext=cpp
65688 ac_cpp='$CXXCPP $CPPFLAGS'
65689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65694 /* end confdefs.h. */
65695 #include <stdlib.h>
65697 main ()
65699 strtof(0, 0);
65701 return 0;
65703 _ACEOF
65704 if ac_fn_cxx_try_compile "$LINENO"; then :
65705 glibcxx_cv_func_strtof_use=yes
65706 else
65707 glibcxx_cv_func_strtof_use=no
65709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65710 ac_ext=c
65711 ac_cpp='$CPP $CPPFLAGS'
65712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65721 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65722 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65723 for ac_func in strtof
65724 do :
65725 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65726 if test "x$ac_cv_func_strtof" = x""yes; then :
65727 cat >>confdefs.h <<_ACEOF
65728 #define HAVE_STRTOF 1
65729 _ACEOF
65732 done
65739 CXXFLAGS="$ac_save_CXXFLAGS"
65742 *-netbsd*)
65743 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65746 # If we're not using GNU ld, then there's no point in even trying these
65747 # tests. Check for that first. We should have already tested for gld
65748 # by now (in libtool), but require it now just to be safe...
65749 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65750 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65754 # The name set by libtool depends on the version of libtool. Shame on us
65755 # for depending on an impl detail, but c'est la vie. Older versions used
65756 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65757 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65758 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65759 # set (hence we're using an older libtool), then set it.
65760 if test x${with_gnu_ld+set} != xset; then
65761 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65762 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65763 with_gnu_ld=no
65764 else
65765 with_gnu_ld=$ac_cv_prog_gnu_ld
65769 # Start by getting the version number. I think the libtool test already
65770 # does some of this, but throws away the result.
65771 glibcxx_ld_is_gold=no
65772 if test x"$with_gnu_ld" = x"yes"; then
65773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65774 $as_echo_n "checking for ld version... " >&6; }
65776 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65777 glibcxx_ld_is_gold=yes
65779 ldver=`$LD --version 2>/dev/null |
65780 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'`
65782 glibcxx_gnu_ld_version=`echo $ldver | \
65783 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65785 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65788 # Set --gc-sections.
65789 glibcxx_have_gc_sections=no
65790 if test "$glibcxx_ld_is_gold" = "yes"; then
65791 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65792 glibcxx_have_gc_sections=yes
65794 else
65795 glibcxx_gcsections_min_ld=21602
65796 if test x"$with_gnu_ld" = x"yes" &&
65797 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65798 glibcxx_have_gc_sections=yes
65801 if test "$glibcxx_have_gc_sections" = "yes"; then
65802 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65803 # NB: This flag only works reliably after 2.16.1. Configure tests
65804 # for this are difficult, so hard wire a value that should work.
65806 ac_test_CFLAGS="${CFLAGS+set}"
65807 ac_save_CFLAGS="$CFLAGS"
65808 CFLAGS='-Wl,--gc-sections'
65810 # Check for -Wl,--gc-sections
65811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65812 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65813 if test x$gcc_no_link = xyes; then
65814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65817 /* end confdefs.h. */
65818 int one(void) { return 1; }
65819 int two(void) { return 2; }
65822 main ()
65824 two();
65826 return 0;
65828 _ACEOF
65829 if ac_fn_c_try_link "$LINENO"; then :
65830 ac_gcsections=yes
65831 else
65832 ac_gcsections=no
65834 rm -f core conftest.err conftest.$ac_objext \
65835 conftest$ac_exeext conftest.$ac_ext
65836 if test "$ac_gcsections" = "yes"; then
65837 rm -f conftest.c
65838 touch conftest.c
65839 if $CC -c conftest.c; then
65840 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65841 grep "Warning: gc-sections option ignored" > /dev/null; then
65842 ac_gcsections=no
65845 rm -f conftest.c conftest.o conftest
65847 if test "$ac_gcsections" = "yes"; then
65848 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65851 $as_echo "$ac_gcsections" >&6; }
65853 if test "$ac_test_CFLAGS" = set; then
65854 CFLAGS="$ac_save_CFLAGS"
65855 else
65856 # this is the suspicious part
65857 CFLAGS=''
65861 # Set -z,relro.
65862 # Note this is only for shared objects.
65863 ac_ld_relro=no
65864 if test x"$with_gnu_ld" = x"yes"; then
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65866 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65867 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65868 if test -n "$cxx_z_relo"; then
65869 OPT_LDFLAGS="-Wl,-z,relro"
65870 ac_ld_relro=yes
65872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65873 $as_echo "$ac_ld_relro" >&6; }
65876 # Set linker optimization flags.
65877 if test x"$with_gnu_ld" = x"yes"; then
65878 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65884 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65886 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65888 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65890 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65892 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65894 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65896 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65898 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65900 if test x"long_double_math_on_this_cpu" = x"yes"; then
65901 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65903 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65905 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65909 *-qnx6.1* | *-qnx6.2*)
65910 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65913 # If we're not using GNU ld, then there's no point in even trying these
65914 # tests. Check for that first. We should have already tested for gld
65915 # by now (in libtool), but require it now just to be safe...
65916 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65917 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65921 # The name set by libtool depends on the version of libtool. Shame on us
65922 # for depending on an impl detail, but c'est la vie. Older versions used
65923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65926 # set (hence we're using an older libtool), then set it.
65927 if test x${with_gnu_ld+set} != xset; then
65928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65930 with_gnu_ld=no
65931 else
65932 with_gnu_ld=$ac_cv_prog_gnu_ld
65936 # Start by getting the version number. I think the libtool test already
65937 # does some of this, but throws away the result.
65938 glibcxx_ld_is_gold=no
65939 if test x"$with_gnu_ld" = x"yes"; then
65940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65941 $as_echo_n "checking for ld version... " >&6; }
65943 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65944 glibcxx_ld_is_gold=yes
65946 ldver=`$LD --version 2>/dev/null |
65947 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'`
65949 glibcxx_gnu_ld_version=`echo $ldver | \
65950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65955 # Set --gc-sections.
65956 glibcxx_have_gc_sections=no
65957 if test "$glibcxx_ld_is_gold" = "yes"; then
65958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65959 glibcxx_have_gc_sections=yes
65961 else
65962 glibcxx_gcsections_min_ld=21602
65963 if test x"$with_gnu_ld" = x"yes" &&
65964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65965 glibcxx_have_gc_sections=yes
65968 if test "$glibcxx_have_gc_sections" = "yes"; then
65969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65970 # NB: This flag only works reliably after 2.16.1. Configure tests
65971 # for this are difficult, so hard wire a value that should work.
65973 ac_test_CFLAGS="${CFLAGS+set}"
65974 ac_save_CFLAGS="$CFLAGS"
65975 CFLAGS='-Wl,--gc-sections'
65977 # Check for -Wl,--gc-sections
65978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65980 if test x$gcc_no_link = xyes; then
65981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65984 /* end confdefs.h. */
65985 int one(void) { return 1; }
65986 int two(void) { return 2; }
65989 main ()
65991 two();
65993 return 0;
65995 _ACEOF
65996 if ac_fn_c_try_link "$LINENO"; then :
65997 ac_gcsections=yes
65998 else
65999 ac_gcsections=no
66001 rm -f core conftest.err conftest.$ac_objext \
66002 conftest$ac_exeext conftest.$ac_ext
66003 if test "$ac_gcsections" = "yes"; then
66004 rm -f conftest.c
66005 touch conftest.c
66006 if $CC -c conftest.c; then
66007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66008 grep "Warning: gc-sections option ignored" > /dev/null; then
66009 ac_gcsections=no
66012 rm -f conftest.c conftest.o conftest
66014 if test "$ac_gcsections" = "yes"; then
66015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66018 $as_echo "$ac_gcsections" >&6; }
66020 if test "$ac_test_CFLAGS" = set; then
66021 CFLAGS="$ac_save_CFLAGS"
66022 else
66023 # this is the suspicious part
66024 CFLAGS=''
66028 # Set -z,relro.
66029 # Note this is only for shared objects.
66030 ac_ld_relro=no
66031 if test x"$with_gnu_ld" = x"yes"; then
66032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66034 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66035 if test -n "$cxx_z_relo"; then
66036 OPT_LDFLAGS="-Wl,-z,relro"
66037 ac_ld_relro=yes
66039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66040 $as_echo "$ac_ld_relro" >&6; }
66043 # Set linker optimization flags.
66044 if test x"$with_gnu_ld" = x"yes"; then
66045 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66051 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66053 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66055 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66057 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66059 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66061 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66063 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66065 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66067 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66069 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66071 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66073 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66076 *-rtems*)
66078 # All these tests are for C++; save the language and the compiler flags.
66079 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66080 # found in GLIBCXX_CONFIGURE.
66082 ac_ext=cpp
66083 ac_cpp='$CXXCPP $CPPFLAGS'
66084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66088 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66089 ac_save_CXXFLAGS="$CXXFLAGS"
66091 # Check for maintainer-mode bits.
66092 if test x"$USE_MAINTAINER_MODE" = xno; then
66093 WERROR=''
66094 else
66095 WERROR='-Werror'
66098 # Check for -ffunction-sections -fdata-sections
66099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66100 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66101 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66103 /* end confdefs.h. */
66104 int foo; void bar() { };
66106 main ()
66110 return 0;
66112 _ACEOF
66113 if ac_fn_cxx_try_compile "$LINENO"; then :
66114 ac_fdsections=yes
66115 else
66116 ac_fdsections=no
66118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66119 if test "$ac_test_CXXFLAGS" = set; then
66120 CXXFLAGS="$ac_save_CXXFLAGS"
66121 else
66122 # this is the suspicious part
66123 CXXFLAGS=''
66125 if test x"$ac_fdsections" = x"yes"; then
66126 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66129 $as_echo "$ac_fdsections" >&6; }
66131 ac_ext=c
66132 ac_cpp='$CPP $CPPFLAGS'
66133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66141 # If we're not using GNU ld, then there's no point in even trying these
66142 # tests. Check for that first. We should have already tested for gld
66143 # by now (in libtool), but require it now just to be safe...
66144 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66145 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66149 # The name set by libtool depends on the version of libtool. Shame on us
66150 # for depending on an impl detail, but c'est la vie. Older versions used
66151 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66152 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66153 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66154 # set (hence we're using an older libtool), then set it.
66155 if test x${with_gnu_ld+set} != xset; then
66156 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66157 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66158 with_gnu_ld=no
66159 else
66160 with_gnu_ld=$ac_cv_prog_gnu_ld
66164 # Start by getting the version number. I think the libtool test already
66165 # does some of this, but throws away the result.
66166 glibcxx_ld_is_gold=no
66167 if test x"$with_gnu_ld" = x"yes"; then
66168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66169 $as_echo_n "checking for ld version... " >&6; }
66171 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66172 glibcxx_ld_is_gold=yes
66174 ldver=`$LD --version 2>/dev/null |
66175 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'`
66177 glibcxx_gnu_ld_version=`echo $ldver | \
66178 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66180 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66183 # Set --gc-sections.
66184 glibcxx_have_gc_sections=no
66185 if test "$glibcxx_ld_is_gold" = "yes"; then
66186 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66187 glibcxx_have_gc_sections=yes
66189 else
66190 glibcxx_gcsections_min_ld=21602
66191 if test x"$with_gnu_ld" = x"yes" &&
66192 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66193 glibcxx_have_gc_sections=yes
66196 if test "$glibcxx_have_gc_sections" = "yes"; then
66197 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66198 # NB: This flag only works reliably after 2.16.1. Configure tests
66199 # for this are difficult, so hard wire a value that should work.
66201 ac_test_CFLAGS="${CFLAGS+set}"
66202 ac_save_CFLAGS="$CFLAGS"
66203 CFLAGS='-Wl,--gc-sections'
66205 # Check for -Wl,--gc-sections
66206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66207 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66208 if test x$gcc_no_link = xyes; then
66209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66212 /* end confdefs.h. */
66213 int one(void) { return 1; }
66214 int two(void) { return 2; }
66217 main ()
66219 two();
66221 return 0;
66223 _ACEOF
66224 if ac_fn_c_try_link "$LINENO"; then :
66225 ac_gcsections=yes
66226 else
66227 ac_gcsections=no
66229 rm -f core conftest.err conftest.$ac_objext \
66230 conftest$ac_exeext conftest.$ac_ext
66231 if test "$ac_gcsections" = "yes"; then
66232 rm -f conftest.c
66233 touch conftest.c
66234 if $CC -c conftest.c; then
66235 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66236 grep "Warning: gc-sections option ignored" > /dev/null; then
66237 ac_gcsections=no
66240 rm -f conftest.c conftest.o conftest
66242 if test "$ac_gcsections" = "yes"; then
66243 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66246 $as_echo "$ac_gcsections" >&6; }
66248 if test "$ac_test_CFLAGS" = set; then
66249 CFLAGS="$ac_save_CFLAGS"
66250 else
66251 # this is the suspicious part
66252 CFLAGS=''
66256 # Set -z,relro.
66257 # Note this is only for shared objects.
66258 ac_ld_relro=no
66259 if test x"$with_gnu_ld" = x"yes"; then
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66261 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66262 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66263 if test -n "$cxx_z_relo"; then
66264 OPT_LDFLAGS="-Wl,-z,relro"
66265 ac_ld_relro=yes
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66268 $as_echo "$ac_ld_relro" >&6; }
66271 # Set linker optimization flags.
66272 if test x"$with_gnu_ld" = x"yes"; then
66273 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66281 ac_save_CXXFLAGS="$CXXFLAGS"
66282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66285 $as_echo_n "checking for sin in -lm... " >&6; }
66286 if test "${ac_cv_lib_m_sin+set}" = set; then :
66287 $as_echo_n "(cached) " >&6
66288 else
66289 ac_check_lib_save_LIBS=$LIBS
66290 LIBS="-lm $LIBS"
66291 if test x$gcc_no_link = xyes; then
66292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66295 /* end confdefs.h. */
66297 /* Override any GCC internal prototype to avoid an error.
66298 Use char because int might match the return type of a GCC
66299 builtin and then its argument prototype would still apply. */
66300 #ifdef __cplusplus
66301 extern "C"
66302 #endif
66303 char sin ();
66305 main ()
66307 return sin ();
66309 return 0;
66311 _ACEOF
66312 if ac_fn_c_try_link "$LINENO"; then :
66313 ac_cv_lib_m_sin=yes
66314 else
66315 ac_cv_lib_m_sin=no
66317 rm -f core conftest.err conftest.$ac_objext \
66318 conftest$ac_exeext conftest.$ac_ext
66319 LIBS=$ac_check_lib_save_LIBS
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66322 $as_echo "$ac_cv_lib_m_sin" >&6; }
66323 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66324 libm="-lm"
66327 ac_save_LIBS="$LIBS"
66328 LIBS="$LIBS $libm"
66332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66333 $as_echo_n "checking for isinf declaration... " >&6; }
66334 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66335 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66336 $as_echo_n "(cached) " >&6
66337 else
66340 ac_ext=cpp
66341 ac_cpp='$CXXCPP $CPPFLAGS'
66342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66347 /* end confdefs.h. */
66348 #include <math.h>
66349 #ifdef HAVE_IEEEFP_H
66350 #include <ieeefp.h>
66351 #endif
66354 main ()
66356 isinf(0);
66358 return 0;
66360 _ACEOF
66361 if ac_fn_cxx_try_compile "$LINENO"; then :
66362 glibcxx_cv_func_isinf_use=yes
66363 else
66364 glibcxx_cv_func_isinf_use=no
66366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66367 ac_ext=c
66368 ac_cpp='$CPP $CPPFLAGS'
66369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66378 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66380 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66381 for ac_func in isinf
66382 do :
66383 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66384 if test "x$ac_cv_func_isinf" = x""yes; then :
66385 cat >>confdefs.h <<_ACEOF
66386 #define HAVE_ISINF 1
66387 _ACEOF
66390 done
66392 else
66394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66395 $as_echo_n "checking for _isinf declaration... " >&6; }
66396 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66397 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66398 $as_echo_n "(cached) " >&6
66399 else
66402 ac_ext=cpp
66403 ac_cpp='$CXXCPP $CPPFLAGS'
66404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66409 /* end confdefs.h. */
66410 #include <math.h>
66411 #ifdef HAVE_IEEEFP_H
66412 #include <ieeefp.h>
66413 #endif
66416 main ()
66418 _isinf(0);
66420 return 0;
66422 _ACEOF
66423 if ac_fn_cxx_try_compile "$LINENO"; then :
66424 glibcxx_cv_func__isinf_use=yes
66425 else
66426 glibcxx_cv_func__isinf_use=no
66428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66429 ac_ext=c
66430 ac_cpp='$CPP $CPPFLAGS'
66431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66440 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66442 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66443 for ac_func in _isinf
66444 do :
66445 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66446 if test "x$ac_cv_func__isinf" = x""yes; then :
66447 cat >>confdefs.h <<_ACEOF
66448 #define HAVE__ISINF 1
66449 _ACEOF
66452 done
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66462 $as_echo_n "checking for isnan declaration... " >&6; }
66463 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66464 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66465 $as_echo_n "(cached) " >&6
66466 else
66469 ac_ext=cpp
66470 ac_cpp='$CXXCPP $CPPFLAGS'
66471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66476 /* end confdefs.h. */
66477 #include <math.h>
66478 #ifdef HAVE_IEEEFP_H
66479 #include <ieeefp.h>
66480 #endif
66483 main ()
66485 isnan(0);
66487 return 0;
66489 _ACEOF
66490 if ac_fn_cxx_try_compile "$LINENO"; then :
66491 glibcxx_cv_func_isnan_use=yes
66492 else
66493 glibcxx_cv_func_isnan_use=no
66495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66496 ac_ext=c
66497 ac_cpp='$CPP $CPPFLAGS'
66498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66507 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66509 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66510 for ac_func in isnan
66511 do :
66512 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66513 if test "x$ac_cv_func_isnan" = x""yes; then :
66514 cat >>confdefs.h <<_ACEOF
66515 #define HAVE_ISNAN 1
66516 _ACEOF
66519 done
66521 else
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66524 $as_echo_n "checking for _isnan declaration... " >&6; }
66525 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66526 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66527 $as_echo_n "(cached) " >&6
66528 else
66531 ac_ext=cpp
66532 ac_cpp='$CXXCPP $CPPFLAGS'
66533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66538 /* end confdefs.h. */
66539 #include <math.h>
66540 #ifdef HAVE_IEEEFP_H
66541 #include <ieeefp.h>
66542 #endif
66545 main ()
66547 _isnan(0);
66549 return 0;
66551 _ACEOF
66552 if ac_fn_cxx_try_compile "$LINENO"; then :
66553 glibcxx_cv_func__isnan_use=yes
66554 else
66555 glibcxx_cv_func__isnan_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
66568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66569 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66571 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66572 for ac_func in _isnan
66573 do :
66574 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66575 if test "x$ac_cv_func__isnan" = x""yes; then :
66576 cat >>confdefs.h <<_ACEOF
66577 #define HAVE__ISNAN 1
66578 _ACEOF
66581 done
66590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66591 $as_echo_n "checking for finite declaration... " >&6; }
66592 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66593 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66594 $as_echo_n "(cached) " >&6
66595 else
66598 ac_ext=cpp
66599 ac_cpp='$CXXCPP $CPPFLAGS'
66600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66605 /* end confdefs.h. */
66606 #include <math.h>
66607 #ifdef HAVE_IEEEFP_H
66608 #include <ieeefp.h>
66609 #endif
66612 main ()
66614 finite(0);
66616 return 0;
66618 _ACEOF
66619 if ac_fn_cxx_try_compile "$LINENO"; then :
66620 glibcxx_cv_func_finite_use=yes
66621 else
66622 glibcxx_cv_func_finite_use=no
66624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66625 ac_ext=c
66626 ac_cpp='$CPP $CPPFLAGS'
66627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66636 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66638 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66639 for ac_func in finite
66640 do :
66641 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66642 if test "x$ac_cv_func_finite" = x""yes; then :
66643 cat >>confdefs.h <<_ACEOF
66644 #define HAVE_FINITE 1
66645 _ACEOF
66648 done
66650 else
66652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66653 $as_echo_n "checking for _finite declaration... " >&6; }
66654 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66655 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66656 $as_echo_n "(cached) " >&6
66657 else
66660 ac_ext=cpp
66661 ac_cpp='$CXXCPP $CPPFLAGS'
66662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66667 /* end confdefs.h. */
66668 #include <math.h>
66669 #ifdef HAVE_IEEEFP_H
66670 #include <ieeefp.h>
66671 #endif
66674 main ()
66676 _finite(0);
66678 return 0;
66680 _ACEOF
66681 if ac_fn_cxx_try_compile "$LINENO"; then :
66682 glibcxx_cv_func__finite_use=yes
66683 else
66684 glibcxx_cv_func__finite_use=no
66686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66687 ac_ext=c
66688 ac_cpp='$CPP $CPPFLAGS'
66689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66698 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66700 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66701 for ac_func in _finite
66702 do :
66703 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66704 if test "x$ac_cv_func__finite" = x""yes; then :
66705 cat >>confdefs.h <<_ACEOF
66706 #define HAVE__FINITE 1
66707 _ACEOF
66710 done
66719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66720 $as_echo_n "checking for sincos declaration... " >&6; }
66721 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66722 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66723 $as_echo_n "(cached) " >&6
66724 else
66727 ac_ext=cpp
66728 ac_cpp='$CXXCPP $CPPFLAGS'
66729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66734 /* end confdefs.h. */
66735 #include <math.h>
66737 main ()
66739 sincos(0, 0, 0);
66741 return 0;
66743 _ACEOF
66744 if ac_fn_cxx_try_compile "$LINENO"; then :
66745 glibcxx_cv_func_sincos_use=yes
66746 else
66747 glibcxx_cv_func_sincos_use=no
66749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66750 ac_ext=c
66751 ac_cpp='$CPP $CPPFLAGS'
66752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66761 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66763 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66764 for ac_func in sincos
66765 do :
66766 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66767 if test "x$ac_cv_func_sincos" = x""yes; then :
66768 cat >>confdefs.h <<_ACEOF
66769 #define HAVE_SINCOS 1
66770 _ACEOF
66773 done
66775 else
66777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66778 $as_echo_n "checking for _sincos declaration... " >&6; }
66779 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66780 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66781 $as_echo_n "(cached) " >&6
66782 else
66785 ac_ext=cpp
66786 ac_cpp='$CXXCPP $CPPFLAGS'
66787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66792 /* end confdefs.h. */
66793 #include <math.h>
66795 main ()
66797 _sincos(0, 0, 0);
66799 return 0;
66801 _ACEOF
66802 if ac_fn_cxx_try_compile "$LINENO"; then :
66803 glibcxx_cv_func__sincos_use=yes
66804 else
66805 glibcxx_cv_func__sincos_use=no
66807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66808 ac_ext=c
66809 ac_cpp='$CPP $CPPFLAGS'
66810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66819 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66821 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66822 for ac_func in _sincos
66823 do :
66824 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66825 if test "x$ac_cv_func__sincos" = x""yes; then :
66826 cat >>confdefs.h <<_ACEOF
66827 #define HAVE__SINCOS 1
66828 _ACEOF
66831 done
66840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66841 $as_echo_n "checking for fpclass declaration... " >&6; }
66842 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66843 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66844 $as_echo_n "(cached) " >&6
66845 else
66848 ac_ext=cpp
66849 ac_cpp='$CXXCPP $CPPFLAGS'
66850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66855 /* end confdefs.h. */
66856 #include <math.h>
66857 #ifdef HAVE_IEEEFP_H
66858 #include <ieeefp.h>
66859 #endif
66862 main ()
66864 fpclass(0);
66866 return 0;
66868 _ACEOF
66869 if ac_fn_cxx_try_compile "$LINENO"; then :
66870 glibcxx_cv_func_fpclass_use=yes
66871 else
66872 glibcxx_cv_func_fpclass_use=no
66874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66875 ac_ext=c
66876 ac_cpp='$CPP $CPPFLAGS'
66877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66886 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66888 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66889 for ac_func in fpclass
66890 do :
66891 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66892 if test "x$ac_cv_func_fpclass" = x""yes; then :
66893 cat >>confdefs.h <<_ACEOF
66894 #define HAVE_FPCLASS 1
66895 _ACEOF
66898 done
66900 else
66902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66903 $as_echo_n "checking for _fpclass declaration... " >&6; }
66904 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66905 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66906 $as_echo_n "(cached) " >&6
66907 else
66910 ac_ext=cpp
66911 ac_cpp='$CXXCPP $CPPFLAGS'
66912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66917 /* end confdefs.h. */
66918 #include <math.h>
66919 #ifdef HAVE_IEEEFP_H
66920 #include <ieeefp.h>
66921 #endif
66924 main ()
66926 _fpclass(0);
66928 return 0;
66930 _ACEOF
66931 if ac_fn_cxx_try_compile "$LINENO"; then :
66932 glibcxx_cv_func__fpclass_use=yes
66933 else
66934 glibcxx_cv_func__fpclass_use=no
66936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66937 ac_ext=c
66938 ac_cpp='$CPP $CPPFLAGS'
66939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66948 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66950 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66951 for ac_func in _fpclass
66952 do :
66953 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66954 if test "x$ac_cv_func__fpclass" = x""yes; then :
66955 cat >>confdefs.h <<_ACEOF
66956 #define HAVE__FPCLASS 1
66957 _ACEOF
66960 done
66969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66970 $as_echo_n "checking for qfpclass declaration... " >&6; }
66971 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66972 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66973 $as_echo_n "(cached) " >&6
66974 else
66977 ac_ext=cpp
66978 ac_cpp='$CXXCPP $CPPFLAGS'
66979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66984 /* end confdefs.h. */
66985 #include <math.h>
66986 #ifdef HAVE_IEEEFP_H
66987 #include <ieeefp.h>
66988 #endif
66991 main ()
66993 qfpclass(0);
66995 return 0;
66997 _ACEOF
66998 if ac_fn_cxx_try_compile "$LINENO"; then :
66999 glibcxx_cv_func_qfpclass_use=yes
67000 else
67001 glibcxx_cv_func_qfpclass_use=no
67003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67004 ac_ext=c
67005 ac_cpp='$CPP $CPPFLAGS'
67006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67015 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67017 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67018 for ac_func in qfpclass
67019 do :
67020 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67021 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67022 cat >>confdefs.h <<_ACEOF
67023 #define HAVE_QFPCLASS 1
67024 _ACEOF
67027 done
67029 else
67031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67032 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67033 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67034 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67035 $as_echo_n "(cached) " >&6
67036 else
67039 ac_ext=cpp
67040 ac_cpp='$CXXCPP $CPPFLAGS'
67041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67046 /* end confdefs.h. */
67047 #include <math.h>
67048 #ifdef HAVE_IEEEFP_H
67049 #include <ieeefp.h>
67050 #endif
67053 main ()
67055 _qfpclass(0);
67057 return 0;
67059 _ACEOF
67060 if ac_fn_cxx_try_compile "$LINENO"; then :
67061 glibcxx_cv_func__qfpclass_use=yes
67062 else
67063 glibcxx_cv_func__qfpclass_use=no
67065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67066 ac_ext=c
67067 ac_cpp='$CPP $CPPFLAGS'
67068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67077 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67079 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67080 for ac_func in _qfpclass
67081 do :
67082 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67083 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67084 cat >>confdefs.h <<_ACEOF
67085 #define HAVE__QFPCLASS 1
67086 _ACEOF
67089 done
67098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67099 $as_echo_n "checking for hypot declaration... " >&6; }
67100 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67101 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67102 $as_echo_n "(cached) " >&6
67103 else
67106 ac_ext=cpp
67107 ac_cpp='$CXXCPP $CPPFLAGS'
67108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67113 /* end confdefs.h. */
67114 #include <math.h>
67116 main ()
67118 hypot(0, 0);
67120 return 0;
67122 _ACEOF
67123 if ac_fn_cxx_try_compile "$LINENO"; then :
67124 glibcxx_cv_func_hypot_use=yes
67125 else
67126 glibcxx_cv_func_hypot_use=no
67128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67129 ac_ext=c
67130 ac_cpp='$CPP $CPPFLAGS'
67131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67140 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67142 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67143 for ac_func in hypot
67144 do :
67145 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67146 if test "x$ac_cv_func_hypot" = x""yes; then :
67147 cat >>confdefs.h <<_ACEOF
67148 #define HAVE_HYPOT 1
67149 _ACEOF
67152 done
67154 else
67156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67157 $as_echo_n "checking for _hypot declaration... " >&6; }
67158 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67159 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67160 $as_echo_n "(cached) " >&6
67161 else
67164 ac_ext=cpp
67165 ac_cpp='$CXXCPP $CPPFLAGS'
67166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67171 /* end confdefs.h. */
67172 #include <math.h>
67174 main ()
67176 _hypot(0, 0);
67178 return 0;
67180 _ACEOF
67181 if ac_fn_cxx_try_compile "$LINENO"; then :
67182 glibcxx_cv_func__hypot_use=yes
67183 else
67184 glibcxx_cv_func__hypot_use=no
67186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67187 ac_ext=c
67188 ac_cpp='$CPP $CPPFLAGS'
67189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67198 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67201 for ac_func in _hypot
67202 do :
67203 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67204 if test "x$ac_cv_func__hypot" = x""yes; then :
67205 cat >>confdefs.h <<_ACEOF
67206 #define HAVE__HYPOT 1
67207 _ACEOF
67210 done
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67220 $as_echo_n "checking for float trig functions... " >&6; }
67221 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67222 $as_echo_n "(cached) " >&6
67223 else
67226 ac_ext=cpp
67227 ac_cpp='$CXXCPP $CPPFLAGS'
67228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67233 /* end confdefs.h. */
67234 #include <math.h>
67236 main ()
67238 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67240 return 0;
67242 _ACEOF
67243 if ac_fn_cxx_try_compile "$LINENO"; then :
67244 glibcxx_cv_func_float_trig_use=yes
67245 else
67246 glibcxx_cv_func_float_trig_use=no
67248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67249 ac_ext=c
67250 ac_cpp='$CPP $CPPFLAGS'
67251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67258 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67259 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67260 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67261 do :
67262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67264 eval as_val=\$$as_ac_var
67265 if test "x$as_val" = x""yes; then :
67266 cat >>confdefs.h <<_ACEOF
67267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67268 _ACEOF
67271 done
67273 else
67274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67275 $as_echo_n "checking for _float trig functions... " >&6; }
67276 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67277 $as_echo_n "(cached) " >&6
67278 else
67281 ac_ext=cpp
67282 ac_cpp='$CXXCPP $CPPFLAGS'
67283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67288 /* end confdefs.h. */
67289 #include <math.h>
67291 main ()
67293 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67295 return 0;
67297 _ACEOF
67298 if ac_fn_cxx_try_compile "$LINENO"; then :
67299 glibcxx_cv_func__float_trig_use=yes
67300 else
67301 glibcxx_cv_func__float_trig_use=no
67303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67304 ac_ext=c
67305 ac_cpp='$CPP $CPPFLAGS'
67306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67313 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67314 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67315 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67316 do :
67317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67319 eval as_val=\$$as_ac_var
67320 if test "x$as_val" = x""yes; then :
67321 cat >>confdefs.h <<_ACEOF
67322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67323 _ACEOF
67326 done
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67336 $as_echo_n "checking for float round functions... " >&6; }
67337 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67338 $as_echo_n "(cached) " >&6
67339 else
67342 ac_ext=cpp
67343 ac_cpp='$CXXCPP $CPPFLAGS'
67344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67349 /* end confdefs.h. */
67350 #include <math.h>
67352 main ()
67354 ceilf (0); floorf (0);
67356 return 0;
67358 _ACEOF
67359 if ac_fn_cxx_try_compile "$LINENO"; then :
67360 glibcxx_cv_func_float_round_use=yes
67361 else
67362 glibcxx_cv_func_float_round_use=no
67364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67365 ac_ext=c
67366 ac_cpp='$CPP $CPPFLAGS'
67367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67374 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67375 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67376 for ac_func in ceilf floorf
67377 do :
67378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67380 eval as_val=\$$as_ac_var
67381 if test "x$as_val" = x""yes; then :
67382 cat >>confdefs.h <<_ACEOF
67383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67384 _ACEOF
67387 done
67389 else
67390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67391 $as_echo_n "checking for _float round functions... " >&6; }
67392 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67393 $as_echo_n "(cached) " >&6
67394 else
67397 ac_ext=cpp
67398 ac_cpp='$CXXCPP $CPPFLAGS'
67399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67404 /* end confdefs.h. */
67405 #include <math.h>
67407 main ()
67409 _ceilf (0); _floorf (0);
67411 return 0;
67413 _ACEOF
67414 if ac_fn_cxx_try_compile "$LINENO"; then :
67415 glibcxx_cv_func__float_round_use=yes
67416 else
67417 glibcxx_cv_func__float_round_use=no
67419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67420 ac_ext=c
67421 ac_cpp='$CPP $CPPFLAGS'
67422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67429 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67430 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67431 for ac_func in _ceilf _floorf
67432 do :
67433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67435 eval as_val=\$$as_ac_var
67436 if test "x$as_val" = x""yes; then :
67437 cat >>confdefs.h <<_ACEOF
67438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67439 _ACEOF
67442 done
67452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67453 $as_echo_n "checking for expf declaration... " >&6; }
67454 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67455 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67456 $as_echo_n "(cached) " >&6
67457 else
67460 ac_ext=cpp
67461 ac_cpp='$CXXCPP $CPPFLAGS'
67462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67467 /* end confdefs.h. */
67468 #include <math.h>
67469 #ifdef HAVE_IEEEFP_H
67470 #include <ieeefp.h>
67471 #endif
67474 main ()
67476 expf(0);
67478 return 0;
67480 _ACEOF
67481 if ac_fn_cxx_try_compile "$LINENO"; then :
67482 glibcxx_cv_func_expf_use=yes
67483 else
67484 glibcxx_cv_func_expf_use=no
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 ac_ext=c
67488 ac_cpp='$CPP $CPPFLAGS'
67489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67498 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67500 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67501 for ac_func in expf
67502 do :
67503 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67504 if test "x$ac_cv_func_expf" = x""yes; then :
67505 cat >>confdefs.h <<_ACEOF
67506 #define HAVE_EXPF 1
67507 _ACEOF
67510 done
67512 else
67514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67515 $as_echo_n "checking for _expf declaration... " >&6; }
67516 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67517 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67518 $as_echo_n "(cached) " >&6
67519 else
67522 ac_ext=cpp
67523 ac_cpp='$CXXCPP $CPPFLAGS'
67524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67529 /* end confdefs.h. */
67530 #include <math.h>
67531 #ifdef HAVE_IEEEFP_H
67532 #include <ieeefp.h>
67533 #endif
67536 main ()
67538 _expf(0);
67540 return 0;
67542 _ACEOF
67543 if ac_fn_cxx_try_compile "$LINENO"; then :
67544 glibcxx_cv_func__expf_use=yes
67545 else
67546 glibcxx_cv_func__expf_use=no
67548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67549 ac_ext=c
67550 ac_cpp='$CPP $CPPFLAGS'
67551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67560 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67562 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67563 for ac_func in _expf
67564 do :
67565 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67566 if test "x$ac_cv_func__expf" = x""yes; then :
67567 cat >>confdefs.h <<_ACEOF
67568 #define HAVE__EXPF 1
67569 _ACEOF
67572 done
67581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67582 $as_echo_n "checking for isnanf declaration... " >&6; }
67583 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67584 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67585 $as_echo_n "(cached) " >&6
67586 else
67589 ac_ext=cpp
67590 ac_cpp='$CXXCPP $CPPFLAGS'
67591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67596 /* end confdefs.h. */
67597 #include <math.h>
67598 #ifdef HAVE_IEEEFP_H
67599 #include <ieeefp.h>
67600 #endif
67603 main ()
67605 isnanf(0);
67607 return 0;
67609 _ACEOF
67610 if ac_fn_cxx_try_compile "$LINENO"; then :
67611 glibcxx_cv_func_isnanf_use=yes
67612 else
67613 glibcxx_cv_func_isnanf_use=no
67615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67616 ac_ext=c
67617 ac_cpp='$CPP $CPPFLAGS'
67618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67627 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67629 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67630 for ac_func in isnanf
67631 do :
67632 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67633 if test "x$ac_cv_func_isnanf" = x""yes; then :
67634 cat >>confdefs.h <<_ACEOF
67635 #define HAVE_ISNANF 1
67636 _ACEOF
67639 done
67641 else
67643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67644 $as_echo_n "checking for _isnanf declaration... " >&6; }
67645 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67646 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67647 $as_echo_n "(cached) " >&6
67648 else
67651 ac_ext=cpp
67652 ac_cpp='$CXXCPP $CPPFLAGS'
67653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67658 /* end confdefs.h. */
67659 #include <math.h>
67660 #ifdef HAVE_IEEEFP_H
67661 #include <ieeefp.h>
67662 #endif
67665 main ()
67667 _isnanf(0);
67669 return 0;
67671 _ACEOF
67672 if ac_fn_cxx_try_compile "$LINENO"; then :
67673 glibcxx_cv_func__isnanf_use=yes
67674 else
67675 glibcxx_cv_func__isnanf_use=no
67677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67678 ac_ext=c
67679 ac_cpp='$CPP $CPPFLAGS'
67680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67689 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67691 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67692 for ac_func in _isnanf
67693 do :
67694 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67695 if test "x$ac_cv_func__isnanf" = x""yes; then :
67696 cat >>confdefs.h <<_ACEOF
67697 #define HAVE__ISNANF 1
67698 _ACEOF
67701 done
67710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67711 $as_echo_n "checking for isinff declaration... " >&6; }
67712 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67713 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67714 $as_echo_n "(cached) " >&6
67715 else
67718 ac_ext=cpp
67719 ac_cpp='$CXXCPP $CPPFLAGS'
67720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67725 /* end confdefs.h. */
67726 #include <math.h>
67727 #ifdef HAVE_IEEEFP_H
67728 #include <ieeefp.h>
67729 #endif
67732 main ()
67734 isinff(0);
67736 return 0;
67738 _ACEOF
67739 if ac_fn_cxx_try_compile "$LINENO"; then :
67740 glibcxx_cv_func_isinff_use=yes
67741 else
67742 glibcxx_cv_func_isinff_use=no
67744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67745 ac_ext=c
67746 ac_cpp='$CPP $CPPFLAGS'
67747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67756 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67758 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67759 for ac_func in isinff
67760 do :
67761 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67762 if test "x$ac_cv_func_isinff" = x""yes; then :
67763 cat >>confdefs.h <<_ACEOF
67764 #define HAVE_ISINFF 1
67765 _ACEOF
67768 done
67770 else
67772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67773 $as_echo_n "checking for _isinff declaration... " >&6; }
67774 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67775 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67776 $as_echo_n "(cached) " >&6
67777 else
67780 ac_ext=cpp
67781 ac_cpp='$CXXCPP $CPPFLAGS'
67782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67787 /* end confdefs.h. */
67788 #include <math.h>
67789 #ifdef HAVE_IEEEFP_H
67790 #include <ieeefp.h>
67791 #endif
67794 main ()
67796 _isinff(0);
67798 return 0;
67800 _ACEOF
67801 if ac_fn_cxx_try_compile "$LINENO"; then :
67802 glibcxx_cv_func__isinff_use=yes
67803 else
67804 glibcxx_cv_func__isinff_use=no
67806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67818 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67820 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67821 for ac_func in _isinff
67822 do :
67823 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67824 if test "x$ac_cv_func__isinff" = x""yes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define HAVE__ISINFF 1
67827 _ACEOF
67830 done
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67840 $as_echo_n "checking for atan2f declaration... " >&6; }
67841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67843 $as_echo_n "(cached) " >&6
67844 else
67847 ac_ext=cpp
67848 ac_cpp='$CXXCPP $CPPFLAGS'
67849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67854 /* end confdefs.h. */
67855 #include <math.h>
67857 main ()
67859 atan2f(0, 0);
67861 return 0;
67863 _ACEOF
67864 if ac_fn_cxx_try_compile "$LINENO"; then :
67865 glibcxx_cv_func_atan2f_use=yes
67866 else
67867 glibcxx_cv_func_atan2f_use=no
67869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67870 ac_ext=c
67871 ac_cpp='$CPP $CPPFLAGS'
67872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67881 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67883 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67884 for ac_func in atan2f
67885 do :
67886 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67887 if test "x$ac_cv_func_atan2f" = x""yes; then :
67888 cat >>confdefs.h <<_ACEOF
67889 #define HAVE_ATAN2F 1
67890 _ACEOF
67893 done
67895 else
67897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67898 $as_echo_n "checking for _atan2f declaration... " >&6; }
67899 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67900 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67901 $as_echo_n "(cached) " >&6
67902 else
67905 ac_ext=cpp
67906 ac_cpp='$CXXCPP $CPPFLAGS'
67907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67912 /* end confdefs.h. */
67913 #include <math.h>
67915 main ()
67917 _atan2f(0, 0);
67919 return 0;
67921 _ACEOF
67922 if ac_fn_cxx_try_compile "$LINENO"; then :
67923 glibcxx_cv_func__atan2f_use=yes
67924 else
67925 glibcxx_cv_func__atan2f_use=no
67927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67928 ac_ext=c
67929 ac_cpp='$CPP $CPPFLAGS'
67930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67939 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67941 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67942 for ac_func in _atan2f
67943 do :
67944 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67945 if test "x$ac_cv_func__atan2f" = x""yes; then :
67946 cat >>confdefs.h <<_ACEOF
67947 #define HAVE__ATAN2F 1
67948 _ACEOF
67951 done
67960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67961 $as_echo_n "checking for fabsf declaration... " >&6; }
67962 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67963 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67964 $as_echo_n "(cached) " >&6
67965 else
67968 ac_ext=cpp
67969 ac_cpp='$CXXCPP $CPPFLAGS'
67970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67975 /* end confdefs.h. */
67976 #include <math.h>
67977 #ifdef HAVE_IEEEFP_H
67978 #include <ieeefp.h>
67979 #endif
67982 main ()
67984 fabsf(0);
67986 return 0;
67988 _ACEOF
67989 if ac_fn_cxx_try_compile "$LINENO"; then :
67990 glibcxx_cv_func_fabsf_use=yes
67991 else
67992 glibcxx_cv_func_fabsf_use=no
67994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67995 ac_ext=c
67996 ac_cpp='$CPP $CPPFLAGS'
67997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68006 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68008 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68009 for ac_func in fabsf
68010 do :
68011 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68012 if test "x$ac_cv_func_fabsf" = x""yes; then :
68013 cat >>confdefs.h <<_ACEOF
68014 #define HAVE_FABSF 1
68015 _ACEOF
68018 done
68020 else
68022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68023 $as_echo_n "checking for _fabsf declaration... " >&6; }
68024 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68025 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68026 $as_echo_n "(cached) " >&6
68027 else
68030 ac_ext=cpp
68031 ac_cpp='$CXXCPP $CPPFLAGS'
68032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68037 /* end confdefs.h. */
68038 #include <math.h>
68039 #ifdef HAVE_IEEEFP_H
68040 #include <ieeefp.h>
68041 #endif
68044 main ()
68046 _fabsf(0);
68048 return 0;
68050 _ACEOF
68051 if ac_fn_cxx_try_compile "$LINENO"; then :
68052 glibcxx_cv_func__fabsf_use=yes
68053 else
68054 glibcxx_cv_func__fabsf_use=no
68056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68057 ac_ext=c
68058 ac_cpp='$CPP $CPPFLAGS'
68059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68068 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68070 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68071 for ac_func in _fabsf
68072 do :
68073 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68074 if test "x$ac_cv_func__fabsf" = x""yes; then :
68075 cat >>confdefs.h <<_ACEOF
68076 #define HAVE__FABSF 1
68077 _ACEOF
68080 done
68089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68090 $as_echo_n "checking for fmodf declaration... " >&6; }
68091 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68092 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68093 $as_echo_n "(cached) " >&6
68094 else
68097 ac_ext=cpp
68098 ac_cpp='$CXXCPP $CPPFLAGS'
68099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68104 /* end confdefs.h. */
68105 #include <math.h>
68107 main ()
68109 fmodf(0, 0);
68111 return 0;
68113 _ACEOF
68114 if ac_fn_cxx_try_compile "$LINENO"; then :
68115 glibcxx_cv_func_fmodf_use=yes
68116 else
68117 glibcxx_cv_func_fmodf_use=no
68119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68120 ac_ext=c
68121 ac_cpp='$CPP $CPPFLAGS'
68122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68131 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68133 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68134 for ac_func in fmodf
68135 do :
68136 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68137 if test "x$ac_cv_func_fmodf" = x""yes; then :
68138 cat >>confdefs.h <<_ACEOF
68139 #define HAVE_FMODF 1
68140 _ACEOF
68143 done
68145 else
68147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68148 $as_echo_n "checking for _fmodf declaration... " >&6; }
68149 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68150 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68151 $as_echo_n "(cached) " >&6
68152 else
68155 ac_ext=cpp
68156 ac_cpp='$CXXCPP $CPPFLAGS'
68157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68162 /* end confdefs.h. */
68163 #include <math.h>
68165 main ()
68167 _fmodf(0, 0);
68169 return 0;
68171 _ACEOF
68172 if ac_fn_cxx_try_compile "$LINENO"; then :
68173 glibcxx_cv_func__fmodf_use=yes
68174 else
68175 glibcxx_cv_func__fmodf_use=no
68177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68178 ac_ext=c
68179 ac_cpp='$CPP $CPPFLAGS'
68180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68189 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68191 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68192 for ac_func in _fmodf
68193 do :
68194 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68195 if test "x$ac_cv_func__fmodf" = x""yes; then :
68196 cat >>confdefs.h <<_ACEOF
68197 #define HAVE__FMODF 1
68198 _ACEOF
68201 done
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68211 $as_echo_n "checking for frexpf declaration... " >&6; }
68212 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68213 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68214 $as_echo_n "(cached) " >&6
68215 else
68218 ac_ext=cpp
68219 ac_cpp='$CXXCPP $CPPFLAGS'
68220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68225 /* end confdefs.h. */
68226 #include <math.h>
68228 main ()
68230 frexpf(0, 0);
68232 return 0;
68234 _ACEOF
68235 if ac_fn_cxx_try_compile "$LINENO"; then :
68236 glibcxx_cv_func_frexpf_use=yes
68237 else
68238 glibcxx_cv_func_frexpf_use=no
68240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68241 ac_ext=c
68242 ac_cpp='$CPP $CPPFLAGS'
68243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68252 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68255 for ac_func in frexpf
68256 do :
68257 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68258 if test "x$ac_cv_func_frexpf" = x""yes; then :
68259 cat >>confdefs.h <<_ACEOF
68260 #define HAVE_FREXPF 1
68261 _ACEOF
68264 done
68266 else
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68269 $as_echo_n "checking for _frexpf declaration... " >&6; }
68270 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68271 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68272 $as_echo_n "(cached) " >&6
68273 else
68276 ac_ext=cpp
68277 ac_cpp='$CXXCPP $CPPFLAGS'
68278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68283 /* end confdefs.h. */
68284 #include <math.h>
68286 main ()
68288 _frexpf(0, 0);
68290 return 0;
68292 _ACEOF
68293 if ac_fn_cxx_try_compile "$LINENO"; then :
68294 glibcxx_cv_func__frexpf_use=yes
68295 else
68296 glibcxx_cv_func__frexpf_use=no
68298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68299 ac_ext=c
68300 ac_cpp='$CPP $CPPFLAGS'
68301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68310 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68312 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68313 for ac_func in _frexpf
68314 do :
68315 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68316 if test "x$ac_cv_func__frexpf" = x""yes; then :
68317 cat >>confdefs.h <<_ACEOF
68318 #define HAVE__FREXPF 1
68319 _ACEOF
68322 done
68331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68332 $as_echo_n "checking for hypotf declaration... " >&6; }
68333 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68334 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68335 $as_echo_n "(cached) " >&6
68336 else
68339 ac_ext=cpp
68340 ac_cpp='$CXXCPP $CPPFLAGS'
68341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68346 /* end confdefs.h. */
68347 #include <math.h>
68349 main ()
68351 hypotf(0, 0);
68353 return 0;
68355 _ACEOF
68356 if ac_fn_cxx_try_compile "$LINENO"; then :
68357 glibcxx_cv_func_hypotf_use=yes
68358 else
68359 glibcxx_cv_func_hypotf_use=no
68361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68362 ac_ext=c
68363 ac_cpp='$CPP $CPPFLAGS'
68364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68373 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68375 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68376 for ac_func in hypotf
68377 do :
68378 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68379 if test "x$ac_cv_func_hypotf" = x""yes; then :
68380 cat >>confdefs.h <<_ACEOF
68381 #define HAVE_HYPOTF 1
68382 _ACEOF
68385 done
68387 else
68389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68390 $as_echo_n "checking for _hypotf declaration... " >&6; }
68391 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68392 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68393 $as_echo_n "(cached) " >&6
68394 else
68397 ac_ext=cpp
68398 ac_cpp='$CXXCPP $CPPFLAGS'
68399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68404 /* end confdefs.h. */
68405 #include <math.h>
68407 main ()
68409 _hypotf(0, 0);
68411 return 0;
68413 _ACEOF
68414 if ac_fn_cxx_try_compile "$LINENO"; then :
68415 glibcxx_cv_func__hypotf_use=yes
68416 else
68417 glibcxx_cv_func__hypotf_use=no
68419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68420 ac_ext=c
68421 ac_cpp='$CPP $CPPFLAGS'
68422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68431 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68433 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68434 for ac_func in _hypotf
68435 do :
68436 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68437 if test "x$ac_cv_func__hypotf" = x""yes; then :
68438 cat >>confdefs.h <<_ACEOF
68439 #define HAVE__HYPOTF 1
68440 _ACEOF
68443 done
68452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68453 $as_echo_n "checking for ldexpf declaration... " >&6; }
68454 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68455 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68456 $as_echo_n "(cached) " >&6
68457 else
68460 ac_ext=cpp
68461 ac_cpp='$CXXCPP $CPPFLAGS'
68462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68467 /* end confdefs.h. */
68468 #include <math.h>
68470 main ()
68472 ldexpf(0, 0);
68474 return 0;
68476 _ACEOF
68477 if ac_fn_cxx_try_compile "$LINENO"; then :
68478 glibcxx_cv_func_ldexpf_use=yes
68479 else
68480 glibcxx_cv_func_ldexpf_use=no
68482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68483 ac_ext=c
68484 ac_cpp='$CPP $CPPFLAGS'
68485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68494 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68496 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68497 for ac_func in ldexpf
68498 do :
68499 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68500 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68501 cat >>confdefs.h <<_ACEOF
68502 #define HAVE_LDEXPF 1
68503 _ACEOF
68506 done
68508 else
68510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68511 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68512 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68513 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68514 $as_echo_n "(cached) " >&6
68515 else
68518 ac_ext=cpp
68519 ac_cpp='$CXXCPP $CPPFLAGS'
68520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68525 /* end confdefs.h. */
68526 #include <math.h>
68528 main ()
68530 _ldexpf(0, 0);
68532 return 0;
68534 _ACEOF
68535 if ac_fn_cxx_try_compile "$LINENO"; then :
68536 glibcxx_cv_func__ldexpf_use=yes
68537 else
68538 glibcxx_cv_func__ldexpf_use=no
68540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68541 ac_ext=c
68542 ac_cpp='$CPP $CPPFLAGS'
68543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68552 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68554 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68555 for ac_func in _ldexpf
68556 do :
68557 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68558 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68559 cat >>confdefs.h <<_ACEOF
68560 #define HAVE__LDEXPF 1
68561 _ACEOF
68564 done
68573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68574 $as_echo_n "checking for logf declaration... " >&6; }
68575 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68576 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68577 $as_echo_n "(cached) " >&6
68578 else
68581 ac_ext=cpp
68582 ac_cpp='$CXXCPP $CPPFLAGS'
68583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68588 /* end confdefs.h. */
68589 #include <math.h>
68590 #ifdef HAVE_IEEEFP_H
68591 #include <ieeefp.h>
68592 #endif
68595 main ()
68597 logf(0);
68599 return 0;
68601 _ACEOF
68602 if ac_fn_cxx_try_compile "$LINENO"; then :
68603 glibcxx_cv_func_logf_use=yes
68604 else
68605 glibcxx_cv_func_logf_use=no
68607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68608 ac_ext=c
68609 ac_cpp='$CPP $CPPFLAGS'
68610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68619 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68621 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68622 for ac_func in logf
68623 do :
68624 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68625 if test "x$ac_cv_func_logf" = x""yes; then :
68626 cat >>confdefs.h <<_ACEOF
68627 #define HAVE_LOGF 1
68628 _ACEOF
68631 done
68633 else
68635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68636 $as_echo_n "checking for _logf declaration... " >&6; }
68637 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68638 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68639 $as_echo_n "(cached) " >&6
68640 else
68643 ac_ext=cpp
68644 ac_cpp='$CXXCPP $CPPFLAGS'
68645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68650 /* end confdefs.h. */
68651 #include <math.h>
68652 #ifdef HAVE_IEEEFP_H
68653 #include <ieeefp.h>
68654 #endif
68657 main ()
68659 _logf(0);
68661 return 0;
68663 _ACEOF
68664 if ac_fn_cxx_try_compile "$LINENO"; then :
68665 glibcxx_cv_func__logf_use=yes
68666 else
68667 glibcxx_cv_func__logf_use=no
68669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68670 ac_ext=c
68671 ac_cpp='$CPP $CPPFLAGS'
68672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68681 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68683 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68684 for ac_func in _logf
68685 do :
68686 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68687 if test "x$ac_cv_func__logf" = x""yes; then :
68688 cat >>confdefs.h <<_ACEOF
68689 #define HAVE__LOGF 1
68690 _ACEOF
68693 done
68702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68703 $as_echo_n "checking for log10f declaration... " >&6; }
68704 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68705 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68706 $as_echo_n "(cached) " >&6
68707 else
68710 ac_ext=cpp
68711 ac_cpp='$CXXCPP $CPPFLAGS'
68712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68717 /* end confdefs.h. */
68718 #include <math.h>
68719 #ifdef HAVE_IEEEFP_H
68720 #include <ieeefp.h>
68721 #endif
68724 main ()
68726 log10f(0);
68728 return 0;
68730 _ACEOF
68731 if ac_fn_cxx_try_compile "$LINENO"; then :
68732 glibcxx_cv_func_log10f_use=yes
68733 else
68734 glibcxx_cv_func_log10f_use=no
68736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68737 ac_ext=c
68738 ac_cpp='$CPP $CPPFLAGS'
68739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68748 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68750 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68751 for ac_func in log10f
68752 do :
68753 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68754 if test "x$ac_cv_func_log10f" = x""yes; then :
68755 cat >>confdefs.h <<_ACEOF
68756 #define HAVE_LOG10F 1
68757 _ACEOF
68760 done
68762 else
68764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68765 $as_echo_n "checking for _log10f declaration... " >&6; }
68766 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68767 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68768 $as_echo_n "(cached) " >&6
68769 else
68772 ac_ext=cpp
68773 ac_cpp='$CXXCPP $CPPFLAGS'
68774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68779 /* end confdefs.h. */
68780 #include <math.h>
68781 #ifdef HAVE_IEEEFP_H
68782 #include <ieeefp.h>
68783 #endif
68786 main ()
68788 _log10f(0);
68790 return 0;
68792 _ACEOF
68793 if ac_fn_cxx_try_compile "$LINENO"; then :
68794 glibcxx_cv_func__log10f_use=yes
68795 else
68796 glibcxx_cv_func__log10f_use=no
68798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68799 ac_ext=c
68800 ac_cpp='$CPP $CPPFLAGS'
68801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68810 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68812 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68813 for ac_func in _log10f
68814 do :
68815 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68816 if test "x$ac_cv_func__log10f" = x""yes; then :
68817 cat >>confdefs.h <<_ACEOF
68818 #define HAVE__LOG10F 1
68819 _ACEOF
68822 done
68831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68832 $as_echo_n "checking for modff declaration... " >&6; }
68833 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68834 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68835 $as_echo_n "(cached) " >&6
68836 else
68839 ac_ext=cpp
68840 ac_cpp='$CXXCPP $CPPFLAGS'
68841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68846 /* end confdefs.h. */
68847 #include <math.h>
68849 main ()
68851 modff(0, 0);
68853 return 0;
68855 _ACEOF
68856 if ac_fn_cxx_try_compile "$LINENO"; then :
68857 glibcxx_cv_func_modff_use=yes
68858 else
68859 glibcxx_cv_func_modff_use=no
68861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68862 ac_ext=c
68863 ac_cpp='$CPP $CPPFLAGS'
68864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68873 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68875 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68876 for ac_func in modff
68877 do :
68878 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68879 if test "x$ac_cv_func_modff" = x""yes; then :
68880 cat >>confdefs.h <<_ACEOF
68881 #define HAVE_MODFF 1
68882 _ACEOF
68885 done
68887 else
68889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68890 $as_echo_n "checking for _modff declaration... " >&6; }
68891 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68892 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68893 $as_echo_n "(cached) " >&6
68894 else
68897 ac_ext=cpp
68898 ac_cpp='$CXXCPP $CPPFLAGS'
68899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68904 /* end confdefs.h. */
68905 #include <math.h>
68907 main ()
68909 _modff(0, 0);
68911 return 0;
68913 _ACEOF
68914 if ac_fn_cxx_try_compile "$LINENO"; then :
68915 glibcxx_cv_func__modff_use=yes
68916 else
68917 glibcxx_cv_func__modff_use=no
68919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68920 ac_ext=c
68921 ac_cpp='$CPP $CPPFLAGS'
68922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68931 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68933 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68934 for ac_func in _modff
68935 do :
68936 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68937 if test "x$ac_cv_func__modff" = x""yes; then :
68938 cat >>confdefs.h <<_ACEOF
68939 #define HAVE__MODFF 1
68940 _ACEOF
68943 done
68952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68953 $as_echo_n "checking for modf declaration... " >&6; }
68954 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68955 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68956 $as_echo_n "(cached) " >&6
68957 else
68960 ac_ext=cpp
68961 ac_cpp='$CXXCPP $CPPFLAGS'
68962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68967 /* end confdefs.h. */
68968 #include <math.h>
68970 main ()
68972 modf(0, 0);
68974 return 0;
68976 _ACEOF
68977 if ac_fn_cxx_try_compile "$LINENO"; then :
68978 glibcxx_cv_func_modf_use=yes
68979 else
68980 glibcxx_cv_func_modf_use=no
68982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68983 ac_ext=c
68984 ac_cpp='$CPP $CPPFLAGS'
68985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68994 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68996 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68997 for ac_func in modf
68998 do :
68999 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69000 if test "x$ac_cv_func_modf" = x""yes; then :
69001 cat >>confdefs.h <<_ACEOF
69002 #define HAVE_MODF 1
69003 _ACEOF
69006 done
69008 else
69010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69011 $as_echo_n "checking for _modf declaration... " >&6; }
69012 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69013 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69014 $as_echo_n "(cached) " >&6
69015 else
69018 ac_ext=cpp
69019 ac_cpp='$CXXCPP $CPPFLAGS'
69020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69025 /* end confdefs.h. */
69026 #include <math.h>
69028 main ()
69030 _modf(0, 0);
69032 return 0;
69034 _ACEOF
69035 if ac_fn_cxx_try_compile "$LINENO"; then :
69036 glibcxx_cv_func__modf_use=yes
69037 else
69038 glibcxx_cv_func__modf_use=no
69040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69041 ac_ext=c
69042 ac_cpp='$CPP $CPPFLAGS'
69043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69052 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69054 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69055 for ac_func in _modf
69056 do :
69057 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69058 if test "x$ac_cv_func__modf" = x""yes; then :
69059 cat >>confdefs.h <<_ACEOF
69060 #define HAVE__MODF 1
69061 _ACEOF
69064 done
69073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69074 $as_echo_n "checking for powf declaration... " >&6; }
69075 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69076 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69077 $as_echo_n "(cached) " >&6
69078 else
69081 ac_ext=cpp
69082 ac_cpp='$CXXCPP $CPPFLAGS'
69083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69088 /* end confdefs.h. */
69089 #include <math.h>
69091 main ()
69093 powf(0, 0);
69095 return 0;
69097 _ACEOF
69098 if ac_fn_cxx_try_compile "$LINENO"; then :
69099 glibcxx_cv_func_powf_use=yes
69100 else
69101 glibcxx_cv_func_powf_use=no
69103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69104 ac_ext=c
69105 ac_cpp='$CPP $CPPFLAGS'
69106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69115 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69117 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69118 for ac_func in powf
69119 do :
69120 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69121 if test "x$ac_cv_func_powf" = x""yes; then :
69122 cat >>confdefs.h <<_ACEOF
69123 #define HAVE_POWF 1
69124 _ACEOF
69127 done
69129 else
69131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69132 $as_echo_n "checking for _powf declaration... " >&6; }
69133 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69134 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69135 $as_echo_n "(cached) " >&6
69136 else
69139 ac_ext=cpp
69140 ac_cpp='$CXXCPP $CPPFLAGS'
69141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69146 /* end confdefs.h. */
69147 #include <math.h>
69149 main ()
69151 _powf(0, 0);
69153 return 0;
69155 _ACEOF
69156 if ac_fn_cxx_try_compile "$LINENO"; then :
69157 glibcxx_cv_func__powf_use=yes
69158 else
69159 glibcxx_cv_func__powf_use=no
69161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69162 ac_ext=c
69163 ac_cpp='$CPP $CPPFLAGS'
69164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69173 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69175 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69176 for ac_func in _powf
69177 do :
69178 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69179 if test "x$ac_cv_func__powf" = x""yes; then :
69180 cat >>confdefs.h <<_ACEOF
69181 #define HAVE__POWF 1
69182 _ACEOF
69185 done
69194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69195 $as_echo_n "checking for sqrtf declaration... " >&6; }
69196 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69197 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69198 $as_echo_n "(cached) " >&6
69199 else
69202 ac_ext=cpp
69203 ac_cpp='$CXXCPP $CPPFLAGS'
69204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69209 /* end confdefs.h. */
69210 #include <math.h>
69211 #ifdef HAVE_IEEEFP_H
69212 #include <ieeefp.h>
69213 #endif
69216 main ()
69218 sqrtf(0);
69220 return 0;
69222 _ACEOF
69223 if ac_fn_cxx_try_compile "$LINENO"; then :
69224 glibcxx_cv_func_sqrtf_use=yes
69225 else
69226 glibcxx_cv_func_sqrtf_use=no
69228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69229 ac_ext=c
69230 ac_cpp='$CPP $CPPFLAGS'
69231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69240 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69242 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69243 for ac_func in sqrtf
69244 do :
69245 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69246 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69247 cat >>confdefs.h <<_ACEOF
69248 #define HAVE_SQRTF 1
69249 _ACEOF
69252 done
69254 else
69256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69257 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69258 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69259 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69260 $as_echo_n "(cached) " >&6
69261 else
69264 ac_ext=cpp
69265 ac_cpp='$CXXCPP $CPPFLAGS'
69266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69271 /* end confdefs.h. */
69272 #include <math.h>
69273 #ifdef HAVE_IEEEFP_H
69274 #include <ieeefp.h>
69275 #endif
69278 main ()
69280 _sqrtf(0);
69282 return 0;
69284 _ACEOF
69285 if ac_fn_cxx_try_compile "$LINENO"; then :
69286 glibcxx_cv_func__sqrtf_use=yes
69287 else
69288 glibcxx_cv_func__sqrtf_use=no
69290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69291 ac_ext=c
69292 ac_cpp='$CPP $CPPFLAGS'
69293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69302 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69304 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69305 for ac_func in _sqrtf
69306 do :
69307 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69308 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69309 cat >>confdefs.h <<_ACEOF
69310 #define HAVE__SQRTF 1
69311 _ACEOF
69314 done
69323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69324 $as_echo_n "checking for sincosf declaration... " >&6; }
69325 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69326 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69327 $as_echo_n "(cached) " >&6
69328 else
69331 ac_ext=cpp
69332 ac_cpp='$CXXCPP $CPPFLAGS'
69333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69338 /* end confdefs.h. */
69339 #include <math.h>
69341 main ()
69343 sincosf(0, 0, 0);
69345 return 0;
69347 _ACEOF
69348 if ac_fn_cxx_try_compile "$LINENO"; then :
69349 glibcxx_cv_func_sincosf_use=yes
69350 else
69351 glibcxx_cv_func_sincosf_use=no
69353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69354 ac_ext=c
69355 ac_cpp='$CPP $CPPFLAGS'
69356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69365 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69367 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69368 for ac_func in sincosf
69369 do :
69370 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69371 if test "x$ac_cv_func_sincosf" = x""yes; then :
69372 cat >>confdefs.h <<_ACEOF
69373 #define HAVE_SINCOSF 1
69374 _ACEOF
69377 done
69379 else
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69382 $as_echo_n "checking for _sincosf declaration... " >&6; }
69383 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69384 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69385 $as_echo_n "(cached) " >&6
69386 else
69389 ac_ext=cpp
69390 ac_cpp='$CXXCPP $CPPFLAGS'
69391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69396 /* end confdefs.h. */
69397 #include <math.h>
69399 main ()
69401 _sincosf(0, 0, 0);
69403 return 0;
69405 _ACEOF
69406 if ac_fn_cxx_try_compile "$LINENO"; then :
69407 glibcxx_cv_func__sincosf_use=yes
69408 else
69409 glibcxx_cv_func__sincosf_use=no
69411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69412 ac_ext=c
69413 ac_cpp='$CPP $CPPFLAGS'
69414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69423 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69425 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69426 for ac_func in _sincosf
69427 do :
69428 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69429 if test "x$ac_cv_func__sincosf" = x""yes; then :
69430 cat >>confdefs.h <<_ACEOF
69431 #define HAVE__SINCOSF 1
69432 _ACEOF
69435 done
69444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69445 $as_echo_n "checking for finitef declaration... " >&6; }
69446 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69447 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69448 $as_echo_n "(cached) " >&6
69449 else
69452 ac_ext=cpp
69453 ac_cpp='$CXXCPP $CPPFLAGS'
69454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69459 /* end confdefs.h. */
69460 #include <math.h>
69461 #ifdef HAVE_IEEEFP_H
69462 #include <ieeefp.h>
69463 #endif
69466 main ()
69468 finitef(0);
69470 return 0;
69472 _ACEOF
69473 if ac_fn_cxx_try_compile "$LINENO"; then :
69474 glibcxx_cv_func_finitef_use=yes
69475 else
69476 glibcxx_cv_func_finitef_use=no
69478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69479 ac_ext=c
69480 ac_cpp='$CPP $CPPFLAGS'
69481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69490 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69492 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69493 for ac_func in finitef
69494 do :
69495 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69496 if test "x$ac_cv_func_finitef" = x""yes; then :
69497 cat >>confdefs.h <<_ACEOF
69498 #define HAVE_FINITEF 1
69499 _ACEOF
69502 done
69504 else
69506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69507 $as_echo_n "checking for _finitef declaration... " >&6; }
69508 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69509 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69510 $as_echo_n "(cached) " >&6
69511 else
69514 ac_ext=cpp
69515 ac_cpp='$CXXCPP $CPPFLAGS'
69516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69521 /* end confdefs.h. */
69522 #include <math.h>
69523 #ifdef HAVE_IEEEFP_H
69524 #include <ieeefp.h>
69525 #endif
69528 main ()
69530 _finitef(0);
69532 return 0;
69534 _ACEOF
69535 if ac_fn_cxx_try_compile "$LINENO"; then :
69536 glibcxx_cv_func__finitef_use=yes
69537 else
69538 glibcxx_cv_func__finitef_use=no
69540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69541 ac_ext=c
69542 ac_cpp='$CPP $CPPFLAGS'
69543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69552 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69554 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69555 for ac_func in _finitef
69556 do :
69557 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69558 if test "x$ac_cv_func__finitef" = x""yes; then :
69559 cat >>confdefs.h <<_ACEOF
69560 #define HAVE__FINITEF 1
69561 _ACEOF
69564 done
69573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69574 $as_echo_n "checking for long double trig functions... " >&6; }
69575 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69576 $as_echo_n "(cached) " >&6
69577 else
69580 ac_ext=cpp
69581 ac_cpp='$CXXCPP $CPPFLAGS'
69582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69587 /* end confdefs.h. */
69588 #include <math.h>
69590 main ()
69592 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69594 return 0;
69596 _ACEOF
69597 if ac_fn_cxx_try_compile "$LINENO"; then :
69598 glibcxx_cv_func_long_double_trig_use=yes
69599 else
69600 glibcxx_cv_func_long_double_trig_use=no
69602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69603 ac_ext=c
69604 ac_cpp='$CPP $CPPFLAGS'
69605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69612 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69613 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69614 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69615 do :
69616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69618 eval as_val=\$$as_ac_var
69619 if test "x$as_val" = x""yes; then :
69620 cat >>confdefs.h <<_ACEOF
69621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69622 _ACEOF
69625 done
69627 else
69628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69629 $as_echo_n "checking for _long double trig functions... " >&6; }
69630 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69631 $as_echo_n "(cached) " >&6
69632 else
69635 ac_ext=cpp
69636 ac_cpp='$CXXCPP $CPPFLAGS'
69637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69642 /* end confdefs.h. */
69643 #include <math.h>
69645 main ()
69647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69649 return 0;
69651 _ACEOF
69652 if ac_fn_cxx_try_compile "$LINENO"; then :
69653 glibcxx_cv_func__long_double_trig_use=yes
69654 else
69655 glibcxx_cv_func__long_double_trig_use=no
69657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69658 ac_ext=c
69659 ac_cpp='$CPP $CPPFLAGS'
69660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69667 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69669 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69670 do :
69671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69673 eval as_val=\$$as_ac_var
69674 if test "x$as_val" = x""yes; then :
69675 cat >>confdefs.h <<_ACEOF
69676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69677 _ACEOF
69680 done
69689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69690 $as_echo_n "checking for long double round functions... " >&6; }
69691 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69692 $as_echo_n "(cached) " >&6
69693 else
69696 ac_ext=cpp
69697 ac_cpp='$CXXCPP $CPPFLAGS'
69698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69703 /* end confdefs.h. */
69704 #include <math.h>
69706 main ()
69708 ceill (0); floorl (0);
69710 return 0;
69712 _ACEOF
69713 if ac_fn_cxx_try_compile "$LINENO"; then :
69714 glibcxx_cv_func_long_double_round_use=yes
69715 else
69716 glibcxx_cv_func_long_double_round_use=no
69718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69719 ac_ext=c
69720 ac_cpp='$CPP $CPPFLAGS'
69721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69728 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69729 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69730 for ac_func in ceill floorl
69731 do :
69732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69734 eval as_val=\$$as_ac_var
69735 if test "x$as_val" = x""yes; then :
69736 cat >>confdefs.h <<_ACEOF
69737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69738 _ACEOF
69741 done
69743 else
69744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69745 $as_echo_n "checking for _long double round functions... " >&6; }
69746 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69747 $as_echo_n "(cached) " >&6
69748 else
69751 ac_ext=cpp
69752 ac_cpp='$CXXCPP $CPPFLAGS'
69753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69758 /* end confdefs.h. */
69759 #include <math.h>
69761 main ()
69763 _ceill (0); _floorl (0);
69765 return 0;
69767 _ACEOF
69768 if ac_fn_cxx_try_compile "$LINENO"; then :
69769 glibcxx_cv_func__long_double_round_use=yes
69770 else
69771 glibcxx_cv_func__long_double_round_use=no
69773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69774 ac_ext=c
69775 ac_cpp='$CPP $CPPFLAGS'
69776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69783 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69785 for ac_func in _ceill _floorl
69786 do :
69787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69789 eval as_val=\$$as_ac_var
69790 if test "x$as_val" = x""yes; then :
69791 cat >>confdefs.h <<_ACEOF
69792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69793 _ACEOF
69796 done
69806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69807 $as_echo_n "checking for isnanl declaration... " >&6; }
69808 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69809 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69810 $as_echo_n "(cached) " >&6
69811 else
69814 ac_ext=cpp
69815 ac_cpp='$CXXCPP $CPPFLAGS'
69816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69821 /* end confdefs.h. */
69822 #include <math.h>
69823 #ifdef HAVE_IEEEFP_H
69824 #include <ieeefp.h>
69825 #endif
69828 main ()
69830 isnanl(0);
69832 return 0;
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836 glibcxx_cv_func_isnanl_use=yes
69837 else
69838 glibcxx_cv_func_isnanl_use=no
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841 ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69852 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69855 for ac_func in isnanl
69856 do :
69857 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69858 if test "x$ac_cv_func_isnanl" = x""yes; then :
69859 cat >>confdefs.h <<_ACEOF
69860 #define HAVE_ISNANL 1
69861 _ACEOF
69864 done
69866 else
69868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69869 $as_echo_n "checking for _isnanl declaration... " >&6; }
69870 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69871 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69872 $as_echo_n "(cached) " >&6
69873 else
69876 ac_ext=cpp
69877 ac_cpp='$CXXCPP $CPPFLAGS'
69878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69883 /* end confdefs.h. */
69884 #include <math.h>
69885 #ifdef HAVE_IEEEFP_H
69886 #include <ieeefp.h>
69887 #endif
69890 main ()
69892 _isnanl(0);
69894 return 0;
69896 _ACEOF
69897 if ac_fn_cxx_try_compile "$LINENO"; then :
69898 glibcxx_cv_func__isnanl_use=yes
69899 else
69900 glibcxx_cv_func__isnanl_use=no
69902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69903 ac_ext=c
69904 ac_cpp='$CPP $CPPFLAGS'
69905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69914 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69916 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69917 for ac_func in _isnanl
69918 do :
69919 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69920 if test "x$ac_cv_func__isnanl" = x""yes; then :
69921 cat >>confdefs.h <<_ACEOF
69922 #define HAVE__ISNANL 1
69923 _ACEOF
69926 done
69935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69936 $as_echo_n "checking for isinfl declaration... " >&6; }
69937 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69938 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69939 $as_echo_n "(cached) " >&6
69940 else
69943 ac_ext=cpp
69944 ac_cpp='$CXXCPP $CPPFLAGS'
69945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69950 /* end confdefs.h. */
69951 #include <math.h>
69952 #ifdef HAVE_IEEEFP_H
69953 #include <ieeefp.h>
69954 #endif
69957 main ()
69959 isinfl(0);
69961 return 0;
69963 _ACEOF
69964 if ac_fn_cxx_try_compile "$LINENO"; then :
69965 glibcxx_cv_func_isinfl_use=yes
69966 else
69967 glibcxx_cv_func_isinfl_use=no
69969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69970 ac_ext=c
69971 ac_cpp='$CPP $CPPFLAGS'
69972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69981 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69983 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69984 for ac_func in isinfl
69985 do :
69986 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69987 if test "x$ac_cv_func_isinfl" = x""yes; then :
69988 cat >>confdefs.h <<_ACEOF
69989 #define HAVE_ISINFL 1
69990 _ACEOF
69993 done
69995 else
69997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69998 $as_echo_n "checking for _isinfl declaration... " >&6; }
69999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70001 $as_echo_n "(cached) " >&6
70002 else
70005 ac_ext=cpp
70006 ac_cpp='$CXXCPP $CPPFLAGS'
70007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70012 /* end confdefs.h. */
70013 #include <math.h>
70014 #ifdef HAVE_IEEEFP_H
70015 #include <ieeefp.h>
70016 #endif
70019 main ()
70021 _isinfl(0);
70023 return 0;
70025 _ACEOF
70026 if ac_fn_cxx_try_compile "$LINENO"; then :
70027 glibcxx_cv_func__isinfl_use=yes
70028 else
70029 glibcxx_cv_func__isinfl_use=no
70031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70032 ac_ext=c
70033 ac_cpp='$CPP $CPPFLAGS'
70034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70043 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70045 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70046 for ac_func in _isinfl
70047 do :
70048 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70049 if test "x$ac_cv_func__isinfl" = x""yes; then :
70050 cat >>confdefs.h <<_ACEOF
70051 #define HAVE__ISINFL 1
70052 _ACEOF
70055 done
70064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70065 $as_echo_n "checking for atan2l declaration... " >&6; }
70066 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70067 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70068 $as_echo_n "(cached) " >&6
70069 else
70072 ac_ext=cpp
70073 ac_cpp='$CXXCPP $CPPFLAGS'
70074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70079 /* end confdefs.h. */
70080 #include <math.h>
70082 main ()
70084 atan2l(0, 0);
70086 return 0;
70088 _ACEOF
70089 if ac_fn_cxx_try_compile "$LINENO"; then :
70090 glibcxx_cv_func_atan2l_use=yes
70091 else
70092 glibcxx_cv_func_atan2l_use=no
70094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70095 ac_ext=c
70096 ac_cpp='$CPP $CPPFLAGS'
70097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70106 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70109 for ac_func in atan2l
70110 do :
70111 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70112 if test "x$ac_cv_func_atan2l" = x""yes; then :
70113 cat >>confdefs.h <<_ACEOF
70114 #define HAVE_ATAN2L 1
70115 _ACEOF
70118 done
70120 else
70122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70123 $as_echo_n "checking for _atan2l declaration... " >&6; }
70124 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70125 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70126 $as_echo_n "(cached) " >&6
70127 else
70130 ac_ext=cpp
70131 ac_cpp='$CXXCPP $CPPFLAGS'
70132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70137 /* end confdefs.h. */
70138 #include <math.h>
70140 main ()
70142 _atan2l(0, 0);
70144 return 0;
70146 _ACEOF
70147 if ac_fn_cxx_try_compile "$LINENO"; then :
70148 glibcxx_cv_func__atan2l_use=yes
70149 else
70150 glibcxx_cv_func__atan2l_use=no
70152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70153 ac_ext=c
70154 ac_cpp='$CPP $CPPFLAGS'
70155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70164 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70166 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70167 for ac_func in _atan2l
70168 do :
70169 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70170 if test "x$ac_cv_func__atan2l" = x""yes; then :
70171 cat >>confdefs.h <<_ACEOF
70172 #define HAVE__ATAN2L 1
70173 _ACEOF
70176 done
70185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70186 $as_echo_n "checking for expl declaration... " >&6; }
70187 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70188 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70189 $as_echo_n "(cached) " >&6
70190 else
70193 ac_ext=cpp
70194 ac_cpp='$CXXCPP $CPPFLAGS'
70195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70200 /* end confdefs.h. */
70201 #include <math.h>
70202 #ifdef HAVE_IEEEFP_H
70203 #include <ieeefp.h>
70204 #endif
70207 main ()
70209 expl(0);
70211 return 0;
70213 _ACEOF
70214 if ac_fn_cxx_try_compile "$LINENO"; then :
70215 glibcxx_cv_func_expl_use=yes
70216 else
70217 glibcxx_cv_func_expl_use=no
70219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70220 ac_ext=c
70221 ac_cpp='$CPP $CPPFLAGS'
70222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70231 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70233 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70234 for ac_func in expl
70235 do :
70236 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70237 if test "x$ac_cv_func_expl" = x""yes; then :
70238 cat >>confdefs.h <<_ACEOF
70239 #define HAVE_EXPL 1
70240 _ACEOF
70243 done
70245 else
70247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70248 $as_echo_n "checking for _expl declaration... " >&6; }
70249 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70250 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70251 $as_echo_n "(cached) " >&6
70252 else
70255 ac_ext=cpp
70256 ac_cpp='$CXXCPP $CPPFLAGS'
70257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70262 /* end confdefs.h. */
70263 #include <math.h>
70264 #ifdef HAVE_IEEEFP_H
70265 #include <ieeefp.h>
70266 #endif
70269 main ()
70271 _expl(0);
70273 return 0;
70275 _ACEOF
70276 if ac_fn_cxx_try_compile "$LINENO"; then :
70277 glibcxx_cv_func__expl_use=yes
70278 else
70279 glibcxx_cv_func__expl_use=no
70281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70282 ac_ext=c
70283 ac_cpp='$CPP $CPPFLAGS'
70284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70293 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70295 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70296 for ac_func in _expl
70297 do :
70298 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70299 if test "x$ac_cv_func__expl" = x""yes; then :
70300 cat >>confdefs.h <<_ACEOF
70301 #define HAVE__EXPL 1
70302 _ACEOF
70305 done
70314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70315 $as_echo_n "checking for fabsl declaration... " >&6; }
70316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70318 $as_echo_n "(cached) " >&6
70319 else
70322 ac_ext=cpp
70323 ac_cpp='$CXXCPP $CPPFLAGS'
70324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70329 /* end confdefs.h. */
70330 #include <math.h>
70331 #ifdef HAVE_IEEEFP_H
70332 #include <ieeefp.h>
70333 #endif
70336 main ()
70338 fabsl(0);
70340 return 0;
70342 _ACEOF
70343 if ac_fn_cxx_try_compile "$LINENO"; then :
70344 glibcxx_cv_func_fabsl_use=yes
70345 else
70346 glibcxx_cv_func_fabsl_use=no
70348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70349 ac_ext=c
70350 ac_cpp='$CPP $CPPFLAGS'
70351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70360 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70362 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70363 for ac_func in fabsl
70364 do :
70365 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70366 if test "x$ac_cv_func_fabsl" = x""yes; then :
70367 cat >>confdefs.h <<_ACEOF
70368 #define HAVE_FABSL 1
70369 _ACEOF
70372 done
70374 else
70376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70377 $as_echo_n "checking for _fabsl declaration... " >&6; }
70378 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70379 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70380 $as_echo_n "(cached) " >&6
70381 else
70384 ac_ext=cpp
70385 ac_cpp='$CXXCPP $CPPFLAGS'
70386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70391 /* end confdefs.h. */
70392 #include <math.h>
70393 #ifdef HAVE_IEEEFP_H
70394 #include <ieeefp.h>
70395 #endif
70398 main ()
70400 _fabsl(0);
70402 return 0;
70404 _ACEOF
70405 if ac_fn_cxx_try_compile "$LINENO"; then :
70406 glibcxx_cv_func__fabsl_use=yes
70407 else
70408 glibcxx_cv_func__fabsl_use=no
70410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70411 ac_ext=c
70412 ac_cpp='$CPP $CPPFLAGS'
70413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70422 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70425 for ac_func in _fabsl
70426 do :
70427 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70428 if test "x$ac_cv_func__fabsl" = x""yes; then :
70429 cat >>confdefs.h <<_ACEOF
70430 #define HAVE__FABSL 1
70431 _ACEOF
70434 done
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70444 $as_echo_n "checking for fmodl declaration... " >&6; }
70445 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70446 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70447 $as_echo_n "(cached) " >&6
70448 else
70451 ac_ext=cpp
70452 ac_cpp='$CXXCPP $CPPFLAGS'
70453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70458 /* end confdefs.h. */
70459 #include <math.h>
70461 main ()
70463 fmodl(0, 0);
70465 return 0;
70467 _ACEOF
70468 if ac_fn_cxx_try_compile "$LINENO"; then :
70469 glibcxx_cv_func_fmodl_use=yes
70470 else
70471 glibcxx_cv_func_fmodl_use=no
70473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70474 ac_ext=c
70475 ac_cpp='$CPP $CPPFLAGS'
70476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70485 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70488 for ac_func in fmodl
70489 do :
70490 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70491 if test "x$ac_cv_func_fmodl" = x""yes; then :
70492 cat >>confdefs.h <<_ACEOF
70493 #define HAVE_FMODL 1
70494 _ACEOF
70497 done
70499 else
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70502 $as_echo_n "checking for _fmodl declaration... " >&6; }
70503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70504 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70505 $as_echo_n "(cached) " >&6
70506 else
70509 ac_ext=cpp
70510 ac_cpp='$CXXCPP $CPPFLAGS'
70511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70516 /* end confdefs.h. */
70517 #include <math.h>
70519 main ()
70521 _fmodl(0, 0);
70523 return 0;
70525 _ACEOF
70526 if ac_fn_cxx_try_compile "$LINENO"; then :
70527 glibcxx_cv_func__fmodl_use=yes
70528 else
70529 glibcxx_cv_func__fmodl_use=no
70531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70532 ac_ext=c
70533 ac_cpp='$CPP $CPPFLAGS'
70534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70543 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70545 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70546 for ac_func in _fmodl
70547 do :
70548 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70549 if test "x$ac_cv_func__fmodl" = x""yes; then :
70550 cat >>confdefs.h <<_ACEOF
70551 #define HAVE__FMODL 1
70552 _ACEOF
70555 done
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70565 $as_echo_n "checking for frexpl declaration... " >&6; }
70566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70567 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70568 $as_echo_n "(cached) " >&6
70569 else
70572 ac_ext=cpp
70573 ac_cpp='$CXXCPP $CPPFLAGS'
70574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70579 /* end confdefs.h. */
70580 #include <math.h>
70582 main ()
70584 frexpl(0, 0);
70586 return 0;
70588 _ACEOF
70589 if ac_fn_cxx_try_compile "$LINENO"; then :
70590 glibcxx_cv_func_frexpl_use=yes
70591 else
70592 glibcxx_cv_func_frexpl_use=no
70594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70595 ac_ext=c
70596 ac_cpp='$CPP $CPPFLAGS'
70597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70608 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70609 for ac_func in frexpl
70610 do :
70611 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70612 if test "x$ac_cv_func_frexpl" = x""yes; then :
70613 cat >>confdefs.h <<_ACEOF
70614 #define HAVE_FREXPL 1
70615 _ACEOF
70618 done
70620 else
70622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70623 $as_echo_n "checking for _frexpl declaration... " >&6; }
70624 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70625 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70626 $as_echo_n "(cached) " >&6
70627 else
70630 ac_ext=cpp
70631 ac_cpp='$CXXCPP $CPPFLAGS'
70632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70637 /* end confdefs.h. */
70638 #include <math.h>
70640 main ()
70642 _frexpl(0, 0);
70644 return 0;
70646 _ACEOF
70647 if ac_fn_cxx_try_compile "$LINENO"; then :
70648 glibcxx_cv_func__frexpl_use=yes
70649 else
70650 glibcxx_cv_func__frexpl_use=no
70652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70653 ac_ext=c
70654 ac_cpp='$CPP $CPPFLAGS'
70655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70664 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70666 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70667 for ac_func in _frexpl
70668 do :
70669 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70670 if test "x$ac_cv_func__frexpl" = x""yes; then :
70671 cat >>confdefs.h <<_ACEOF
70672 #define HAVE__FREXPL 1
70673 _ACEOF
70676 done
70685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70686 $as_echo_n "checking for hypotl declaration... " >&6; }
70687 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70688 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70689 $as_echo_n "(cached) " >&6
70690 else
70693 ac_ext=cpp
70694 ac_cpp='$CXXCPP $CPPFLAGS'
70695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70700 /* end confdefs.h. */
70701 #include <math.h>
70703 main ()
70705 hypotl(0, 0);
70707 return 0;
70709 _ACEOF
70710 if ac_fn_cxx_try_compile "$LINENO"; then :
70711 glibcxx_cv_func_hypotl_use=yes
70712 else
70713 glibcxx_cv_func_hypotl_use=no
70715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70716 ac_ext=c
70717 ac_cpp='$CPP $CPPFLAGS'
70718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70727 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70729 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70730 for ac_func in hypotl
70731 do :
70732 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70733 if test "x$ac_cv_func_hypotl" = x""yes; then :
70734 cat >>confdefs.h <<_ACEOF
70735 #define HAVE_HYPOTL 1
70736 _ACEOF
70739 done
70741 else
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70744 $as_echo_n "checking for _hypotl declaration... " >&6; }
70745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70746 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70747 $as_echo_n "(cached) " >&6
70748 else
70751 ac_ext=cpp
70752 ac_cpp='$CXXCPP $CPPFLAGS'
70753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70758 /* end confdefs.h. */
70759 #include <math.h>
70761 main ()
70763 _hypotl(0, 0);
70765 return 0;
70767 _ACEOF
70768 if ac_fn_cxx_try_compile "$LINENO"; then :
70769 glibcxx_cv_func__hypotl_use=yes
70770 else
70771 glibcxx_cv_func__hypotl_use=no
70773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70774 ac_ext=c
70775 ac_cpp='$CPP $CPPFLAGS'
70776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70785 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70787 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70788 for ac_func in _hypotl
70789 do :
70790 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70791 if test "x$ac_cv_func__hypotl" = x""yes; then :
70792 cat >>confdefs.h <<_ACEOF
70793 #define HAVE__HYPOTL 1
70794 _ACEOF
70797 done
70806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70807 $as_echo_n "checking for ldexpl declaration... " >&6; }
70808 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70809 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70810 $as_echo_n "(cached) " >&6
70811 else
70814 ac_ext=cpp
70815 ac_cpp='$CXXCPP $CPPFLAGS'
70816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70821 /* end confdefs.h. */
70822 #include <math.h>
70824 main ()
70826 ldexpl(0, 0);
70828 return 0;
70830 _ACEOF
70831 if ac_fn_cxx_try_compile "$LINENO"; then :
70832 glibcxx_cv_func_ldexpl_use=yes
70833 else
70834 glibcxx_cv_func_ldexpl_use=no
70836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70837 ac_ext=c
70838 ac_cpp='$CPP $CPPFLAGS'
70839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70848 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70851 for ac_func in ldexpl
70852 do :
70853 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70854 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70855 cat >>confdefs.h <<_ACEOF
70856 #define HAVE_LDEXPL 1
70857 _ACEOF
70860 done
70862 else
70864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70865 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70866 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70867 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70868 $as_echo_n "(cached) " >&6
70869 else
70872 ac_ext=cpp
70873 ac_cpp='$CXXCPP $CPPFLAGS'
70874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70879 /* end confdefs.h. */
70880 #include <math.h>
70882 main ()
70884 _ldexpl(0, 0);
70886 return 0;
70888 _ACEOF
70889 if ac_fn_cxx_try_compile "$LINENO"; then :
70890 glibcxx_cv_func__ldexpl_use=yes
70891 else
70892 glibcxx_cv_func__ldexpl_use=no
70894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70895 ac_ext=c
70896 ac_cpp='$CPP $CPPFLAGS'
70897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70906 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70908 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70909 for ac_func in _ldexpl
70910 do :
70911 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70912 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70913 cat >>confdefs.h <<_ACEOF
70914 #define HAVE__LDEXPL 1
70915 _ACEOF
70918 done
70927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70928 $as_echo_n "checking for logl declaration... " >&6; }
70929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70930 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70931 $as_echo_n "(cached) " >&6
70932 else
70935 ac_ext=cpp
70936 ac_cpp='$CXXCPP $CPPFLAGS'
70937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70942 /* end confdefs.h. */
70943 #include <math.h>
70944 #ifdef HAVE_IEEEFP_H
70945 #include <ieeefp.h>
70946 #endif
70949 main ()
70951 logl(0);
70953 return 0;
70955 _ACEOF
70956 if ac_fn_cxx_try_compile "$LINENO"; then :
70957 glibcxx_cv_func_logl_use=yes
70958 else
70959 glibcxx_cv_func_logl_use=no
70961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70962 ac_ext=c
70963 ac_cpp='$CPP $CPPFLAGS'
70964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70973 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70975 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70976 for ac_func in logl
70977 do :
70978 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70979 if test "x$ac_cv_func_logl" = x""yes; then :
70980 cat >>confdefs.h <<_ACEOF
70981 #define HAVE_LOGL 1
70982 _ACEOF
70985 done
70987 else
70989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70990 $as_echo_n "checking for _logl declaration... " >&6; }
70991 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70992 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70993 $as_echo_n "(cached) " >&6
70994 else
70997 ac_ext=cpp
70998 ac_cpp='$CXXCPP $CPPFLAGS'
70999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71004 /* end confdefs.h. */
71005 #include <math.h>
71006 #ifdef HAVE_IEEEFP_H
71007 #include <ieeefp.h>
71008 #endif
71011 main ()
71013 _logl(0);
71015 return 0;
71017 _ACEOF
71018 if ac_fn_cxx_try_compile "$LINENO"; then :
71019 glibcxx_cv_func__logl_use=yes
71020 else
71021 glibcxx_cv_func__logl_use=no
71023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71024 ac_ext=c
71025 ac_cpp='$CPP $CPPFLAGS'
71026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71035 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71037 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71038 for ac_func in _logl
71039 do :
71040 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71041 if test "x$ac_cv_func__logl" = x""yes; then :
71042 cat >>confdefs.h <<_ACEOF
71043 #define HAVE__LOGL 1
71044 _ACEOF
71047 done
71056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71057 $as_echo_n "checking for log10l declaration... " >&6; }
71058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71059 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71060 $as_echo_n "(cached) " >&6
71061 else
71064 ac_ext=cpp
71065 ac_cpp='$CXXCPP $CPPFLAGS'
71066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71071 /* end confdefs.h. */
71072 #include <math.h>
71073 #ifdef HAVE_IEEEFP_H
71074 #include <ieeefp.h>
71075 #endif
71078 main ()
71080 log10l(0);
71082 return 0;
71084 _ACEOF
71085 if ac_fn_cxx_try_compile "$LINENO"; then :
71086 glibcxx_cv_func_log10l_use=yes
71087 else
71088 glibcxx_cv_func_log10l_use=no
71090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71091 ac_ext=c
71092 ac_cpp='$CPP $CPPFLAGS'
71093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71102 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71104 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71105 for ac_func in log10l
71106 do :
71107 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71108 if test "x$ac_cv_func_log10l" = x""yes; then :
71109 cat >>confdefs.h <<_ACEOF
71110 #define HAVE_LOG10L 1
71111 _ACEOF
71114 done
71116 else
71118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71119 $as_echo_n "checking for _log10l declaration... " >&6; }
71120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71121 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71122 $as_echo_n "(cached) " >&6
71123 else
71126 ac_ext=cpp
71127 ac_cpp='$CXXCPP $CPPFLAGS'
71128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71133 /* end confdefs.h. */
71134 #include <math.h>
71135 #ifdef HAVE_IEEEFP_H
71136 #include <ieeefp.h>
71137 #endif
71140 main ()
71142 _log10l(0);
71144 return 0;
71146 _ACEOF
71147 if ac_fn_cxx_try_compile "$LINENO"; then :
71148 glibcxx_cv_func__log10l_use=yes
71149 else
71150 glibcxx_cv_func__log10l_use=no
71152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71153 ac_ext=c
71154 ac_cpp='$CPP $CPPFLAGS'
71155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71164 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71166 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71167 for ac_func in _log10l
71168 do :
71169 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71170 if test "x$ac_cv_func__log10l" = x""yes; then :
71171 cat >>confdefs.h <<_ACEOF
71172 #define HAVE__LOG10L 1
71173 _ACEOF
71176 done
71185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71186 $as_echo_n "checking for modfl declaration... " >&6; }
71187 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71188 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71189 $as_echo_n "(cached) " >&6
71190 else
71193 ac_ext=cpp
71194 ac_cpp='$CXXCPP $CPPFLAGS'
71195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71200 /* end confdefs.h. */
71201 #include <math.h>
71203 main ()
71205 modfl(0, 0);
71207 return 0;
71209 _ACEOF
71210 if ac_fn_cxx_try_compile "$LINENO"; then :
71211 glibcxx_cv_func_modfl_use=yes
71212 else
71213 glibcxx_cv_func_modfl_use=no
71215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71216 ac_ext=c
71217 ac_cpp='$CPP $CPPFLAGS'
71218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71227 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71229 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71230 for ac_func in modfl
71231 do :
71232 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71233 if test "x$ac_cv_func_modfl" = x""yes; then :
71234 cat >>confdefs.h <<_ACEOF
71235 #define HAVE_MODFL 1
71236 _ACEOF
71239 done
71241 else
71243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71244 $as_echo_n "checking for _modfl declaration... " >&6; }
71245 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71246 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71247 $as_echo_n "(cached) " >&6
71248 else
71251 ac_ext=cpp
71252 ac_cpp='$CXXCPP $CPPFLAGS'
71253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71258 /* end confdefs.h. */
71259 #include <math.h>
71261 main ()
71263 _modfl(0, 0);
71265 return 0;
71267 _ACEOF
71268 if ac_fn_cxx_try_compile "$LINENO"; then :
71269 glibcxx_cv_func__modfl_use=yes
71270 else
71271 glibcxx_cv_func__modfl_use=no
71273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71274 ac_ext=c
71275 ac_cpp='$CPP $CPPFLAGS'
71276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71285 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71288 for ac_func in _modfl
71289 do :
71290 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71291 if test "x$ac_cv_func__modfl" = x""yes; then :
71292 cat >>confdefs.h <<_ACEOF
71293 #define HAVE__MODFL 1
71294 _ACEOF
71297 done
71306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71307 $as_echo_n "checking for powl declaration... " >&6; }
71308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71309 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71310 $as_echo_n "(cached) " >&6
71311 else
71314 ac_ext=cpp
71315 ac_cpp='$CXXCPP $CPPFLAGS'
71316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71321 /* end confdefs.h. */
71322 #include <math.h>
71324 main ()
71326 powl(0, 0);
71328 return 0;
71330 _ACEOF
71331 if ac_fn_cxx_try_compile "$LINENO"; then :
71332 glibcxx_cv_func_powl_use=yes
71333 else
71334 glibcxx_cv_func_powl_use=no
71336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71337 ac_ext=c
71338 ac_cpp='$CPP $CPPFLAGS'
71339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71348 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71350 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71351 for ac_func in powl
71352 do :
71353 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71354 if test "x$ac_cv_func_powl" = x""yes; then :
71355 cat >>confdefs.h <<_ACEOF
71356 #define HAVE_POWL 1
71357 _ACEOF
71360 done
71362 else
71364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71365 $as_echo_n "checking for _powl declaration... " >&6; }
71366 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71367 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71368 $as_echo_n "(cached) " >&6
71369 else
71372 ac_ext=cpp
71373 ac_cpp='$CXXCPP $CPPFLAGS'
71374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71379 /* end confdefs.h. */
71380 #include <math.h>
71382 main ()
71384 _powl(0, 0);
71386 return 0;
71388 _ACEOF
71389 if ac_fn_cxx_try_compile "$LINENO"; then :
71390 glibcxx_cv_func__powl_use=yes
71391 else
71392 glibcxx_cv_func__powl_use=no
71394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71395 ac_ext=c
71396 ac_cpp='$CPP $CPPFLAGS'
71397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71406 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71408 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71409 for ac_func in _powl
71410 do :
71411 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71412 if test "x$ac_cv_func__powl" = x""yes; then :
71413 cat >>confdefs.h <<_ACEOF
71414 #define HAVE__POWL 1
71415 _ACEOF
71418 done
71427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71428 $as_echo_n "checking for sqrtl declaration... " >&6; }
71429 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71430 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71431 $as_echo_n "(cached) " >&6
71432 else
71435 ac_ext=cpp
71436 ac_cpp='$CXXCPP $CPPFLAGS'
71437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71442 /* end confdefs.h. */
71443 #include <math.h>
71444 #ifdef HAVE_IEEEFP_H
71445 #include <ieeefp.h>
71446 #endif
71449 main ()
71451 sqrtl(0);
71453 return 0;
71455 _ACEOF
71456 if ac_fn_cxx_try_compile "$LINENO"; then :
71457 glibcxx_cv_func_sqrtl_use=yes
71458 else
71459 glibcxx_cv_func_sqrtl_use=no
71461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71462 ac_ext=c
71463 ac_cpp='$CPP $CPPFLAGS'
71464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71473 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71475 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71476 for ac_func in sqrtl
71477 do :
71478 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71479 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71480 cat >>confdefs.h <<_ACEOF
71481 #define HAVE_SQRTL 1
71482 _ACEOF
71485 done
71487 else
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71490 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71491 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71492 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71493 $as_echo_n "(cached) " >&6
71494 else
71497 ac_ext=cpp
71498 ac_cpp='$CXXCPP $CPPFLAGS'
71499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71504 /* end confdefs.h. */
71505 #include <math.h>
71506 #ifdef HAVE_IEEEFP_H
71507 #include <ieeefp.h>
71508 #endif
71511 main ()
71513 _sqrtl(0);
71515 return 0;
71517 _ACEOF
71518 if ac_fn_cxx_try_compile "$LINENO"; then :
71519 glibcxx_cv_func__sqrtl_use=yes
71520 else
71521 glibcxx_cv_func__sqrtl_use=no
71523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71524 ac_ext=c
71525 ac_cpp='$CPP $CPPFLAGS'
71526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71535 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71538 for ac_func in _sqrtl
71539 do :
71540 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71541 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71542 cat >>confdefs.h <<_ACEOF
71543 #define HAVE__SQRTL 1
71544 _ACEOF
71547 done
71556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71557 $as_echo_n "checking for sincosl declaration... " >&6; }
71558 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71559 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71560 $as_echo_n "(cached) " >&6
71561 else
71564 ac_ext=cpp
71565 ac_cpp='$CXXCPP $CPPFLAGS'
71566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71571 /* end confdefs.h. */
71572 #include <math.h>
71574 main ()
71576 sincosl(0, 0, 0);
71578 return 0;
71580 _ACEOF
71581 if ac_fn_cxx_try_compile "$LINENO"; then :
71582 glibcxx_cv_func_sincosl_use=yes
71583 else
71584 glibcxx_cv_func_sincosl_use=no
71586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71587 ac_ext=c
71588 ac_cpp='$CPP $CPPFLAGS'
71589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71598 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71600 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71601 for ac_func in sincosl
71602 do :
71603 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71604 if test "x$ac_cv_func_sincosl" = x""yes; then :
71605 cat >>confdefs.h <<_ACEOF
71606 #define HAVE_SINCOSL 1
71607 _ACEOF
71610 done
71612 else
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71615 $as_echo_n "checking for _sincosl declaration... " >&6; }
71616 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71617 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71618 $as_echo_n "(cached) " >&6
71619 else
71622 ac_ext=cpp
71623 ac_cpp='$CXXCPP $CPPFLAGS'
71624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71629 /* end confdefs.h. */
71630 #include <math.h>
71632 main ()
71634 _sincosl(0, 0, 0);
71636 return 0;
71638 _ACEOF
71639 if ac_fn_cxx_try_compile "$LINENO"; then :
71640 glibcxx_cv_func__sincosl_use=yes
71641 else
71642 glibcxx_cv_func__sincosl_use=no
71644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71645 ac_ext=c
71646 ac_cpp='$CPP $CPPFLAGS'
71647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71656 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71658 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71659 for ac_func in _sincosl
71660 do :
71661 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71662 if test "x$ac_cv_func__sincosl" = x""yes; then :
71663 cat >>confdefs.h <<_ACEOF
71664 #define HAVE__SINCOSL 1
71665 _ACEOF
71668 done
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71678 $as_echo_n "checking for finitel declaration... " >&6; }
71679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71680 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71681 $as_echo_n "(cached) " >&6
71682 else
71685 ac_ext=cpp
71686 ac_cpp='$CXXCPP $CPPFLAGS'
71687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71692 /* end confdefs.h. */
71693 #include <math.h>
71694 #ifdef HAVE_IEEEFP_H
71695 #include <ieeefp.h>
71696 #endif
71699 main ()
71701 finitel(0);
71703 return 0;
71705 _ACEOF
71706 if ac_fn_cxx_try_compile "$LINENO"; then :
71707 glibcxx_cv_func_finitel_use=yes
71708 else
71709 glibcxx_cv_func_finitel_use=no
71711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71712 ac_ext=c
71713 ac_cpp='$CPP $CPPFLAGS'
71714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71723 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71725 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71726 for ac_func in finitel
71727 do :
71728 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71729 if test "x$ac_cv_func_finitel" = x""yes; then :
71730 cat >>confdefs.h <<_ACEOF
71731 #define HAVE_FINITEL 1
71732 _ACEOF
71735 done
71737 else
71739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71740 $as_echo_n "checking for _finitel declaration... " >&6; }
71741 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71742 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71743 $as_echo_n "(cached) " >&6
71744 else
71747 ac_ext=cpp
71748 ac_cpp='$CXXCPP $CPPFLAGS'
71749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71754 /* end confdefs.h. */
71755 #include <math.h>
71756 #ifdef HAVE_IEEEFP_H
71757 #include <ieeefp.h>
71758 #endif
71761 main ()
71763 _finitel(0);
71765 return 0;
71767 _ACEOF
71768 if ac_fn_cxx_try_compile "$LINENO"; then :
71769 glibcxx_cv_func__finitel_use=yes
71770 else
71771 glibcxx_cv_func__finitel_use=no
71773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71774 ac_ext=c
71775 ac_cpp='$CPP $CPPFLAGS'
71776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71785 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71787 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71788 for ac_func in _finitel
71789 do :
71790 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71791 if test "x$ac_cv_func__finitel" = x""yes; then :
71792 cat >>confdefs.h <<_ACEOF
71793 #define HAVE__FINITEL 1
71794 _ACEOF
71797 done
71805 LIBS="$ac_save_LIBS"
71806 CXXFLAGS="$ac_save_CXXFLAGS"
71809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71810 ac_save_CXXFLAGS="$CXXFLAGS"
71811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71815 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71816 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71817 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71818 $as_echo_n "(cached) " >&6
71819 else
71822 ac_ext=cpp
71823 ac_cpp='$CXXCPP $CPPFLAGS'
71824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71829 /* end confdefs.h. */
71830 #include <stdlib.h>
71832 main ()
71834 at_quick_exit(0);
71836 return 0;
71838 _ACEOF
71839 if ac_fn_cxx_try_compile "$LINENO"; then :
71840 glibcxx_cv_func_at_quick_exit_use=yes
71841 else
71842 glibcxx_cv_func_at_quick_exit_use=no
71844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71845 ac_ext=c
71846 ac_cpp='$CPP $CPPFLAGS'
71847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71856 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71857 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71858 for ac_func in at_quick_exit
71859 do :
71860 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71861 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71862 cat >>confdefs.h <<_ACEOF
71863 #define HAVE_AT_QUICK_EXIT 1
71864 _ACEOF
71867 done
71872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71873 $as_echo_n "checking for quick_exit declaration... " >&6; }
71874 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71875 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71876 $as_echo_n "(cached) " >&6
71877 else
71880 ac_ext=cpp
71881 ac_cpp='$CXXCPP $CPPFLAGS'
71882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71887 /* end confdefs.h. */
71888 #include <stdlib.h>
71890 main ()
71892 quick_exit(0);
71894 return 0;
71896 _ACEOF
71897 if ac_fn_cxx_try_compile "$LINENO"; then :
71898 glibcxx_cv_func_quick_exit_use=yes
71899 else
71900 glibcxx_cv_func_quick_exit_use=no
71902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71903 ac_ext=c
71904 ac_cpp='$CPP $CPPFLAGS'
71905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71914 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71915 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71916 for ac_func in quick_exit
71917 do :
71918 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71919 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71920 cat >>confdefs.h <<_ACEOF
71921 #define HAVE_QUICK_EXIT 1
71922 _ACEOF
71925 done
71930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71931 $as_echo_n "checking for strtold declaration... " >&6; }
71932 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71933 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71934 $as_echo_n "(cached) " >&6
71935 else
71938 ac_ext=cpp
71939 ac_cpp='$CXXCPP $CPPFLAGS'
71940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71945 /* end confdefs.h. */
71946 #include <stdlib.h>
71948 main ()
71950 strtold(0, 0);
71952 return 0;
71954 _ACEOF
71955 if ac_fn_cxx_try_compile "$LINENO"; then :
71956 glibcxx_cv_func_strtold_use=yes
71957 else
71958 glibcxx_cv_func_strtold_use=no
71960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71961 ac_ext=c
71962 ac_cpp='$CPP $CPPFLAGS'
71963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71972 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71973 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71974 for ac_func in strtold
71975 do :
71976 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71977 if test "x$ac_cv_func_strtold" = x""yes; then :
71978 cat >>confdefs.h <<_ACEOF
71979 #define HAVE_STRTOLD 1
71980 _ACEOF
71983 done
71990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71991 $as_echo_n "checking for strtof declaration... " >&6; }
71992 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71993 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71994 $as_echo_n "(cached) " >&6
71995 else
71998 ac_ext=cpp
71999 ac_cpp='$CXXCPP $CPPFLAGS'
72000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72005 /* end confdefs.h. */
72006 #include <stdlib.h>
72008 main ()
72010 strtof(0, 0);
72012 return 0;
72014 _ACEOF
72015 if ac_fn_cxx_try_compile "$LINENO"; then :
72016 glibcxx_cv_func_strtof_use=yes
72017 else
72018 glibcxx_cv_func_strtof_use=no
72020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72021 ac_ext=c
72022 ac_cpp='$CPP $CPPFLAGS'
72023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72032 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72033 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72034 for ac_func in strtof
72035 do :
72036 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72037 if test "x$ac_cv_func_strtof" = x""yes; then :
72038 cat >>confdefs.h <<_ACEOF
72039 #define HAVE_STRTOF 1
72040 _ACEOF
72043 done
72050 CXXFLAGS="$ac_save_CXXFLAGS"
72053 *-solaris*)
72055 # If we're not using GNU ld, then there's no point in even trying these
72056 # tests. Check for that first. We should have already tested for gld
72057 # by now (in libtool), but require it now just to be safe...
72058 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72059 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72063 # The name set by libtool depends on the version of libtool. Shame on us
72064 # for depending on an impl detail, but c'est la vie. Older versions used
72065 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72066 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72067 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72068 # set (hence we're using an older libtool), then set it.
72069 if test x${with_gnu_ld+set} != xset; then
72070 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72071 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72072 with_gnu_ld=no
72073 else
72074 with_gnu_ld=$ac_cv_prog_gnu_ld
72078 # Start by getting the version number. I think the libtool test already
72079 # does some of this, but throws away the result.
72080 glibcxx_ld_is_gold=no
72081 if test x"$with_gnu_ld" = x"yes"; then
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72083 $as_echo_n "checking for ld version... " >&6; }
72085 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72086 glibcxx_ld_is_gold=yes
72088 ldver=`$LD --version 2>/dev/null |
72089 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'`
72091 glibcxx_gnu_ld_version=`echo $ldver | \
72092 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72094 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72097 # Set --gc-sections.
72098 glibcxx_have_gc_sections=no
72099 if test "$glibcxx_ld_is_gold" = "yes"; then
72100 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72101 glibcxx_have_gc_sections=yes
72103 else
72104 glibcxx_gcsections_min_ld=21602
72105 if test x"$with_gnu_ld" = x"yes" &&
72106 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72107 glibcxx_have_gc_sections=yes
72110 if test "$glibcxx_have_gc_sections" = "yes"; then
72111 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72112 # NB: This flag only works reliably after 2.16.1. Configure tests
72113 # for this are difficult, so hard wire a value that should work.
72115 ac_test_CFLAGS="${CFLAGS+set}"
72116 ac_save_CFLAGS="$CFLAGS"
72117 CFLAGS='-Wl,--gc-sections'
72119 # Check for -Wl,--gc-sections
72120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72121 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72122 if test x$gcc_no_link = xyes; then
72123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72126 /* end confdefs.h. */
72127 int one(void) { return 1; }
72128 int two(void) { return 2; }
72131 main ()
72133 two();
72135 return 0;
72137 _ACEOF
72138 if ac_fn_c_try_link "$LINENO"; then :
72139 ac_gcsections=yes
72140 else
72141 ac_gcsections=no
72143 rm -f core conftest.err conftest.$ac_objext \
72144 conftest$ac_exeext conftest.$ac_ext
72145 if test "$ac_gcsections" = "yes"; then
72146 rm -f conftest.c
72147 touch conftest.c
72148 if $CC -c conftest.c; then
72149 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72150 grep "Warning: gc-sections option ignored" > /dev/null; then
72151 ac_gcsections=no
72154 rm -f conftest.c conftest.o conftest
72156 if test "$ac_gcsections" = "yes"; then
72157 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72160 $as_echo "$ac_gcsections" >&6; }
72162 if test "$ac_test_CFLAGS" = set; then
72163 CFLAGS="$ac_save_CFLAGS"
72164 else
72165 # this is the suspicious part
72166 CFLAGS=''
72170 # Set -z,relro.
72171 # Note this is only for shared objects.
72172 ac_ld_relro=no
72173 if test x"$with_gnu_ld" = x"yes"; then
72174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72175 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72176 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72177 if test -n "$cxx_z_relo"; then
72178 OPT_LDFLAGS="-Wl,-z,relro"
72179 ac_ld_relro=yes
72181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72182 $as_echo "$ac_ld_relro" >&6; }
72185 # Set linker optimization flags.
72186 if test x"$with_gnu_ld" = x"yes"; then
72187 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72193 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72195 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72197 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72199 # All of the dependencies for wide character support are here, so
72200 # turn it on.
72201 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72203 # These two C99 functions are present only in Solaris >= 10
72204 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72206 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72208 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72210 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72212 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72214 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72217 *-tpf)
72218 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72219 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72221 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72223 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72225 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72227 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72229 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72231 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72233 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72235 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72237 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72239 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72241 if test x"long_double_math_on_this_cpu" = x"yes"; then
72242 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72244 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72246 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72248 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72252 *-*vms*)
72253 # Check for available headers.
72254 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72257 ac_save_CXXFLAGS="$CXXFLAGS"
72258 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72261 $as_echo_n "checking for sin in -lm... " >&6; }
72262 if test "${ac_cv_lib_m_sin+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72265 ac_check_lib_save_LIBS=$LIBS
72266 LIBS="-lm $LIBS"
72267 if test x$gcc_no_link = xyes; then
72268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72271 /* end confdefs.h. */
72273 /* Override any GCC internal prototype to avoid an error.
72274 Use char because int might match the return type of a GCC
72275 builtin and then its argument prototype would still apply. */
72276 #ifdef __cplusplus
72277 extern "C"
72278 #endif
72279 char sin ();
72281 main ()
72283 return sin ();
72285 return 0;
72287 _ACEOF
72288 if ac_fn_c_try_link "$LINENO"; then :
72289 ac_cv_lib_m_sin=yes
72290 else
72291 ac_cv_lib_m_sin=no
72293 rm -f core conftest.err conftest.$ac_objext \
72294 conftest$ac_exeext conftest.$ac_ext
72295 LIBS=$ac_check_lib_save_LIBS
72297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72298 $as_echo "$ac_cv_lib_m_sin" >&6; }
72299 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72300 libm="-lm"
72303 ac_save_LIBS="$LIBS"
72304 LIBS="$LIBS $libm"
72308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72309 $as_echo_n "checking for isinf declaration... " >&6; }
72310 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72311 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72312 $as_echo_n "(cached) " >&6
72313 else
72316 ac_ext=cpp
72317 ac_cpp='$CXXCPP $CPPFLAGS'
72318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72323 /* end confdefs.h. */
72324 #include <math.h>
72325 #ifdef HAVE_IEEEFP_H
72326 #include <ieeefp.h>
72327 #endif
72330 main ()
72332 isinf(0);
72334 return 0;
72336 _ACEOF
72337 if ac_fn_cxx_try_compile "$LINENO"; then :
72338 glibcxx_cv_func_isinf_use=yes
72339 else
72340 glibcxx_cv_func_isinf_use=no
72342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72343 ac_ext=c
72344 ac_cpp='$CPP $CPPFLAGS'
72345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72354 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72356 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72357 for ac_func in isinf
72358 do :
72359 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72360 if test "x$ac_cv_func_isinf" = x""yes; then :
72361 cat >>confdefs.h <<_ACEOF
72362 #define HAVE_ISINF 1
72363 _ACEOF
72366 done
72368 else
72370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72371 $as_echo_n "checking for _isinf declaration... " >&6; }
72372 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72373 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72374 $as_echo_n "(cached) " >&6
72375 else
72378 ac_ext=cpp
72379 ac_cpp='$CXXCPP $CPPFLAGS'
72380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72385 /* end confdefs.h. */
72386 #include <math.h>
72387 #ifdef HAVE_IEEEFP_H
72388 #include <ieeefp.h>
72389 #endif
72392 main ()
72394 _isinf(0);
72396 return 0;
72398 _ACEOF
72399 if ac_fn_cxx_try_compile "$LINENO"; then :
72400 glibcxx_cv_func__isinf_use=yes
72401 else
72402 glibcxx_cv_func__isinf_use=no
72404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72405 ac_ext=c
72406 ac_cpp='$CPP $CPPFLAGS'
72407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72416 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72418 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72419 for ac_func in _isinf
72420 do :
72421 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72422 if test "x$ac_cv_func__isinf" = x""yes; then :
72423 cat >>confdefs.h <<_ACEOF
72424 #define HAVE__ISINF 1
72425 _ACEOF
72428 done
72437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72438 $as_echo_n "checking for isnan declaration... " >&6; }
72439 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72440 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72441 $as_echo_n "(cached) " >&6
72442 else
72445 ac_ext=cpp
72446 ac_cpp='$CXXCPP $CPPFLAGS'
72447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72452 /* end confdefs.h. */
72453 #include <math.h>
72454 #ifdef HAVE_IEEEFP_H
72455 #include <ieeefp.h>
72456 #endif
72459 main ()
72461 isnan(0);
72463 return 0;
72465 _ACEOF
72466 if ac_fn_cxx_try_compile "$LINENO"; then :
72467 glibcxx_cv_func_isnan_use=yes
72468 else
72469 glibcxx_cv_func_isnan_use=no
72471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72472 ac_ext=c
72473 ac_cpp='$CPP $CPPFLAGS'
72474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72483 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72485 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72486 for ac_func in isnan
72487 do :
72488 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72489 if test "x$ac_cv_func_isnan" = x""yes; then :
72490 cat >>confdefs.h <<_ACEOF
72491 #define HAVE_ISNAN 1
72492 _ACEOF
72495 done
72497 else
72499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72500 $as_echo_n "checking for _isnan declaration... " >&6; }
72501 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72502 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72503 $as_echo_n "(cached) " >&6
72504 else
72507 ac_ext=cpp
72508 ac_cpp='$CXXCPP $CPPFLAGS'
72509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72514 /* end confdefs.h. */
72515 #include <math.h>
72516 #ifdef HAVE_IEEEFP_H
72517 #include <ieeefp.h>
72518 #endif
72521 main ()
72523 _isnan(0);
72525 return 0;
72527 _ACEOF
72528 if ac_fn_cxx_try_compile "$LINENO"; then :
72529 glibcxx_cv_func__isnan_use=yes
72530 else
72531 glibcxx_cv_func__isnan_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
72544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72545 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72547 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72548 for ac_func in _isnan
72549 do :
72550 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72551 if test "x$ac_cv_func__isnan" = x""yes; then :
72552 cat >>confdefs.h <<_ACEOF
72553 #define HAVE__ISNAN 1
72554 _ACEOF
72557 done
72566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72567 $as_echo_n "checking for finite declaration... " >&6; }
72568 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72569 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72570 $as_echo_n "(cached) " >&6
72571 else
72574 ac_ext=cpp
72575 ac_cpp='$CXXCPP $CPPFLAGS'
72576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72581 /* end confdefs.h. */
72582 #include <math.h>
72583 #ifdef HAVE_IEEEFP_H
72584 #include <ieeefp.h>
72585 #endif
72588 main ()
72590 finite(0);
72592 return 0;
72594 _ACEOF
72595 if ac_fn_cxx_try_compile "$LINENO"; then :
72596 glibcxx_cv_func_finite_use=yes
72597 else
72598 glibcxx_cv_func_finite_use=no
72600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72601 ac_ext=c
72602 ac_cpp='$CPP $CPPFLAGS'
72603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72612 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72614 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72615 for ac_func in finite
72616 do :
72617 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72618 if test "x$ac_cv_func_finite" = x""yes; then :
72619 cat >>confdefs.h <<_ACEOF
72620 #define HAVE_FINITE 1
72621 _ACEOF
72624 done
72626 else
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72629 $as_echo_n "checking for _finite declaration... " >&6; }
72630 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72631 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72632 $as_echo_n "(cached) " >&6
72633 else
72636 ac_ext=cpp
72637 ac_cpp='$CXXCPP $CPPFLAGS'
72638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72643 /* end confdefs.h. */
72644 #include <math.h>
72645 #ifdef HAVE_IEEEFP_H
72646 #include <ieeefp.h>
72647 #endif
72650 main ()
72652 _finite(0);
72654 return 0;
72656 _ACEOF
72657 if ac_fn_cxx_try_compile "$LINENO"; then :
72658 glibcxx_cv_func__finite_use=yes
72659 else
72660 glibcxx_cv_func__finite_use=no
72662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72663 ac_ext=c
72664 ac_cpp='$CPP $CPPFLAGS'
72665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72674 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72676 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72677 for ac_func in _finite
72678 do :
72679 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72680 if test "x$ac_cv_func__finite" = x""yes; then :
72681 cat >>confdefs.h <<_ACEOF
72682 #define HAVE__FINITE 1
72683 _ACEOF
72686 done
72695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72696 $as_echo_n "checking for sincos declaration... " >&6; }
72697 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72698 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72699 $as_echo_n "(cached) " >&6
72700 else
72703 ac_ext=cpp
72704 ac_cpp='$CXXCPP $CPPFLAGS'
72705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72710 /* end confdefs.h. */
72711 #include <math.h>
72713 main ()
72715 sincos(0, 0, 0);
72717 return 0;
72719 _ACEOF
72720 if ac_fn_cxx_try_compile "$LINENO"; then :
72721 glibcxx_cv_func_sincos_use=yes
72722 else
72723 glibcxx_cv_func_sincos_use=no
72725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72726 ac_ext=c
72727 ac_cpp='$CPP $CPPFLAGS'
72728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72737 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72739 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72740 for ac_func in sincos
72741 do :
72742 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72743 if test "x$ac_cv_func_sincos" = x""yes; then :
72744 cat >>confdefs.h <<_ACEOF
72745 #define HAVE_SINCOS 1
72746 _ACEOF
72749 done
72751 else
72753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72754 $as_echo_n "checking for _sincos declaration... " >&6; }
72755 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72756 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72757 $as_echo_n "(cached) " >&6
72758 else
72761 ac_ext=cpp
72762 ac_cpp='$CXXCPP $CPPFLAGS'
72763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72768 /* end confdefs.h. */
72769 #include <math.h>
72771 main ()
72773 _sincos(0, 0, 0);
72775 return 0;
72777 _ACEOF
72778 if ac_fn_cxx_try_compile "$LINENO"; then :
72779 glibcxx_cv_func__sincos_use=yes
72780 else
72781 glibcxx_cv_func__sincos_use=no
72783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72784 ac_ext=c
72785 ac_cpp='$CPP $CPPFLAGS'
72786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72795 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72797 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72798 for ac_func in _sincos
72799 do :
72800 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72801 if test "x$ac_cv_func__sincos" = x""yes; then :
72802 cat >>confdefs.h <<_ACEOF
72803 #define HAVE__SINCOS 1
72804 _ACEOF
72807 done
72816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72817 $as_echo_n "checking for fpclass declaration... " >&6; }
72818 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72819 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72820 $as_echo_n "(cached) " >&6
72821 else
72824 ac_ext=cpp
72825 ac_cpp='$CXXCPP $CPPFLAGS'
72826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72831 /* end confdefs.h. */
72832 #include <math.h>
72833 #ifdef HAVE_IEEEFP_H
72834 #include <ieeefp.h>
72835 #endif
72838 main ()
72840 fpclass(0);
72842 return 0;
72844 _ACEOF
72845 if ac_fn_cxx_try_compile "$LINENO"; then :
72846 glibcxx_cv_func_fpclass_use=yes
72847 else
72848 glibcxx_cv_func_fpclass_use=no
72850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72851 ac_ext=c
72852 ac_cpp='$CPP $CPPFLAGS'
72853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72862 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72864 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72865 for ac_func in fpclass
72866 do :
72867 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72868 if test "x$ac_cv_func_fpclass" = x""yes; then :
72869 cat >>confdefs.h <<_ACEOF
72870 #define HAVE_FPCLASS 1
72871 _ACEOF
72874 done
72876 else
72878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72879 $as_echo_n "checking for _fpclass declaration... " >&6; }
72880 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72881 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72882 $as_echo_n "(cached) " >&6
72883 else
72886 ac_ext=cpp
72887 ac_cpp='$CXXCPP $CPPFLAGS'
72888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72893 /* end confdefs.h. */
72894 #include <math.h>
72895 #ifdef HAVE_IEEEFP_H
72896 #include <ieeefp.h>
72897 #endif
72900 main ()
72902 _fpclass(0);
72904 return 0;
72906 _ACEOF
72907 if ac_fn_cxx_try_compile "$LINENO"; then :
72908 glibcxx_cv_func__fpclass_use=yes
72909 else
72910 glibcxx_cv_func__fpclass_use=no
72912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72913 ac_ext=c
72914 ac_cpp='$CPP $CPPFLAGS'
72915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72924 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72926 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72927 for ac_func in _fpclass
72928 do :
72929 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72930 if test "x$ac_cv_func__fpclass" = x""yes; then :
72931 cat >>confdefs.h <<_ACEOF
72932 #define HAVE__FPCLASS 1
72933 _ACEOF
72936 done
72945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72946 $as_echo_n "checking for qfpclass declaration... " >&6; }
72947 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72948 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72949 $as_echo_n "(cached) " >&6
72950 else
72953 ac_ext=cpp
72954 ac_cpp='$CXXCPP $CPPFLAGS'
72955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72960 /* end confdefs.h. */
72961 #include <math.h>
72962 #ifdef HAVE_IEEEFP_H
72963 #include <ieeefp.h>
72964 #endif
72967 main ()
72969 qfpclass(0);
72971 return 0;
72973 _ACEOF
72974 if ac_fn_cxx_try_compile "$LINENO"; then :
72975 glibcxx_cv_func_qfpclass_use=yes
72976 else
72977 glibcxx_cv_func_qfpclass_use=no
72979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72980 ac_ext=c
72981 ac_cpp='$CPP $CPPFLAGS'
72982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72991 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72993 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72994 for ac_func in qfpclass
72995 do :
72996 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72997 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72998 cat >>confdefs.h <<_ACEOF
72999 #define HAVE_QFPCLASS 1
73000 _ACEOF
73003 done
73005 else
73007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73008 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73009 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73010 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73011 $as_echo_n "(cached) " >&6
73012 else
73015 ac_ext=cpp
73016 ac_cpp='$CXXCPP $CPPFLAGS'
73017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73022 /* end confdefs.h. */
73023 #include <math.h>
73024 #ifdef HAVE_IEEEFP_H
73025 #include <ieeefp.h>
73026 #endif
73029 main ()
73031 _qfpclass(0);
73033 return 0;
73035 _ACEOF
73036 if ac_fn_cxx_try_compile "$LINENO"; then :
73037 glibcxx_cv_func__qfpclass_use=yes
73038 else
73039 glibcxx_cv_func__qfpclass_use=no
73041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73042 ac_ext=c
73043 ac_cpp='$CPP $CPPFLAGS'
73044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73053 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73055 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73056 for ac_func in _qfpclass
73057 do :
73058 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73059 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73060 cat >>confdefs.h <<_ACEOF
73061 #define HAVE__QFPCLASS 1
73062 _ACEOF
73065 done
73074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73075 $as_echo_n "checking for hypot declaration... " >&6; }
73076 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73077 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73078 $as_echo_n "(cached) " >&6
73079 else
73082 ac_ext=cpp
73083 ac_cpp='$CXXCPP $CPPFLAGS'
73084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73089 /* end confdefs.h. */
73090 #include <math.h>
73092 main ()
73094 hypot(0, 0);
73096 return 0;
73098 _ACEOF
73099 if ac_fn_cxx_try_compile "$LINENO"; then :
73100 glibcxx_cv_func_hypot_use=yes
73101 else
73102 glibcxx_cv_func_hypot_use=no
73104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73105 ac_ext=c
73106 ac_cpp='$CPP $CPPFLAGS'
73107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73116 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73118 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73119 for ac_func in hypot
73120 do :
73121 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73122 if test "x$ac_cv_func_hypot" = x""yes; then :
73123 cat >>confdefs.h <<_ACEOF
73124 #define HAVE_HYPOT 1
73125 _ACEOF
73128 done
73130 else
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73133 $as_echo_n "checking for _hypot declaration... " >&6; }
73134 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73135 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73136 $as_echo_n "(cached) " >&6
73137 else
73140 ac_ext=cpp
73141 ac_cpp='$CXXCPP $CPPFLAGS'
73142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73147 /* end confdefs.h. */
73148 #include <math.h>
73150 main ()
73152 _hypot(0, 0);
73154 return 0;
73156 _ACEOF
73157 if ac_fn_cxx_try_compile "$LINENO"; then :
73158 glibcxx_cv_func__hypot_use=yes
73159 else
73160 glibcxx_cv_func__hypot_use=no
73162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73163 ac_ext=c
73164 ac_cpp='$CPP $CPPFLAGS'
73165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73174 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73176 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73177 for ac_func in _hypot
73178 do :
73179 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73180 if test "x$ac_cv_func__hypot" = x""yes; then :
73181 cat >>confdefs.h <<_ACEOF
73182 #define HAVE__HYPOT 1
73183 _ACEOF
73186 done
73195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73196 $as_echo_n "checking for float trig functions... " >&6; }
73197 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73198 $as_echo_n "(cached) " >&6
73199 else
73202 ac_ext=cpp
73203 ac_cpp='$CXXCPP $CPPFLAGS'
73204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73209 /* end confdefs.h. */
73210 #include <math.h>
73212 main ()
73214 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73216 return 0;
73218 _ACEOF
73219 if ac_fn_cxx_try_compile "$LINENO"; then :
73220 glibcxx_cv_func_float_trig_use=yes
73221 else
73222 glibcxx_cv_func_float_trig_use=no
73224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73225 ac_ext=c
73226 ac_cpp='$CPP $CPPFLAGS'
73227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73234 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73235 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73236 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73237 do :
73238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73240 eval as_val=\$$as_ac_var
73241 if test "x$as_val" = x""yes; then :
73242 cat >>confdefs.h <<_ACEOF
73243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73244 _ACEOF
73247 done
73249 else
73250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73251 $as_echo_n "checking for _float trig functions... " >&6; }
73252 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73253 $as_echo_n "(cached) " >&6
73254 else
73257 ac_ext=cpp
73258 ac_cpp='$CXXCPP $CPPFLAGS'
73259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73264 /* end confdefs.h. */
73265 #include <math.h>
73267 main ()
73269 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73271 return 0;
73273 _ACEOF
73274 if ac_fn_cxx_try_compile "$LINENO"; then :
73275 glibcxx_cv_func__float_trig_use=yes
73276 else
73277 glibcxx_cv_func__float_trig_use=no
73279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73280 ac_ext=c
73281 ac_cpp='$CPP $CPPFLAGS'
73282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73289 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73290 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73291 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73292 do :
73293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73295 eval as_val=\$$as_ac_var
73296 if test "x$as_val" = x""yes; then :
73297 cat >>confdefs.h <<_ACEOF
73298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73299 _ACEOF
73302 done
73311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73312 $as_echo_n "checking for float round functions... " >&6; }
73313 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73314 $as_echo_n "(cached) " >&6
73315 else
73318 ac_ext=cpp
73319 ac_cpp='$CXXCPP $CPPFLAGS'
73320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73325 /* end confdefs.h. */
73326 #include <math.h>
73328 main ()
73330 ceilf (0); floorf (0);
73332 return 0;
73334 _ACEOF
73335 if ac_fn_cxx_try_compile "$LINENO"; then :
73336 glibcxx_cv_func_float_round_use=yes
73337 else
73338 glibcxx_cv_func_float_round_use=no
73340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73341 ac_ext=c
73342 ac_cpp='$CPP $CPPFLAGS'
73343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73350 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73351 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73352 for ac_func in ceilf floorf
73353 do :
73354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73356 eval as_val=\$$as_ac_var
73357 if test "x$as_val" = x""yes; then :
73358 cat >>confdefs.h <<_ACEOF
73359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73360 _ACEOF
73363 done
73365 else
73366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73367 $as_echo_n "checking for _float round functions... " >&6; }
73368 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73369 $as_echo_n "(cached) " >&6
73370 else
73373 ac_ext=cpp
73374 ac_cpp='$CXXCPP $CPPFLAGS'
73375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73380 /* end confdefs.h. */
73381 #include <math.h>
73383 main ()
73385 _ceilf (0); _floorf (0);
73387 return 0;
73389 _ACEOF
73390 if ac_fn_cxx_try_compile "$LINENO"; then :
73391 glibcxx_cv_func__float_round_use=yes
73392 else
73393 glibcxx_cv_func__float_round_use=no
73395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73396 ac_ext=c
73397 ac_cpp='$CPP $CPPFLAGS'
73398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73405 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73406 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73407 for ac_func in _ceilf _floorf
73408 do :
73409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73411 eval as_val=\$$as_ac_var
73412 if test "x$as_val" = x""yes; then :
73413 cat >>confdefs.h <<_ACEOF
73414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73415 _ACEOF
73418 done
73428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73429 $as_echo_n "checking for expf declaration... " >&6; }
73430 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73431 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73432 $as_echo_n "(cached) " >&6
73433 else
73436 ac_ext=cpp
73437 ac_cpp='$CXXCPP $CPPFLAGS'
73438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73443 /* end confdefs.h. */
73444 #include <math.h>
73445 #ifdef HAVE_IEEEFP_H
73446 #include <ieeefp.h>
73447 #endif
73450 main ()
73452 expf(0);
73454 return 0;
73456 _ACEOF
73457 if ac_fn_cxx_try_compile "$LINENO"; then :
73458 glibcxx_cv_func_expf_use=yes
73459 else
73460 glibcxx_cv_func_expf_use=no
73462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73463 ac_ext=c
73464 ac_cpp='$CPP $CPPFLAGS'
73465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73474 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73476 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73477 for ac_func in expf
73478 do :
73479 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73480 if test "x$ac_cv_func_expf" = x""yes; then :
73481 cat >>confdefs.h <<_ACEOF
73482 #define HAVE_EXPF 1
73483 _ACEOF
73486 done
73488 else
73490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73491 $as_echo_n "checking for _expf declaration... " >&6; }
73492 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73493 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73494 $as_echo_n "(cached) " >&6
73495 else
73498 ac_ext=cpp
73499 ac_cpp='$CXXCPP $CPPFLAGS'
73500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73505 /* end confdefs.h. */
73506 #include <math.h>
73507 #ifdef HAVE_IEEEFP_H
73508 #include <ieeefp.h>
73509 #endif
73512 main ()
73514 _expf(0);
73516 return 0;
73518 _ACEOF
73519 if ac_fn_cxx_try_compile "$LINENO"; then :
73520 glibcxx_cv_func__expf_use=yes
73521 else
73522 glibcxx_cv_func__expf_use=no
73524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73525 ac_ext=c
73526 ac_cpp='$CPP $CPPFLAGS'
73527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73536 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73538 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73539 for ac_func in _expf
73540 do :
73541 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73542 if test "x$ac_cv_func__expf" = x""yes; then :
73543 cat >>confdefs.h <<_ACEOF
73544 #define HAVE__EXPF 1
73545 _ACEOF
73548 done
73557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73558 $as_echo_n "checking for isnanf declaration... " >&6; }
73559 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73560 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73561 $as_echo_n "(cached) " >&6
73562 else
73565 ac_ext=cpp
73566 ac_cpp='$CXXCPP $CPPFLAGS'
73567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73572 /* end confdefs.h. */
73573 #include <math.h>
73574 #ifdef HAVE_IEEEFP_H
73575 #include <ieeefp.h>
73576 #endif
73579 main ()
73581 isnanf(0);
73583 return 0;
73585 _ACEOF
73586 if ac_fn_cxx_try_compile "$LINENO"; then :
73587 glibcxx_cv_func_isnanf_use=yes
73588 else
73589 glibcxx_cv_func_isnanf_use=no
73591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73592 ac_ext=c
73593 ac_cpp='$CPP $CPPFLAGS'
73594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73603 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73605 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73606 for ac_func in isnanf
73607 do :
73608 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73609 if test "x$ac_cv_func_isnanf" = x""yes; then :
73610 cat >>confdefs.h <<_ACEOF
73611 #define HAVE_ISNANF 1
73612 _ACEOF
73615 done
73617 else
73619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73620 $as_echo_n "checking for _isnanf declaration... " >&6; }
73621 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73622 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73623 $as_echo_n "(cached) " >&6
73624 else
73627 ac_ext=cpp
73628 ac_cpp='$CXXCPP $CPPFLAGS'
73629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73634 /* end confdefs.h. */
73635 #include <math.h>
73636 #ifdef HAVE_IEEEFP_H
73637 #include <ieeefp.h>
73638 #endif
73641 main ()
73643 _isnanf(0);
73645 return 0;
73647 _ACEOF
73648 if ac_fn_cxx_try_compile "$LINENO"; then :
73649 glibcxx_cv_func__isnanf_use=yes
73650 else
73651 glibcxx_cv_func__isnanf_use=no
73653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73654 ac_ext=c
73655 ac_cpp='$CPP $CPPFLAGS'
73656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73665 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73667 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73668 for ac_func in _isnanf
73669 do :
73670 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73671 if test "x$ac_cv_func__isnanf" = x""yes; then :
73672 cat >>confdefs.h <<_ACEOF
73673 #define HAVE__ISNANF 1
73674 _ACEOF
73677 done
73686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73687 $as_echo_n "checking for isinff declaration... " >&6; }
73688 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73689 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73690 $as_echo_n "(cached) " >&6
73691 else
73694 ac_ext=cpp
73695 ac_cpp='$CXXCPP $CPPFLAGS'
73696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73701 /* end confdefs.h. */
73702 #include <math.h>
73703 #ifdef HAVE_IEEEFP_H
73704 #include <ieeefp.h>
73705 #endif
73708 main ()
73710 isinff(0);
73712 return 0;
73714 _ACEOF
73715 if ac_fn_cxx_try_compile "$LINENO"; then :
73716 glibcxx_cv_func_isinff_use=yes
73717 else
73718 glibcxx_cv_func_isinff_use=no
73720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73721 ac_ext=c
73722 ac_cpp='$CPP $CPPFLAGS'
73723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73732 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73734 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73735 for ac_func in isinff
73736 do :
73737 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73738 if test "x$ac_cv_func_isinff" = x""yes; then :
73739 cat >>confdefs.h <<_ACEOF
73740 #define HAVE_ISINFF 1
73741 _ACEOF
73744 done
73746 else
73748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73749 $as_echo_n "checking for _isinff declaration... " >&6; }
73750 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73751 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73752 $as_echo_n "(cached) " >&6
73753 else
73756 ac_ext=cpp
73757 ac_cpp='$CXXCPP $CPPFLAGS'
73758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73763 /* end confdefs.h. */
73764 #include <math.h>
73765 #ifdef HAVE_IEEEFP_H
73766 #include <ieeefp.h>
73767 #endif
73770 main ()
73772 _isinff(0);
73774 return 0;
73776 _ACEOF
73777 if ac_fn_cxx_try_compile "$LINENO"; then :
73778 glibcxx_cv_func__isinff_use=yes
73779 else
73780 glibcxx_cv_func__isinff_use=no
73782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73783 ac_ext=c
73784 ac_cpp='$CPP $CPPFLAGS'
73785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73794 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73796 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73797 for ac_func in _isinff
73798 do :
73799 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73800 if test "x$ac_cv_func__isinff" = x""yes; then :
73801 cat >>confdefs.h <<_ACEOF
73802 #define HAVE__ISINFF 1
73803 _ACEOF
73806 done
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73816 $as_echo_n "checking for atan2f declaration... " >&6; }
73817 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73818 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73819 $as_echo_n "(cached) " >&6
73820 else
73823 ac_ext=cpp
73824 ac_cpp='$CXXCPP $CPPFLAGS'
73825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73830 /* end confdefs.h. */
73831 #include <math.h>
73833 main ()
73835 atan2f(0, 0);
73837 return 0;
73839 _ACEOF
73840 if ac_fn_cxx_try_compile "$LINENO"; then :
73841 glibcxx_cv_func_atan2f_use=yes
73842 else
73843 glibcxx_cv_func_atan2f_use=no
73845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73846 ac_ext=c
73847 ac_cpp='$CPP $CPPFLAGS'
73848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73857 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73859 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73860 for ac_func in atan2f
73861 do :
73862 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73863 if test "x$ac_cv_func_atan2f" = x""yes; then :
73864 cat >>confdefs.h <<_ACEOF
73865 #define HAVE_ATAN2F 1
73866 _ACEOF
73869 done
73871 else
73873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73874 $as_echo_n "checking for _atan2f declaration... " >&6; }
73875 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73876 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73877 $as_echo_n "(cached) " >&6
73878 else
73881 ac_ext=cpp
73882 ac_cpp='$CXXCPP $CPPFLAGS'
73883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73888 /* end confdefs.h. */
73889 #include <math.h>
73891 main ()
73893 _atan2f(0, 0);
73895 return 0;
73897 _ACEOF
73898 if ac_fn_cxx_try_compile "$LINENO"; then :
73899 glibcxx_cv_func__atan2f_use=yes
73900 else
73901 glibcxx_cv_func__atan2f_use=no
73903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73904 ac_ext=c
73905 ac_cpp='$CPP $CPPFLAGS'
73906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73915 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73917 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73918 for ac_func in _atan2f
73919 do :
73920 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73921 if test "x$ac_cv_func__atan2f" = x""yes; then :
73922 cat >>confdefs.h <<_ACEOF
73923 #define HAVE__ATAN2F 1
73924 _ACEOF
73927 done
73936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73937 $as_echo_n "checking for fabsf declaration... " >&6; }
73938 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73939 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73940 $as_echo_n "(cached) " >&6
73941 else
73944 ac_ext=cpp
73945 ac_cpp='$CXXCPP $CPPFLAGS'
73946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73951 /* end confdefs.h. */
73952 #include <math.h>
73953 #ifdef HAVE_IEEEFP_H
73954 #include <ieeefp.h>
73955 #endif
73958 main ()
73960 fabsf(0);
73962 return 0;
73964 _ACEOF
73965 if ac_fn_cxx_try_compile "$LINENO"; then :
73966 glibcxx_cv_func_fabsf_use=yes
73967 else
73968 glibcxx_cv_func_fabsf_use=no
73970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73971 ac_ext=c
73972 ac_cpp='$CPP $CPPFLAGS'
73973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73982 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73984 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73985 for ac_func in fabsf
73986 do :
73987 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73988 if test "x$ac_cv_func_fabsf" = x""yes; then :
73989 cat >>confdefs.h <<_ACEOF
73990 #define HAVE_FABSF 1
73991 _ACEOF
73994 done
73996 else
73998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73999 $as_echo_n "checking for _fabsf declaration... " >&6; }
74000 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74001 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74002 $as_echo_n "(cached) " >&6
74003 else
74006 ac_ext=cpp
74007 ac_cpp='$CXXCPP $CPPFLAGS'
74008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74013 /* end confdefs.h. */
74014 #include <math.h>
74015 #ifdef HAVE_IEEEFP_H
74016 #include <ieeefp.h>
74017 #endif
74020 main ()
74022 _fabsf(0);
74024 return 0;
74026 _ACEOF
74027 if ac_fn_cxx_try_compile "$LINENO"; then :
74028 glibcxx_cv_func__fabsf_use=yes
74029 else
74030 glibcxx_cv_func__fabsf_use=no
74032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74033 ac_ext=c
74034 ac_cpp='$CPP $CPPFLAGS'
74035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74044 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74046 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74047 for ac_func in _fabsf
74048 do :
74049 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74050 if test "x$ac_cv_func__fabsf" = x""yes; then :
74051 cat >>confdefs.h <<_ACEOF
74052 #define HAVE__FABSF 1
74053 _ACEOF
74056 done
74065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74066 $as_echo_n "checking for fmodf declaration... " >&6; }
74067 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74068 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74069 $as_echo_n "(cached) " >&6
74070 else
74073 ac_ext=cpp
74074 ac_cpp='$CXXCPP $CPPFLAGS'
74075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74080 /* end confdefs.h. */
74081 #include <math.h>
74083 main ()
74085 fmodf(0, 0);
74087 return 0;
74089 _ACEOF
74090 if ac_fn_cxx_try_compile "$LINENO"; then :
74091 glibcxx_cv_func_fmodf_use=yes
74092 else
74093 glibcxx_cv_func_fmodf_use=no
74095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74096 ac_ext=c
74097 ac_cpp='$CPP $CPPFLAGS'
74098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74107 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74109 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74110 for ac_func in fmodf
74111 do :
74112 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74113 if test "x$ac_cv_func_fmodf" = x""yes; then :
74114 cat >>confdefs.h <<_ACEOF
74115 #define HAVE_FMODF 1
74116 _ACEOF
74119 done
74121 else
74123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74124 $as_echo_n "checking for _fmodf declaration... " >&6; }
74125 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74126 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74127 $as_echo_n "(cached) " >&6
74128 else
74131 ac_ext=cpp
74132 ac_cpp='$CXXCPP $CPPFLAGS'
74133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74138 /* end confdefs.h. */
74139 #include <math.h>
74141 main ()
74143 _fmodf(0, 0);
74145 return 0;
74147 _ACEOF
74148 if ac_fn_cxx_try_compile "$LINENO"; then :
74149 glibcxx_cv_func__fmodf_use=yes
74150 else
74151 glibcxx_cv_func__fmodf_use=no
74153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74154 ac_ext=c
74155 ac_cpp='$CPP $CPPFLAGS'
74156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74165 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74167 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74168 for ac_func in _fmodf
74169 do :
74170 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74171 if test "x$ac_cv_func__fmodf" = x""yes; then :
74172 cat >>confdefs.h <<_ACEOF
74173 #define HAVE__FMODF 1
74174 _ACEOF
74177 done
74186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74187 $as_echo_n "checking for frexpf declaration... " >&6; }
74188 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74189 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74190 $as_echo_n "(cached) " >&6
74191 else
74194 ac_ext=cpp
74195 ac_cpp='$CXXCPP $CPPFLAGS'
74196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74201 /* end confdefs.h. */
74202 #include <math.h>
74204 main ()
74206 frexpf(0, 0);
74208 return 0;
74210 _ACEOF
74211 if ac_fn_cxx_try_compile "$LINENO"; then :
74212 glibcxx_cv_func_frexpf_use=yes
74213 else
74214 glibcxx_cv_func_frexpf_use=no
74216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74217 ac_ext=c
74218 ac_cpp='$CPP $CPPFLAGS'
74219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74228 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74230 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74231 for ac_func in frexpf
74232 do :
74233 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74234 if test "x$ac_cv_func_frexpf" = x""yes; then :
74235 cat >>confdefs.h <<_ACEOF
74236 #define HAVE_FREXPF 1
74237 _ACEOF
74240 done
74242 else
74244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74245 $as_echo_n "checking for _frexpf declaration... " >&6; }
74246 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74247 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74248 $as_echo_n "(cached) " >&6
74249 else
74252 ac_ext=cpp
74253 ac_cpp='$CXXCPP $CPPFLAGS'
74254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74259 /* end confdefs.h. */
74260 #include <math.h>
74262 main ()
74264 _frexpf(0, 0);
74266 return 0;
74268 _ACEOF
74269 if ac_fn_cxx_try_compile "$LINENO"; then :
74270 glibcxx_cv_func__frexpf_use=yes
74271 else
74272 glibcxx_cv_func__frexpf_use=no
74274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74275 ac_ext=c
74276 ac_cpp='$CPP $CPPFLAGS'
74277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74286 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74288 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74289 for ac_func in _frexpf
74290 do :
74291 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74292 if test "x$ac_cv_func__frexpf" = x""yes; then :
74293 cat >>confdefs.h <<_ACEOF
74294 #define HAVE__FREXPF 1
74295 _ACEOF
74298 done
74307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74308 $as_echo_n "checking for hypotf declaration... " >&6; }
74309 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74310 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74311 $as_echo_n "(cached) " >&6
74312 else
74315 ac_ext=cpp
74316 ac_cpp='$CXXCPP $CPPFLAGS'
74317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74322 /* end confdefs.h. */
74323 #include <math.h>
74325 main ()
74327 hypotf(0, 0);
74329 return 0;
74331 _ACEOF
74332 if ac_fn_cxx_try_compile "$LINENO"; then :
74333 glibcxx_cv_func_hypotf_use=yes
74334 else
74335 glibcxx_cv_func_hypotf_use=no
74337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74338 ac_ext=c
74339 ac_cpp='$CPP $CPPFLAGS'
74340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74349 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74351 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74352 for ac_func in hypotf
74353 do :
74354 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74355 if test "x$ac_cv_func_hypotf" = x""yes; then :
74356 cat >>confdefs.h <<_ACEOF
74357 #define HAVE_HYPOTF 1
74358 _ACEOF
74361 done
74363 else
74365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74366 $as_echo_n "checking for _hypotf declaration... " >&6; }
74367 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74368 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74369 $as_echo_n "(cached) " >&6
74370 else
74373 ac_ext=cpp
74374 ac_cpp='$CXXCPP $CPPFLAGS'
74375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74380 /* end confdefs.h. */
74381 #include <math.h>
74383 main ()
74385 _hypotf(0, 0);
74387 return 0;
74389 _ACEOF
74390 if ac_fn_cxx_try_compile "$LINENO"; then :
74391 glibcxx_cv_func__hypotf_use=yes
74392 else
74393 glibcxx_cv_func__hypotf_use=no
74395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74396 ac_ext=c
74397 ac_cpp='$CPP $CPPFLAGS'
74398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74407 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74409 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74410 for ac_func in _hypotf
74411 do :
74412 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74413 if test "x$ac_cv_func__hypotf" = x""yes; then :
74414 cat >>confdefs.h <<_ACEOF
74415 #define HAVE__HYPOTF 1
74416 _ACEOF
74419 done
74428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74429 $as_echo_n "checking for ldexpf declaration... " >&6; }
74430 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74431 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74432 $as_echo_n "(cached) " >&6
74433 else
74436 ac_ext=cpp
74437 ac_cpp='$CXXCPP $CPPFLAGS'
74438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74443 /* end confdefs.h. */
74444 #include <math.h>
74446 main ()
74448 ldexpf(0, 0);
74450 return 0;
74452 _ACEOF
74453 if ac_fn_cxx_try_compile "$LINENO"; then :
74454 glibcxx_cv_func_ldexpf_use=yes
74455 else
74456 glibcxx_cv_func_ldexpf_use=no
74458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74459 ac_ext=c
74460 ac_cpp='$CPP $CPPFLAGS'
74461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74470 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74472 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74473 for ac_func in ldexpf
74474 do :
74475 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74476 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74477 cat >>confdefs.h <<_ACEOF
74478 #define HAVE_LDEXPF 1
74479 _ACEOF
74482 done
74484 else
74486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74487 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74488 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74489 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74490 $as_echo_n "(cached) " >&6
74491 else
74494 ac_ext=cpp
74495 ac_cpp='$CXXCPP $CPPFLAGS'
74496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74501 /* end confdefs.h. */
74502 #include <math.h>
74504 main ()
74506 _ldexpf(0, 0);
74508 return 0;
74510 _ACEOF
74511 if ac_fn_cxx_try_compile "$LINENO"; then :
74512 glibcxx_cv_func__ldexpf_use=yes
74513 else
74514 glibcxx_cv_func__ldexpf_use=no
74516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74517 ac_ext=c
74518 ac_cpp='$CPP $CPPFLAGS'
74519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74528 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74530 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74531 for ac_func in _ldexpf
74532 do :
74533 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74534 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74535 cat >>confdefs.h <<_ACEOF
74536 #define HAVE__LDEXPF 1
74537 _ACEOF
74540 done
74549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74550 $as_echo_n "checking for logf declaration... " >&6; }
74551 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74552 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74553 $as_echo_n "(cached) " >&6
74554 else
74557 ac_ext=cpp
74558 ac_cpp='$CXXCPP $CPPFLAGS'
74559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74564 /* end confdefs.h. */
74565 #include <math.h>
74566 #ifdef HAVE_IEEEFP_H
74567 #include <ieeefp.h>
74568 #endif
74571 main ()
74573 logf(0);
74575 return 0;
74577 _ACEOF
74578 if ac_fn_cxx_try_compile "$LINENO"; then :
74579 glibcxx_cv_func_logf_use=yes
74580 else
74581 glibcxx_cv_func_logf_use=no
74583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74584 ac_ext=c
74585 ac_cpp='$CPP $CPPFLAGS'
74586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74595 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74597 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74598 for ac_func in logf
74599 do :
74600 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74601 if test "x$ac_cv_func_logf" = x""yes; then :
74602 cat >>confdefs.h <<_ACEOF
74603 #define HAVE_LOGF 1
74604 _ACEOF
74607 done
74609 else
74611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74612 $as_echo_n "checking for _logf declaration... " >&6; }
74613 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74614 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74615 $as_echo_n "(cached) " >&6
74616 else
74619 ac_ext=cpp
74620 ac_cpp='$CXXCPP $CPPFLAGS'
74621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74626 /* end confdefs.h. */
74627 #include <math.h>
74628 #ifdef HAVE_IEEEFP_H
74629 #include <ieeefp.h>
74630 #endif
74633 main ()
74635 _logf(0);
74637 return 0;
74639 _ACEOF
74640 if ac_fn_cxx_try_compile "$LINENO"; then :
74641 glibcxx_cv_func__logf_use=yes
74642 else
74643 glibcxx_cv_func__logf_use=no
74645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74646 ac_ext=c
74647 ac_cpp='$CPP $CPPFLAGS'
74648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74657 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74659 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74660 for ac_func in _logf
74661 do :
74662 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74663 if test "x$ac_cv_func__logf" = x""yes; then :
74664 cat >>confdefs.h <<_ACEOF
74665 #define HAVE__LOGF 1
74666 _ACEOF
74669 done
74678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74679 $as_echo_n "checking for log10f declaration... " >&6; }
74680 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74681 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74682 $as_echo_n "(cached) " >&6
74683 else
74686 ac_ext=cpp
74687 ac_cpp='$CXXCPP $CPPFLAGS'
74688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74693 /* end confdefs.h. */
74694 #include <math.h>
74695 #ifdef HAVE_IEEEFP_H
74696 #include <ieeefp.h>
74697 #endif
74700 main ()
74702 log10f(0);
74704 return 0;
74706 _ACEOF
74707 if ac_fn_cxx_try_compile "$LINENO"; then :
74708 glibcxx_cv_func_log10f_use=yes
74709 else
74710 glibcxx_cv_func_log10f_use=no
74712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74713 ac_ext=c
74714 ac_cpp='$CPP $CPPFLAGS'
74715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74724 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74726 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74727 for ac_func in log10f
74728 do :
74729 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74730 if test "x$ac_cv_func_log10f" = x""yes; then :
74731 cat >>confdefs.h <<_ACEOF
74732 #define HAVE_LOG10F 1
74733 _ACEOF
74736 done
74738 else
74740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74741 $as_echo_n "checking for _log10f declaration... " >&6; }
74742 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74743 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74744 $as_echo_n "(cached) " >&6
74745 else
74748 ac_ext=cpp
74749 ac_cpp='$CXXCPP $CPPFLAGS'
74750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74755 /* end confdefs.h. */
74756 #include <math.h>
74757 #ifdef HAVE_IEEEFP_H
74758 #include <ieeefp.h>
74759 #endif
74762 main ()
74764 _log10f(0);
74766 return 0;
74768 _ACEOF
74769 if ac_fn_cxx_try_compile "$LINENO"; then :
74770 glibcxx_cv_func__log10f_use=yes
74771 else
74772 glibcxx_cv_func__log10f_use=no
74774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74775 ac_ext=c
74776 ac_cpp='$CPP $CPPFLAGS'
74777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74786 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74788 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74789 for ac_func in _log10f
74790 do :
74791 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74792 if test "x$ac_cv_func__log10f" = x""yes; then :
74793 cat >>confdefs.h <<_ACEOF
74794 #define HAVE__LOG10F 1
74795 _ACEOF
74798 done
74807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74808 $as_echo_n "checking for modff declaration... " >&6; }
74809 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74810 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74811 $as_echo_n "(cached) " >&6
74812 else
74815 ac_ext=cpp
74816 ac_cpp='$CXXCPP $CPPFLAGS'
74817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74822 /* end confdefs.h. */
74823 #include <math.h>
74825 main ()
74827 modff(0, 0);
74829 return 0;
74831 _ACEOF
74832 if ac_fn_cxx_try_compile "$LINENO"; then :
74833 glibcxx_cv_func_modff_use=yes
74834 else
74835 glibcxx_cv_func_modff_use=no
74837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74838 ac_ext=c
74839 ac_cpp='$CPP $CPPFLAGS'
74840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74849 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74851 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74852 for ac_func in modff
74853 do :
74854 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74855 if test "x$ac_cv_func_modff" = x""yes; then :
74856 cat >>confdefs.h <<_ACEOF
74857 #define HAVE_MODFF 1
74858 _ACEOF
74861 done
74863 else
74865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74866 $as_echo_n "checking for _modff declaration... " >&6; }
74867 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74868 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74869 $as_echo_n "(cached) " >&6
74870 else
74873 ac_ext=cpp
74874 ac_cpp='$CXXCPP $CPPFLAGS'
74875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74880 /* end confdefs.h. */
74881 #include <math.h>
74883 main ()
74885 _modff(0, 0);
74887 return 0;
74889 _ACEOF
74890 if ac_fn_cxx_try_compile "$LINENO"; then :
74891 glibcxx_cv_func__modff_use=yes
74892 else
74893 glibcxx_cv_func__modff_use=no
74895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74896 ac_ext=c
74897 ac_cpp='$CPP $CPPFLAGS'
74898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74907 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74909 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74910 for ac_func in _modff
74911 do :
74912 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74913 if test "x$ac_cv_func__modff" = x""yes; then :
74914 cat >>confdefs.h <<_ACEOF
74915 #define HAVE__MODFF 1
74916 _ACEOF
74919 done
74928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74929 $as_echo_n "checking for modf declaration... " >&6; }
74930 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74931 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74932 $as_echo_n "(cached) " >&6
74933 else
74936 ac_ext=cpp
74937 ac_cpp='$CXXCPP $CPPFLAGS'
74938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74943 /* end confdefs.h. */
74944 #include <math.h>
74946 main ()
74948 modf(0, 0);
74950 return 0;
74952 _ACEOF
74953 if ac_fn_cxx_try_compile "$LINENO"; then :
74954 glibcxx_cv_func_modf_use=yes
74955 else
74956 glibcxx_cv_func_modf_use=no
74958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74959 ac_ext=c
74960 ac_cpp='$CPP $CPPFLAGS'
74961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74970 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74972 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74973 for ac_func in modf
74974 do :
74975 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74976 if test "x$ac_cv_func_modf" = x""yes; then :
74977 cat >>confdefs.h <<_ACEOF
74978 #define HAVE_MODF 1
74979 _ACEOF
74982 done
74984 else
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74987 $as_echo_n "checking for _modf declaration... " >&6; }
74988 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74989 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74990 $as_echo_n "(cached) " >&6
74991 else
74994 ac_ext=cpp
74995 ac_cpp='$CXXCPP $CPPFLAGS'
74996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75001 /* end confdefs.h. */
75002 #include <math.h>
75004 main ()
75006 _modf(0, 0);
75008 return 0;
75010 _ACEOF
75011 if ac_fn_cxx_try_compile "$LINENO"; then :
75012 glibcxx_cv_func__modf_use=yes
75013 else
75014 glibcxx_cv_func__modf_use=no
75016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75017 ac_ext=c
75018 ac_cpp='$CPP $CPPFLAGS'
75019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75028 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75030 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75031 for ac_func in _modf
75032 do :
75033 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75034 if test "x$ac_cv_func__modf" = x""yes; then :
75035 cat >>confdefs.h <<_ACEOF
75036 #define HAVE__MODF 1
75037 _ACEOF
75040 done
75049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75050 $as_echo_n "checking for powf declaration... " >&6; }
75051 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75052 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75053 $as_echo_n "(cached) " >&6
75054 else
75057 ac_ext=cpp
75058 ac_cpp='$CXXCPP $CPPFLAGS'
75059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75064 /* end confdefs.h. */
75065 #include <math.h>
75067 main ()
75069 powf(0, 0);
75071 return 0;
75073 _ACEOF
75074 if ac_fn_cxx_try_compile "$LINENO"; then :
75075 glibcxx_cv_func_powf_use=yes
75076 else
75077 glibcxx_cv_func_powf_use=no
75079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75080 ac_ext=c
75081 ac_cpp='$CPP $CPPFLAGS'
75082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75091 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75093 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75094 for ac_func in powf
75095 do :
75096 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75097 if test "x$ac_cv_func_powf" = x""yes; then :
75098 cat >>confdefs.h <<_ACEOF
75099 #define HAVE_POWF 1
75100 _ACEOF
75103 done
75105 else
75107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75108 $as_echo_n "checking for _powf declaration... " >&6; }
75109 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75110 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75111 $as_echo_n "(cached) " >&6
75112 else
75115 ac_ext=cpp
75116 ac_cpp='$CXXCPP $CPPFLAGS'
75117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75122 /* end confdefs.h. */
75123 #include <math.h>
75125 main ()
75127 _powf(0, 0);
75129 return 0;
75131 _ACEOF
75132 if ac_fn_cxx_try_compile "$LINENO"; then :
75133 glibcxx_cv_func__powf_use=yes
75134 else
75135 glibcxx_cv_func__powf_use=no
75137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75138 ac_ext=c
75139 ac_cpp='$CPP $CPPFLAGS'
75140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75149 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75151 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75152 for ac_func in _powf
75153 do :
75154 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75155 if test "x$ac_cv_func__powf" = x""yes; then :
75156 cat >>confdefs.h <<_ACEOF
75157 #define HAVE__POWF 1
75158 _ACEOF
75161 done
75170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75171 $as_echo_n "checking for sqrtf declaration... " >&6; }
75172 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75173 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75174 $as_echo_n "(cached) " >&6
75175 else
75178 ac_ext=cpp
75179 ac_cpp='$CXXCPP $CPPFLAGS'
75180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75185 /* end confdefs.h. */
75186 #include <math.h>
75187 #ifdef HAVE_IEEEFP_H
75188 #include <ieeefp.h>
75189 #endif
75192 main ()
75194 sqrtf(0);
75196 return 0;
75198 _ACEOF
75199 if ac_fn_cxx_try_compile "$LINENO"; then :
75200 glibcxx_cv_func_sqrtf_use=yes
75201 else
75202 glibcxx_cv_func_sqrtf_use=no
75204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75205 ac_ext=c
75206 ac_cpp='$CPP $CPPFLAGS'
75207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75216 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75218 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75219 for ac_func in sqrtf
75220 do :
75221 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75222 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75223 cat >>confdefs.h <<_ACEOF
75224 #define HAVE_SQRTF 1
75225 _ACEOF
75228 done
75230 else
75232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75233 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75234 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75235 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75236 $as_echo_n "(cached) " >&6
75237 else
75240 ac_ext=cpp
75241 ac_cpp='$CXXCPP $CPPFLAGS'
75242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75247 /* end confdefs.h. */
75248 #include <math.h>
75249 #ifdef HAVE_IEEEFP_H
75250 #include <ieeefp.h>
75251 #endif
75254 main ()
75256 _sqrtf(0);
75258 return 0;
75260 _ACEOF
75261 if ac_fn_cxx_try_compile "$LINENO"; then :
75262 glibcxx_cv_func__sqrtf_use=yes
75263 else
75264 glibcxx_cv_func__sqrtf_use=no
75266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75267 ac_ext=c
75268 ac_cpp='$CPP $CPPFLAGS'
75269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75278 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75280 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75281 for ac_func in _sqrtf
75282 do :
75283 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75284 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75285 cat >>confdefs.h <<_ACEOF
75286 #define HAVE__SQRTF 1
75287 _ACEOF
75290 done
75299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75300 $as_echo_n "checking for sincosf declaration... " >&6; }
75301 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75302 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75303 $as_echo_n "(cached) " >&6
75304 else
75307 ac_ext=cpp
75308 ac_cpp='$CXXCPP $CPPFLAGS'
75309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75314 /* end confdefs.h. */
75315 #include <math.h>
75317 main ()
75319 sincosf(0, 0, 0);
75321 return 0;
75323 _ACEOF
75324 if ac_fn_cxx_try_compile "$LINENO"; then :
75325 glibcxx_cv_func_sincosf_use=yes
75326 else
75327 glibcxx_cv_func_sincosf_use=no
75329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75330 ac_ext=c
75331 ac_cpp='$CPP $CPPFLAGS'
75332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75341 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75343 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75344 for ac_func in sincosf
75345 do :
75346 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75347 if test "x$ac_cv_func_sincosf" = x""yes; then :
75348 cat >>confdefs.h <<_ACEOF
75349 #define HAVE_SINCOSF 1
75350 _ACEOF
75353 done
75355 else
75357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75358 $as_echo_n "checking for _sincosf declaration... " >&6; }
75359 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75360 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75361 $as_echo_n "(cached) " >&6
75362 else
75365 ac_ext=cpp
75366 ac_cpp='$CXXCPP $CPPFLAGS'
75367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75372 /* end confdefs.h. */
75373 #include <math.h>
75375 main ()
75377 _sincosf(0, 0, 0);
75379 return 0;
75381 _ACEOF
75382 if ac_fn_cxx_try_compile "$LINENO"; then :
75383 glibcxx_cv_func__sincosf_use=yes
75384 else
75385 glibcxx_cv_func__sincosf_use=no
75387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75388 ac_ext=c
75389 ac_cpp='$CPP $CPPFLAGS'
75390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75399 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75401 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75402 for ac_func in _sincosf
75403 do :
75404 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75405 if test "x$ac_cv_func__sincosf" = x""yes; then :
75406 cat >>confdefs.h <<_ACEOF
75407 #define HAVE__SINCOSF 1
75408 _ACEOF
75411 done
75420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75421 $as_echo_n "checking for finitef declaration... " >&6; }
75422 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75423 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75424 $as_echo_n "(cached) " >&6
75425 else
75428 ac_ext=cpp
75429 ac_cpp='$CXXCPP $CPPFLAGS'
75430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75435 /* end confdefs.h. */
75436 #include <math.h>
75437 #ifdef HAVE_IEEEFP_H
75438 #include <ieeefp.h>
75439 #endif
75442 main ()
75444 finitef(0);
75446 return 0;
75448 _ACEOF
75449 if ac_fn_cxx_try_compile "$LINENO"; then :
75450 glibcxx_cv_func_finitef_use=yes
75451 else
75452 glibcxx_cv_func_finitef_use=no
75454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75455 ac_ext=c
75456 ac_cpp='$CPP $CPPFLAGS'
75457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75466 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75468 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75469 for ac_func in finitef
75470 do :
75471 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75472 if test "x$ac_cv_func_finitef" = x""yes; then :
75473 cat >>confdefs.h <<_ACEOF
75474 #define HAVE_FINITEF 1
75475 _ACEOF
75478 done
75480 else
75482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75483 $as_echo_n "checking for _finitef declaration... " >&6; }
75484 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75485 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75486 $as_echo_n "(cached) " >&6
75487 else
75490 ac_ext=cpp
75491 ac_cpp='$CXXCPP $CPPFLAGS'
75492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75497 /* end confdefs.h. */
75498 #include <math.h>
75499 #ifdef HAVE_IEEEFP_H
75500 #include <ieeefp.h>
75501 #endif
75504 main ()
75506 _finitef(0);
75508 return 0;
75510 _ACEOF
75511 if ac_fn_cxx_try_compile "$LINENO"; then :
75512 glibcxx_cv_func__finitef_use=yes
75513 else
75514 glibcxx_cv_func__finitef_use=no
75516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75517 ac_ext=c
75518 ac_cpp='$CPP $CPPFLAGS'
75519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75528 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75530 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75531 for ac_func in _finitef
75532 do :
75533 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75534 if test "x$ac_cv_func__finitef" = x""yes; then :
75535 cat >>confdefs.h <<_ACEOF
75536 #define HAVE__FINITEF 1
75537 _ACEOF
75540 done
75549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75550 $as_echo_n "checking for long double trig functions... " >&6; }
75551 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75552 $as_echo_n "(cached) " >&6
75553 else
75556 ac_ext=cpp
75557 ac_cpp='$CXXCPP $CPPFLAGS'
75558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75563 /* end confdefs.h. */
75564 #include <math.h>
75566 main ()
75568 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75570 return 0;
75572 _ACEOF
75573 if ac_fn_cxx_try_compile "$LINENO"; then :
75574 glibcxx_cv_func_long_double_trig_use=yes
75575 else
75576 glibcxx_cv_func_long_double_trig_use=no
75578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75579 ac_ext=c
75580 ac_cpp='$CPP $CPPFLAGS'
75581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75588 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75589 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75590 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75591 do :
75592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75594 eval as_val=\$$as_ac_var
75595 if test "x$as_val" = x""yes; then :
75596 cat >>confdefs.h <<_ACEOF
75597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75598 _ACEOF
75601 done
75603 else
75604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75605 $as_echo_n "checking for _long double trig functions... " >&6; }
75606 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75607 $as_echo_n "(cached) " >&6
75608 else
75611 ac_ext=cpp
75612 ac_cpp='$CXXCPP $CPPFLAGS'
75613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75618 /* end confdefs.h. */
75619 #include <math.h>
75621 main ()
75623 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75625 return 0;
75627 _ACEOF
75628 if ac_fn_cxx_try_compile "$LINENO"; then :
75629 glibcxx_cv_func__long_double_trig_use=yes
75630 else
75631 glibcxx_cv_func__long_double_trig_use=no
75633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75634 ac_ext=c
75635 ac_cpp='$CPP $CPPFLAGS'
75636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75643 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75644 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75645 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75646 do :
75647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75649 eval as_val=\$$as_ac_var
75650 if test "x$as_val" = x""yes; then :
75651 cat >>confdefs.h <<_ACEOF
75652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75653 _ACEOF
75656 done
75665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75666 $as_echo_n "checking for long double round functions... " >&6; }
75667 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75668 $as_echo_n "(cached) " >&6
75669 else
75672 ac_ext=cpp
75673 ac_cpp='$CXXCPP $CPPFLAGS'
75674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75679 /* end confdefs.h. */
75680 #include <math.h>
75682 main ()
75684 ceill (0); floorl (0);
75686 return 0;
75688 _ACEOF
75689 if ac_fn_cxx_try_compile "$LINENO"; then :
75690 glibcxx_cv_func_long_double_round_use=yes
75691 else
75692 glibcxx_cv_func_long_double_round_use=no
75694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75695 ac_ext=c
75696 ac_cpp='$CPP $CPPFLAGS'
75697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75704 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75705 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75706 for ac_func in ceill floorl
75707 do :
75708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75710 eval as_val=\$$as_ac_var
75711 if test "x$as_val" = x""yes; then :
75712 cat >>confdefs.h <<_ACEOF
75713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75714 _ACEOF
75717 done
75719 else
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75721 $as_echo_n "checking for _long double round functions... " >&6; }
75722 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75723 $as_echo_n "(cached) " >&6
75724 else
75727 ac_ext=cpp
75728 ac_cpp='$CXXCPP $CPPFLAGS'
75729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75734 /* end confdefs.h. */
75735 #include <math.h>
75737 main ()
75739 _ceill (0); _floorl (0);
75741 return 0;
75743 _ACEOF
75744 if ac_fn_cxx_try_compile "$LINENO"; then :
75745 glibcxx_cv_func__long_double_round_use=yes
75746 else
75747 glibcxx_cv_func__long_double_round_use=no
75749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75750 ac_ext=c
75751 ac_cpp='$CPP $CPPFLAGS'
75752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75759 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75760 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75761 for ac_func in _ceill _floorl
75762 do :
75763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75765 eval as_val=\$$as_ac_var
75766 if test "x$as_val" = x""yes; then :
75767 cat >>confdefs.h <<_ACEOF
75768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75769 _ACEOF
75772 done
75782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75783 $as_echo_n "checking for isnanl declaration... " >&6; }
75784 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75785 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75786 $as_echo_n "(cached) " >&6
75787 else
75790 ac_ext=cpp
75791 ac_cpp='$CXXCPP $CPPFLAGS'
75792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75797 /* end confdefs.h. */
75798 #include <math.h>
75799 #ifdef HAVE_IEEEFP_H
75800 #include <ieeefp.h>
75801 #endif
75804 main ()
75806 isnanl(0);
75808 return 0;
75810 _ACEOF
75811 if ac_fn_cxx_try_compile "$LINENO"; then :
75812 glibcxx_cv_func_isnanl_use=yes
75813 else
75814 glibcxx_cv_func_isnanl_use=no
75816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75817 ac_ext=c
75818 ac_cpp='$CPP $CPPFLAGS'
75819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75828 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75830 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75831 for ac_func in isnanl
75832 do :
75833 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75834 if test "x$ac_cv_func_isnanl" = x""yes; then :
75835 cat >>confdefs.h <<_ACEOF
75836 #define HAVE_ISNANL 1
75837 _ACEOF
75840 done
75842 else
75844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75845 $as_echo_n "checking for _isnanl declaration... " >&6; }
75846 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75847 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75848 $as_echo_n "(cached) " >&6
75849 else
75852 ac_ext=cpp
75853 ac_cpp='$CXXCPP $CPPFLAGS'
75854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75859 /* end confdefs.h. */
75860 #include <math.h>
75861 #ifdef HAVE_IEEEFP_H
75862 #include <ieeefp.h>
75863 #endif
75866 main ()
75868 _isnanl(0);
75870 return 0;
75872 _ACEOF
75873 if ac_fn_cxx_try_compile "$LINENO"; then :
75874 glibcxx_cv_func__isnanl_use=yes
75875 else
75876 glibcxx_cv_func__isnanl_use=no
75878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75879 ac_ext=c
75880 ac_cpp='$CPP $CPPFLAGS'
75881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75890 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75892 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75893 for ac_func in _isnanl
75894 do :
75895 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75896 if test "x$ac_cv_func__isnanl" = x""yes; then :
75897 cat >>confdefs.h <<_ACEOF
75898 #define HAVE__ISNANL 1
75899 _ACEOF
75902 done
75911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75912 $as_echo_n "checking for isinfl declaration... " >&6; }
75913 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75914 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75915 $as_echo_n "(cached) " >&6
75916 else
75919 ac_ext=cpp
75920 ac_cpp='$CXXCPP $CPPFLAGS'
75921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75926 /* end confdefs.h. */
75927 #include <math.h>
75928 #ifdef HAVE_IEEEFP_H
75929 #include <ieeefp.h>
75930 #endif
75933 main ()
75935 isinfl(0);
75937 return 0;
75939 _ACEOF
75940 if ac_fn_cxx_try_compile "$LINENO"; then :
75941 glibcxx_cv_func_isinfl_use=yes
75942 else
75943 glibcxx_cv_func_isinfl_use=no
75945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75946 ac_ext=c
75947 ac_cpp='$CPP $CPPFLAGS'
75948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75957 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75959 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75960 for ac_func in isinfl
75961 do :
75962 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75963 if test "x$ac_cv_func_isinfl" = x""yes; then :
75964 cat >>confdefs.h <<_ACEOF
75965 #define HAVE_ISINFL 1
75966 _ACEOF
75969 done
75971 else
75973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75974 $as_echo_n "checking for _isinfl declaration... " >&6; }
75975 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75976 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75977 $as_echo_n "(cached) " >&6
75978 else
75981 ac_ext=cpp
75982 ac_cpp='$CXXCPP $CPPFLAGS'
75983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75988 /* end confdefs.h. */
75989 #include <math.h>
75990 #ifdef HAVE_IEEEFP_H
75991 #include <ieeefp.h>
75992 #endif
75995 main ()
75997 _isinfl(0);
75999 return 0;
76001 _ACEOF
76002 if ac_fn_cxx_try_compile "$LINENO"; then :
76003 glibcxx_cv_func__isinfl_use=yes
76004 else
76005 glibcxx_cv_func__isinfl_use=no
76007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76008 ac_ext=c
76009 ac_cpp='$CPP $CPPFLAGS'
76010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76019 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76021 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76022 for ac_func in _isinfl
76023 do :
76024 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76025 if test "x$ac_cv_func__isinfl" = x""yes; then :
76026 cat >>confdefs.h <<_ACEOF
76027 #define HAVE__ISINFL 1
76028 _ACEOF
76031 done
76040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76041 $as_echo_n "checking for atan2l declaration... " >&6; }
76042 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76043 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76044 $as_echo_n "(cached) " >&6
76045 else
76048 ac_ext=cpp
76049 ac_cpp='$CXXCPP $CPPFLAGS'
76050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76055 /* end confdefs.h. */
76056 #include <math.h>
76058 main ()
76060 atan2l(0, 0);
76062 return 0;
76064 _ACEOF
76065 if ac_fn_cxx_try_compile "$LINENO"; then :
76066 glibcxx_cv_func_atan2l_use=yes
76067 else
76068 glibcxx_cv_func_atan2l_use=no
76070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76071 ac_ext=c
76072 ac_cpp='$CPP $CPPFLAGS'
76073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76082 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76084 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76085 for ac_func in atan2l
76086 do :
76087 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76088 if test "x$ac_cv_func_atan2l" = x""yes; then :
76089 cat >>confdefs.h <<_ACEOF
76090 #define HAVE_ATAN2L 1
76091 _ACEOF
76094 done
76096 else
76098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76099 $as_echo_n "checking for _atan2l declaration... " >&6; }
76100 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76101 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76102 $as_echo_n "(cached) " >&6
76103 else
76106 ac_ext=cpp
76107 ac_cpp='$CXXCPP $CPPFLAGS'
76108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76113 /* end confdefs.h. */
76114 #include <math.h>
76116 main ()
76118 _atan2l(0, 0);
76120 return 0;
76122 _ACEOF
76123 if ac_fn_cxx_try_compile "$LINENO"; then :
76124 glibcxx_cv_func__atan2l_use=yes
76125 else
76126 glibcxx_cv_func__atan2l_use=no
76128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76129 ac_ext=c
76130 ac_cpp='$CPP $CPPFLAGS'
76131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76140 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76142 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76143 for ac_func in _atan2l
76144 do :
76145 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76146 if test "x$ac_cv_func__atan2l" = x""yes; then :
76147 cat >>confdefs.h <<_ACEOF
76148 #define HAVE__ATAN2L 1
76149 _ACEOF
76152 done
76161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76162 $as_echo_n "checking for expl declaration... " >&6; }
76163 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76164 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76165 $as_echo_n "(cached) " >&6
76166 else
76169 ac_ext=cpp
76170 ac_cpp='$CXXCPP $CPPFLAGS'
76171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76176 /* end confdefs.h. */
76177 #include <math.h>
76178 #ifdef HAVE_IEEEFP_H
76179 #include <ieeefp.h>
76180 #endif
76183 main ()
76185 expl(0);
76187 return 0;
76189 _ACEOF
76190 if ac_fn_cxx_try_compile "$LINENO"; then :
76191 glibcxx_cv_func_expl_use=yes
76192 else
76193 glibcxx_cv_func_expl_use=no
76195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76196 ac_ext=c
76197 ac_cpp='$CPP $CPPFLAGS'
76198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76207 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76209 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76210 for ac_func in expl
76211 do :
76212 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76213 if test "x$ac_cv_func_expl" = x""yes; then :
76214 cat >>confdefs.h <<_ACEOF
76215 #define HAVE_EXPL 1
76216 _ACEOF
76219 done
76221 else
76223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76224 $as_echo_n "checking for _expl declaration... " >&6; }
76225 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76226 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76227 $as_echo_n "(cached) " >&6
76228 else
76231 ac_ext=cpp
76232 ac_cpp='$CXXCPP $CPPFLAGS'
76233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76238 /* end confdefs.h. */
76239 #include <math.h>
76240 #ifdef HAVE_IEEEFP_H
76241 #include <ieeefp.h>
76242 #endif
76245 main ()
76247 _expl(0);
76249 return 0;
76251 _ACEOF
76252 if ac_fn_cxx_try_compile "$LINENO"; then :
76253 glibcxx_cv_func__expl_use=yes
76254 else
76255 glibcxx_cv_func__expl_use=no
76257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76258 ac_ext=c
76259 ac_cpp='$CPP $CPPFLAGS'
76260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76269 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76271 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76272 for ac_func in _expl
76273 do :
76274 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76275 if test "x$ac_cv_func__expl" = x""yes; then :
76276 cat >>confdefs.h <<_ACEOF
76277 #define HAVE__EXPL 1
76278 _ACEOF
76281 done
76290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76291 $as_echo_n "checking for fabsl declaration... " >&6; }
76292 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76293 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76294 $as_echo_n "(cached) " >&6
76295 else
76298 ac_ext=cpp
76299 ac_cpp='$CXXCPP $CPPFLAGS'
76300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76305 /* end confdefs.h. */
76306 #include <math.h>
76307 #ifdef HAVE_IEEEFP_H
76308 #include <ieeefp.h>
76309 #endif
76312 main ()
76314 fabsl(0);
76316 return 0;
76318 _ACEOF
76319 if ac_fn_cxx_try_compile "$LINENO"; then :
76320 glibcxx_cv_func_fabsl_use=yes
76321 else
76322 glibcxx_cv_func_fabsl_use=no
76324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76325 ac_ext=c
76326 ac_cpp='$CPP $CPPFLAGS'
76327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76336 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76338 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76339 for ac_func in fabsl
76340 do :
76341 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76342 if test "x$ac_cv_func_fabsl" = x""yes; then :
76343 cat >>confdefs.h <<_ACEOF
76344 #define HAVE_FABSL 1
76345 _ACEOF
76348 done
76350 else
76352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76353 $as_echo_n "checking for _fabsl declaration... " >&6; }
76354 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76355 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76356 $as_echo_n "(cached) " >&6
76357 else
76360 ac_ext=cpp
76361 ac_cpp='$CXXCPP $CPPFLAGS'
76362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76367 /* end confdefs.h. */
76368 #include <math.h>
76369 #ifdef HAVE_IEEEFP_H
76370 #include <ieeefp.h>
76371 #endif
76374 main ()
76376 _fabsl(0);
76378 return 0;
76380 _ACEOF
76381 if ac_fn_cxx_try_compile "$LINENO"; then :
76382 glibcxx_cv_func__fabsl_use=yes
76383 else
76384 glibcxx_cv_func__fabsl_use=no
76386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76387 ac_ext=c
76388 ac_cpp='$CPP $CPPFLAGS'
76389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76398 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76400 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76401 for ac_func in _fabsl
76402 do :
76403 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76404 if test "x$ac_cv_func__fabsl" = x""yes; then :
76405 cat >>confdefs.h <<_ACEOF
76406 #define HAVE__FABSL 1
76407 _ACEOF
76410 done
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76420 $as_echo_n "checking for fmodl declaration... " >&6; }
76421 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76422 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76423 $as_echo_n "(cached) " >&6
76424 else
76427 ac_ext=cpp
76428 ac_cpp='$CXXCPP $CPPFLAGS'
76429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76434 /* end confdefs.h. */
76435 #include <math.h>
76437 main ()
76439 fmodl(0, 0);
76441 return 0;
76443 _ACEOF
76444 if ac_fn_cxx_try_compile "$LINENO"; then :
76445 glibcxx_cv_func_fmodl_use=yes
76446 else
76447 glibcxx_cv_func_fmodl_use=no
76449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76450 ac_ext=c
76451 ac_cpp='$CPP $CPPFLAGS'
76452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76461 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76463 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76464 for ac_func in fmodl
76465 do :
76466 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76467 if test "x$ac_cv_func_fmodl" = x""yes; then :
76468 cat >>confdefs.h <<_ACEOF
76469 #define HAVE_FMODL 1
76470 _ACEOF
76473 done
76475 else
76477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76478 $as_echo_n "checking for _fmodl declaration... " >&6; }
76479 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76480 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76481 $as_echo_n "(cached) " >&6
76482 else
76485 ac_ext=cpp
76486 ac_cpp='$CXXCPP $CPPFLAGS'
76487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76492 /* end confdefs.h. */
76493 #include <math.h>
76495 main ()
76497 _fmodl(0, 0);
76499 return 0;
76501 _ACEOF
76502 if ac_fn_cxx_try_compile "$LINENO"; then :
76503 glibcxx_cv_func__fmodl_use=yes
76504 else
76505 glibcxx_cv_func__fmodl_use=no
76507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76508 ac_ext=c
76509 ac_cpp='$CPP $CPPFLAGS'
76510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76519 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76521 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76522 for ac_func in _fmodl
76523 do :
76524 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76525 if test "x$ac_cv_func__fmodl" = x""yes; then :
76526 cat >>confdefs.h <<_ACEOF
76527 #define HAVE__FMODL 1
76528 _ACEOF
76531 done
76540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76541 $as_echo_n "checking for frexpl declaration... " >&6; }
76542 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76543 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76544 $as_echo_n "(cached) " >&6
76545 else
76548 ac_ext=cpp
76549 ac_cpp='$CXXCPP $CPPFLAGS'
76550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76555 /* end confdefs.h. */
76556 #include <math.h>
76558 main ()
76560 frexpl(0, 0);
76562 return 0;
76564 _ACEOF
76565 if ac_fn_cxx_try_compile "$LINENO"; then :
76566 glibcxx_cv_func_frexpl_use=yes
76567 else
76568 glibcxx_cv_func_frexpl_use=no
76570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76571 ac_ext=c
76572 ac_cpp='$CPP $CPPFLAGS'
76573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76582 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76584 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76585 for ac_func in frexpl
76586 do :
76587 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76588 if test "x$ac_cv_func_frexpl" = x""yes; then :
76589 cat >>confdefs.h <<_ACEOF
76590 #define HAVE_FREXPL 1
76591 _ACEOF
76594 done
76596 else
76598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76599 $as_echo_n "checking for _frexpl declaration... " >&6; }
76600 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76601 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76602 $as_echo_n "(cached) " >&6
76603 else
76606 ac_ext=cpp
76607 ac_cpp='$CXXCPP $CPPFLAGS'
76608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76613 /* end confdefs.h. */
76614 #include <math.h>
76616 main ()
76618 _frexpl(0, 0);
76620 return 0;
76622 _ACEOF
76623 if ac_fn_cxx_try_compile "$LINENO"; then :
76624 glibcxx_cv_func__frexpl_use=yes
76625 else
76626 glibcxx_cv_func__frexpl_use=no
76628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76629 ac_ext=c
76630 ac_cpp='$CPP $CPPFLAGS'
76631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76640 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76642 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76643 for ac_func in _frexpl
76644 do :
76645 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76646 if test "x$ac_cv_func__frexpl" = x""yes; then :
76647 cat >>confdefs.h <<_ACEOF
76648 #define HAVE__FREXPL 1
76649 _ACEOF
76652 done
76661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76662 $as_echo_n "checking for hypotl declaration... " >&6; }
76663 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76664 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76665 $as_echo_n "(cached) " >&6
76666 else
76669 ac_ext=cpp
76670 ac_cpp='$CXXCPP $CPPFLAGS'
76671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76676 /* end confdefs.h. */
76677 #include <math.h>
76679 main ()
76681 hypotl(0, 0);
76683 return 0;
76685 _ACEOF
76686 if ac_fn_cxx_try_compile "$LINENO"; then :
76687 glibcxx_cv_func_hypotl_use=yes
76688 else
76689 glibcxx_cv_func_hypotl_use=no
76691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76692 ac_ext=c
76693 ac_cpp='$CPP $CPPFLAGS'
76694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76703 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76705 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76706 for ac_func in hypotl
76707 do :
76708 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76709 if test "x$ac_cv_func_hypotl" = x""yes; then :
76710 cat >>confdefs.h <<_ACEOF
76711 #define HAVE_HYPOTL 1
76712 _ACEOF
76715 done
76717 else
76719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76720 $as_echo_n "checking for _hypotl declaration... " >&6; }
76721 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76722 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76723 $as_echo_n "(cached) " >&6
76724 else
76727 ac_ext=cpp
76728 ac_cpp='$CXXCPP $CPPFLAGS'
76729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76734 /* end confdefs.h. */
76735 #include <math.h>
76737 main ()
76739 _hypotl(0, 0);
76741 return 0;
76743 _ACEOF
76744 if ac_fn_cxx_try_compile "$LINENO"; then :
76745 glibcxx_cv_func__hypotl_use=yes
76746 else
76747 glibcxx_cv_func__hypotl_use=no
76749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76750 ac_ext=c
76751 ac_cpp='$CPP $CPPFLAGS'
76752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76761 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76763 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76764 for ac_func in _hypotl
76765 do :
76766 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76767 if test "x$ac_cv_func__hypotl" = x""yes; then :
76768 cat >>confdefs.h <<_ACEOF
76769 #define HAVE__HYPOTL 1
76770 _ACEOF
76773 done
76782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76783 $as_echo_n "checking for ldexpl declaration... " >&6; }
76784 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76785 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76786 $as_echo_n "(cached) " >&6
76787 else
76790 ac_ext=cpp
76791 ac_cpp='$CXXCPP $CPPFLAGS'
76792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76797 /* end confdefs.h. */
76798 #include <math.h>
76800 main ()
76802 ldexpl(0, 0);
76804 return 0;
76806 _ACEOF
76807 if ac_fn_cxx_try_compile "$LINENO"; then :
76808 glibcxx_cv_func_ldexpl_use=yes
76809 else
76810 glibcxx_cv_func_ldexpl_use=no
76812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76813 ac_ext=c
76814 ac_cpp='$CPP $CPPFLAGS'
76815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76824 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76826 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76827 for ac_func in ldexpl
76828 do :
76829 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76830 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76831 cat >>confdefs.h <<_ACEOF
76832 #define HAVE_LDEXPL 1
76833 _ACEOF
76836 done
76838 else
76840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76841 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76842 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76843 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76844 $as_echo_n "(cached) " >&6
76845 else
76848 ac_ext=cpp
76849 ac_cpp='$CXXCPP $CPPFLAGS'
76850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76855 /* end confdefs.h. */
76856 #include <math.h>
76858 main ()
76860 _ldexpl(0, 0);
76862 return 0;
76864 _ACEOF
76865 if ac_fn_cxx_try_compile "$LINENO"; then :
76866 glibcxx_cv_func__ldexpl_use=yes
76867 else
76868 glibcxx_cv_func__ldexpl_use=no
76870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76871 ac_ext=c
76872 ac_cpp='$CPP $CPPFLAGS'
76873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76882 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76884 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76885 for ac_func in _ldexpl
76886 do :
76887 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76888 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76889 cat >>confdefs.h <<_ACEOF
76890 #define HAVE__LDEXPL 1
76891 _ACEOF
76894 done
76903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76904 $as_echo_n "checking for logl declaration... " >&6; }
76905 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76906 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76907 $as_echo_n "(cached) " >&6
76908 else
76911 ac_ext=cpp
76912 ac_cpp='$CXXCPP $CPPFLAGS'
76913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76918 /* end confdefs.h. */
76919 #include <math.h>
76920 #ifdef HAVE_IEEEFP_H
76921 #include <ieeefp.h>
76922 #endif
76925 main ()
76927 logl(0);
76929 return 0;
76931 _ACEOF
76932 if ac_fn_cxx_try_compile "$LINENO"; then :
76933 glibcxx_cv_func_logl_use=yes
76934 else
76935 glibcxx_cv_func_logl_use=no
76937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76938 ac_ext=c
76939 ac_cpp='$CPP $CPPFLAGS'
76940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76949 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76951 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76952 for ac_func in logl
76953 do :
76954 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76955 if test "x$ac_cv_func_logl" = x""yes; then :
76956 cat >>confdefs.h <<_ACEOF
76957 #define HAVE_LOGL 1
76958 _ACEOF
76961 done
76963 else
76965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76966 $as_echo_n "checking for _logl declaration... " >&6; }
76967 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76968 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76969 $as_echo_n "(cached) " >&6
76970 else
76973 ac_ext=cpp
76974 ac_cpp='$CXXCPP $CPPFLAGS'
76975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76980 /* end confdefs.h. */
76981 #include <math.h>
76982 #ifdef HAVE_IEEEFP_H
76983 #include <ieeefp.h>
76984 #endif
76987 main ()
76989 _logl(0);
76991 return 0;
76993 _ACEOF
76994 if ac_fn_cxx_try_compile "$LINENO"; then :
76995 glibcxx_cv_func__logl_use=yes
76996 else
76997 glibcxx_cv_func__logl_use=no
76999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77000 ac_ext=c
77001 ac_cpp='$CPP $CPPFLAGS'
77002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77011 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77013 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77014 for ac_func in _logl
77015 do :
77016 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77017 if test "x$ac_cv_func__logl" = x""yes; then :
77018 cat >>confdefs.h <<_ACEOF
77019 #define HAVE__LOGL 1
77020 _ACEOF
77023 done
77032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77033 $as_echo_n "checking for log10l declaration... " >&6; }
77034 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77035 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77036 $as_echo_n "(cached) " >&6
77037 else
77040 ac_ext=cpp
77041 ac_cpp='$CXXCPP $CPPFLAGS'
77042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77047 /* end confdefs.h. */
77048 #include <math.h>
77049 #ifdef HAVE_IEEEFP_H
77050 #include <ieeefp.h>
77051 #endif
77054 main ()
77056 log10l(0);
77058 return 0;
77060 _ACEOF
77061 if ac_fn_cxx_try_compile "$LINENO"; then :
77062 glibcxx_cv_func_log10l_use=yes
77063 else
77064 glibcxx_cv_func_log10l_use=no
77066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77067 ac_ext=c
77068 ac_cpp='$CPP $CPPFLAGS'
77069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77078 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77080 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77081 for ac_func in log10l
77082 do :
77083 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77084 if test "x$ac_cv_func_log10l" = x""yes; then :
77085 cat >>confdefs.h <<_ACEOF
77086 #define HAVE_LOG10L 1
77087 _ACEOF
77090 done
77092 else
77094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77095 $as_echo_n "checking for _log10l declaration... " >&6; }
77096 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77097 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77098 $as_echo_n "(cached) " >&6
77099 else
77102 ac_ext=cpp
77103 ac_cpp='$CXXCPP $CPPFLAGS'
77104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77109 /* end confdefs.h. */
77110 #include <math.h>
77111 #ifdef HAVE_IEEEFP_H
77112 #include <ieeefp.h>
77113 #endif
77116 main ()
77118 _log10l(0);
77120 return 0;
77122 _ACEOF
77123 if ac_fn_cxx_try_compile "$LINENO"; then :
77124 glibcxx_cv_func__log10l_use=yes
77125 else
77126 glibcxx_cv_func__log10l_use=no
77128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77129 ac_ext=c
77130 ac_cpp='$CPP $CPPFLAGS'
77131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77140 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77142 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77143 for ac_func in _log10l
77144 do :
77145 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77146 if test "x$ac_cv_func__log10l" = x""yes; then :
77147 cat >>confdefs.h <<_ACEOF
77148 #define HAVE__LOG10L 1
77149 _ACEOF
77152 done
77161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77162 $as_echo_n "checking for modfl declaration... " >&6; }
77163 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77164 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77165 $as_echo_n "(cached) " >&6
77166 else
77169 ac_ext=cpp
77170 ac_cpp='$CXXCPP $CPPFLAGS'
77171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77176 /* end confdefs.h. */
77177 #include <math.h>
77179 main ()
77181 modfl(0, 0);
77183 return 0;
77185 _ACEOF
77186 if ac_fn_cxx_try_compile "$LINENO"; then :
77187 glibcxx_cv_func_modfl_use=yes
77188 else
77189 glibcxx_cv_func_modfl_use=no
77191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77192 ac_ext=c
77193 ac_cpp='$CPP $CPPFLAGS'
77194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77203 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77205 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77206 for ac_func in modfl
77207 do :
77208 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77209 if test "x$ac_cv_func_modfl" = x""yes; then :
77210 cat >>confdefs.h <<_ACEOF
77211 #define HAVE_MODFL 1
77212 _ACEOF
77215 done
77217 else
77219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77220 $as_echo_n "checking for _modfl declaration... " >&6; }
77221 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77222 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77223 $as_echo_n "(cached) " >&6
77224 else
77227 ac_ext=cpp
77228 ac_cpp='$CXXCPP $CPPFLAGS'
77229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77234 /* end confdefs.h. */
77235 #include <math.h>
77237 main ()
77239 _modfl(0, 0);
77241 return 0;
77243 _ACEOF
77244 if ac_fn_cxx_try_compile "$LINENO"; then :
77245 glibcxx_cv_func__modfl_use=yes
77246 else
77247 glibcxx_cv_func__modfl_use=no
77249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77250 ac_ext=c
77251 ac_cpp='$CPP $CPPFLAGS'
77252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77261 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77263 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77264 for ac_func in _modfl
77265 do :
77266 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77267 if test "x$ac_cv_func__modfl" = x""yes; then :
77268 cat >>confdefs.h <<_ACEOF
77269 #define HAVE__MODFL 1
77270 _ACEOF
77273 done
77282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77283 $as_echo_n "checking for powl declaration... " >&6; }
77284 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77285 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77286 $as_echo_n "(cached) " >&6
77287 else
77290 ac_ext=cpp
77291 ac_cpp='$CXXCPP $CPPFLAGS'
77292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77297 /* end confdefs.h. */
77298 #include <math.h>
77300 main ()
77302 powl(0, 0);
77304 return 0;
77306 _ACEOF
77307 if ac_fn_cxx_try_compile "$LINENO"; then :
77308 glibcxx_cv_func_powl_use=yes
77309 else
77310 glibcxx_cv_func_powl_use=no
77312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77313 ac_ext=c
77314 ac_cpp='$CPP $CPPFLAGS'
77315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77324 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77326 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77327 for ac_func in powl
77328 do :
77329 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77330 if test "x$ac_cv_func_powl" = x""yes; then :
77331 cat >>confdefs.h <<_ACEOF
77332 #define HAVE_POWL 1
77333 _ACEOF
77336 done
77338 else
77340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77341 $as_echo_n "checking for _powl declaration... " >&6; }
77342 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77343 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77344 $as_echo_n "(cached) " >&6
77345 else
77348 ac_ext=cpp
77349 ac_cpp='$CXXCPP $CPPFLAGS'
77350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77355 /* end confdefs.h. */
77356 #include <math.h>
77358 main ()
77360 _powl(0, 0);
77362 return 0;
77364 _ACEOF
77365 if ac_fn_cxx_try_compile "$LINENO"; then :
77366 glibcxx_cv_func__powl_use=yes
77367 else
77368 glibcxx_cv_func__powl_use=no
77370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77371 ac_ext=c
77372 ac_cpp='$CPP $CPPFLAGS'
77373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77382 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77384 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77385 for ac_func in _powl
77386 do :
77387 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77388 if test "x$ac_cv_func__powl" = x""yes; then :
77389 cat >>confdefs.h <<_ACEOF
77390 #define HAVE__POWL 1
77391 _ACEOF
77394 done
77403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77404 $as_echo_n "checking for sqrtl declaration... " >&6; }
77405 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77406 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77407 $as_echo_n "(cached) " >&6
77408 else
77411 ac_ext=cpp
77412 ac_cpp='$CXXCPP $CPPFLAGS'
77413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77418 /* end confdefs.h. */
77419 #include <math.h>
77420 #ifdef HAVE_IEEEFP_H
77421 #include <ieeefp.h>
77422 #endif
77425 main ()
77427 sqrtl(0);
77429 return 0;
77431 _ACEOF
77432 if ac_fn_cxx_try_compile "$LINENO"; then :
77433 glibcxx_cv_func_sqrtl_use=yes
77434 else
77435 glibcxx_cv_func_sqrtl_use=no
77437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77438 ac_ext=c
77439 ac_cpp='$CPP $CPPFLAGS'
77440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77449 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77451 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77452 for ac_func in sqrtl
77453 do :
77454 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77455 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77456 cat >>confdefs.h <<_ACEOF
77457 #define HAVE_SQRTL 1
77458 _ACEOF
77461 done
77463 else
77465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77466 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77467 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77468 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77469 $as_echo_n "(cached) " >&6
77470 else
77473 ac_ext=cpp
77474 ac_cpp='$CXXCPP $CPPFLAGS'
77475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77480 /* end confdefs.h. */
77481 #include <math.h>
77482 #ifdef HAVE_IEEEFP_H
77483 #include <ieeefp.h>
77484 #endif
77487 main ()
77489 _sqrtl(0);
77491 return 0;
77493 _ACEOF
77494 if ac_fn_cxx_try_compile "$LINENO"; then :
77495 glibcxx_cv_func__sqrtl_use=yes
77496 else
77497 glibcxx_cv_func__sqrtl_use=no
77499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77500 ac_ext=c
77501 ac_cpp='$CPP $CPPFLAGS'
77502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77511 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77513 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77514 for ac_func in _sqrtl
77515 do :
77516 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77517 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77518 cat >>confdefs.h <<_ACEOF
77519 #define HAVE__SQRTL 1
77520 _ACEOF
77523 done
77532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77533 $as_echo_n "checking for sincosl declaration... " >&6; }
77534 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77535 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77536 $as_echo_n "(cached) " >&6
77537 else
77540 ac_ext=cpp
77541 ac_cpp='$CXXCPP $CPPFLAGS'
77542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77547 /* end confdefs.h. */
77548 #include <math.h>
77550 main ()
77552 sincosl(0, 0, 0);
77554 return 0;
77556 _ACEOF
77557 if ac_fn_cxx_try_compile "$LINENO"; then :
77558 glibcxx_cv_func_sincosl_use=yes
77559 else
77560 glibcxx_cv_func_sincosl_use=no
77562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77563 ac_ext=c
77564 ac_cpp='$CPP $CPPFLAGS'
77565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77574 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77576 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77577 for ac_func in sincosl
77578 do :
77579 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77580 if test "x$ac_cv_func_sincosl" = x""yes; then :
77581 cat >>confdefs.h <<_ACEOF
77582 #define HAVE_SINCOSL 1
77583 _ACEOF
77586 done
77588 else
77590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77591 $as_echo_n "checking for _sincosl declaration... " >&6; }
77592 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77593 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77594 $as_echo_n "(cached) " >&6
77595 else
77598 ac_ext=cpp
77599 ac_cpp='$CXXCPP $CPPFLAGS'
77600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77605 /* end confdefs.h. */
77606 #include <math.h>
77608 main ()
77610 _sincosl(0, 0, 0);
77612 return 0;
77614 _ACEOF
77615 if ac_fn_cxx_try_compile "$LINENO"; then :
77616 glibcxx_cv_func__sincosl_use=yes
77617 else
77618 glibcxx_cv_func__sincosl_use=no
77620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77621 ac_ext=c
77622 ac_cpp='$CPP $CPPFLAGS'
77623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77632 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77634 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77635 for ac_func in _sincosl
77636 do :
77637 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77638 if test "x$ac_cv_func__sincosl" = x""yes; then :
77639 cat >>confdefs.h <<_ACEOF
77640 #define HAVE__SINCOSL 1
77641 _ACEOF
77644 done
77653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77654 $as_echo_n "checking for finitel declaration... " >&6; }
77655 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77656 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77657 $as_echo_n "(cached) " >&6
77658 else
77661 ac_ext=cpp
77662 ac_cpp='$CXXCPP $CPPFLAGS'
77663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77668 /* end confdefs.h. */
77669 #include <math.h>
77670 #ifdef HAVE_IEEEFP_H
77671 #include <ieeefp.h>
77672 #endif
77675 main ()
77677 finitel(0);
77679 return 0;
77681 _ACEOF
77682 if ac_fn_cxx_try_compile "$LINENO"; then :
77683 glibcxx_cv_func_finitel_use=yes
77684 else
77685 glibcxx_cv_func_finitel_use=no
77687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77688 ac_ext=c
77689 ac_cpp='$CPP $CPPFLAGS'
77690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77699 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77701 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77702 for ac_func in finitel
77703 do :
77704 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77705 if test "x$ac_cv_func_finitel" = x""yes; then :
77706 cat >>confdefs.h <<_ACEOF
77707 #define HAVE_FINITEL 1
77708 _ACEOF
77711 done
77713 else
77715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77716 $as_echo_n "checking for _finitel declaration... " >&6; }
77717 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77718 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77719 $as_echo_n "(cached) " >&6
77720 else
77723 ac_ext=cpp
77724 ac_cpp='$CXXCPP $CPPFLAGS'
77725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77730 /* end confdefs.h. */
77731 #include <math.h>
77732 #ifdef HAVE_IEEEFP_H
77733 #include <ieeefp.h>
77734 #endif
77737 main ()
77739 _finitel(0);
77741 return 0;
77743 _ACEOF
77744 if ac_fn_cxx_try_compile "$LINENO"; then :
77745 glibcxx_cv_func__finitel_use=yes
77746 else
77747 glibcxx_cv_func__finitel_use=no
77749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77750 ac_ext=c
77751 ac_cpp='$CPP $CPPFLAGS'
77752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77761 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77763 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77764 for ac_func in _finitel
77765 do :
77766 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77767 if test "x$ac_cv_func__finitel" = x""yes; then :
77768 cat >>confdefs.h <<_ACEOF
77769 #define HAVE__FINITEL 1
77770 _ACEOF
77773 done
77781 LIBS="$ac_save_LIBS"
77782 CXXFLAGS="$ac_save_CXXFLAGS"
77785 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77786 ac_save_CXXFLAGS="$CXXFLAGS"
77787 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77791 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77792 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77793 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77794 $as_echo_n "(cached) " >&6
77795 else
77798 ac_ext=cpp
77799 ac_cpp='$CXXCPP $CPPFLAGS'
77800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77805 /* end confdefs.h. */
77806 #include <stdlib.h>
77808 main ()
77810 at_quick_exit(0);
77812 return 0;
77814 _ACEOF
77815 if ac_fn_cxx_try_compile "$LINENO"; then :
77816 glibcxx_cv_func_at_quick_exit_use=yes
77817 else
77818 glibcxx_cv_func_at_quick_exit_use=no
77820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77821 ac_ext=c
77822 ac_cpp='$CPP $CPPFLAGS'
77823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77832 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77833 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77834 for ac_func in at_quick_exit
77835 do :
77836 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77837 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77838 cat >>confdefs.h <<_ACEOF
77839 #define HAVE_AT_QUICK_EXIT 1
77840 _ACEOF
77843 done
77848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77849 $as_echo_n "checking for quick_exit declaration... " >&6; }
77850 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77851 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77852 $as_echo_n "(cached) " >&6
77853 else
77856 ac_ext=cpp
77857 ac_cpp='$CXXCPP $CPPFLAGS'
77858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77863 /* end confdefs.h. */
77864 #include <stdlib.h>
77866 main ()
77868 quick_exit(0);
77870 return 0;
77872 _ACEOF
77873 if ac_fn_cxx_try_compile "$LINENO"; then :
77874 glibcxx_cv_func_quick_exit_use=yes
77875 else
77876 glibcxx_cv_func_quick_exit_use=no
77878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77879 ac_ext=c
77880 ac_cpp='$CPP $CPPFLAGS'
77881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77890 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77891 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77892 for ac_func in quick_exit
77893 do :
77894 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77895 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77896 cat >>confdefs.h <<_ACEOF
77897 #define HAVE_QUICK_EXIT 1
77898 _ACEOF
77901 done
77906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77907 $as_echo_n "checking for strtold declaration... " >&6; }
77908 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77909 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77910 $as_echo_n "(cached) " >&6
77911 else
77914 ac_ext=cpp
77915 ac_cpp='$CXXCPP $CPPFLAGS'
77916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77921 /* end confdefs.h. */
77922 #include <stdlib.h>
77924 main ()
77926 strtold(0, 0);
77928 return 0;
77930 _ACEOF
77931 if ac_fn_cxx_try_compile "$LINENO"; then :
77932 glibcxx_cv_func_strtold_use=yes
77933 else
77934 glibcxx_cv_func_strtold_use=no
77936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77937 ac_ext=c
77938 ac_cpp='$CPP $CPPFLAGS'
77939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77948 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77949 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77950 for ac_func in strtold
77951 do :
77952 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77953 if test "x$ac_cv_func_strtold" = x""yes; then :
77954 cat >>confdefs.h <<_ACEOF
77955 #define HAVE_STRTOLD 1
77956 _ACEOF
77959 done
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77967 $as_echo_n "checking for strtof declaration... " >&6; }
77968 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77969 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77970 $as_echo_n "(cached) " >&6
77971 else
77974 ac_ext=cpp
77975 ac_cpp='$CXXCPP $CPPFLAGS'
77976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77981 /* end confdefs.h. */
77982 #include <stdlib.h>
77984 main ()
77986 strtof(0, 0);
77988 return 0;
77990 _ACEOF
77991 if ac_fn_cxx_try_compile "$LINENO"; then :
77992 glibcxx_cv_func_strtof_use=yes
77993 else
77994 glibcxx_cv_func_strtof_use=no
77996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77997 ac_ext=c
77998 ac_cpp='$CPP $CPPFLAGS'
77999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78008 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78009 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78010 for ac_func in strtof
78011 do :
78012 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78013 if test "x$ac_cv_func_strtof" = x""yes; then :
78014 cat >>confdefs.h <<_ACEOF
78015 #define HAVE_STRTOF 1
78016 _ACEOF
78019 done
78026 CXXFLAGS="$ac_save_CXXFLAGS"
78029 *-vxworks)
78030 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78032 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78034 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78036 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78038 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78040 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78042 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78044 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78046 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78048 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78050 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78052 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78054 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78056 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78058 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78060 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78062 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78064 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78066 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78068 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78072 as_fn_error "No support for this host/target combination." "$LINENO" 5
78074 esac
78078 # At some point, we should differentiate between architectures
78079 # like x86, which have long double versions, and alpha/powerpc/etc.,
78080 # which don't. For the time being, punt.
78081 if test x"long_double_math_on_this_cpu" = x"yes"; then
78082 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78084 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78086 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78088 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78090 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78092 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78094 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78096 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78098 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78100 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78102 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78104 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78106 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78108 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78110 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78112 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78114 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78116 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78118 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78120 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78122 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78124 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78126 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78131 # Check for _Unwind_GetIPInfo.
78134 # Check whether --with-system-libunwind was given.
78135 if test "${with_system_libunwind+set}" = set; then :
78136 withval=$with_system_libunwind;
78139 # If system-libunwind was not specifically set, pick a default setting.
78140 if test x$with_system_libunwind = x; then
78141 case ${target} in
78142 ia64-*-hpux*) with_system_libunwind=yes ;;
78143 *) with_system_libunwind=no ;;
78144 esac
78146 # Based on system-libunwind and target, do we have ipinfo?
78147 if test x$with_system_libunwind = xyes; then
78148 case ${target} in
78149 ia64-*-*) have_unwind_getipinfo=no ;;
78150 *) have_unwind_getipinfo=yes ;;
78151 esac
78152 else
78153 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78155 case ${target} in
78156 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78157 *) have_unwind_getipinfo=yes ;;
78158 esac
78162 if test x$have_unwind_getipinfo = xyes; then
78164 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78169 # Check whether --enable-linux-futex was given.
78170 if test "${enable_linux_futex+set}" = set; then :
78171 enableval=$enable_linux_futex;
78172 case "$enableval" in
78173 yes|no|default) ;;
78174 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78175 esac
78177 else
78178 enable_linux_futex=default
78182 case "$target" in
78183 *-linux*)
78184 case "$enable_linux_futex" in
78185 default)
78186 # If headers don't have gettid/futex syscalls definition, then
78187 # default to no, otherwise there will be compile time failures.
78188 # Otherwise, default to yes. If we don't detect we are
78189 # compiled/linked against NPTL and not cross-compiling, check
78190 # if programs are run by default against NPTL and if not, issue
78191 # a warning.
78192 enable_linux_futex=no
78193 if test x$gcc_no_link = xyes; then
78194 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78197 /* end confdefs.h. */
78198 #include <sys/syscall.h>
78199 int lk;
78201 main ()
78203 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78205 return 0;
78207 _ACEOF
78208 if ac_fn_c_try_link "$LINENO"; then :
78209 save_LIBS="$LIBS"
78210 LIBS="-lpthread $LIBS"
78211 if test x$gcc_no_link = xyes; then
78212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78215 /* end confdefs.h. */
78216 #ifndef _GNU_SOURCE
78217 #define _GNU_SOURCE 1
78218 #endif
78219 #include <pthread.h>
78220 pthread_t th; void *status;
78222 main ()
78224 pthread_tryjoin_np (th, &status);
78226 return 0;
78228 _ACEOF
78229 if ac_fn_c_try_link "$LINENO"; then :
78230 enable_linux_futex=yes
78231 else
78232 if test x$cross_compiling = xno; then
78233 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78234 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78236 If so, please configure with --disable-linux-futex" >&5
78237 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78238 If so, please configure with --disable-linux-futex" >&2;}
78241 enable_linux_futex=yes
78243 rm -f core conftest.err conftest.$ac_objext \
78244 conftest$ac_exeext conftest.$ac_ext
78245 LIBS="$save_LIBS"
78247 rm -f core conftest.err conftest.$ac_objext \
78248 conftest$ac_exeext conftest.$ac_ext
78250 yes)
78251 if test x$gcc_no_link = xyes; then
78252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78255 /* end confdefs.h. */
78256 #include <sys/syscall.h>
78257 int lk;
78259 main ()
78261 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78263 return 0;
78265 _ACEOF
78266 if ac_fn_c_try_link "$LINENO"; then :
78268 else
78269 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78271 rm -f core conftest.err conftest.$ac_objext \
78272 conftest$ac_exeext conftest.$ac_ext
78274 esac
78277 enable_linux_futex=no
78279 esac
78280 if test x$enable_linux_futex = xyes; then
78282 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78289 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78291 acx_cv_header_stdint=stddef.h
78292 acx_cv_header_stdint_kind="(already complete)"
78293 for i in stdint.h $inttype_headers; do
78294 unset ac_cv_type_uintptr_t
78295 unset ac_cv_type_uintmax_t
78296 unset ac_cv_type_int_least32_t
78297 unset ac_cv_type_int_fast32_t
78298 unset ac_cv_type_uint64_t
78299 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78300 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78301 #include <$i>
78303 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78304 acx_cv_header_stdint=$i
78305 else
78306 continue
78309 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78310 #include <$i>
78312 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78314 else
78315 acx_cv_header_stdint_kind="(mostly complete)"
78318 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78319 #include <$i>
78321 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78323 else
78324 acx_cv_header_stdint_kind="(mostly complete)"
78327 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78328 #include <$i>
78330 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78332 else
78333 acx_cv_header_stdint_kind="(mostly complete)"
78336 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78337 #include <$i>
78339 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78341 else
78342 acx_cv_header_stdint_kind="(lacks uint64_t)"
78345 break
78346 done
78347 if test "$acx_cv_header_stdint" = stddef.h; then
78348 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78349 for i in stdint.h $inttype_headers; do
78350 unset ac_cv_type_uintptr_t
78351 unset ac_cv_type_uint32_t
78352 unset ac_cv_type_uint64_t
78353 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78354 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78355 #include <$i>
78357 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78358 acx_cv_header_stdint=$i
78359 else
78360 continue
78363 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78364 #include <$i>
78366 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78370 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78371 #include <$i>
78373 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78377 break
78378 done
78380 if test "$acx_cv_header_stdint" = stddef.h; then
78381 acx_cv_header_stdint_kind="(u_intXX_t style)"
78382 for i in sys/types.h $inttype_headers; do
78383 unset ac_cv_type_u_int32_t
78384 unset ac_cv_type_u_int64_t
78385 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78386 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78387 #include <$i>
78389 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78390 acx_cv_header_stdint=$i
78391 else
78392 continue
78395 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78396 #include <$i>
78398 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78402 break
78403 done
78405 if test "$acx_cv_header_stdint" = stddef.h; then
78406 acx_cv_header_stdint_kind="(using manual detection)"
78409 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78410 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78411 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78412 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78413 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78415 # ----------------- Summarize what we found so far
78417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78418 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78420 case `$as_basename -- include/gstdint.h ||
78421 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78422 Xinclude/gstdint.h : 'X\(//\)$' \| \
78423 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78424 $as_echo X/include/gstdint.h |
78425 sed '/^.*\/\([^/][^/]*\)\/*$/{
78426 s//\1/
78429 /^X\/\(\/\/\)$/{
78430 s//\1/
78433 /^X\/\(\/\).*/{
78434 s//\1/
78437 s/.*/./; q'` in
78438 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78439 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78440 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78441 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78442 *) ;;
78443 esac
78445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78446 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78448 # ----------------- done included file, check C basic types --------
78450 # Lacking an uintptr_t? Test size of void *
78451 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78452 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78455 # This bug is HP SR number 8606223364.
78456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78457 $as_echo_n "checking size of void *... " >&6; }
78458 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78459 $as_echo_n "(cached) " >&6
78460 else
78461 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78463 else
78464 if test "$ac_cv_type_void_p" = yes; then
78465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78467 { as_fn_set_status 77
78468 as_fn_error "cannot compute sizeof (void *)
78469 See \`config.log' for more details." "$LINENO" 5; }; }
78470 else
78471 ac_cv_sizeof_void_p=0
78476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78477 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78481 cat >>confdefs.h <<_ACEOF
78482 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78483 _ACEOF
78486 esac
78488 # Lacking an uint64_t? Test size of long
78489 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78490 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78493 # This bug is HP SR number 8606223364.
78494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78495 $as_echo_n "checking size of long... " >&6; }
78496 if test "${ac_cv_sizeof_long+set}" = set; then :
78497 $as_echo_n "(cached) " >&6
78498 else
78499 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78501 else
78502 if test "$ac_cv_type_long" = yes; then
78503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78505 { as_fn_set_status 77
78506 as_fn_error "cannot compute sizeof (long)
78507 See \`config.log' for more details." "$LINENO" 5; }; }
78508 else
78509 ac_cv_sizeof_long=0
78514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78515 $as_echo "$ac_cv_sizeof_long" >&6; }
78519 cat >>confdefs.h <<_ACEOF
78520 #define SIZEOF_LONG $ac_cv_sizeof_long
78521 _ACEOF
78524 esac
78526 if test $acx_cv_header_stdint = stddef.h; then
78527 # Lacking a good header? Test size of everything and deduce all types.
78528 # The cast to long int works around a bug in the HP C Compiler
78529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78531 # This bug is HP SR number 8606223364.
78532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78533 $as_echo_n "checking size of int... " >&6; }
78534 if test "${ac_cv_sizeof_int+set}" = set; then :
78535 $as_echo_n "(cached) " >&6
78536 else
78537 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78539 else
78540 if test "$ac_cv_type_int" = yes; then
78541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78543 { as_fn_set_status 77
78544 as_fn_error "cannot compute sizeof (int)
78545 See \`config.log' for more details." "$LINENO" 5; }; }
78546 else
78547 ac_cv_sizeof_int=0
78552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78553 $as_echo "$ac_cv_sizeof_int" >&6; }
78557 cat >>confdefs.h <<_ACEOF
78558 #define SIZEOF_INT $ac_cv_sizeof_int
78559 _ACEOF
78562 # The cast to long int works around a bug in the HP C Compiler
78563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78565 # This bug is HP SR number 8606223364.
78566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78567 $as_echo_n "checking size of short... " >&6; }
78568 if test "${ac_cv_sizeof_short+set}" = set; then :
78569 $as_echo_n "(cached) " >&6
78570 else
78571 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78573 else
78574 if test "$ac_cv_type_short" = yes; then
78575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78577 { as_fn_set_status 77
78578 as_fn_error "cannot compute sizeof (short)
78579 See \`config.log' for more details." "$LINENO" 5; }; }
78580 else
78581 ac_cv_sizeof_short=0
78586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78587 $as_echo "$ac_cv_sizeof_short" >&6; }
78591 cat >>confdefs.h <<_ACEOF
78592 #define SIZEOF_SHORT $ac_cv_sizeof_short
78593 _ACEOF
78596 # The cast to long int works around a bug in the HP C Compiler
78597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78599 # This bug is HP SR number 8606223364.
78600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78601 $as_echo_n "checking size of char... " >&6; }
78602 if test "${ac_cv_sizeof_char+set}" = set; then :
78603 $as_echo_n "(cached) " >&6
78604 else
78605 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78607 else
78608 if test "$ac_cv_type_char" = yes; then
78609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78611 { as_fn_set_status 77
78612 as_fn_error "cannot compute sizeof (char)
78613 See \`config.log' for more details." "$LINENO" 5; }; }
78614 else
78615 ac_cv_sizeof_char=0
78620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78621 $as_echo "$ac_cv_sizeof_char" >&6; }
78625 cat >>confdefs.h <<_ACEOF
78626 #define SIZEOF_CHAR $ac_cv_sizeof_char
78627 _ACEOF
78631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78632 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78633 case "$ac_cv_sizeof_char" in
78634 1) acx_cv_type_int8_t=char ;;
78635 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78636 esac
78637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78638 $as_echo "$acx_cv_type_int8_t" >&6; }
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78641 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78642 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78643 2:*) acx_cv_type_int16_t=int ;;
78644 *:2) acx_cv_type_int16_t=short ;;
78645 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78646 esac
78647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78648 $as_echo "$acx_cv_type_int16_t" >&6; }
78650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78651 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78652 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78653 4:*) acx_cv_type_int32_t=int ;;
78654 *:4) acx_cv_type_int32_t=long ;;
78655 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78656 esac
78657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78658 $as_echo "$acx_cv_type_int32_t" >&6; }
78661 # These tests are here to make the output prettier
78663 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78664 case "$ac_cv_sizeof_long" in
78665 8) acx_cv_type_int64_t=long ;;
78666 esac
78667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78668 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78670 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78673 # Now we can use the above types
78675 if test "$ac_cv_type_uintptr_t" != yes; then
78676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78677 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78678 case $ac_cv_sizeof_void_p in
78679 2) acx_cv_type_intptr_t=int16_t ;;
78680 4) acx_cv_type_intptr_t=int32_t ;;
78681 8) acx_cv_type_intptr_t=int64_t ;;
78682 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78683 esac
78684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78685 $as_echo "$acx_cv_type_intptr_t" >&6; }
78688 # ----------------- done all checks, emit header -------------
78689 ac_config_commands="$ac_config_commands include/gstdint.h"
78695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78696 $as_echo_n "checking for GNU c++filt... " >&6; }
78697 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78698 $as_echo_n "(cached) " >&6
78699 else
78700 if test -z "$CXXFILT"; then
78701 ac_path_CXXFILT_found=false
78702 # Loop through the user's path and test for each of PROGNAME-LIST
78703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78704 for as_dir in $PATH
78706 IFS=$as_save_IFS
78707 test -z "$as_dir" && as_dir=.
78708 for ac_prog in c++filt gc++filt; do
78709 for ac_exec_ext in '' $ac_executable_extensions; do
78710 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78711 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78712 # Check for GNU $ac_path_CXXFILT
78713 case `"$ac_path_CXXFILT" --version 2>&1` in
78714 *GNU*)
78715 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78716 esac
78718 $ac_path_CXXFILT_found && break 3
78719 done
78720 done
78721 done
78722 IFS=$as_save_IFS
78723 if test -z "$ac_cv_path_CXXFILT"; then
78726 else
78727 ac_cv_path_CXXFILT=$CXXFILT
78731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78732 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78733 CXXFILT=$ac_cv_path_CXXFILT
78737 # Check whether --enable-symvers was given.
78738 if test "${enable_symvers+set}" = set; then :
78739 enableval=$enable_symvers;
78740 case "$enableval" in
78741 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78742 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78743 esac
78745 else
78746 enable_symvers=yes
78751 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78752 # don't know enough about $LD to do tricks...
78754 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78755 # with extern "C++" in version scripts.
78758 # Turn a 'yes' into a suitable default.
78759 if test x$enable_symvers = xyes ; then
78760 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78761 enable_symvers=no
78762 else
78763 if test $with_gnu_ld = yes ; then
78764 case ${target_os} in
78765 hpux*)
78766 enable_symvers=no ;;
78768 enable_symvers=gnu ;;
78769 esac
78770 else
78771 case ${target_os} in
78772 darwin*)
78773 enable_symvers=darwin ;;
78774 # Sun symbol versioning exists since Solaris 2.5.
78775 solaris2.[5-9]* | solaris2.1[0-9]*)
78776 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78777 # version scripts, so disable symbol versioning if none can be
78778 # found.
78779 if test -z "$ac_cv_path_CXXFILT"; then
78780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78781 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78783 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78785 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78786 enable_symvers=no
78787 else
78788 enable_symvers=sun
78792 enable_symvers=no ;;
78793 esac
78798 # Check to see if 'darwin' or 'darwin-export' can win.
78799 if test x$enable_symvers = xdarwin-export ; then
78800 enable_symvers=darwin
78803 # Check if 'sun' was requested on non-Solaris 2 platforms.
78804 if test x$enable_symvers = xsun ; then
78805 case ${target_os} in
78806 solaris2*)
78807 # All fine.
78810 # Unlikely to work.
78811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78812 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78814 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78816 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78817 enable_symvers=no
78819 esac
78822 # Check to see if 'gnu' can win.
78823 if test $enable_symvers = gnu ||
78824 test $enable_symvers = gnu-versioned-namespace ||
78825 test $enable_symvers = sun; then
78826 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78828 $as_echo_n "checking for shared libgcc... " >&6; }
78829 ac_save_CFLAGS="$CFLAGS"
78830 CFLAGS=' -lgcc_s'
78831 if test x$gcc_no_link = xyes; then
78832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78835 /* end confdefs.h. */
78838 main ()
78840 return 0;
78842 return 0;
78844 _ACEOF
78845 if ac_fn_c_try_link "$LINENO"; then :
78846 glibcxx_shared_libgcc=yes
78847 else
78848 glibcxx_shared_libgcc=no
78850 rm -f core conftest.err conftest.$ac_objext \
78851 conftest$ac_exeext conftest.$ac_ext
78852 CFLAGS="$ac_save_CFLAGS"
78853 if test $glibcxx_shared_libgcc = no; then
78854 cat > conftest.c <<EOF
78855 int main (void) { return 0; }
78857 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78858 -shared -shared-libgcc -o conftest.so \
78859 conftest.c -v 2>&1 >/dev/null \
78860 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78861 rm -f conftest.c conftest.so
78862 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78863 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78864 if test x$gcc_no_link = xyes; then
78865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78868 /* end confdefs.h. */
78871 main ()
78873 return 0;
78875 return 0;
78877 _ACEOF
78878 if ac_fn_c_try_link "$LINENO"; then :
78879 glibcxx_shared_libgcc=yes
78881 rm -f core conftest.err conftest.$ac_objext \
78882 conftest$ac_exeext conftest.$ac_ext
78883 CFLAGS="$ac_save_CFLAGS"
78886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78887 $as_echo "$glibcxx_shared_libgcc" >&6; }
78889 # For GNU ld, we need at least this version. The format is described in
78890 # GLIBCXX_CHECK_LINKER_FEATURES above.
78891 glibcxx_min_gnu_ld_version=21400
78893 # If no shared libgcc, can't win.
78894 if test $glibcxx_shared_libgcc != yes; then
78895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78896 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78898 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78900 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78901 enable_symvers=no
78902 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78903 : All interesting versions of Sun ld support sun style symbol versioning.
78904 elif test $with_gnu_ld != yes ; then
78905 # just fail for now
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78907 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78909 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78911 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78912 enable_symvers=no
78913 elif test $glibcxx_ld_is_gold = yes ; then
78914 : All versions of gold support symbol versioning.
78915 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78916 # The right tools, the right setup, but too old. Fallbacks?
78917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78918 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78920 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78922 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78924 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78926 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78927 enable_symvers=no
78931 # For libtool versioning info, format is CURRENT:REVISION:AGE
78932 libtool_VERSION=6:22:0
78934 # Everything parsed; figure out what files and settings to use.
78935 case $enable_symvers in
78937 SYMVER_FILE=config/abi/pre/none.ver
78939 gnu)
78940 SYMVER_FILE=config/abi/pre/gnu.ver
78942 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78945 gnu-versioned-namespace)
78946 libtool_VERSION=7:0:0
78947 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78949 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78952 darwin)
78953 SYMVER_FILE=config/abi/pre/gnu.ver
78955 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78958 sun)
78959 SYMVER_FILE=config/abi/pre/gnu.ver
78961 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78964 esac
78966 if test x$enable_symvers != xno ; then
78968 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78973 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78974 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78975 $as_echo_n "(cached) " >&6
78976 else
78978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78979 /* end confdefs.h. */
78980 void foo (void); __asm (".symver foo, bar@SYMVER");
78982 main ()
78986 return 0;
78988 _ACEOF
78989 if ac_fn_c_try_compile "$LINENO"; then :
78990 glibcxx_cv_have_as_symver_directive=yes
78991 else
78992 glibcxx_cv_have_as_symver_directive=no
78994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78997 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78998 if test $glibcxx_cv_have_as_symver_directive = yes; then
79000 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79012 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79014 if test $enable_symvers != no ; then
79015 case ${target_os} in
79016 # The Solaris 2 runtime linker doesn't support the GNU extension of
79017 # binding the same symbol to different versions
79018 solaris2*)
79020 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79023 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79026 esac
79029 # Now, set up compatibility support, if any.
79030 # In addition, need this to deal with std::size_t mangling in
79031 # src/compatibility.cc. In a perfect world, could use
79032 # typeid(std::size_t).name()[0] to do direct substitution.
79033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79034 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79035 ac_save_CFLAGS="$CFLAGS"
79036 CFLAGS="-Werror"
79037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79038 /* end confdefs.h. */
79041 main ()
79043 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79045 return 0;
79047 _ACEOF
79048 if ac_fn_c_try_compile "$LINENO"; then :
79049 glibcxx_size_t_is_i=yes
79050 else
79051 glibcxx_size_t_is_i=no
79053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79054 CFLAGS=$ac_save_CFLAGS
79055 if test "$glibcxx_size_t_is_i" = yes; then
79057 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79061 $as_echo "$glibcxx_size_t_is_i" >&6; }
79063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79064 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79065 ac_save_CFLAGS="$CFLAGS"
79066 CFLAGS="-Werror"
79067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79068 /* end confdefs.h. */
79071 main ()
79073 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79075 return 0;
79077 _ACEOF
79078 if ac_fn_c_try_compile "$LINENO"; then :
79079 glibcxx_ptrdiff_t_is_i=yes
79080 else
79081 glibcxx_ptrdiff_t_is_i=no
79083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79084 CFLAGS=$ac_save_CFLAGS
79085 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79087 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79091 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79096 # Check whether --enable-libstdcxx-visibility was given.
79097 if test "${enable_libstdcxx_visibility+set}" = set; then :
79098 enableval=$enable_libstdcxx_visibility;
79099 case "$enableval" in
79100 yes|no) ;;
79101 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79102 esac
79104 else
79105 enable_libstdcxx_visibility=yes
79110 if test x$enable_libstdcxx_visibility = xyes ; then
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79112 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79113 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79114 $as_echo_n "(cached) " >&6
79115 else
79117 save_CFLAGS="$CFLAGS"
79118 CFLAGS="$CFLAGS -Werror"
79119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79120 /* end confdefs.h. */
79121 void __attribute__((visibility("hidden"))) foo(void) { }
79123 main ()
79127 return 0;
79129 _ACEOF
79130 if ac_fn_c_try_compile "$LINENO"; then :
79131 glibcxx_cv_have_attribute_visibility=yes
79132 else
79133 glibcxx_cv_have_attribute_visibility=no
79135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79136 CFLAGS="$save_CFLAGS"
79138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79139 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79140 if test $glibcxx_cv_have_attribute_visibility = no; then
79141 enable_libstdcxx_visibility=no
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79147 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79151 # Check whether --enable-libstdcxx-dual-abi was given.
79152 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79153 enableval=$enable_libstdcxx_dual_abi;
79154 case "$enableval" in
79155 yes|no) ;;
79156 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79157 esac
79159 else
79160 enable_libstdcxx_dual_abi=yes
79164 if test x$enable_symvers = xgnu-versioned-namespace; then
79165 # gnu-versioned-namespace is incompatible with the dual ABI.
79166 enable_libstdcxx_dual_abi="no"
79168 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79169 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79170 $as_echo "$as_me: dual ABI is disabled" >&6;}
79171 default_libstdcxx_abi="gcc4-compatible"
79176 if test x$enable_libstdcxx_dual_abi = xyes; then
79177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79178 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79180 # Check whether --with-default-libstdcxx-abi was given.
79181 if test "${with_default_libstdcxx_abi+set}" = set; then :
79182 withval=$with_default_libstdcxx_abi; case "$withval" in
79183 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79184 new|cxx11) default_libstdcxx_abi="new" ;;
79185 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79186 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79187 esac
79189 else
79190 default_libstdcxx_abi="new"
79193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79194 $as_echo "${default_libstdcxx_abi}" >&6; }
79196 if test $default_libstdcxx_abi = "new"; then
79197 glibcxx_cxx11_abi=1
79198 glibcxx_cxx98_abi=0
79199 else
79200 glibcxx_cxx11_abi=0
79201 glibcxx_cxx98_abi=1
79207 ac_ldbl_compat=no
79208 case "$target" in
79209 powerpc*-*-linux* | \
79210 sparc*-*-linux* | \
79211 s390*-*-linux* | \
79212 alpha*-*-linux*)
79213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79214 /* end confdefs.h. */
79217 main ()
79220 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79221 #error no need for long double compatibility
79222 #endif
79225 return 0;
79227 _ACEOF
79228 if ac_fn_c_try_compile "$LINENO"; then :
79229 ac_ldbl_compat=yes
79230 else
79231 ac_ldbl_compat=no
79233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79234 if test "$ac_ldbl_compat" = yes; then
79236 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79238 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79240 esac
79243 # Check if assembler supports disabling hardware capability support.
79245 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79247 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79248 # with a different meaning.
79249 case ${target_os} in
79250 solaris2*)
79251 ac_save_CFLAGS="$CFLAGS"
79252 CFLAGS="$CFLAGS -Wa,-nH"
79254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79255 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79257 /* end confdefs.h. */
79260 main ()
79262 return 0;
79264 return 0;
79266 _ACEOF
79267 if ac_fn_c_try_compile "$LINENO"; then :
79268 ac_hwcap_flags=yes
79269 else
79270 ac_hwcap_flags=no
79272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79273 if test "$ac_hwcap_flags" = "yes"; then
79274 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79277 $as_echo "$ac_hwcap_flags" >&6; }
79279 CFLAGS="$ac_save_CFLAGS"
79281 esac
79286 # Check if assembler supports rdrand opcode.
79288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79289 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79290 if test "${ac_cv_x86_rdrand+set}" = set; then :
79291 $as_echo_n "(cached) " >&6
79292 else
79294 ac_cv_x86_rdrand=no
79295 case "$target" in
79296 i?86-*-* | \
79297 x86_64-*-*)
79298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79299 /* end confdefs.h. */
79302 main ()
79304 asm("rdrand %eax");
79306 return 0;
79308 _ACEOF
79309 if ac_fn_c_try_compile "$LINENO"; then :
79310 ac_cv_x86_rdrand=yes
79311 else
79312 ac_cv_x86_rdrand=no
79314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79315 esac
79319 if test $ac_cv_x86_rdrand = yes; then
79321 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79325 $as_echo "$ac_cv_x86_rdrand" >&6; }
79328 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79330 if $GLIBCXX_IS_NATIVE ; then
79331 # Do checks for resource limit functions.
79333 setrlimit_have_headers=yes
79334 for ac_header in unistd.h sys/time.h sys/resource.h
79335 do :
79336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79337 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79338 eval as_val=\$$as_ac_Header
79339 if test "x$as_val" = x""yes; then :
79340 cat >>confdefs.h <<_ACEOF
79341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79342 _ACEOF
79344 else
79345 setrlimit_have_headers=no
79348 done
79350 # If don't have the headers, then we can't run the tests now, and we
79351 # won't be seeing any of these during testsuite compilation.
79352 if test $setrlimit_have_headers = yes; then
79353 # Can't do these in a loop, else the resulting syntax is wrong.
79355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79356 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79358 /* end confdefs.h. */
79359 #include <unistd.h>
79360 #include <sys/time.h>
79361 #include <sys/resource.h>
79364 main ()
79366 int f = RLIMIT_DATA ;
79368 return 0;
79370 _ACEOF
79371 if ac_fn_c_try_compile "$LINENO"; then :
79372 glibcxx_mresult=1
79373 else
79374 glibcxx_mresult=0
79376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79378 cat >>confdefs.h <<_ACEOF
79379 #define HAVE_LIMIT_DATA $glibcxx_mresult
79380 _ACEOF
79382 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79384 $as_echo "$res" >&6; }
79387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79388 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79390 /* end confdefs.h. */
79391 #include <unistd.h>
79392 #include <sys/time.h>
79393 #include <sys/resource.h>
79396 main ()
79398 int f = RLIMIT_RSS ;
79400 return 0;
79402 _ACEOF
79403 if ac_fn_c_try_compile "$LINENO"; then :
79404 glibcxx_mresult=1
79405 else
79406 glibcxx_mresult=0
79408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79410 cat >>confdefs.h <<_ACEOF
79411 #define HAVE_LIMIT_RSS $glibcxx_mresult
79412 _ACEOF
79414 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79416 $as_echo "$res" >&6; }
79419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79420 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79422 /* end confdefs.h. */
79423 #include <unistd.h>
79424 #include <sys/time.h>
79425 #include <sys/resource.h>
79428 main ()
79430 int f = RLIMIT_VMEM ;
79432 return 0;
79434 _ACEOF
79435 if ac_fn_c_try_compile "$LINENO"; then :
79436 glibcxx_mresult=1
79437 else
79438 glibcxx_mresult=0
79440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79442 cat >>confdefs.h <<_ACEOF
79443 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79444 _ACEOF
79446 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79448 $as_echo "$res" >&6; }
79451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79452 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79454 /* end confdefs.h. */
79455 #include <unistd.h>
79456 #include <sys/time.h>
79457 #include <sys/resource.h>
79460 main ()
79462 int f = RLIMIT_AS ;
79464 return 0;
79466 _ACEOF
79467 if ac_fn_c_try_compile "$LINENO"; then :
79468 glibcxx_mresult=1
79469 else
79470 glibcxx_mresult=0
79472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79474 cat >>confdefs.h <<_ACEOF
79475 #define HAVE_LIMIT_AS $glibcxx_mresult
79476 _ACEOF
79478 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79480 $as_echo "$res" >&6; }
79483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79484 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79486 /* end confdefs.h. */
79487 #include <unistd.h>
79488 #include <sys/time.h>
79489 #include <sys/resource.h>
79492 main ()
79494 int f = RLIMIT_FSIZE ;
79496 return 0;
79498 _ACEOF
79499 if ac_fn_c_try_compile "$LINENO"; then :
79500 glibcxx_mresult=1
79501 else
79502 glibcxx_mresult=0
79504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79506 cat >>confdefs.h <<_ACEOF
79507 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79508 _ACEOF
79510 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79512 $as_echo "$res" >&6; }
79515 # Check for rlimit, setrlimit.
79516 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79517 $as_echo_n "(cached) " >&6
79518 else
79520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79521 /* end confdefs.h. */
79522 #include <unistd.h>
79523 #include <sys/time.h>
79524 #include <sys/resource.h>
79527 main ()
79529 struct rlimit r;
79530 setrlimit(0, &r);
79532 return 0;
79534 _ACEOF
79535 if ac_fn_c_try_compile "$LINENO"; then :
79536 glibcxx_cv_setrlimit=yes
79537 else
79538 glibcxx_cv_setrlimit=no
79540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79547 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79548 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79549 ac_res_limits=yes
79551 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79553 else
79554 ac_res_limits=no
79556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79557 $as_echo "$ac_res_limits" >&6; }
79560 # Look for setenv, so that extended locale tests can be performed.
79562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79563 $as_echo_n "checking for setenv declaration... " >&6; }
79564 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79565 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79566 $as_echo_n "(cached) " >&6
79567 else
79570 ac_ext=cpp
79571 ac_cpp='$CXXCPP $CPPFLAGS'
79572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79577 /* end confdefs.h. */
79578 #include <stdlib.h>
79580 main ()
79582 setenv(0, 0, 0);
79584 return 0;
79586 _ACEOF
79587 if ac_fn_cxx_try_compile "$LINENO"; then :
79588 glibcxx_cv_func_setenv_use=yes
79589 else
79590 glibcxx_cv_func_setenv_use=no
79592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79593 ac_ext=c
79594 ac_cpp='$CPP $CPPFLAGS'
79595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79604 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79605 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79606 for ac_func in setenv
79607 do :
79608 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79609 if test "x$ac_cv_func_setenv" = x""yes; then :
79610 cat >>confdefs.h <<_ACEOF
79611 #define HAVE_SETENV 1
79612 _ACEOF
79615 done
79621 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79622 test $enable_symvers != no; then
79623 case "$host" in
79624 *-*-cygwin*)
79625 enable_abi_check=no ;;
79627 enable_abi_check=yes ;;
79628 esac
79629 else
79630 # Only build this as native, since automake does not understand
79631 # CXX_FOR_BUILD.
79632 enable_abi_check=no
79635 # Export file names for ABI checking.
79636 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79638 baseline_subdir_switch="$abi_baseline_subdir_switch"
79642 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79644 # Check whether --enable-libstdcxx-threads was given.
79645 if test "${enable_libstdcxx_threads+set}" = set; then :
79646 enableval=$enable_libstdcxx_threads;
79647 case "$enableval" in
79648 yes|no) ;;
79649 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79650 esac
79652 else
79653 enable_libstdcxx_threads=auto
79658 if test x$enable_libstdcxx_threads = xauto ||
79659 test x$enable_libstdcxx_threads = xyes; then
79662 ac_ext=cpp
79663 ac_cpp='$CXXCPP $CPPFLAGS'
79664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79669 ac_save_CXXFLAGS="$CXXFLAGS"
79670 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79671 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79673 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79674 case $target_thread_file in
79675 posix)
79676 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79677 esac
79679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79680 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79683 /* end confdefs.h. */
79684 #include <unistd.h>
79686 main ()
79689 // In case of POSIX threads check _POSIX_TIMEOUTS.
79690 #if (defined(_PTHREADS) \
79691 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79692 #error
79693 #endif
79696 return 0;
79698 _ACEOF
79699 if ac_fn_cxx_try_compile "$LINENO"; then :
79700 ac_gthread_use_mutex_timedlock=1
79701 else
79702 ac_gthread_use_mutex_timedlock=0
79704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79707 cat >>confdefs.h <<_ACEOF
79708 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79709 _ACEOF
79712 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79713 else res_mutex_timedlock=no ; fi
79714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79715 $as_echo "$res_mutex_timedlock" >&6; }
79717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79718 $as_echo_n "checking for gthreads library... " >&6; }
79720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79721 /* end confdefs.h. */
79722 #include "gthr.h"
79724 main ()
79727 #ifndef __GTHREADS_CXX0X
79728 #error
79729 #endif
79732 return 0;
79734 _ACEOF
79735 if ac_fn_cxx_try_compile "$LINENO"; then :
79736 ac_has_gthreads=yes
79737 else
79738 ac_has_gthreads=no
79740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79741 else
79742 ac_has_gthreads=no
79745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79746 $as_echo "$ac_has_gthreads" >&6; }
79748 if test x"$ac_has_gthreads" = x"yes"; then
79750 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79753 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79754 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79756 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79758 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79764 CXXFLAGS="$ac_save_CXXFLAGS"
79765 ac_ext=c
79766 ac_cpp='$CPP $CPPFLAGS'
79767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79773 # For Filesystem TS.
79774 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79775 do :
79776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79778 eval as_val=\$$as_ac_Header
79779 if test "x$as_val" = x""yes; then :
79780 cat >>confdefs.h <<_ACEOF
79781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79782 _ACEOF
79786 done
79789 # Check whether --enable-libstdcxx-filesystem-ts was given.
79790 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79791 enableval=$enable_libstdcxx_filesystem_ts;
79792 case "$enableval" in
79793 yes|no|auto) ;;
79794 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79795 esac
79797 else
79798 enable_libstdcxx_filesystem_ts=auto
79803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79804 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79805 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79806 enable_libstdcxx_filesystem_ts=no
79808 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79809 case "${target_os}" in
79810 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79811 enable_libstdcxx_filesystem_ts=yes
79813 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79814 enable_libstdcxx_filesystem_ts=yes
79816 solaris*)
79817 enable_libstdcxx_filesystem_ts=yes
79820 enable_libstdcxx_filesystem_ts=no
79822 esac
79824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79825 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79829 ac_ext=cpp
79830 ac_cpp='$CXXCPP $CPPFLAGS'
79831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79835 ac_save_CXXFLAGS="$CXXFLAGS"
79836 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79838 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79839 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79840 $as_echo_n "(cached) " >&6
79841 else
79842 if test x$gcc_no_link = xyes; then
79843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79844 /* end confdefs.h. */
79845 #include <dirent.h>
79847 main ()
79850 struct dirent d;
79851 if (sizeof d.d_type) return 0;
79854 return 0;
79856 _ACEOF
79857 if ac_fn_cxx_try_compile "$LINENO"; then :
79858 glibcxx_cv_dirent_d_type=yes
79859 else
79860 glibcxx_cv_dirent_d_type=no
79862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79863 else
79864 if test x$gcc_no_link = xyes; then
79865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79868 /* end confdefs.h. */
79869 #include <dirent.h>
79871 main ()
79874 struct dirent d;
79875 if (sizeof d.d_type) return 0;
79878 return 0;
79880 _ACEOF
79881 if ac_fn_cxx_try_link "$LINENO"; then :
79882 glibcxx_cv_dirent_d_type=yes
79883 else
79884 glibcxx_cv_dirent_d_type=no
79886 rm -f core conftest.err conftest.$ac_objext \
79887 conftest$ac_exeext conftest.$ac_ext
79892 if test $glibcxx_cv_dirent_d_type = yes; then
79894 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79898 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79900 $as_echo_n "checking for realpath... " >&6; }
79901 if test "${glibcxx_cv_realpath+set}" = set; then :
79902 $as_echo_n "(cached) " >&6
79903 else
79904 if test x$gcc_no_link = xyes; then
79905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79906 /* end confdefs.h. */
79908 #include <stdlib.h>
79909 #include <unistd.h>
79912 main ()
79915 #if _XOPEN_VERSION < 500
79916 #error
79917 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79918 char *tmp = realpath((const char*)NULL, (char*)NULL);
79919 #else
79920 #error
79921 #endif
79924 return 0;
79926 _ACEOF
79927 if ac_fn_cxx_try_compile "$LINENO"; then :
79928 glibcxx_cv_realpath=yes
79929 else
79930 glibcxx_cv_realpath=no
79932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79933 else
79934 if test x$gcc_no_link = xyes; then
79935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79938 /* end confdefs.h. */
79940 #include <stdlib.h>
79941 #include <unistd.h>
79944 main ()
79947 #if _XOPEN_VERSION < 500
79948 #error
79949 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79950 char *tmp = realpath((const char*)NULL, (char*)NULL);
79951 #else
79952 #error
79953 #endif
79956 return 0;
79958 _ACEOF
79959 if ac_fn_cxx_try_link "$LINENO"; then :
79960 glibcxx_cv_realpath=yes
79961 else
79962 glibcxx_cv_realpath=no
79964 rm -f core conftest.err conftest.$ac_objext \
79965 conftest$ac_exeext conftest.$ac_ext
79970 if test $glibcxx_cv_realpath = yes; then
79972 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79976 $as_echo "$glibcxx_cv_realpath" >&6; }
79977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79978 $as_echo_n "checking for utimensat... " >&6; }
79979 if test "${glibcxx_cv_utimensat+set}" = set; then :
79980 $as_echo_n "(cached) " >&6
79981 else
79982 if test x$gcc_no_link = xyes; then
79983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79984 /* end confdefs.h. */
79986 #include <fcntl.h>
79987 #include <sys/stat.h>
79990 main ()
79993 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79994 int i = utimensat(AT_FDCWD, "path", ts, 0);
79997 return 0;
79999 _ACEOF
80000 if ac_fn_cxx_try_compile "$LINENO"; then :
80001 glibcxx_cv_utimensat=yes
80002 else
80003 glibcxx_cv_utimensat=no
80005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80006 else
80007 if test x$gcc_no_link = xyes; then
80008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80011 /* end confdefs.h. */
80013 #include <fcntl.h>
80014 #include <sys/stat.h>
80017 main ()
80020 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80021 int i = utimensat(AT_FDCWD, "path", ts, 0);
80024 return 0;
80026 _ACEOF
80027 if ac_fn_cxx_try_link "$LINENO"; then :
80028 glibcxx_cv_utimensat=yes
80029 else
80030 glibcxx_cv_utimensat=no
80032 rm -f core conftest.err conftest.$ac_objext \
80033 conftest$ac_exeext conftest.$ac_ext
80038 if test $glibcxx_cv_utimensat = yes; then
80040 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80044 $as_echo "$glibcxx_cv_utimensat" >&6; }
80045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80046 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80047 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80048 $as_echo_n "(cached) " >&6
80049 else
80050 if test x$gcc_no_link = xyes; then
80051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80052 /* end confdefs.h. */
80053 #include <sys/stat.h>
80055 main ()
80058 struct stat st;
80059 return st.st_mtim.tv_nsec;
80062 return 0;
80064 _ACEOF
80065 if ac_fn_cxx_try_compile "$LINENO"; then :
80066 glibcxx_cv_st_mtim=yes
80067 else
80068 glibcxx_cv_st_mtim=no
80070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80071 else
80072 if test x$gcc_no_link = xyes; then
80073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80076 /* end confdefs.h. */
80077 #include <sys/stat.h>
80079 main ()
80082 struct stat st;
80083 return st.st_mtim.tv_nsec;
80086 return 0;
80088 _ACEOF
80089 if ac_fn_cxx_try_link "$LINENO"; then :
80090 glibcxx_cv_st_mtim=yes
80091 else
80092 glibcxx_cv_st_mtim=no
80094 rm -f core conftest.err conftest.$ac_objext \
80095 conftest$ac_exeext conftest.$ac_ext
80100 if test $glibcxx_cv_st_mtim = yes; then
80102 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80106 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80108 $as_echo_n "checking for fchmod... " >&6; }
80109 if test "${glibcxx_cv_fchmod+set}" = set; then :
80110 $as_echo_n "(cached) " >&6
80111 else
80112 if test x$gcc_no_link = xyes; then
80113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80114 /* end confdefs.h. */
80115 #include <sys/stat.h>
80117 main ()
80119 fchmod(1, S_IWUSR);
80121 return 0;
80123 _ACEOF
80124 if ac_fn_cxx_try_compile "$LINENO"; then :
80125 glibcxx_cv_fchmod=yes
80126 else
80127 glibcxx_cv_fchmod=no
80129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80130 else
80131 if test x$gcc_no_link = xyes; then
80132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80135 /* end confdefs.h. */
80136 #include <sys/stat.h>
80138 main ()
80140 fchmod(1, S_IWUSR);
80142 return 0;
80144 _ACEOF
80145 if ac_fn_cxx_try_link "$LINENO"; then :
80146 glibcxx_cv_fchmod=yes
80147 else
80148 glibcxx_cv_fchmod=no
80150 rm -f core conftest.err conftest.$ac_objext \
80151 conftest$ac_exeext conftest.$ac_ext
80156 if test $glibcxx_cv_fchmod = yes; then
80158 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80162 $as_echo "$glibcxx_cv_fchmod" >&6; }
80163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80164 $as_echo_n "checking for fchmodat... " >&6; }
80165 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80166 $as_echo_n "(cached) " >&6
80167 else
80168 if test x$gcc_no_link = xyes; then
80169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80170 /* end confdefs.h. */
80172 #include <fcntl.h>
80173 #include <sys/stat.h>
80176 main ()
80178 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80180 return 0;
80182 _ACEOF
80183 if ac_fn_cxx_try_compile "$LINENO"; then :
80184 glibcxx_cv_fchmodat=yes
80185 else
80186 glibcxx_cv_fchmodat=no
80188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80189 else
80190 if test x$gcc_no_link = xyes; then
80191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80194 /* end confdefs.h. */
80196 #include <fcntl.h>
80197 #include <sys/stat.h>
80200 main ()
80202 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80204 return 0;
80206 _ACEOF
80207 if ac_fn_cxx_try_link "$LINENO"; then :
80208 glibcxx_cv_fchmodat=yes
80209 else
80210 glibcxx_cv_fchmodat=no
80212 rm -f core conftest.err conftest.$ac_objext \
80213 conftest$ac_exeext conftest.$ac_ext
80218 if test $glibcxx_cv_fchmodat = yes; then
80220 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80224 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80226 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80227 if test "${glibcxx_cv_sendfile+set}" = set; then :
80228 $as_echo_n "(cached) " >&6
80229 else
80230 case "${target_os}" in
80231 gnu* | linux* | solaris*)
80232 if test x$gcc_no_link = xyes; then
80233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80234 /* end confdefs.h. */
80235 #include <sys/sendfile.h>
80237 main ()
80239 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80241 return 0;
80243 _ACEOF
80244 if ac_fn_cxx_try_compile "$LINENO"; then :
80245 glibcxx_cv_sendfile=yes
80246 else
80247 glibcxx_cv_sendfile=no
80249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80250 else
80251 if test x$gcc_no_link = xyes; then
80252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80255 /* end confdefs.h. */
80256 #include <sys/sendfile.h>
80258 main ()
80260 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80262 return 0;
80264 _ACEOF
80265 if ac_fn_cxx_try_link "$LINENO"; then :
80266 glibcxx_cv_sendfile=yes
80267 else
80268 glibcxx_cv_sendfile=no
80270 rm -f core conftest.err conftest.$ac_objext \
80271 conftest$ac_exeext conftest.$ac_ext
80275 glibcxx_cv_sendfile=no
80277 esac
80281 if test $glibcxx_cv_sendfile = yes; then
80283 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80287 $as_echo "$glibcxx_cv_sendfile" >&6; }
80288 CXXFLAGS="$ac_save_CXXFLAGS"
80289 ac_ext=c
80290 ac_cpp='$CPP $CPPFLAGS'
80291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80297 # Define documentation rules conditionally.
80299 # See if makeinfo has been installed and is modern enough
80300 # that we can use it.
80302 # Extract the first word of "makeinfo", so it can be a program name with args.
80303 set dummy makeinfo; ac_word=$2
80304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80305 $as_echo_n "checking for $ac_word... " >&6; }
80306 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80307 $as_echo_n "(cached) " >&6
80308 else
80309 if test -n "$MAKEINFO"; then
80310 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80311 else
80312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80313 for as_dir in $PATH
80315 IFS=$as_save_IFS
80316 test -z "$as_dir" && as_dir=.
80317 for ac_exec_ext in '' $ac_executable_extensions; do
80318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80319 ac_cv_prog_MAKEINFO="makeinfo"
80320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80321 break 2
80323 done
80324 done
80325 IFS=$as_save_IFS
80329 MAKEINFO=$ac_cv_prog_MAKEINFO
80330 if test -n "$MAKEINFO"; then
80331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80332 $as_echo "$MAKEINFO" >&6; }
80333 else
80334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80335 $as_echo "no" >&6; }
80339 if test -n "$MAKEINFO"; then
80340 # Found it, now check the version.
80341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80342 $as_echo_n "checking for modern makeinfo... " >&6; }
80343 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80344 $as_echo_n "(cached) " >&6
80345 else
80346 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80347 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80349 case $ac_prog_version in
80350 '') gcc_cv_prog_makeinfo_modern=no;;
80351 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80352 *) gcc_cv_prog_makeinfo_modern=no;;
80353 esac
80356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80357 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80358 else
80359 gcc_cv_prog_makeinfo_modern=no
80361 if test $gcc_cv_prog_makeinfo_modern = no; then
80362 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80365 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80366 BUILD_INFO_TRUE=
80367 BUILD_INFO_FALSE='#'
80368 else
80369 BUILD_INFO_TRUE='#'
80370 BUILD_INFO_FALSE=
80374 # Check for doxygen
80375 # Extract the first word of "doxygen", so it can be a program name with args.
80376 set dummy doxygen; ac_word=$2
80377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80378 $as_echo_n "checking for $ac_word... " >&6; }
80379 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80380 $as_echo_n "(cached) " >&6
80381 else
80382 if test -n "$DOXYGEN"; then
80383 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80384 else
80385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80386 for as_dir in $PATH
80388 IFS=$as_save_IFS
80389 test -z "$as_dir" && as_dir=.
80390 for ac_exec_ext in '' $ac_executable_extensions; do
80391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80392 ac_cv_prog_DOXYGEN="yes"
80393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80394 break 2
80396 done
80397 done
80398 IFS=$as_save_IFS
80400 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80403 DOXYGEN=$ac_cv_prog_DOXYGEN
80404 if test -n "$DOXYGEN"; then
80405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80406 $as_echo "$DOXYGEN" >&6; }
80407 else
80408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80409 $as_echo "no" >&6; }
80413 # Extract the first word of "dot", so it can be a program name with args.
80414 set dummy dot; ac_word=$2
80415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80416 $as_echo_n "checking for $ac_word... " >&6; }
80417 if test "${ac_cv_prog_DOT+set}" = set; then :
80418 $as_echo_n "(cached) " >&6
80419 else
80420 if test -n "$DOT"; then
80421 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80422 else
80423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80424 for as_dir in $PATH
80426 IFS=$as_save_IFS
80427 test -z "$as_dir" && as_dir=.
80428 for ac_exec_ext in '' $ac_executable_extensions; do
80429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80430 ac_cv_prog_DOT="yes"
80431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80432 break 2
80434 done
80435 done
80436 IFS=$as_save_IFS
80438 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80441 DOT=$ac_cv_prog_DOT
80442 if test -n "$DOT"; then
80443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80444 $as_echo "$DOT" >&6; }
80445 else
80446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80447 $as_echo "no" >&6; }
80452 # Check for docbook
80453 # Extract the first word of "xsltproc", so it can be a program name with args.
80454 set dummy xsltproc; ac_word=$2
80455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80456 $as_echo_n "checking for $ac_word... " >&6; }
80457 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80458 $as_echo_n "(cached) " >&6
80459 else
80460 if test -n "$XSLTPROC"; then
80461 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80462 else
80463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80464 for as_dir in $PATH
80466 IFS=$as_save_IFS
80467 test -z "$as_dir" && as_dir=.
80468 for ac_exec_ext in '' $ac_executable_extensions; do
80469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80470 ac_cv_prog_XSLTPROC="yes"
80471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80472 break 2
80474 done
80475 done
80476 IFS=$as_save_IFS
80478 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80481 XSLTPROC=$ac_cv_prog_XSLTPROC
80482 if test -n "$XSLTPROC"; then
80483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80484 $as_echo "$XSLTPROC" >&6; }
80485 else
80486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80487 $as_echo "no" >&6; }
80491 # Extract the first word of "xmllint", so it can be a program name with args.
80492 set dummy xmllint; ac_word=$2
80493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80494 $as_echo_n "checking for $ac_word... " >&6; }
80495 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80496 $as_echo_n "(cached) " >&6
80497 else
80498 if test -n "$XMLLINT"; then
80499 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80500 else
80501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80502 for as_dir in $PATH
80504 IFS=$as_save_IFS
80505 test -z "$as_dir" && as_dir=.
80506 for ac_exec_ext in '' $ac_executable_extensions; do
80507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80508 ac_cv_prog_XMLLINT="yes"
80509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80510 break 2
80512 done
80513 done
80514 IFS=$as_save_IFS
80516 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80519 XMLLINT=$ac_cv_prog_XMLLINT
80520 if test -n "$XMLLINT"; then
80521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80522 $as_echo "$XMLLINT" >&6; }
80523 else
80524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80525 $as_echo "no" >&6; }
80531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80532 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80533 glibcxx_stylesheets=no
80534 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
80535 glibcxx_stylesheets=yes
80537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80538 $as_echo "$glibcxx_stylesheets" >&6; }
80540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80541 $as_echo_n "checking for local stylesheet directory... " >&6; }
80542 glibcxx_local_stylesheets=no
80543 if test x"$glibcxx_stylesheets" = x"yes"; then
80544 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80545 glibcxx_local_stylesheets=yes
80546 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80548 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80549 glibcxx_local_stylesheets=yes
80550 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80552 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80553 glibcxx_local_stylesheets=yes
80554 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80558 $as_echo "$glibcxx_local_stylesheets" >&6; }
80560 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80562 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80563 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80564 else
80565 glibcxx_stylesheets=no
80568 # Check for epub3 dependencies.
80569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80570 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80571 glibcxx_epub_stylesheets=no
80572 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80573 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80574 glibcxx_epub_stylesheets=yes
80577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80578 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80579 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80580 BUILD_EPUB_TRUE=
80581 BUILD_EPUB_FALSE='#'
80582 else
80583 BUILD_EPUB_TRUE='#'
80584 BUILD_EPUB_FALSE=
80590 # Check for xml/html dependencies.
80591 if test $ac_cv_prog_DOXYGEN = "yes" &&
80592 test $ac_cv_prog_DOT = "yes" &&
80593 test $ac_cv_prog_XSLTPROC = "yes" &&
80594 test $ac_cv_prog_XMLLINT = "yes" &&
80595 test $glibcxx_stylesheets = "yes"; then
80596 BUILD_XML_TRUE=
80597 BUILD_XML_FALSE='#'
80598 else
80599 BUILD_XML_TRUE='#'
80600 BUILD_XML_FALSE=
80604 if test $ac_cv_prog_DOXYGEN = "yes" &&
80605 test $ac_cv_prog_DOT = "yes" &&
80606 test $ac_cv_prog_XSLTPROC = "yes" &&
80607 test $ac_cv_prog_XMLLINT = "yes" &&
80608 test $glibcxx_stylesheets = "yes"; then
80609 BUILD_HTML_TRUE=
80610 BUILD_HTML_FALSE='#'
80611 else
80612 BUILD_HTML_TRUE='#'
80613 BUILD_HTML_FALSE=
80617 # Check for man dependencies.
80618 if test $ac_cv_prog_DOXYGEN = "yes" &&
80619 test $ac_cv_prog_DOT = "yes"; then
80620 BUILD_MAN_TRUE=
80621 BUILD_MAN_FALSE='#'
80622 else
80623 BUILD_MAN_TRUE='#'
80624 BUILD_MAN_FALSE=
80628 # Check for pdf dependencies.
80629 # Extract the first word of "dblatex", so it can be a program name with args.
80630 set dummy dblatex; ac_word=$2
80631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80632 $as_echo_n "checking for $ac_word... " >&6; }
80633 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80634 $as_echo_n "(cached) " >&6
80635 else
80636 if test -n "$DBLATEX"; then
80637 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80638 else
80639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80640 for as_dir in $PATH
80642 IFS=$as_save_IFS
80643 test -z "$as_dir" && as_dir=.
80644 for ac_exec_ext in '' $ac_executable_extensions; do
80645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80646 ac_cv_prog_DBLATEX="yes"
80647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80648 break 2
80650 done
80651 done
80652 IFS=$as_save_IFS
80654 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80657 DBLATEX=$ac_cv_prog_DBLATEX
80658 if test -n "$DBLATEX"; then
80659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80660 $as_echo "$DBLATEX" >&6; }
80661 else
80662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80663 $as_echo "no" >&6; }
80667 # Extract the first word of "pdflatex", so it can be a program name with args.
80668 set dummy pdflatex; ac_word=$2
80669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80670 $as_echo_n "checking for $ac_word... " >&6; }
80671 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80672 $as_echo_n "(cached) " >&6
80673 else
80674 if test -n "$PDFLATEX"; then
80675 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80676 else
80677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80678 for as_dir in $PATH
80680 IFS=$as_save_IFS
80681 test -z "$as_dir" && as_dir=.
80682 for ac_exec_ext in '' $ac_executable_extensions; do
80683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80684 ac_cv_prog_PDFLATEX="yes"
80685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80686 break 2
80688 done
80689 done
80690 IFS=$as_save_IFS
80692 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80695 PDFLATEX=$ac_cv_prog_PDFLATEX
80696 if test -n "$PDFLATEX"; then
80697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80698 $as_echo "$PDFLATEX" >&6; }
80699 else
80700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80701 $as_echo "no" >&6; }
80705 if test $ac_cv_prog_DBLATEX = "yes" &&
80706 test $ac_cv_prog_PDFLATEX = "yes"; then
80707 BUILD_PDF_TRUE=
80708 BUILD_PDF_FALSE='#'
80709 else
80710 BUILD_PDF_TRUE='#'
80711 BUILD_PDF_FALSE=
80716 # Propagate the target-specific source directories through the build chain.
80717 ATOMICITY_SRCDIR=config/${atomicity_dir}
80718 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80719 ATOMIC_FLAGS=${atomic_flags}
80720 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80721 OS_INC_SRCDIR=config/${os_include_dir}
80722 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80723 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80724 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80725 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80737 # Determine cross-compile flags and AM_CONDITIONALs.
80738 #AC_SUBST(GLIBCXX_IS_NATIVE)
80739 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80740 if test $is_hosted = yes; then
80741 GLIBCXX_HOSTED_TRUE=
80742 GLIBCXX_HOSTED_FALSE='#'
80743 else
80744 GLIBCXX_HOSTED_TRUE='#'
80745 GLIBCXX_HOSTED_FALSE=
80749 if test $enable_libstdcxx_pch = yes; then
80750 GLIBCXX_BUILD_PCH_TRUE=
80751 GLIBCXX_BUILD_PCH_FALSE='#'
80752 else
80753 GLIBCXX_BUILD_PCH_TRUE='#'
80754 GLIBCXX_BUILD_PCH_FALSE=
80758 if test $enable_cheaders = c; then
80759 GLIBCXX_C_HEADERS_C_TRUE=
80760 GLIBCXX_C_HEADERS_C_FALSE='#'
80761 else
80762 GLIBCXX_C_HEADERS_C_TRUE='#'
80763 GLIBCXX_C_HEADERS_C_FALSE=
80767 if test $enable_cheaders = c_std; then
80768 GLIBCXX_C_HEADERS_C_STD_TRUE=
80769 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80770 else
80771 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80772 GLIBCXX_C_HEADERS_C_STD_FALSE=
80776 if test $enable_cheaders = c_global; then
80777 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
80778 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
80779 else
80780 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
80781 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
80785 if test $c_compatibility = yes; then
80786 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
80787 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
80788 else
80789 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
80790 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
80794 if test $enable_libstdcxx_debug = yes; then
80795 GLIBCXX_BUILD_DEBUG_TRUE=
80796 GLIBCXX_BUILD_DEBUG_FALSE='#'
80797 else
80798 GLIBCXX_BUILD_DEBUG_TRUE='#'
80799 GLIBCXX_BUILD_DEBUG_FALSE=
80803 if test $enable_extern_template = yes; then
80804 ENABLE_EXTERN_TEMPLATE_TRUE=
80805 ENABLE_EXTERN_TEMPLATE_FALSE='#'
80806 else
80807 ENABLE_EXTERN_TEMPLATE_TRUE='#'
80808 ENABLE_EXTERN_TEMPLATE_FALSE=
80812 if test $python_mod_dir != no; then
80813 ENABLE_PYTHONDIR_TRUE=
80814 ENABLE_PYTHONDIR_FALSE='#'
80815 else
80816 ENABLE_PYTHONDIR_TRUE='#'
80817 ENABLE_PYTHONDIR_FALSE=
80821 if test $enable_werror = yes; then
80822 ENABLE_WERROR_TRUE=
80823 ENABLE_WERROR_FALSE='#'
80824 else
80825 ENABLE_WERROR_TRUE='#'
80826 ENABLE_WERROR_FALSE=
80830 if test $enable_vtable_verify = yes; then
80831 ENABLE_VTABLE_VERIFY_TRUE=
80832 ENABLE_VTABLE_VERIFY_FALSE='#'
80833 else
80834 ENABLE_VTABLE_VERIFY_TRUE='#'
80835 ENABLE_VTABLE_VERIFY_FALSE=
80839 if test $enable_symvers != no; then
80840 ENABLE_SYMVERS_TRUE=
80841 ENABLE_SYMVERS_FALSE='#'
80842 else
80843 ENABLE_SYMVERS_TRUE='#'
80844 ENABLE_SYMVERS_FALSE=
80848 if test $enable_symvers = gnu; then
80849 ENABLE_SYMVERS_GNU_TRUE=
80850 ENABLE_SYMVERS_GNU_FALSE='#'
80851 else
80852 ENABLE_SYMVERS_GNU_TRUE='#'
80853 ENABLE_SYMVERS_GNU_FALSE=
80857 if test $enable_symvers = gnu-versioned-namespace; then
80858 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80859 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80860 else
80861 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80862 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80866 if test $enable_symvers = darwin; then
80867 ENABLE_SYMVERS_DARWIN_TRUE=
80868 ENABLE_SYMVERS_DARWIN_FALSE='#'
80869 else
80870 ENABLE_SYMVERS_DARWIN_TRUE='#'
80871 ENABLE_SYMVERS_DARWIN_FALSE=
80875 if test $enable_symvers = sun; then
80876 ENABLE_SYMVERS_SUN_TRUE=
80877 ENABLE_SYMVERS_SUN_FALSE='#'
80878 else
80879 ENABLE_SYMVERS_SUN_TRUE='#'
80880 ENABLE_SYMVERS_SUN_FALSE=
80884 if test $enable_libstdcxx_visibility = yes; then
80885 ENABLE_VISIBILITY_TRUE=
80886 ENABLE_VISIBILITY_FALSE='#'
80887 else
80888 ENABLE_VISIBILITY_TRUE='#'
80889 ENABLE_VISIBILITY_FALSE=
80893 if test $enable_libstdcxx_dual_abi = yes; then
80894 ENABLE_DUAL_ABI_TRUE=
80895 ENABLE_DUAL_ABI_FALSE='#'
80896 else
80897 ENABLE_DUAL_ABI_TRUE='#'
80898 ENABLE_DUAL_ABI_FALSE=
80902 if test $glibcxx_cxx11_abi = 1; then
80903 ENABLE_CXX11_ABI_TRUE=
80904 ENABLE_CXX11_ABI_FALSE='#'
80905 else
80906 ENABLE_CXX11_ABI_TRUE='#'
80907 ENABLE_CXX11_ABI_FALSE=
80911 if test $ac_ldbl_compat = yes; then
80912 GLIBCXX_LDBL_COMPAT_TRUE=
80913 GLIBCXX_LDBL_COMPAT_FALSE='#'
80914 else
80915 GLIBCXX_LDBL_COMPAT_TRUE='#'
80916 GLIBCXX_LDBL_COMPAT_FALSE=
80920 if test $enable_libstdcxx_filesystem_ts = yes; then
80921 ENABLE_FILESYSTEM_TS_TRUE=
80922 ENABLE_FILESYSTEM_TS_FALSE='#'
80923 else
80924 ENABLE_FILESYSTEM_TS_TRUE='#'
80925 ENABLE_FILESYSTEM_TS_FALSE=
80931 cat >confcache <<\_ACEOF
80932 # This file is a shell script that caches the results of configure
80933 # tests run on this system so they can be shared between configure
80934 # scripts and configure runs, see configure's option --config-cache.
80935 # It is not useful on other systems. If it contains results you don't
80936 # want to keep, you may remove or edit it.
80938 # config.status only pays attention to the cache file if you give it
80939 # the --recheck option to rerun configure.
80941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80943 # following values.
80945 _ACEOF
80947 # The following way of writing the cache mishandles newlines in values,
80948 # but we know of no workaround that is simple, portable, and efficient.
80949 # So, we kill variables containing newlines.
80950 # Ultrix sh set writes to stderr and can't be redirected directly,
80951 # and sets the high bit in the cache file unless we assign to the vars.
80953 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80954 eval ac_val=\$$ac_var
80955 case $ac_val in #(
80956 *${as_nl}*)
80957 case $ac_var in #(
80958 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80959 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80960 esac
80961 case $ac_var in #(
80962 _ | IFS | as_nl) ;; #(
80963 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80964 *) { eval $ac_var=; unset $ac_var;} ;;
80965 esac ;;
80966 esac
80967 done
80969 (set) 2>&1 |
80970 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80971 *${as_nl}ac_space=\ *)
80972 # `set' does not quote correctly, so add quotes: double-quote
80973 # substitution turns \\\\ into \\, and sed turns \\ into \.
80974 sed -n \
80975 "s/'/'\\\\''/g;
80976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80977 ;; #(
80979 # `set' quotes correctly as required by POSIX, so do not add quotes.
80980 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80982 esac |
80983 sort
80985 sed '
80986 /^ac_cv_env_/b end
80987 t clear
80988 :clear
80989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80990 t end
80991 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80992 :end' >>confcache
80993 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80994 if test -w "$cache_file"; then
80995 test "x$cache_file" != "x/dev/null" &&
80996 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80997 $as_echo "$as_me: updating cache $cache_file" >&6;}
80998 cat confcache >$cache_file
80999 else
81000 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81001 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81004 rm -f confcache
81006 if test ${multilib} = yes; then
81007 multilib_arg="--enable-multilib"
81008 else
81009 multilib_arg=
81012 # Export all the install information.
81014 glibcxx_toolexecdir=no
81015 glibcxx_toolexeclibdir=no
81016 glibcxx_prefixdir=$prefix
81018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81019 $as_echo_n "checking for gxx-include-dir... " >&6; }
81021 # Check whether --with-gxx-include-dir was given.
81022 if test "${with_gxx_include_dir+set}" = set; then :
81023 withval=$with_gxx_include_dir; case "$withval" in
81024 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81025 no) gxx_include_dir=no ;;
81026 *) gxx_include_dir=$withval ;;
81027 esac
81028 else
81029 gxx_include_dir=no
81032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81033 $as_echo "$gxx_include_dir" >&6; }
81035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81036 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81037 # Check whether --enable-version-specific-runtime-libs was given.
81038 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81039 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81040 yes) version_specific_libs=yes ;;
81041 no) version_specific_libs=no ;;
81042 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81043 esac
81044 else
81045 version_specific_libs=no
81048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81049 $as_echo "$version_specific_libs" >&6; }
81051 # Default case for install directory for include files.
81052 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81053 gxx_include_dir='include/c++/${gcc_version}'
81054 if test -n "$with_cross_host" &&
81055 test x"$with_cross_host" != x"no"; then
81056 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81057 else
81058 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81062 # Version-specific runtime libs processing.
81063 if test $version_specific_libs = yes; then
81064 # Need the gcc compiler version to know where to install libraries
81065 # and header files if --enable-version-specific-runtime-libs option
81066 # is selected. FIXME: these variables are misnamed, there are
81067 # no executables installed in _toolexecdir or _toolexeclibdir.
81068 if test x"$gxx_include_dir" = x"no"; then
81069 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81071 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81072 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81075 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81076 # Install a library built with a cross compiler in tooldir, not libdir.
81077 if test x"$glibcxx_toolexecdir" = x"no"; then
81078 if test -n "$with_cross_host" &&
81079 test x"$with_cross_host" != x"no"; then
81080 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81081 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81082 else
81083 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81084 glibcxx_toolexeclibdir='${libdir}'
81086 multi_os_directory=`$CXX -print-multi-os-directory`
81087 case $multi_os_directory in
81088 .) ;; # Avoid trailing /.
81089 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81090 esac
81093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81094 $as_echo_n "checking for install location... " >&6; }
81095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81096 $as_echo "$gxx_include_dir" >&6; }
81104 # Export all the include and flag information to Makefiles.
81106 # Used for every C++ compile we perform.
81107 GLIBCXX_INCLUDES="\
81108 -I$glibcxx_builddir/include/$host_alias \
81109 -I$glibcxx_builddir/include \
81110 -I$glibcxx_srcdir/libsupc++"
81112 # For Canadian crosses, pick this up too.
81113 if test $CANADIAN = yes; then
81114 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81117 # Stuff in the actual top level. Currently only used by libsupc++ to
81118 # get unwind* headers from the libgcc dir.
81119 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81120 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81122 # Now, export this to all the little Makefiles....
81127 # Optimization flags that are probably a good idea for thrill-seekers. Just
81128 # uncomment the lines below and make, everything else is ready to go...
81129 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81130 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81133 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81137 ac_config_files="$ac_config_files Makefile"
81139 ac_config_files="$ac_config_files scripts/testsuite_flags"
81141 ac_config_files="$ac_config_files scripts/extract_symvers"
81143 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81146 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81147 # that multilib installs will end up installed in the correct place.
81148 # The testsuite needs it for multilib-aware ABI baseline files.
81149 # To work around this not being passed down from config-ml.in ->
81150 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81151 # append it here. Only modify Makefiles that have just been created.
81153 # Also, get rid of this simulated-VPATH thing that automake does.
81154 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"
81157 ac_config_commands="$ac_config_commands generate-headers"
81160 cat >confcache <<\_ACEOF
81161 # This file is a shell script that caches the results of configure
81162 # tests run on this system so they can be shared between configure
81163 # scripts and configure runs, see configure's option --config-cache.
81164 # It is not useful on other systems. If it contains results you don't
81165 # want to keep, you may remove or edit it.
81167 # config.status only pays attention to the cache file if you give it
81168 # the --recheck option to rerun configure.
81170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81172 # following values.
81174 _ACEOF
81176 # The following way of writing the cache mishandles newlines in values,
81177 # but we know of no workaround that is simple, portable, and efficient.
81178 # So, we kill variables containing newlines.
81179 # Ultrix sh set writes to stderr and can't be redirected directly,
81180 # and sets the high bit in the cache file unless we assign to the vars.
81182 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81183 eval ac_val=\$$ac_var
81184 case $ac_val in #(
81185 *${as_nl}*)
81186 case $ac_var in #(
81187 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81189 esac
81190 case $ac_var in #(
81191 _ | IFS | as_nl) ;; #(
81192 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81193 *) { eval $ac_var=; unset $ac_var;} ;;
81194 esac ;;
81195 esac
81196 done
81198 (set) 2>&1 |
81199 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81200 *${as_nl}ac_space=\ *)
81201 # `set' does not quote correctly, so add quotes: double-quote
81202 # substitution turns \\\\ into \\, and sed turns \\ into \.
81203 sed -n \
81204 "s/'/'\\\\''/g;
81205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81206 ;; #(
81208 # `set' quotes correctly as required by POSIX, so do not add quotes.
81209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81211 esac |
81212 sort
81214 sed '
81215 /^ac_cv_env_/b end
81216 t clear
81217 :clear
81218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81219 t end
81220 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81221 :end' >>confcache
81222 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81223 if test -w "$cache_file"; then
81224 test "x$cache_file" != "x/dev/null" &&
81225 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81226 $as_echo "$as_me: updating cache $cache_file" >&6;}
81227 cat confcache >$cache_file
81228 else
81229 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81230 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81233 rm -f confcache
81235 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81236 # Let make expand exec_prefix.
81237 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81239 DEFS=-DHAVE_CONFIG_H
81241 ac_libobjs=
81242 ac_ltlibobjs=
81243 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81244 # 1. Remove the extension, and $U if already installed.
81245 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81246 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81247 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81248 # will be set to the directory where LIBOBJS objects are built.
81249 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81250 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81251 done
81252 LIBOBJS=$ac_libobjs
81254 LTLIBOBJS=$ac_ltlibobjs
81257 if test -n "$EXEEXT"; then
81258 am__EXEEXT_TRUE=
81259 am__EXEEXT_FALSE='#'
81260 else
81261 am__EXEEXT_TRUE='#'
81262 am__EXEEXT_FALSE=
81265 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81266 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81269 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81270 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81273 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81274 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81277 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81278 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81281 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81282 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81285 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81286 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81289 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81290 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81293 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81294 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81297 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81298 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81301 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81302 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81305 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81306 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81309 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81310 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81313 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81314 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81317 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81318 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81321 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81322 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81325 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81326 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81329 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81330 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81333 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81334 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81337 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81338 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81341 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81342 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81345 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81346 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81349 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81350 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81353 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81354 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81357 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81358 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81361 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81362 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81365 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81366 as_fn_error "conditional \"BUILD_XML\" was never defined.
81367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81369 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81370 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81373 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81374 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81377 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81378 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81382 : ${CONFIG_STATUS=./config.status}
81383 ac_write_fail=0
81384 ac_clean_files_save=$ac_clean_files
81385 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81386 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81387 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81388 as_write_fail=0
81389 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81390 #! $SHELL
81391 # Generated by $as_me.
81392 # Run this file to recreate the current configuration.
81393 # Compiler output produced by configure, useful for debugging
81394 # configure, is in config.log if it exists.
81396 debug=false
81397 ac_cs_recheck=false
81398 ac_cs_silent=false
81400 SHELL=\${CONFIG_SHELL-$SHELL}
81401 export SHELL
81402 _ASEOF
81403 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81404 ## -------------------- ##
81405 ## M4sh Initialization. ##
81406 ## -------------------- ##
81408 # Be more Bourne compatible
81409 DUALCASE=1; export DUALCASE # for MKS sh
81410 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81411 emulate sh
81412 NULLCMD=:
81413 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81414 # is contrary to our usage. Disable this feature.
81415 alias -g '${1+"$@"}'='"$@"'
81416 setopt NO_GLOB_SUBST
81417 else
81418 case `(set -o) 2>/dev/null` in #(
81419 *posix*) :
81420 set -o posix ;; #(
81421 *) :
81423 esac
81427 as_nl='
81429 export as_nl
81430 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81431 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81432 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81433 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81434 # Prefer a ksh shell builtin over an external printf program on Solaris,
81435 # but without wasting forks for bash or zsh.
81436 if test -z "$BASH_VERSION$ZSH_VERSION" \
81437 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81438 as_echo='print -r --'
81439 as_echo_n='print -rn --'
81440 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81441 as_echo='printf %s\n'
81442 as_echo_n='printf %s'
81443 else
81444 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81445 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81446 as_echo_n='/usr/ucb/echo -n'
81447 else
81448 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81449 as_echo_n_body='eval
81450 arg=$1;
81451 case $arg in #(
81452 *"$as_nl"*)
81453 expr "X$arg" : "X\\(.*\\)$as_nl";
81454 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81455 esac;
81456 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81458 export as_echo_n_body
81459 as_echo_n='sh -c $as_echo_n_body as_echo'
81461 export as_echo_body
81462 as_echo='sh -c $as_echo_body as_echo'
81465 # The user is always right.
81466 if test "${PATH_SEPARATOR+set}" != set; then
81467 PATH_SEPARATOR=:
81468 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81469 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81470 PATH_SEPARATOR=';'
81475 # IFS
81476 # We need space, tab and new line, in precisely that order. Quoting is
81477 # there to prevent editors from complaining about space-tab.
81478 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81479 # splitting by setting IFS to empty value.)
81480 IFS=" "" $as_nl"
81482 # Find who we are. Look in the path if we contain no directory separator.
81483 case $0 in #((
81484 *[\\/]* ) as_myself=$0 ;;
81485 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81486 for as_dir in $PATH
81488 IFS=$as_save_IFS
81489 test -z "$as_dir" && as_dir=.
81490 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81491 done
81492 IFS=$as_save_IFS
81495 esac
81496 # We did not find ourselves, most probably we were run as `sh COMMAND'
81497 # in which case we are not to be found in the path.
81498 if test "x$as_myself" = x; then
81499 as_myself=$0
81501 if test ! -f "$as_myself"; then
81502 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81503 exit 1
81506 # Unset variables that we do not need and which cause bugs (e.g. in
81507 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81508 # suppresses any "Segmentation fault" message there. '((' could
81509 # trigger a bug in pdksh 5.2.14.
81510 for as_var in BASH_ENV ENV MAIL MAILPATH
81511 do eval test x\${$as_var+set} = xset \
81512 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81513 done
81514 PS1='$ '
81515 PS2='> '
81516 PS4='+ '
81518 # NLS nuisances.
81519 LC_ALL=C
81520 export LC_ALL
81521 LANGUAGE=C
81522 export LANGUAGE
81524 # CDPATH.
81525 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81528 # as_fn_error ERROR [LINENO LOG_FD]
81529 # ---------------------------------
81530 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81531 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81532 # script with status $?, using 1 if that was 0.
81533 as_fn_error ()
81535 as_status=$?; test $as_status -eq 0 && as_status=1
81536 if test "$3"; then
81537 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81538 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81540 $as_echo "$as_me: error: $1" >&2
81541 as_fn_exit $as_status
81542 } # as_fn_error
81545 # as_fn_set_status STATUS
81546 # -----------------------
81547 # Set $? to STATUS, without forking.
81548 as_fn_set_status ()
81550 return $1
81551 } # as_fn_set_status
81553 # as_fn_exit STATUS
81554 # -----------------
81555 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81556 as_fn_exit ()
81558 set +e
81559 as_fn_set_status $1
81560 exit $1
81561 } # as_fn_exit
81563 # as_fn_unset VAR
81564 # ---------------
81565 # Portably unset VAR.
81566 as_fn_unset ()
81568 { eval $1=; unset $1;}
81570 as_unset=as_fn_unset
81571 # as_fn_append VAR VALUE
81572 # ----------------------
81573 # Append the text in VALUE to the end of the definition contained in VAR. Take
81574 # advantage of any shell optimizations that allow amortized linear growth over
81575 # repeated appends, instead of the typical quadratic growth present in naive
81576 # implementations.
81577 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81578 eval 'as_fn_append ()
81580 eval $1+=\$2
81582 else
81583 as_fn_append ()
81585 eval $1=\$$1\$2
81587 fi # as_fn_append
81589 # as_fn_arith ARG...
81590 # ------------------
81591 # Perform arithmetic evaluation on the ARGs, and store the result in the
81592 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81593 # must be portable across $(()) and expr.
81594 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81595 eval 'as_fn_arith ()
81597 as_val=$(( $* ))
81599 else
81600 as_fn_arith ()
81602 as_val=`expr "$@" || test $? -eq 1`
81604 fi # as_fn_arith
81607 if expr a : '\(a\)' >/dev/null 2>&1 &&
81608 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81609 as_expr=expr
81610 else
81611 as_expr=false
81614 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81615 as_basename=basename
81616 else
81617 as_basename=false
81620 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81621 as_dirname=dirname
81622 else
81623 as_dirname=false
81626 as_me=`$as_basename -- "$0" ||
81627 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81628 X"$0" : 'X\(//\)$' \| \
81629 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81630 $as_echo X/"$0" |
81631 sed '/^.*\/\([^/][^/]*\)\/*$/{
81632 s//\1/
81635 /^X\/\(\/\/\)$/{
81636 s//\1/
81639 /^X\/\(\/\).*/{
81640 s//\1/
81643 s/.*/./; q'`
81645 # Avoid depending upon Character Ranges.
81646 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81647 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81648 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81649 as_cr_digits='0123456789'
81650 as_cr_alnum=$as_cr_Letters$as_cr_digits
81652 ECHO_C= ECHO_N= ECHO_T=
81653 case `echo -n x` in #(((((
81654 -n*)
81655 case `echo 'xy\c'` in
81656 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81657 xy) ECHO_C='\c';;
81658 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81659 ECHO_T=' ';;
81660 esac;;
81662 ECHO_N='-n';;
81663 esac
81665 rm -f conf$$ conf$$.exe conf$$.file
81666 if test -d conf$$.dir; then
81667 rm -f conf$$.dir/conf$$.file
81668 else
81669 rm -f conf$$.dir
81670 mkdir conf$$.dir 2>/dev/null
81672 if (echo >conf$$.file) 2>/dev/null; then
81673 if ln -s conf$$.file conf$$ 2>/dev/null; then
81674 as_ln_s='ln -s'
81675 # ... but there are two gotchas:
81676 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81677 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81678 # In both cases, we have to default to `cp -p'.
81679 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81680 as_ln_s='cp -p'
81681 elif ln conf$$.file conf$$ 2>/dev/null; then
81682 as_ln_s=ln
81683 else
81684 as_ln_s='cp -p'
81686 else
81687 as_ln_s='cp -p'
81689 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81690 rmdir conf$$.dir 2>/dev/null
81693 # as_fn_mkdir_p
81694 # -------------
81695 # Create "$as_dir" as a directory, including parents if necessary.
81696 as_fn_mkdir_p ()
81699 case $as_dir in #(
81700 -*) as_dir=./$as_dir;;
81701 esac
81702 test -d "$as_dir" || eval $as_mkdir_p || {
81703 as_dirs=
81704 while :; do
81705 case $as_dir in #(
81706 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81707 *) as_qdir=$as_dir;;
81708 esac
81709 as_dirs="'$as_qdir' $as_dirs"
81710 as_dir=`$as_dirname -- "$as_dir" ||
81711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81712 X"$as_dir" : 'X\(//\)[^/]' \| \
81713 X"$as_dir" : 'X\(//\)$' \| \
81714 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81715 $as_echo X"$as_dir" |
81716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81717 s//\1/
81720 /^X\(\/\/\)[^/].*/{
81721 s//\1/
81724 /^X\(\/\/\)$/{
81725 s//\1/
81728 /^X\(\/\).*/{
81729 s//\1/
81732 s/.*/./; q'`
81733 test -d "$as_dir" && break
81734 done
81735 test -z "$as_dirs" || eval "mkdir $as_dirs"
81736 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81739 } # as_fn_mkdir_p
81740 if mkdir -p . 2>/dev/null; then
81741 as_mkdir_p='mkdir -p "$as_dir"'
81742 else
81743 test -d ./-p && rmdir ./-p
81744 as_mkdir_p=false
81747 if test -x / >/dev/null 2>&1; then
81748 as_test_x='test -x'
81749 else
81750 if ls -dL / >/dev/null 2>&1; then
81751 as_ls_L_option=L
81752 else
81753 as_ls_L_option=
81755 as_test_x='
81756 eval sh -c '\''
81757 if test -d "$1"; then
81758 test -d "$1/.";
81759 else
81760 case $1 in #(
81761 -*)set "./$1";;
81762 esac;
81763 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81764 ???[sx]*):;;*)false;;esac;fi
81765 '\'' sh
81768 as_executable_p=$as_test_x
81770 # Sed expression to map a string onto a valid CPP name.
81771 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
81773 # Sed expression to map a string onto a valid variable name.
81774 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
81777 exec 6>&1
81778 ## ----------------------------------- ##
81779 ## Main body of $CONFIG_STATUS script. ##
81780 ## ----------------------------------- ##
81781 _ASEOF
81782 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
81784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81785 # Save the log message, to keep $0 and so on meaningful, and to
81786 # report actual input values of CONFIG_FILES etc. instead of their
81787 # values after options handling.
81788 ac_log="
81789 This file was extended by package-unused $as_me version-unused, which was
81790 generated by GNU Autoconf 2.64. Invocation command line was
81792 CONFIG_FILES = $CONFIG_FILES
81793 CONFIG_HEADERS = $CONFIG_HEADERS
81794 CONFIG_LINKS = $CONFIG_LINKS
81795 CONFIG_COMMANDS = $CONFIG_COMMANDS
81796 $ $0 $@
81798 on `(hostname || uname -n) 2>/dev/null | sed 1q`
81801 _ACEOF
81803 case $ac_config_files in *"
81804 "*) set x $ac_config_files; shift; ac_config_files=$*;;
81805 esac
81807 case $ac_config_headers in *"
81808 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
81809 esac
81812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81813 # Files that config.status was made for.
81814 config_files="$ac_config_files"
81815 config_headers="$ac_config_headers"
81816 config_commands="$ac_config_commands"
81818 _ACEOF
81820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81821 ac_cs_usage="\
81822 \`$as_me' instantiates files and other configuration actions
81823 from templates according to the current configuration. Unless the files
81824 and actions are specified as TAGs, all are instantiated by default.
81826 Usage: $0 [OPTION]... [TAG]...
81828 -h, --help print this help, then exit
81829 -V, --version print version number and configuration settings, then exit
81830 -q, --quiet, --silent
81831 do not print progress messages
81832 -d, --debug don't remove temporary files
81833 --recheck update $as_me by reconfiguring in the same conditions
81834 --file=FILE[:TEMPLATE]
81835 instantiate the configuration file FILE
81836 --header=FILE[:TEMPLATE]
81837 instantiate the configuration header FILE
81839 Configuration files:
81840 $config_files
81842 Configuration headers:
81843 $config_headers
81845 Configuration commands:
81846 $config_commands
81848 Report bugs to the package provider."
81850 _ACEOF
81851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81852 ac_cs_version="\\
81853 package-unused config.status version-unused
81854 configured by $0, generated by GNU Autoconf 2.64,
81855 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81857 Copyright (C) 2009 Free Software Foundation, Inc.
81858 This config.status script is free software; the Free Software Foundation
81859 gives unlimited permission to copy, distribute and modify it."
81861 ac_pwd='$ac_pwd'
81862 srcdir='$srcdir'
81863 INSTALL='$INSTALL'
81864 MKDIR_P='$MKDIR_P'
81865 AWK='$AWK'
81866 test -n "\$AWK" || AWK=awk
81867 _ACEOF
81869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81870 # The default lists apply if the user does not specify any file.
81871 ac_need_defaults=:
81872 while test $# != 0
81874 case $1 in
81875 --*=*)
81876 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81877 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81878 ac_shift=:
81881 ac_option=$1
81882 ac_optarg=$2
81883 ac_shift=shift
81885 esac
81887 case $ac_option in
81888 # Handling of the options.
81889 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81890 ac_cs_recheck=: ;;
81891 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81892 $as_echo "$ac_cs_version"; exit ;;
81893 --debug | --debu | --deb | --de | --d | -d )
81894 debug=: ;;
81895 --file | --fil | --fi | --f )
81896 $ac_shift
81897 case $ac_optarg in
81898 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81899 esac
81900 as_fn_append CONFIG_FILES " '$ac_optarg'"
81901 ac_need_defaults=false;;
81902 --header | --heade | --head | --hea )
81903 $ac_shift
81904 case $ac_optarg in
81905 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81906 esac
81907 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81908 ac_need_defaults=false;;
81909 --he | --h)
81910 # Conflict between --help and --header
81911 as_fn_error "ambiguous option: \`$1'
81912 Try \`$0 --help' for more information.";;
81913 --help | --hel | -h )
81914 $as_echo "$ac_cs_usage"; exit ;;
81915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81916 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81917 ac_cs_silent=: ;;
81919 # This is an error.
81920 -*) as_fn_error "unrecognized option: \`$1'
81921 Try \`$0 --help' for more information." ;;
81923 *) as_fn_append ac_config_targets " $1"
81924 ac_need_defaults=false ;;
81926 esac
81927 shift
81928 done
81930 ac_configure_extra_args=
81932 if $ac_cs_silent; then
81933 exec 6>/dev/null
81934 ac_configure_extra_args="$ac_configure_extra_args --silent"
81937 _ACEOF
81938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81939 if \$ac_cs_recheck; then
81940 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81941 shift
81942 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81943 CONFIG_SHELL='$SHELL'
81944 export CONFIG_SHELL
81945 exec "\$@"
81948 _ACEOF
81949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81950 exec 5>>config.log
81952 echo
81953 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81954 ## Running $as_me. ##
81955 _ASBOX
81956 $as_echo "$ac_log"
81957 } >&5
81959 _ACEOF
81960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81962 # INIT-COMMANDS
81965 srcdir="$srcdir"
81966 host="$host"
81967 target="$target"
81968 with_multisubdir="$with_multisubdir"
81969 with_multisrctop="$with_multisrctop"
81970 with_target_subdir="$with_target_subdir"
81971 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81972 multi_basedir="$multi_basedir"
81973 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81974 CC="$CC"
81975 CXX="$CXX"
81976 GFORTRAN="$GFORTRAN"
81977 GCJ="$GCJ"
81980 # The HP-UX ksh and POSIX shell print the target directory to stdout
81981 # if CDPATH is set.
81982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81984 sed_quote_subst='$sed_quote_subst'
81985 double_quote_subst='$double_quote_subst'
81986 delay_variable_subst='$delay_variable_subst'
81987 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81988 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81989 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81990 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81991 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81992 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81993 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81994 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81995 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81996 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81997 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81998 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81999 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82000 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82001 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82002 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82003 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82004 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82005 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82006 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82007 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82008 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82009 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82010 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82011 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82012 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82013 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82014 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82015 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82016 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82017 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82018 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82019 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82020 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82021 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82022 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82023 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82024 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82025 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82026 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82027 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82028 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82029 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82030 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82031 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82032 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82033 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82034 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82035 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"`'
82036 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82037 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82038 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82039 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82040 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82041 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82042 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82043 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82044 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82045 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82046 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82047 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82048 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82049 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82050 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82051 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82052 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82053 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82054 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82055 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82056 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82057 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82058 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82059 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82060 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82061 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82062 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82063 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82064 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82065 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82066 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82067 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82068 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82069 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82070 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82071 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82072 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82073 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82074 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82075 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82076 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82077 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82078 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82079 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82080 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82081 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82082 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82083 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82084 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82085 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82086 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82087 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82088 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82089 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82090 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82091 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82092 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82093 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82094 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82095 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82096 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82097 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82098 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82099 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82100 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82101 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82102 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82103 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82104 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82105 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82106 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82107 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82108 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82109 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82110 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82111 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82112 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82113 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82114 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82115 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82116 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82117 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82118 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82119 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82120 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82121 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82122 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82123 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82124 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82125 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82126 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82127 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82128 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82129 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82130 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82131 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82132 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82133 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82134 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82135 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82136 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82137 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82138 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82139 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82140 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82141 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82142 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82143 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82144 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82145 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82146 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82147 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82148 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82149 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82150 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82151 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82152 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82153 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82154 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82155 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82156 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82157 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82158 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82159 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82160 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82161 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82163 LTCC='$LTCC'
82164 LTCFLAGS='$LTCFLAGS'
82165 compiler='$compiler_DEFAULT'
82167 # A function that is used when there is no print builtin or printf.
82168 func_fallback_echo ()
82170 eval 'cat <<_LTECHO_EOF
82172 _LTECHO_EOF'
82175 # Quote evaled strings.
82176 for var in SHELL \
82177 ECHO \
82178 SED \
82179 GREP \
82180 EGREP \
82181 FGREP \
82182 LD \
82183 NM \
82184 LN_S \
82185 lt_SP2NL \
82186 lt_NL2SP \
82187 reload_flag \
82188 OBJDUMP \
82189 deplibs_check_method \
82190 file_magic_cmd \
82191 AR \
82192 AR_FLAGS \
82193 STRIP \
82194 RANLIB \
82195 CC \
82196 CFLAGS \
82197 compiler \
82198 lt_cv_sys_global_symbol_pipe \
82199 lt_cv_sys_global_symbol_to_cdecl \
82200 lt_cv_sys_global_symbol_to_c_name_address \
82201 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82202 lt_prog_compiler_no_builtin_flag \
82203 lt_prog_compiler_wl \
82204 lt_prog_compiler_pic \
82205 lt_prog_compiler_static \
82206 lt_cv_prog_compiler_c_o \
82207 need_locks \
82208 DSYMUTIL \
82209 NMEDIT \
82210 LIPO \
82211 OTOOL \
82212 OTOOL64 \
82213 shrext_cmds \
82214 export_dynamic_flag_spec \
82215 whole_archive_flag_spec \
82216 compiler_needs_object \
82217 with_gnu_ld \
82218 allow_undefined_flag \
82219 no_undefined_flag \
82220 hardcode_libdir_flag_spec \
82221 hardcode_libdir_flag_spec_ld \
82222 hardcode_libdir_separator \
82223 fix_srcfile_path \
82224 exclude_expsyms \
82225 include_expsyms \
82226 file_list_spec \
82227 variables_saved_for_relink \
82228 libname_spec \
82229 library_names_spec \
82230 soname_spec \
82231 install_override_mode \
82232 finish_eval \
82233 old_striplib \
82234 striplib \
82235 compiler_lib_search_dirs \
82236 predep_objects \
82237 postdep_objects \
82238 predeps \
82239 postdeps \
82240 compiler_lib_search_path \
82241 LD_CXX \
82242 reload_flag_CXX \
82243 compiler_CXX \
82244 lt_prog_compiler_no_builtin_flag_CXX \
82245 lt_prog_compiler_wl_CXX \
82246 lt_prog_compiler_pic_CXX \
82247 lt_prog_compiler_static_CXX \
82248 lt_cv_prog_compiler_c_o_CXX \
82249 export_dynamic_flag_spec_CXX \
82250 whole_archive_flag_spec_CXX \
82251 compiler_needs_object_CXX \
82252 with_gnu_ld_CXX \
82253 allow_undefined_flag_CXX \
82254 no_undefined_flag_CXX \
82255 hardcode_libdir_flag_spec_CXX \
82256 hardcode_libdir_flag_spec_ld_CXX \
82257 hardcode_libdir_separator_CXX \
82258 fix_srcfile_path_CXX \
82259 exclude_expsyms_CXX \
82260 include_expsyms_CXX \
82261 file_list_spec_CXX \
82262 compiler_lib_search_dirs_CXX \
82263 predep_objects_CXX \
82264 postdep_objects_CXX \
82265 predeps_CXX \
82266 postdeps_CXX \
82267 compiler_lib_search_path_CXX; do
82268 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82269 *[\\\\\\\`\\"\\\$]*)
82270 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82273 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82275 esac
82276 done
82278 # Double-quote double-evaled strings.
82279 for var in reload_cmds \
82280 old_postinstall_cmds \
82281 old_postuninstall_cmds \
82282 old_archive_cmds \
82283 extract_expsyms_cmds \
82284 old_archive_from_new_cmds \
82285 old_archive_from_expsyms_cmds \
82286 archive_cmds \
82287 archive_expsym_cmds \
82288 module_cmds \
82289 module_expsym_cmds \
82290 export_symbols_cmds \
82291 prelink_cmds \
82292 postinstall_cmds \
82293 postuninstall_cmds \
82294 finish_cmds \
82295 sys_lib_search_path_spec \
82296 sys_lib_dlsearch_path_spec \
82297 reload_cmds_CXX \
82298 old_archive_cmds_CXX \
82299 old_archive_from_new_cmds_CXX \
82300 old_archive_from_expsyms_cmds_CXX \
82301 archive_cmds_CXX \
82302 archive_expsym_cmds_CXX \
82303 module_cmds_CXX \
82304 module_expsym_cmds_CXX \
82305 export_symbols_cmds_CXX \
82306 prelink_cmds_CXX; do
82307 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82308 *[\\\\\\\`\\"\\\$]*)
82309 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82312 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82314 esac
82315 done
82317 ac_aux_dir='$ac_aux_dir'
82318 xsi_shell='$xsi_shell'
82319 lt_shell_append='$lt_shell_append'
82321 # See if we are running on zsh, and set the options which allow our
82322 # commands through without removal of \ escapes INIT.
82323 if test -n "\${ZSH_VERSION+set}" ; then
82324 setopt NO_GLOB_SUBST
82328 PACKAGE='$PACKAGE'
82329 VERSION='$VERSION'
82330 TIMESTAMP='$TIMESTAMP'
82331 RM='$RM'
82332 ofile='$ofile'
82339 GCC="$GCC"
82340 CC="$CC"
82341 acx_cv_header_stdint="$acx_cv_header_stdint"
82342 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82343 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82344 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82345 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82346 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82347 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82348 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82349 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82350 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82351 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82352 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82353 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82354 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82357 _ACEOF
82359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82361 # Handling of arguments.
82362 for ac_config_target in $ac_config_targets
82364 case $ac_config_target in
82365 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82366 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82367 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82368 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82369 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82370 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82371 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82372 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82373 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82374 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82375 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82376 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82377 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82378 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82379 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82380 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82381 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82382 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82383 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82385 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82386 esac
82387 done
82390 # If the user did not use the arguments to specify the items to instantiate,
82391 # then the envvar interface is used. Set only those that are not.
82392 # We use the long form for the default assignment because of an extremely
82393 # bizarre bug on SunOS 4.1.3.
82394 if $ac_need_defaults; then
82395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82400 # Have a temporary directory for convenience. Make it in the build tree
82401 # simply because there is no reason against having it here, and in addition,
82402 # creating and moving files from /tmp can sometimes cause problems.
82403 # Hook for its removal unless debugging.
82404 # Note that there is a small window in which the directory will not be cleaned:
82405 # after its creation but before its name has been assigned to `$tmp'.
82406 $debug ||
82408 tmp=
82409 trap 'exit_status=$?
82410 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82412 trap 'as_fn_exit 1' 1 2 13 15
82414 # Create a (secure) tmp directory for tmp files.
82417 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82418 test -n "$tmp" && test -d "$tmp"
82419 } ||
82421 tmp=./conf$$-$RANDOM
82422 (umask 077 && mkdir "$tmp")
82423 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82425 # Set up the scripts for CONFIG_FILES section.
82426 # No need to generate them if there are no CONFIG_FILES.
82427 # This happens for instance with `./config.status config.h'.
82428 if test -n "$CONFIG_FILES"; then
82431 ac_cr=`echo X | tr X '\015'`
82432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82433 # But we know of no other shell where ac_cr would be empty at this
82434 # point, so we can use a bashism as a fallback.
82435 if test "x$ac_cr" = x; then
82436 eval ac_cr=\$\'\\r\'
82438 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82440 ac_cs_awk_cr='\r'
82441 else
82442 ac_cs_awk_cr=$ac_cr
82445 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82446 _ACEOF
82450 echo "cat >conf$$subs.awk <<_ACEOF" &&
82451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82452 echo "_ACEOF"
82453 } >conf$$subs.sh ||
82454 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82456 ac_delim='%!_!# '
82457 for ac_last_try in false false false false false :; do
82458 . ./conf$$subs.sh ||
82459 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82461 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82462 if test $ac_delim_n = $ac_delim_num; then
82463 break
82464 elif $ac_last_try; then
82465 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82466 else
82467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82469 done
82470 rm -f conf$$subs.sh
82472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82473 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82474 _ACEOF
82475 sed -n '
82477 s/^/S["/; s/!.*/"]=/
82480 s/^[^!]*!//
82481 :repl
82482 t repl
82483 s/'"$ac_delim"'$//
82484 t delim
82487 s/\(.\{148\}\).*/\1/
82488 t more1
82489 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82492 b repl
82493 :more1
82494 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82497 s/.\{148\}//
82498 t nl
82499 :delim
82501 s/\(.\{148\}\).*/\1/
82502 t more2
82503 s/["\\]/\\&/g; s/^/"/; s/$/"/
82506 :more2
82507 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82510 s/.\{148\}//
82511 t delim
82512 ' <conf$$subs.awk | sed '
82513 /^[^""]/{
82515 s/\n//
82517 ' >>$CONFIG_STATUS || ac_write_fail=1
82518 rm -f conf$$subs.awk
82519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82520 _ACAWK
82521 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82522 for (key in S) S_is_set[key] = 1
82523 FS = "\a"
82527 line = $ 0
82528 nfields = split(line, field, "@")
82529 substed = 0
82530 len = length(field[1])
82531 for (i = 2; i < nfields; i++) {
82532 key = field[i]
82533 keylen = length(key)
82534 if (S_is_set[key]) {
82535 value = S[key]
82536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82537 len += length(value) + length(field[++i])
82538 substed = 1
82539 } else
82540 len += 1 + keylen
82543 print line
82546 _ACAWK
82547 _ACEOF
82548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82549 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82550 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82551 else
82553 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82554 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82555 _ACEOF
82557 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82558 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82559 # trailing colons and then remove the whole line if VPATH becomes empty
82560 # (actually we leave an empty line to preserve line numbers).
82561 if test "x$srcdir" = x.; then
82562 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82563 s/:*\$(srcdir):*/:/
82564 s/:*\${srcdir}:*/:/
82565 s/:*@srcdir@:*/:/
82566 s/^\([^=]*=[ ]*\):*/\1/
82567 s/:*$//
82568 s/^[^=]*=[ ]*$//
82572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82573 fi # test -n "$CONFIG_FILES"
82575 # Set up the scripts for CONFIG_HEADERS section.
82576 # No need to generate them if there are no CONFIG_HEADERS.
82577 # This happens for instance with `./config.status Makefile'.
82578 if test -n "$CONFIG_HEADERS"; then
82579 cat >"$tmp/defines.awk" <<\_ACAWK ||
82580 BEGIN {
82581 _ACEOF
82583 # Transform confdefs.h into an awk script `defines.awk', embedded as
82584 # here-document in config.status, that substitutes the proper values into
82585 # config.h.in to produce config.h.
82587 # Create a delimiter string that does not exist in confdefs.h, to ease
82588 # handling of long lines.
82589 ac_delim='%!_!# '
82590 for ac_last_try in false false :; do
82591 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82592 if test -z "$ac_t"; then
82593 break
82594 elif $ac_last_try; then
82595 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82596 else
82597 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82599 done
82601 # For the awk script, D is an array of macro values keyed by name,
82602 # likewise P contains macro parameters if any. Preserve backslash
82603 # newline sequences.
82605 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82606 sed -n '
82607 s/.\{148\}/&'"$ac_delim"'/g
82608 t rset
82609 :rset
82610 s/^[ ]*#[ ]*define[ ][ ]*/ /
82611 t def
82613 :def
82614 s/\\$//
82615 t bsnl
82616 s/["\\]/\\&/g
82617 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82618 D["\1"]=" \3"/p
82619 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82621 :bsnl
82622 s/["\\]/\\&/g
82623 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82624 D["\1"]=" \3\\\\\\n"\\/p
82625 t cont
82626 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82627 t cont
82629 :cont
82631 s/.\{148\}/&'"$ac_delim"'/g
82632 t clear
82633 :clear
82634 s/\\$//
82635 t bsnlc
82636 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82638 :bsnlc
82639 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82640 b cont
82641 ' <confdefs.h | sed '
82642 s/'"$ac_delim"'/"\\\
82643 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82646 for (key in D) D_is_set[key] = 1
82647 FS = "\a"
82649 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82650 line = \$ 0
82651 split(line, arg, " ")
82652 if (arg[1] == "#") {
82653 defundef = arg[2]
82654 mac1 = arg[3]
82655 } else {
82656 defundef = substr(arg[1], 2)
82657 mac1 = arg[2]
82659 split(mac1, mac2, "(") #)
82660 macro = mac2[1]
82661 prefix = substr(line, 1, index(line, defundef) - 1)
82662 if (D_is_set[macro]) {
82663 # Preserve the white space surrounding the "#".
82664 print prefix "define", macro P[macro] D[macro]
82665 next
82666 } else {
82667 # Replace #undef with comments. This is necessary, for example,
82668 # in the case of _POSIX_SOURCE, which is predefined and required
82669 # on some systems where configure will not decide to define it.
82670 if (defundef == "undef") {
82671 print "/*", prefix defundef, macro, "*/"
82672 next
82676 { print }
82677 _ACAWK
82678 _ACEOF
82679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82680 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82681 fi # test -n "$CONFIG_HEADERS"
82684 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82685 shift
82686 for ac_tag
82688 case $ac_tag in
82689 :[FHLC]) ac_mode=$ac_tag; continue;;
82690 esac
82691 case $ac_mode$ac_tag in
82692 :[FHL]*:*);;
82693 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82694 :[FH]-) ac_tag=-:-;;
82695 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82696 esac
82697 ac_save_IFS=$IFS
82698 IFS=:
82699 set x $ac_tag
82700 IFS=$ac_save_IFS
82701 shift
82702 ac_file=$1
82703 shift
82705 case $ac_mode in
82706 :L) ac_source=$1;;
82707 :[FH])
82708 ac_file_inputs=
82709 for ac_f
82711 case $ac_f in
82712 -) ac_f="$tmp/stdin";;
82713 *) # Look for the file first in the build tree, then in the source tree
82714 # (if the path is not absolute). The absolute path cannot be DOS-style,
82715 # because $ac_f cannot contain `:'.
82716 test -f "$ac_f" ||
82717 case $ac_f in
82718 [\\/$]*) false;;
82719 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82720 esac ||
82721 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82722 esac
82723 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82724 as_fn_append ac_file_inputs " '$ac_f'"
82725 done
82727 # Let's still pretend it is `configure' which instantiates (i.e., don't
82728 # use $as_me), people would be surprised to read:
82729 # /* config.h. Generated by config.status. */
82730 configure_input='Generated from '`
82731 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82732 `' by configure.'
82733 if test x"$ac_file" != x-; then
82734 configure_input="$ac_file. $configure_input"
82735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82736 $as_echo "$as_me: creating $ac_file" >&6;}
82738 # Neutralize special characters interpreted by sed in replacement strings.
82739 case $configure_input in #(
82740 *\&* | *\|* | *\\* )
82741 ac_sed_conf_input=`$as_echo "$configure_input" |
82742 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82743 *) ac_sed_conf_input=$configure_input;;
82744 esac
82746 case $ac_tag in
82747 *:-:* | *:-) cat >"$tmp/stdin" \
82748 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82749 esac
82751 esac
82753 ac_dir=`$as_dirname -- "$ac_file" ||
82754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82755 X"$ac_file" : 'X\(//\)[^/]' \| \
82756 X"$ac_file" : 'X\(//\)$' \| \
82757 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82758 $as_echo X"$ac_file" |
82759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82760 s//\1/
82763 /^X\(\/\/\)[^/].*/{
82764 s//\1/
82767 /^X\(\/\/\)$/{
82768 s//\1/
82771 /^X\(\/\).*/{
82772 s//\1/
82775 s/.*/./; q'`
82776 as_dir="$ac_dir"; as_fn_mkdir_p
82777 ac_builddir=.
82779 case "$ac_dir" in
82780 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
82782 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
82783 # A ".." for each directory in $ac_dir_suffix.
82784 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
82785 case $ac_top_builddir_sub in
82786 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
82787 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
82788 esac ;;
82789 esac
82790 ac_abs_top_builddir=$ac_pwd
82791 ac_abs_builddir=$ac_pwd$ac_dir_suffix
82792 # for backward compatibility:
82793 ac_top_builddir=$ac_top_build_prefix
82795 case $srcdir in
82796 .) # We are building in place.
82797 ac_srcdir=.
82798 ac_top_srcdir=$ac_top_builddir_sub
82799 ac_abs_top_srcdir=$ac_pwd ;;
82800 [\\/]* | ?:[\\/]* ) # Absolute name.
82801 ac_srcdir=$srcdir$ac_dir_suffix;
82802 ac_top_srcdir=$srcdir
82803 ac_abs_top_srcdir=$srcdir ;;
82804 *) # Relative name.
82805 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
82806 ac_top_srcdir=$ac_top_build_prefix$srcdir
82807 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
82808 esac
82809 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
82812 case $ac_mode in
82815 # CONFIG_FILE
82818 case $INSTALL in
82819 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
82820 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
82821 esac
82822 ac_MKDIR_P=$MKDIR_P
82823 case $MKDIR_P in
82824 [\\/$]* | ?:[\\/]* ) ;;
82825 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
82826 esac
82827 _ACEOF
82829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82830 # If the template does not know about datarootdir, expand it.
82831 # FIXME: This hack should be removed a few years after 2.60.
82832 ac_datarootdir_hack=; ac_datarootdir_seen=
82833 ac_sed_dataroot='
82834 /datarootdir/ {
82838 /@datadir@/p
82839 /@docdir@/p
82840 /@infodir@/p
82841 /@localedir@/p
82842 /@mandir@/p'
82843 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82844 *datarootdir*) ac_datarootdir_seen=yes;;
82845 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82847 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82848 _ACEOF
82849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82850 ac_datarootdir_hack='
82851 s&@datadir@&$datadir&g
82852 s&@docdir@&$docdir&g
82853 s&@infodir@&$infodir&g
82854 s&@localedir@&$localedir&g
82855 s&@mandir@&$mandir&g
82856 s&\\\${datarootdir}&$datarootdir&g' ;;
82857 esac
82858 _ACEOF
82860 # Neutralize VPATH when `$srcdir' = `.'.
82861 # Shell code in configure.ac might set extrasub.
82862 # FIXME: do we really want to maintain this feature?
82863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82864 ac_sed_extra="$ac_vpsub
82865 $extrasub
82866 _ACEOF
82867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82869 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82870 s|@configure_input@|$ac_sed_conf_input|;t t
82871 s&@top_builddir@&$ac_top_builddir_sub&;t t
82872 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82873 s&@srcdir@&$ac_srcdir&;t t
82874 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82875 s&@top_srcdir@&$ac_top_srcdir&;t t
82876 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82877 s&@builddir@&$ac_builddir&;t t
82878 s&@abs_builddir@&$ac_abs_builddir&;t t
82879 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82880 s&@INSTALL@&$ac_INSTALL&;t t
82881 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82882 $ac_datarootdir_hack
82884 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82885 || as_fn_error "could not create $ac_file" "$LINENO" 5
82887 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82888 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82891 which seems to be undefined. Please make sure it is defined." >&5
82892 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82893 which seems to be undefined. Please make sure it is defined." >&2;}
82895 rm -f "$tmp/stdin"
82896 case $ac_file in
82897 -) cat "$tmp/out" && rm -f "$tmp/out";;
82898 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82899 esac \
82900 || as_fn_error "could not create $ac_file" "$LINENO" 5
82904 # CONFIG_HEADER
82906 if test x"$ac_file" != x-; then
82908 $as_echo "/* $configure_input */" \
82909 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82910 } >"$tmp/config.h" \
82911 || as_fn_error "could not create $ac_file" "$LINENO" 5
82912 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82913 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82914 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82915 else
82916 rm -f "$ac_file"
82917 mv "$tmp/config.h" "$ac_file" \
82918 || as_fn_error "could not create $ac_file" "$LINENO" 5
82920 else
82921 $as_echo "/* $configure_input */" \
82922 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82923 || as_fn_error "could not create -" "$LINENO" 5
82925 # Compute "$ac_file"'s index in $config_headers.
82926 _am_arg="$ac_file"
82927 _am_stamp_count=1
82928 for _am_header in $config_headers :; do
82929 case $_am_header in
82930 $_am_arg | $_am_arg:* )
82931 break ;;
82933 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82934 esac
82935 done
82936 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82937 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82938 X"$_am_arg" : 'X\(//\)[^/]' \| \
82939 X"$_am_arg" : 'X\(//\)$' \| \
82940 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82941 $as_echo X"$_am_arg" |
82942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82943 s//\1/
82946 /^X\(\/\/\)[^/].*/{
82947 s//\1/
82950 /^X\(\/\/\)$/{
82951 s//\1/
82954 /^X\(\/\).*/{
82955 s//\1/
82958 s/.*/./; q'`/stamp-h$_am_stamp_count
82961 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82962 $as_echo "$as_me: executing $ac_file commands" >&6;}
82964 esac
82967 case $ac_file$ac_mode in
82968 "default-1":C)
82969 # Only add multilib support code if we just rebuilt the top-level
82970 # Makefile.
82971 case " $CONFIG_FILES " in
82972 *" Makefile "*)
82973 ac_file=Makefile . ${multi_basedir}/config-ml.in
82975 esac ;;
82976 "libtool":C)
82978 # See if we are running on zsh, and set the options which allow our
82979 # commands through without removal of \ escapes.
82980 if test -n "${ZSH_VERSION+set}" ; then
82981 setopt NO_GLOB_SUBST
82984 cfgfile="${ofile}T"
82985 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82986 $RM "$cfgfile"
82988 cat <<_LT_EOF >> "$cfgfile"
82989 #! $SHELL
82991 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82992 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82993 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82994 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82997 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82998 # Written by Gordon Matzigkeit, 1996
83000 # This file is part of GNU Libtool.
83002 # GNU Libtool is free software; you can redistribute it and/or
83003 # modify it under the terms of the GNU General Public License as
83004 # published by the Free Software Foundation; either version 2 of
83005 # the License, or (at your option) any later version.
83007 # As a special exception to the GNU General Public License,
83008 # if you distribute this file as part of a program or library that
83009 # is built using GNU Libtool, you may include this file under the
83010 # same distribution terms that you use for the rest of that program.
83012 # GNU Libtool is distributed in the hope that it will be useful,
83013 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83014 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83015 # GNU General Public License for more details.
83017 # You should have received a copy of the GNU General Public License
83018 # along with GNU Libtool; see the file COPYING. If not, a copy
83019 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83020 # obtained by writing to the Free Software Foundation, Inc.,
83021 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83024 # The names of the tagged configurations supported by this script.
83025 available_tags="CXX "
83027 # ### BEGIN LIBTOOL CONFIG
83029 # Which release of libtool.m4 was used?
83030 macro_version=$macro_version
83031 macro_revision=$macro_revision
83033 # Whether or not to build shared libraries.
83034 build_libtool_libs=$enable_shared
83036 # Whether or not to build static libraries.
83037 build_old_libs=$enable_static
83039 # What type of objects to build.
83040 pic_mode=$pic_mode
83042 # Whether or not to optimize for fast installation.
83043 fast_install=$enable_fast_install
83045 # Shell to use when invoking shell scripts.
83046 SHELL=$lt_SHELL
83048 # An echo program that protects backslashes.
83049 ECHO=$lt_ECHO
83051 # The host system.
83052 host_alias=$host_alias
83053 host=$host
83054 host_os=$host_os
83056 # The build system.
83057 build_alias=$build_alias
83058 build=$build
83059 build_os=$build_os
83061 # A sed program that does not truncate output.
83062 SED=$lt_SED
83064 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83065 Xsed="\$SED -e 1s/^X//"
83067 # A grep program that handles long lines.
83068 GREP=$lt_GREP
83070 # An ERE matcher.
83071 EGREP=$lt_EGREP
83073 # A literal string matcher.
83074 FGREP=$lt_FGREP
83076 # A BSD- or MS-compatible name lister.
83077 NM=$lt_NM
83079 # Whether we need soft or hard links.
83080 LN_S=$lt_LN_S
83082 # What is the maximum length of a command?
83083 max_cmd_len=$max_cmd_len
83085 # Object file suffix (normally "o").
83086 objext=$ac_objext
83088 # Executable file suffix (normally "").
83089 exeext=$exeext
83091 # whether the shell understands "unset".
83092 lt_unset=$lt_unset
83094 # turn spaces into newlines.
83095 SP2NL=$lt_lt_SP2NL
83097 # turn newlines into spaces.
83098 NL2SP=$lt_lt_NL2SP
83100 # An object symbol dumper.
83101 OBJDUMP=$lt_OBJDUMP
83103 # Method to check whether dependent libraries are shared objects.
83104 deplibs_check_method=$lt_deplibs_check_method
83106 # Command to use when deplibs_check_method == "file_magic".
83107 file_magic_cmd=$lt_file_magic_cmd
83109 # The archiver.
83110 AR=$lt_AR
83111 AR_FLAGS=$lt_AR_FLAGS
83113 # A symbol stripping program.
83114 STRIP=$lt_STRIP
83116 # Commands used to install an old-style archive.
83117 RANLIB=$lt_RANLIB
83118 old_postinstall_cmds=$lt_old_postinstall_cmds
83119 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83121 # Whether to use a lock for old archive extraction.
83122 lock_old_archive_extraction=$lock_old_archive_extraction
83124 # A C compiler.
83125 LTCC=$lt_CC
83127 # LTCC compiler flags.
83128 LTCFLAGS=$lt_CFLAGS
83130 # Take the output of nm and produce a listing of raw symbols and C names.
83131 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83133 # Transform the output of nm in a proper C declaration.
83134 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83136 # Transform the output of nm in a C name address pair.
83137 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83139 # Transform the output of nm in a C name address pair when lib prefix is needed.
83140 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83142 # The name of the directory that contains temporary libtool files.
83143 objdir=$objdir
83145 # Used to examine libraries when file_magic_cmd begins with "file".
83146 MAGIC_CMD=$MAGIC_CMD
83148 # Must we lock files when doing compilation?
83149 need_locks=$lt_need_locks
83151 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83152 DSYMUTIL=$lt_DSYMUTIL
83154 # Tool to change global to local symbols on Mac OS X.
83155 NMEDIT=$lt_NMEDIT
83157 # Tool to manipulate fat objects and archives on Mac OS X.
83158 LIPO=$lt_LIPO
83160 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83161 OTOOL=$lt_OTOOL
83163 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83164 OTOOL64=$lt_OTOOL64
83166 # Old archive suffix (normally "a").
83167 libext=$libext
83169 # Shared library suffix (normally ".so").
83170 shrext_cmds=$lt_shrext_cmds
83172 # The commands to extract the exported symbol list from a shared archive.
83173 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83175 # Variables whose values should be saved in libtool wrapper scripts and
83176 # restored at link time.
83177 variables_saved_for_relink=$lt_variables_saved_for_relink
83179 # Do we need the "lib" prefix for modules?
83180 need_lib_prefix=$need_lib_prefix
83182 # Do we need a version for libraries?
83183 need_version=$need_version
83185 # Library versioning type.
83186 version_type=$version_type
83188 # Shared library runtime path variable.
83189 runpath_var=$runpath_var
83191 # Shared library path variable.
83192 shlibpath_var=$shlibpath_var
83194 # Is shlibpath searched before the hard-coded library search path?
83195 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83197 # Format of library name prefix.
83198 libname_spec=$lt_libname_spec
83200 # List of archive names. First name is the real one, the rest are links.
83201 # The last name is the one that the linker finds with -lNAME
83202 library_names_spec=$lt_library_names_spec
83204 # The coded name of the library, if different from the real name.
83205 soname_spec=$lt_soname_spec
83207 # Permission mode override for installation of shared libraries.
83208 install_override_mode=$lt_install_override_mode
83210 # Command to use after installation of a shared archive.
83211 postinstall_cmds=$lt_postinstall_cmds
83213 # Command to use after uninstallation of a shared archive.
83214 postuninstall_cmds=$lt_postuninstall_cmds
83216 # Commands used to finish a libtool library installation in a directory.
83217 finish_cmds=$lt_finish_cmds
83219 # As "finish_cmds", except a single script fragment to be evaled but
83220 # not shown.
83221 finish_eval=$lt_finish_eval
83223 # Whether we should hardcode library paths into libraries.
83224 hardcode_into_libs=$hardcode_into_libs
83226 # Compile-time system search path for libraries.
83227 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83229 # Run-time system search path for libraries.
83230 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83232 # Whether dlopen is supported.
83233 dlopen_support=$enable_dlopen
83235 # Whether dlopen of programs is supported.
83236 dlopen_self=$enable_dlopen_self
83238 # Whether dlopen of statically linked programs is supported.
83239 dlopen_self_static=$enable_dlopen_self_static
83241 # Commands to strip libraries.
83242 old_striplib=$lt_old_striplib
83243 striplib=$lt_striplib
83246 # The linker used to build libraries.
83247 LD=$lt_LD
83249 # How to create reloadable object files.
83250 reload_flag=$lt_reload_flag
83251 reload_cmds=$lt_reload_cmds
83253 # Commands used to build an old-style archive.
83254 old_archive_cmds=$lt_old_archive_cmds
83256 # A language specific compiler.
83257 CC=$lt_compiler
83259 # Is the compiler the GNU compiler?
83260 with_gcc=$GCC
83262 # Compiler flag to turn off builtin functions.
83263 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83265 # How to pass a linker flag through the compiler.
83266 wl=$lt_lt_prog_compiler_wl
83268 # Additional compiler flags for building library objects.
83269 pic_flag=$lt_lt_prog_compiler_pic
83271 # Compiler flag to prevent dynamic linking.
83272 link_static_flag=$lt_lt_prog_compiler_static
83274 # Does compiler simultaneously support -c and -o options?
83275 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83277 # Whether or not to add -lc for building shared libraries.
83278 build_libtool_need_lc=$archive_cmds_need_lc
83280 # Whether or not to disallow shared libs when runtime libs are static.
83281 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83283 # Compiler flag to allow reflexive dlopens.
83284 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83286 # Compiler flag to generate shared objects directly from archives.
83287 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83289 # Whether the compiler copes with passing no objects directly.
83290 compiler_needs_object=$lt_compiler_needs_object
83292 # Create an old-style archive from a shared archive.
83293 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83295 # Create a temporary old-style archive to link instead of a shared archive.
83296 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83298 # Commands used to build a shared archive.
83299 archive_cmds=$lt_archive_cmds
83300 archive_expsym_cmds=$lt_archive_expsym_cmds
83302 # Commands used to build a loadable module if different from building
83303 # a shared archive.
83304 module_cmds=$lt_module_cmds
83305 module_expsym_cmds=$lt_module_expsym_cmds
83307 # Whether we are building with GNU ld or not.
83308 with_gnu_ld=$lt_with_gnu_ld
83310 # Flag that allows shared libraries with undefined symbols to be built.
83311 allow_undefined_flag=$lt_allow_undefined_flag
83313 # Flag that enforces no undefined symbols.
83314 no_undefined_flag=$lt_no_undefined_flag
83316 # Flag to hardcode \$libdir into a binary during linking.
83317 # This must work even if \$libdir does not exist
83318 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83320 # If ld is used when linking, flag to hardcode \$libdir into a binary
83321 # during linking. This must work even if \$libdir does not exist.
83322 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83324 # Whether we need a single "-rpath" flag with a separated argument.
83325 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83327 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83328 # DIR into the resulting binary.
83329 hardcode_direct=$hardcode_direct
83331 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83332 # DIR into the resulting binary and the resulting library dependency is
83333 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83334 # library is relocated.
83335 hardcode_direct_absolute=$hardcode_direct_absolute
83337 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83338 # into the resulting binary.
83339 hardcode_minus_L=$hardcode_minus_L
83341 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83342 # into the resulting binary.
83343 hardcode_shlibpath_var=$hardcode_shlibpath_var
83345 # Set to "yes" if building a shared library automatically hardcodes DIR
83346 # into the library and all subsequent libraries and executables linked
83347 # against it.
83348 hardcode_automatic=$hardcode_automatic
83350 # Set to yes if linker adds runtime paths of dependent libraries
83351 # to runtime path list.
83352 inherit_rpath=$inherit_rpath
83354 # Whether libtool must link a program against all its dependency libraries.
83355 link_all_deplibs=$link_all_deplibs
83357 # Fix the shell variable \$srcfile for the compiler.
83358 fix_srcfile_path=$lt_fix_srcfile_path
83360 # Set to "yes" if exported symbols are required.
83361 always_export_symbols=$always_export_symbols
83363 # The commands to list exported symbols.
83364 export_symbols_cmds=$lt_export_symbols_cmds
83366 # Symbols that should not be listed in the preloaded symbols.
83367 exclude_expsyms=$lt_exclude_expsyms
83369 # Symbols that must always be exported.
83370 include_expsyms=$lt_include_expsyms
83372 # Commands necessary for linking programs (against libraries) with templates.
83373 prelink_cmds=$lt_prelink_cmds
83375 # Specify filename containing input files.
83376 file_list_spec=$lt_file_list_spec
83378 # How to hardcode a shared library path into an executable.
83379 hardcode_action=$hardcode_action
83381 # The directories searched by this compiler when creating a shared library.
83382 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83384 # Dependencies to place before and after the objects being linked to
83385 # create a shared library.
83386 predep_objects=$lt_predep_objects
83387 postdep_objects=$lt_postdep_objects
83388 predeps=$lt_predeps
83389 postdeps=$lt_postdeps
83391 # The library search path used internally by the compiler when linking
83392 # a shared library.
83393 compiler_lib_search_path=$lt_compiler_lib_search_path
83395 # ### END LIBTOOL CONFIG
83397 _LT_EOF
83399 case $host_os in
83400 aix3*)
83401 cat <<\_LT_EOF >> "$cfgfile"
83402 # AIX sometimes has problems with the GCC collect2 program. For some
83403 # reason, if we set the COLLECT_NAMES environment variable, the problems
83404 # vanish in a puff of smoke.
83405 if test "X${COLLECT_NAMES+set}" != Xset; then
83406 COLLECT_NAMES=
83407 export COLLECT_NAMES
83409 _LT_EOF
83411 esac
83414 ltmain="$ac_aux_dir/ltmain.sh"
83417 # We use sed instead of cat because bash on DJGPP gets confused if
83418 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83419 # text mode, it properly converts lines to CR/LF. This bash problem
83420 # is reportedly fixed, but why not run on old versions too?
83421 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83422 || (rm -f "$cfgfile"; exit 1)
83424 case $xsi_shell in
83425 yes)
83426 cat << \_LT_EOF >> "$cfgfile"
83428 # func_dirname file append nondir_replacement
83429 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83430 # otherwise set result to NONDIR_REPLACEMENT.
83431 func_dirname ()
83433 case ${1} in
83434 */*) func_dirname_result="${1%/*}${2}" ;;
83435 * ) func_dirname_result="${3}" ;;
83436 esac
83439 # func_basename file
83440 func_basename ()
83442 func_basename_result="${1##*/}"
83445 # func_dirname_and_basename file append nondir_replacement
83446 # perform func_basename and func_dirname in a single function
83447 # call:
83448 # dirname: Compute the dirname of FILE. If nonempty,
83449 # add APPEND to the result, otherwise set result
83450 # to NONDIR_REPLACEMENT.
83451 # value returned in "$func_dirname_result"
83452 # basename: Compute filename of FILE.
83453 # value retuned in "$func_basename_result"
83454 # Implementation must be kept synchronized with func_dirname
83455 # and func_basename. For efficiency, we do not delegate to
83456 # those functions but instead duplicate the functionality here.
83457 func_dirname_and_basename ()
83459 case ${1} in
83460 */*) func_dirname_result="${1%/*}${2}" ;;
83461 * ) func_dirname_result="${3}" ;;
83462 esac
83463 func_basename_result="${1##*/}"
83466 # func_stripname prefix suffix name
83467 # strip PREFIX and SUFFIX off of NAME.
83468 # PREFIX and SUFFIX must not contain globbing or regex special
83469 # characters, hashes, percent signs, but SUFFIX may contain a leading
83470 # dot (in which case that matches only a dot).
83471 func_stripname ()
83473 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83474 # positional parameters, so assign one to ordinary parameter first.
83475 func_stripname_result=${3}
83476 func_stripname_result=${func_stripname_result#"${1}"}
83477 func_stripname_result=${func_stripname_result%"${2}"}
83480 # func_opt_split
83481 func_opt_split ()
83483 func_opt_split_opt=${1%%=*}
83484 func_opt_split_arg=${1#*=}
83487 # func_lo2o object
83488 func_lo2o ()
83490 case ${1} in
83491 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83492 *) func_lo2o_result=${1} ;;
83493 esac
83496 # func_xform libobj-or-source
83497 func_xform ()
83499 func_xform_result=${1%.*}.lo
83502 # func_arith arithmetic-term...
83503 func_arith ()
83505 func_arith_result=$(( $* ))
83508 # func_len string
83509 # STRING may not start with a hyphen.
83510 func_len ()
83512 func_len_result=${#1}
83515 _LT_EOF
83517 *) # Bourne compatible functions.
83518 cat << \_LT_EOF >> "$cfgfile"
83520 # func_dirname file append nondir_replacement
83521 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83522 # otherwise set result to NONDIR_REPLACEMENT.
83523 func_dirname ()
83525 # Extract subdirectory from the argument.
83526 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83527 if test "X$func_dirname_result" = "X${1}"; then
83528 func_dirname_result="${3}"
83529 else
83530 func_dirname_result="$func_dirname_result${2}"
83534 # func_basename file
83535 func_basename ()
83537 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83541 # func_stripname prefix suffix name
83542 # strip PREFIX and SUFFIX off of NAME.
83543 # PREFIX and SUFFIX must not contain globbing or regex special
83544 # characters, hashes, percent signs, but SUFFIX may contain a leading
83545 # dot (in which case that matches only a dot).
83546 # func_strip_suffix prefix name
83547 func_stripname ()
83549 case ${2} in
83550 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83551 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83552 esac
83555 # sed scripts:
83556 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83557 my_sed_long_arg='1s/^-[^=]*=//'
83559 # func_opt_split
83560 func_opt_split ()
83562 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83563 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83566 # func_lo2o object
83567 func_lo2o ()
83569 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83572 # func_xform libobj-or-source
83573 func_xform ()
83575 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83578 # func_arith arithmetic-term...
83579 func_arith ()
83581 func_arith_result=`expr "$@"`
83584 # func_len string
83585 # STRING may not start with a hyphen.
83586 func_len ()
83588 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83591 _LT_EOF
83592 esac
83594 case $lt_shell_append in
83595 yes)
83596 cat << \_LT_EOF >> "$cfgfile"
83598 # func_append var value
83599 # Append VALUE to the end of shell variable VAR.
83600 func_append ()
83602 eval "$1+=\$2"
83604 _LT_EOF
83607 cat << \_LT_EOF >> "$cfgfile"
83609 # func_append var value
83610 # Append VALUE to the end of shell variable VAR.
83611 func_append ()
83613 eval "$1=\$$1\$2"
83616 _LT_EOF
83618 esac
83621 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83622 || (rm -f "$cfgfile"; exit 1)
83624 mv -f "$cfgfile" "$ofile" ||
83625 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83626 chmod +x "$ofile"
83629 cat <<_LT_EOF >> "$ofile"
83631 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83633 # The linker used to build libraries.
83634 LD=$lt_LD_CXX
83636 # How to create reloadable object files.
83637 reload_flag=$lt_reload_flag_CXX
83638 reload_cmds=$lt_reload_cmds_CXX
83640 # Commands used to build an old-style archive.
83641 old_archive_cmds=$lt_old_archive_cmds_CXX
83643 # A language specific compiler.
83644 CC=$lt_compiler_CXX
83646 # Is the compiler the GNU compiler?
83647 with_gcc=$GCC_CXX
83649 # Compiler flag to turn off builtin functions.
83650 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83652 # How to pass a linker flag through the compiler.
83653 wl=$lt_lt_prog_compiler_wl_CXX
83655 # Additional compiler flags for building library objects.
83656 pic_flag=$lt_lt_prog_compiler_pic_CXX
83658 # Compiler flag to prevent dynamic linking.
83659 link_static_flag=$lt_lt_prog_compiler_static_CXX
83661 # Does compiler simultaneously support -c and -o options?
83662 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83664 # Whether or not to add -lc for building shared libraries.
83665 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83667 # Whether or not to disallow shared libs when runtime libs are static.
83668 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83670 # Compiler flag to allow reflexive dlopens.
83671 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83673 # Compiler flag to generate shared objects directly from archives.
83674 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83676 # Whether the compiler copes with passing no objects directly.
83677 compiler_needs_object=$lt_compiler_needs_object_CXX
83679 # Create an old-style archive from a shared archive.
83680 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83682 # Create a temporary old-style archive to link instead of a shared archive.
83683 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83685 # Commands used to build a shared archive.
83686 archive_cmds=$lt_archive_cmds_CXX
83687 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83689 # Commands used to build a loadable module if different from building
83690 # a shared archive.
83691 module_cmds=$lt_module_cmds_CXX
83692 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83694 # Whether we are building with GNU ld or not.
83695 with_gnu_ld=$lt_with_gnu_ld_CXX
83697 # Flag that allows shared libraries with undefined symbols to be built.
83698 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83700 # Flag that enforces no undefined symbols.
83701 no_undefined_flag=$lt_no_undefined_flag_CXX
83703 # Flag to hardcode \$libdir into a binary during linking.
83704 # This must work even if \$libdir does not exist
83705 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83707 # If ld is used when linking, flag to hardcode \$libdir into a binary
83708 # during linking. This must work even if \$libdir does not exist.
83709 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83711 # Whether we need a single "-rpath" flag with a separated argument.
83712 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83714 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83715 # DIR into the resulting binary.
83716 hardcode_direct=$hardcode_direct_CXX
83718 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83719 # DIR into the resulting binary and the resulting library dependency is
83720 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83721 # library is relocated.
83722 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83724 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83725 # into the resulting binary.
83726 hardcode_minus_L=$hardcode_minus_L_CXX
83728 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83729 # into the resulting binary.
83730 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83732 # Set to "yes" if building a shared library automatically hardcodes DIR
83733 # into the library and all subsequent libraries and executables linked
83734 # against it.
83735 hardcode_automatic=$hardcode_automatic_CXX
83737 # Set to yes if linker adds runtime paths of dependent libraries
83738 # to runtime path list.
83739 inherit_rpath=$inherit_rpath_CXX
83741 # Whether libtool must link a program against all its dependency libraries.
83742 link_all_deplibs=$link_all_deplibs_CXX
83744 # Fix the shell variable \$srcfile for the compiler.
83745 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83747 # Set to "yes" if exported symbols are required.
83748 always_export_symbols=$always_export_symbols_CXX
83750 # The commands to list exported symbols.
83751 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83753 # Symbols that should not be listed in the preloaded symbols.
83754 exclude_expsyms=$lt_exclude_expsyms_CXX
83756 # Symbols that must always be exported.
83757 include_expsyms=$lt_include_expsyms_CXX
83759 # Commands necessary for linking programs (against libraries) with templates.
83760 prelink_cmds=$lt_prelink_cmds_CXX
83762 # Specify filename containing input files.
83763 file_list_spec=$lt_file_list_spec_CXX
83765 # How to hardcode a shared library path into an executable.
83766 hardcode_action=$hardcode_action_CXX
83768 # The directories searched by this compiler when creating a shared library.
83769 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83771 # Dependencies to place before and after the objects being linked to
83772 # create a shared library.
83773 predep_objects=$lt_predep_objects_CXX
83774 postdep_objects=$lt_postdep_objects_CXX
83775 predeps=$lt_predeps_CXX
83776 postdeps=$lt_postdeps_CXX
83778 # The library search path used internally by the compiler when linking
83779 # a shared library.
83780 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
83782 # ### END LIBTOOL TAG CONFIG: CXX
83783 _LT_EOF
83786 "include/gstdint.h":C)
83787 if test "$GCC" = yes; then
83788 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
83789 else
83790 echo "/* generated for $CC */" > tmp-stdint.h
83793 sed 's/^ *//' >> tmp-stdint.h <<EOF
83795 #ifndef GCC_GENERATED_STDINT_H
83796 #define GCC_GENERATED_STDINT_H 1
83798 #include <sys/types.h>
83801 if test "$acx_cv_header_stdint" != stdint.h; then
83802 echo "#include <stddef.h>" >> tmp-stdint.h
83804 if test "$acx_cv_header_stdint" != stddef.h; then
83805 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
83808 sed 's/^ *//' >> tmp-stdint.h <<EOF
83809 /* glibc uses these symbols as guards to prevent redefinitions. */
83810 #ifdef __int8_t_defined
83811 #define _INT8_T
83812 #define _INT16_T
83813 #define _INT32_T
83814 #endif
83815 #ifdef __uint32_t_defined
83816 #define _UINT32_T
83817 #endif
83821 # ----------------- done header, emit basic int types -------------
83822 if test "$acx_cv_header_stdint" = stddef.h; then
83823 sed 's/^ *//' >> tmp-stdint.h <<EOF
83825 #ifndef _UINT8_T
83826 #define _UINT8_T
83827 #ifndef __uint8_t_defined
83828 #define __uint8_t_defined
83829 #ifndef uint8_t
83830 typedef unsigned $acx_cv_type_int8_t uint8_t;
83831 #endif
83832 #endif
83833 #endif
83835 #ifndef _UINT16_T
83836 #define _UINT16_T
83837 #ifndef __uint16_t_defined
83838 #define __uint16_t_defined
83839 #ifndef uint16_t
83840 typedef unsigned $acx_cv_type_int16_t uint16_t;
83841 #endif
83842 #endif
83843 #endif
83845 #ifndef _UINT32_T
83846 #define _UINT32_T
83847 #ifndef __uint32_t_defined
83848 #define __uint32_t_defined
83849 #ifndef uint32_t
83850 typedef unsigned $acx_cv_type_int32_t uint32_t;
83851 #endif
83852 #endif
83853 #endif
83855 #ifndef _INT8_T
83856 #define _INT8_T
83857 #ifndef __int8_t_defined
83858 #define __int8_t_defined
83859 #ifndef int8_t
83860 typedef $acx_cv_type_int8_t int8_t;
83861 #endif
83862 #endif
83863 #endif
83865 #ifndef _INT16_T
83866 #define _INT16_T
83867 #ifndef __int16_t_defined
83868 #define __int16_t_defined
83869 #ifndef int16_t
83870 typedef $acx_cv_type_int16_t int16_t;
83871 #endif
83872 #endif
83873 #endif
83875 #ifndef _INT32_T
83876 #define _INT32_T
83877 #ifndef __int32_t_defined
83878 #define __int32_t_defined
83879 #ifndef int32_t
83880 typedef $acx_cv_type_int32_t int32_t;
83881 #endif
83882 #endif
83883 #endif
83885 elif test "$ac_cv_type_u_int32_t" = yes; then
83886 sed 's/^ *//' >> tmp-stdint.h <<EOF
83888 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83889 #ifndef _INT8_T
83890 #define _INT8_T
83891 #endif
83892 #ifndef _INT16_T
83893 #define _INT16_T
83894 #endif
83895 #ifndef _INT32_T
83896 #define _INT32_T
83897 #endif
83899 #ifndef _UINT8_T
83900 #define _UINT8_T
83901 #ifndef __uint8_t_defined
83902 #define __uint8_t_defined
83903 #ifndef uint8_t
83904 typedef u_int8_t uint8_t;
83905 #endif
83906 #endif
83907 #endif
83909 #ifndef _UINT16_T
83910 #define _UINT16_T
83911 #ifndef __uint16_t_defined
83912 #define __uint16_t_defined
83913 #ifndef uint16_t
83914 typedef u_int16_t uint16_t;
83915 #endif
83916 #endif
83917 #endif
83919 #ifndef _UINT32_T
83920 #define _UINT32_T
83921 #ifndef __uint32_t_defined
83922 #define __uint32_t_defined
83923 #ifndef uint32_t
83924 typedef u_int32_t uint32_t;
83925 #endif
83926 #endif
83927 #endif
83929 else
83930 sed 's/^ *//' >> tmp-stdint.h <<EOF
83932 /* Some systems have guard macros to prevent redefinitions, define them. */
83933 #ifndef _INT8_T
83934 #define _INT8_T
83935 #endif
83936 #ifndef _INT16_T
83937 #define _INT16_T
83938 #endif
83939 #ifndef _INT32_T
83940 #define _INT32_T
83941 #endif
83942 #ifndef _UINT8_T
83943 #define _UINT8_T
83944 #endif
83945 #ifndef _UINT16_T
83946 #define _UINT16_T
83947 #endif
83948 #ifndef _UINT32_T
83949 #define _UINT32_T
83950 #endif
83954 # ------------- done basic int types, emit int64_t types ------------
83955 if test "$ac_cv_type_uint64_t" = yes; then
83956 sed 's/^ *//' >> tmp-stdint.h <<EOF
83958 /* system headers have good uint64_t and int64_t */
83959 #ifndef _INT64_T
83960 #define _INT64_T
83961 #endif
83962 #ifndef _UINT64_T
83963 #define _UINT64_T
83964 #endif
83966 elif test "$ac_cv_type_u_int64_t" = yes; then
83967 sed 's/^ *//' >> tmp-stdint.h <<EOF
83969 /* system headers have an u_int64_t (and int64_t) */
83970 #ifndef _INT64_T
83971 #define _INT64_T
83972 #endif
83973 #ifndef _UINT64_T
83974 #define _UINT64_T
83975 #ifndef __uint64_t_defined
83976 #define __uint64_t_defined
83977 #ifndef uint64_t
83978 typedef u_int64_t uint64_t;
83979 #endif
83980 #endif
83981 #endif
83983 elif test -n "$acx_cv_type_int64_t"; then
83984 sed 's/^ *//' >> tmp-stdint.h <<EOF
83986 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83987 #ifndef _INT64_T
83988 #define _INT64_T
83989 #ifndef int64_t
83990 typedef $acx_cv_type_int64_t int64_t;
83991 #endif
83992 #endif
83993 #ifndef _UINT64_T
83994 #define _UINT64_T
83995 #ifndef __uint64_t_defined
83996 #define __uint64_t_defined
83997 #ifndef uint64_t
83998 typedef unsigned $acx_cv_type_int64_t uint64_t;
83999 #endif
84000 #endif
84001 #endif
84003 else
84004 sed 's/^ *//' >> tmp-stdint.h <<EOF
84006 /* some common heuristics for int64_t, using compiler-specific tests */
84007 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84008 #ifndef _INT64_T
84009 #define _INT64_T
84010 #ifndef __int64_t_defined
84011 #ifndef int64_t
84012 typedef long long int64_t;
84013 #endif
84014 #endif
84015 #endif
84016 #ifndef _UINT64_T
84017 #define _UINT64_T
84018 #ifndef uint64_t
84019 typedef unsigned long long uint64_t;
84020 #endif
84021 #endif
84023 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84024 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84025 does not implement __extension__. But that compiler doesn't define
84026 __GNUC_MINOR__. */
84027 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84028 # define __extension__
84029 # endif
84031 # ifndef _INT64_T
84032 # define _INT64_T
84033 # ifndef int64_t
84034 __extension__ typedef long long int64_t;
84035 # endif
84036 # endif
84037 # ifndef _UINT64_T
84038 # define _UINT64_T
84039 # ifndef uint64_t
84040 __extension__ typedef unsigned long long uint64_t;
84041 # endif
84042 # endif
84044 #elif !defined __STRICT_ANSI__
84045 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84047 # ifndef _INT64_T
84048 # define _INT64_T
84049 # ifndef int64_t
84050 typedef __int64 int64_t;
84051 # endif
84052 # endif
84053 # ifndef _UINT64_T
84054 # define _UINT64_T
84055 # ifndef uint64_t
84056 typedef unsigned __int64 uint64_t;
84057 # endif
84058 # endif
84059 # endif /* compiler */
84061 #endif /* ANSI version */
84065 # ------------- done int64_t types, emit intptr types ------------
84066 if test "$ac_cv_type_uintptr_t" != yes; then
84067 sed 's/^ *//' >> tmp-stdint.h <<EOF
84069 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84070 #ifndef __uintptr_t_defined
84071 #ifndef uintptr_t
84072 typedef u$acx_cv_type_intptr_t uintptr_t;
84073 #endif
84074 #endif
84075 #ifndef __intptr_t_defined
84076 #ifndef intptr_t
84077 typedef $acx_cv_type_intptr_t intptr_t;
84078 #endif
84079 #endif
84083 # ------------- done intptr types, emit int_least types ------------
84084 if test "$ac_cv_type_int_least32_t" != yes; then
84085 sed 's/^ *//' >> tmp-stdint.h <<EOF
84087 /* Define int_least types */
84088 typedef int8_t int_least8_t;
84089 typedef int16_t int_least16_t;
84090 typedef int32_t int_least32_t;
84091 #ifdef _INT64_T
84092 typedef int64_t int_least64_t;
84093 #endif
84095 typedef uint8_t uint_least8_t;
84096 typedef uint16_t uint_least16_t;
84097 typedef uint32_t uint_least32_t;
84098 #ifdef _UINT64_T
84099 typedef uint64_t uint_least64_t;
84100 #endif
84104 # ------------- done intptr types, emit int_fast types ------------
84105 if test "$ac_cv_type_int_fast32_t" != yes; then
84106 sed 's/^ *//' >> tmp-stdint.h <<EOF
84108 /* Define int_fast types. short is often slow */
84109 typedef int8_t int_fast8_t;
84110 typedef int int_fast16_t;
84111 typedef int32_t int_fast32_t;
84112 #ifdef _INT64_T
84113 typedef int64_t int_fast64_t;
84114 #endif
84116 typedef uint8_t uint_fast8_t;
84117 typedef unsigned int uint_fast16_t;
84118 typedef uint32_t uint_fast32_t;
84119 #ifdef _UINT64_T
84120 typedef uint64_t uint_fast64_t;
84121 #endif
84125 if test "$ac_cv_type_uintmax_t" != yes; then
84126 sed 's/^ *//' >> tmp-stdint.h <<EOF
84128 /* Define intmax based on what we found */
84129 #ifndef intmax_t
84130 #ifdef _INT64_T
84131 typedef int64_t intmax_t;
84132 #else
84133 typedef long intmax_t;
84134 #endif
84135 #endif
84136 #ifndef uintmax_t
84137 #ifdef _UINT64_T
84138 typedef uint64_t uintmax_t;
84139 #else
84140 typedef unsigned long uintmax_t;
84141 #endif
84142 #endif
84146 sed 's/^ *//' >> tmp-stdint.h <<EOF
84148 #endif /* GCC_GENERATED_STDINT_H */
84151 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84152 rm -f tmp-stdint.h
84153 else
84154 mv -f tmp-stdint.h include/gstdint.h
84158 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84159 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84160 "include/Makefile":F) cat > vpsed$$ << \_EOF
84161 s!`test -f '$<' || echo '$(srcdir)/'`!!
84162 _EOF
84163 sed -f vpsed$$ $ac_file > tmp$$
84164 mv tmp$$ $ac_file
84165 rm vpsed$$
84166 echo 'MULTISUBDIR =' >> $ac_file
84167 ml_norecursion=yes
84168 . ${multi_basedir}/config-ml.in
84169 { ml_norecursion=; unset ml_norecursion;}
84171 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84172 s!`test -f '$<' || echo '$(srcdir)/'`!!
84173 _EOF
84174 sed -f vpsed$$ $ac_file > tmp$$
84175 mv tmp$$ $ac_file
84176 rm vpsed$$
84177 echo 'MULTISUBDIR =' >> $ac_file
84178 ml_norecursion=yes
84179 . ${multi_basedir}/config-ml.in
84180 { ml_norecursion=; unset ml_norecursion;}
84182 "src/Makefile":F) cat > vpsed$$ << \_EOF
84183 s!`test -f '$<' || echo '$(srcdir)/'`!!
84184 _EOF
84185 sed -f vpsed$$ $ac_file > tmp$$
84186 mv tmp$$ $ac_file
84187 rm vpsed$$
84188 echo 'MULTISUBDIR =' >> $ac_file
84189 ml_norecursion=yes
84190 . ${multi_basedir}/config-ml.in
84191 { ml_norecursion=; unset ml_norecursion;}
84193 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84194 s!`test -f '$<' || echo '$(srcdir)/'`!!
84195 _EOF
84196 sed -f vpsed$$ $ac_file > tmp$$
84197 mv tmp$$ $ac_file
84198 rm vpsed$$
84199 echo 'MULTISUBDIR =' >> $ac_file
84200 ml_norecursion=yes
84201 . ${multi_basedir}/config-ml.in
84202 { ml_norecursion=; unset ml_norecursion;}
84204 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84205 s!`test -f '$<' || echo '$(srcdir)/'`!!
84206 _EOF
84207 sed -f vpsed$$ $ac_file > tmp$$
84208 mv tmp$$ $ac_file
84209 rm vpsed$$
84210 echo 'MULTISUBDIR =' >> $ac_file
84211 ml_norecursion=yes
84212 . ${multi_basedir}/config-ml.in
84213 { ml_norecursion=; unset ml_norecursion;}
84215 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84216 s!`test -f '$<' || echo '$(srcdir)/'`!!
84217 _EOF
84218 sed -f vpsed$$ $ac_file > tmp$$
84219 mv tmp$$ $ac_file
84220 rm vpsed$$
84221 echo 'MULTISUBDIR =' >> $ac_file
84222 ml_norecursion=yes
84223 . ${multi_basedir}/config-ml.in
84224 { ml_norecursion=; unset ml_norecursion;}
84226 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84227 s!`test -f '$<' || echo '$(srcdir)/'`!!
84228 _EOF
84229 sed -f vpsed$$ $ac_file > tmp$$
84230 mv tmp$$ $ac_file
84231 rm vpsed$$
84232 echo 'MULTISUBDIR =' >> $ac_file
84233 ml_norecursion=yes
84234 . ${multi_basedir}/config-ml.in
84235 { ml_norecursion=; unset ml_norecursion;}
84237 "po/Makefile":F) cat > vpsed$$ << \_EOF
84238 s!`test -f '$<' || echo '$(srcdir)/'`!!
84239 _EOF
84240 sed -f vpsed$$ $ac_file > tmp$$
84241 mv tmp$$ $ac_file
84242 rm vpsed$$
84243 echo 'MULTISUBDIR =' >> $ac_file
84244 ml_norecursion=yes
84245 . ${multi_basedir}/config-ml.in
84246 { ml_norecursion=; unset ml_norecursion;}
84248 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84249 s!`test -f '$<' || echo '$(srcdir)/'`!!
84250 _EOF
84251 sed -f vpsed$$ $ac_file > tmp$$
84252 mv tmp$$ $ac_file
84253 rm vpsed$$
84254 echo 'MULTISUBDIR =' >> $ac_file
84255 ml_norecursion=yes
84256 . ${multi_basedir}/config-ml.in
84257 { ml_norecursion=; unset ml_norecursion;}
84259 "python/Makefile":F) cat > vpsed$$ << \_EOF
84260 s!`test -f '$<' || echo '$(srcdir)/'`!!
84261 _EOF
84262 sed -f vpsed$$ $ac_file > tmp$$
84263 mv tmp$$ $ac_file
84264 rm vpsed$$
84265 echo 'MULTISUBDIR =' >> $ac_file
84266 ml_norecursion=yes
84267 . ${multi_basedir}/config-ml.in
84268 { ml_norecursion=; unset ml_norecursion;}
84270 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84272 esac
84273 done # for ac_tag
84276 as_fn_exit 0
84277 _ACEOF
84278 ac_clean_files=$ac_clean_files_save
84280 test $ac_write_fail = 0 ||
84281 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84284 # configure is writing to config.log, and then calls config.status.
84285 # config.status does its own redirection, appending to config.log.
84286 # Unfortunately, on DOS this fails, as config.log is still kept open
84287 # by configure, so config.status won't be able to write to it; its
84288 # output is simply discarded. So we exec the FD to /dev/null,
84289 # effectively closing config.log, so it can be properly (re)opened and
84290 # appended to by config.status. When coming back to configure, we
84291 # need to make the FD available again.
84292 if test "$no_create" != yes; then
84293 ac_cs_success=:
84294 ac_config_status_args=
84295 test "$silent" = yes &&
84296 ac_config_status_args="$ac_config_status_args --quiet"
84297 exec 5>/dev/null
84298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84299 exec 5>>config.log
84300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84301 # would make configure fail if this is the last instruction.
84302 $ac_cs_success || as_fn_exit $?
84304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}