* fi.po: Update.
[official-gcc.git] / libstdc++-v3 / configure
bloba919a3e8bad6318662746c2510330266d65f21bf
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 ENABLE_ALLOCATOR_NEW_FALSE
704 ENABLE_ALLOCATOR_NEW_TRUE
705 CLOCALE_INTERNAL_H
706 CLOCALE_CC
707 CTIME_CC
708 CTIME_H
709 CNUMERIC_CC
710 CMONEY_CC
711 CMESSAGES_CC
712 CCTYPE_CC
713 CCOLLATE_CC
714 CCODECVT_CC
715 CMESSAGES_H
716 CLOCALE_H
717 USE_NLS
718 glibcxx_localedir
719 glibcxx_POFILES
720 glibcxx_MOFILES
721 check_msgfmt
722 BASIC_FILE_CC
723 BASIC_FILE_H
724 CSTDIO_H
725 SECTION_FLAGS
726 WERROR
727 thread_header
728 glibcxx_PCHFLAGS
729 GLIBCXX_BUILD_PCH_FALSE
730 GLIBCXX_BUILD_PCH_TRUE
731 GLIBCXX_HOSTED_FALSE
732 GLIBCXX_HOSTED_TRUE
733 glibcxx_compiler_shared_flag
734 glibcxx_compiler_pic_flag
735 glibcxx_lt_pic_flag
736 enable_static
737 enable_shared
738 lt_host_flags
739 CXXCPP
740 OTOOL64
741 OTOOL
742 LIPO
743 NMEDIT
744 DSYMUTIL
745 OBJDUMP
747 ac_ct_DUMPBIN
748 DUMPBIN
750 FGREP
752 LIBTOOL
753 EGREP
754 GREP
756 MAINT
757 MAINTAINER_MODE_FALSE
758 MAINTAINER_MODE_TRUE
759 RANLIB
762 LN_S
763 toplevel_srcdir
764 toplevel_builddir
765 glibcxx_srcdir
766 glibcxx_builddir
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 am__untar
778 am__tar
779 AMTAR
780 am__leading_dot
781 SET_MAKE
783 mkdir_p
784 MKDIR_P
785 INSTALL_STRIP_PROGRAM
786 STRIP
787 install_sh
788 MAKEINFO
789 AUTOHEADER
790 AUTOMAKE
791 AUTOCONF
792 ACLOCAL
793 VERSION
794 PACKAGE
795 CYGPATH_W
796 am__isrc
797 INSTALL_DATA
798 INSTALL_SCRIPT
799 INSTALL_PROGRAM
800 target_os
801 target_vendor
802 target_cpu
803 target
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 multi_basedir
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_multilib
855 with_target_subdir
856 with_cross_host
857 with_newlib
858 enable_maintainer_mode
859 enable_shared
860 enable_static
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 enable_libtool_lock
865 enable_hosted_libstdcxx
866 enable_libstdcxx_verbose
867 enable_libstdcxx_pch
868 enable_cstdio
869 enable_clocale
870 enable_nls
871 enable_libstdcxx_allocator
872 enable_cheaders
873 enable_long_long
874 enable_wchar_t
875 enable_c99
876 enable_concept_checks
877 enable_libstdcxx_debug_flags
878 enable_libstdcxx_debug
879 enable_cxx_flags
880 enable_fully_dynamic_string
881 enable_extern_template
882 with_python_dir
883 enable_werror
884 enable_vtable_verify
885 enable_libstdcxx_time
886 enable_tls
887 enable_rpath
888 with_libiconv_prefix
889 with_system_libunwind
890 enable_linux_futex
891 enable_symvers
892 enable_libstdcxx_visibility
893 enable_libstdcxx_dual_abi
894 with_default_libstdcxx_abi
895 enable_libstdcxx_threads
896 enable_libstdcxx_filesystem_ts
897 with_gxx_include_dir
898 enable_version_specific_runtime_libs
900 ac_precious_vars='build_alias
901 host_alias
902 target_alias
904 CFLAGS
905 LDFLAGS
906 LIBS
907 CPPFLAGS
909 CXXFLAGS
912 CXXCPP
913 CXXFILT'
916 # Initialize some variables set by options.
917 ac_init_help=
918 ac_init_version=false
919 ac_unrecognized_opts=
920 ac_unrecognized_sep=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
923 cache_file=/dev/null
924 exec_prefix=NONE
925 no_create=
926 no_recursion=
927 prefix=NONE
928 program_prefix=NONE
929 program_suffix=NONE
930 program_transform_name=s,x,x,
931 silent=
932 site=
933 srcdir=
934 verbose=
935 x_includes=NONE
936 x_libraries=NONE
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
964 ac_prev=
965 ac_dashdash=
966 for ac_option
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
975 case $ac_option in
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *) ac_optarg=yes ;;
978 esac
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
984 ac_dashdash=yes ;;
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 ac_prev=bindir ;;
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 bindir=$ac_optarg ;;
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1007 ac_prev=datadir ;;
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1035 ac_prev=docdir ;;
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 ac_prev=dvidir ;;
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1071 with_gas=yes ;;
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 ac_prev=htmldir ;;
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 | --ht=*)
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 ac_prev=infodir ;;
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1104 ac_prev=libdir ;;
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 ac_prev=mandir ;;
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1134 with_fp=no ;;
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1138 no_create=yes ;;
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 no_recursion=yes ;;
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 ac_prev=prefix ;;
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 ac_prev=pdfdir ;;
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1195 ac_prev=psdir ;;
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 psdir=$ac_optarg ;;
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1201 silent=yes ;;
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 ac_prev=sbindir ;;
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 | --sbi=* | --sb=*)
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1212 | --sha | --sh)
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 | --sha=* | --sh=*)
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1221 ac_prev=site ;;
1222 -site=* | --site=* | --sit=*)
1223 site=$ac_optarg ;;
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 ac_prev=srcdir ;;
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 verbose=yes ;;
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1248 -with-* | --with-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1257 "with_$ac_useropt"
1258 "*) ;;
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1261 esac
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1273 "with_$ac_useropt"
1274 "*) ;;
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1277 esac
1278 eval with_$ac_useropt=no ;;
1280 --x)
1281 # Obsolete; use --with-x.
1282 with_x=yes ;;
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1308 esac
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320 esac
1321 done
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 esac
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1344 case $ac_val in
1345 */ )
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1348 esac
1349 # Be sure to have absolute directory names.
1350 case $ac_val in
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 esac
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1355 done
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1360 build=$build_alias
1361 host=$host_alias
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1371 cross_compiling=yes
1375 ac_tool_prefix=
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1407 /^X\(\/\/\)$/{
1408 s//\1/
1411 /^X\(\/\).*/{
1412 s//\1/
1415 s/.*/./; q'`
1416 srcdir=$ac_confdir
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 srcdir=..
1420 else
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 ac_abs_confdir=`(
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1430 pwd)`
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 srcdir=.
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1438 case $srcdir in
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 esac
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 done
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1454 cat <<_ACEOF
1455 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1464 Configuration:
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 [PREFIX]
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1508 _ACEOF
1510 cat <<\_ACEOF
1512 Program names:
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 System types:
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1521 _ACEOF
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of package-unused version-unused:";;
1527 esac
1528 cat <<\_ACEOF
1530 Optional Features:
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-multilib build many library versions (default)
1535 --enable-maintainer-mode enable make rules and dependencies not useful
1536 (and sometimes confusing) to the casual installer
1537 --enable-shared[=PKGS] build shared libraries [default=yes]
1538 --enable-static[=PKGS] build static libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --disable-hosted-libstdcxx
1543 only build freestanding C++ runtime support
1544 --disable-libstdcxx-verbose
1545 disable termination messages to standard error
1546 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1547 [default=$is_hosted]
1548 --enable-cstdio[=PACKAGE]
1549 use target-specific I/O package [default=stdio]
1550 --enable-clocale[=MODEL]
1551 use MODEL for target locale package [default=auto]
1552 --enable-nls use Native Language Support (default)
1553 --enable-libstdcxx-allocator[=KIND]
1554 use KIND for target std::allocator base
1555 [default=auto]
1556 --enable-cheaders[=KIND]
1557 construct "C" headers for g++ [default=$c_model]
1558 --enable-long-long enable template specializations for 'long long'
1559 [default=yes]
1560 --enable-wchar_t enable template specializations for 'wchar_t'
1561 [default=yes]
1562 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1563 --enable-concept-checks use Boost-derived template checks [default=no]
1564 --enable-libstdcxx-debug-flags=FLAGS
1565 pass compiler FLAGS when building debug library
1566 [default="-gdwarf-4 -g3 -O0"]
1567 --enable-libstdcxx-debug
1568 build extra debug library [default=no]
1569 --enable-cxx-flags=FLAGS
1570 pass compiler FLAGS when building library [default=]
1571 --enable-fully-dynamic-string
1572 do not put empty strings in per-process static
1573 memory [default=no]
1574 --enable-extern-template
1575 enable extern template [default=yes]
1576 --enable-werror turns on -Werror [default=yes]
1577 --enable-vtable-verify enable vtable verify [default=no]
1578 --enable-libstdcxx-time[=KIND]
1579 use KIND for check type [default=auto]
1580 --enable-tls Use thread-local storage [default=yes]
1581 --disable-rpath do not hardcode runtime library paths
1582 --enable-linux-futex use the Linux futex system call [default=default]
1583 --enable-symvers[=STYLE]
1584 enables symbol versioning of the shared library
1585 [default=yes]
1586 --enable-libstdcxx-visibility
1587 enables visibility safe usage [default=yes]
1588 --enable-libstdcxx-dual-abi
1589 support two versions of std::string [default=yes]
1590 --enable-libstdcxx-threads
1591 enable C++11 threads support [default=auto]
1592 --enable-libstdcxx-filesystem-ts
1593 turns on ISO/IEC TS 18822 support [default=auto]
1594 --enable-version-specific-runtime-libs
1595 Specify that runtime libraries should be installed
1596 in a compiler-specific directory
1598 Optional Packages:
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-target-subdir=SUBDIR
1602 configuring in a subdirectory
1603 --with-cross-host=HOST configuring with a cross compiler
1604 --with-newlib assume newlib as a system C library
1605 --with-pic try to use only PIC/non-PIC objects [default=use
1606 both]
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-python-dir the location to install Python modules. This path is
1609 relative starting from the prefix.
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1613 --with-system-libunwind use installed libunwind
1614 --with-default-libstdcxx-abi
1615 set the std::string ABI to use by default
1616 --with-gxx-include-dir=DIR
1617 installation directory for include files
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CPP C preprocessor
1630 CXXCPP C++ preprocessor
1631 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1632 `c++filt', `gc++filt' on PATH.
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 package-unused configure version-unused
1701 generated by GNU Autoconf 2.64
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=1
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 return $ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=1
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 return $ac_retval
1788 } # ac_fn_cxx_try_compile
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_c_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev/null && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 return $ac_retval
1825 } # ac_fn_c_try_cpp
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=1
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 return $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_check_header_compile
1904 # ac_fn_c_try_run LINENO
1905 # ----------------------
1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1907 # that executables *can* be run.
1908 ac_fn_c_try_run ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_link"
1912 case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915 esac
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>&5
1919 ac_status=$?
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1922 { { case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_try") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; }; }; then :
1932 ac_retval=0
1933 else
1934 $as_echo "$as_me: program exited with status $ac_status" >&5
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1938 ac_retval=$ac_status
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 return $ac_retval
1944 } # ac_fn_c_try_run
1946 # ac_fn_c_check_func LINENO FUNC VAR
1947 # ----------------------------------
1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1949 ac_fn_c_check_func ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test x$gcc_no_link = xyes; then
1958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1964 #define $2 innocuous_$2
1966 /* System header to define __stub macros and hopefully few prototypes,
1967 which can conflict with char $2 (); below.
1968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969 <limits.h> exists even on freestanding compilers. */
1971 #ifdef __STDC__
1972 # include <limits.h>
1973 #else
1974 # include <assert.h>
1975 #endif
1977 #undef $2
1979 /* Override any GCC internal prototype to avoid an error.
1980 Use char because int might match the return type of a GCC
1981 builtin and then its argument prototype would still apply. */
1982 #ifdef __cplusplus
1983 extern "C"
1984 #endif
1985 char $2 ();
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined __stub_$2 || defined __stub___$2
1990 choke me
1991 #endif
1994 main ()
1996 return $2 ();
1998 return 0;
2000 _ACEOF
2001 if ac_fn_c_try_link "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2006 rm -f core conftest.err conftest.$ac_objext \
2007 conftest$ac_exeext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_func
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } >/dev/null && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 return $ac_retval
2051 } # ac_fn_cxx_try_cpp
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2081 }; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2087 ac_retval=1
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 return $ac_retval
2097 } # ac_fn_cxx_try_link
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2103 # accordingly.
2104 ac_fn_c_check_header_mongrel ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 $as_echo_n "(cached) " >&6
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 else
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2127 else
2128 ac_header_compiler=no
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2143 else
2144 ac_header_preproc=no
2146 rm -f conftest.err conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2152 yes:no: )
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 no:yes:* )
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 eval "$3=\$ac_header_compiler"
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2184 } # ac_fn_c_check_header_mongrel
2186 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # ---------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_cxx_check_header_mongrel ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_cxx_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2233 rm -f conftest.err conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_cxx_check_header_mongrel
2273 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2274 # --------------------------------------------
2275 # Tries to find the compile-time value of EXPR in a program that includes
2276 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 # computed
2278 ac_fn_c_compute_int ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if test "$cross_compiling" = yes; then
2282 # Depending upon the size, compute the lo and hi bounds.
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) >= 0)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_lo=0 ac_mid=0
2298 while :; do
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2303 main ()
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2306 test_array [0] = 0
2309 return 0;
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_hi=$ac_mid; break
2314 else
2315 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2316 if test $ac_lo -le $ac_mid; then
2317 ac_lo= ac_hi=
2318 break
2320 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 else
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) < 0)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_hi=-1 ac_mid=-1
2340 while :; do
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 main ()
2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2348 test_array [0] = 0
2351 return 0;
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355 ac_lo=$ac_mid; break
2356 else
2357 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2358 if test $ac_mid -le $ac_hi; then
2359 ac_lo= ac_hi=
2360 break
2362 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 done
2366 else
2367 ac_lo= ac_hi=
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 # Binary search between lo and hi bounds.
2373 while test "x$ac_lo" != "x$ac_hi"; do
2374 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2379 main ()
2381 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2382 test_array [0] = 0
2385 return 0;
2387 _ACEOF
2388 if ac_fn_c_try_compile "$LINENO"; then :
2389 ac_hi=$ac_mid
2390 else
2391 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394 done
2395 case $ac_lo in #((
2396 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2397 '') ac_retval=1 ;;
2398 esac
2399 else
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2403 static long int longval () { return $2; }
2404 static unsigned long int ulongval () { return $2; }
2405 #include <stdio.h>
2406 #include <stdlib.h>
2408 main ()
2411 FILE *f = fopen ("conftest.val", "w");
2412 if (! f)
2413 return 1;
2414 if (($2) < 0)
2416 long int i = longval ();
2417 if (i != ($2))
2418 return 1;
2419 fprintf (f, "%ld", i);
2421 else
2423 unsigned long int i = ulongval ();
2424 if (i != ($2))
2425 return 1;
2426 fprintf (f, "%lu", i);
2428 /* Do not output a trailing newline, as this causes \r\n confusion
2429 on some platforms. */
2430 return ferror (f) || fclose (f) != 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_run "$LINENO"; then :
2437 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2438 else
2439 ac_retval=1
2441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2442 conftest.$ac_objext conftest.beam conftest.$ac_ext
2443 rm -f conftest.val
2446 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2447 return $ac_retval
2449 } # ac_fn_c_compute_int
2451 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2452 # -------------------------------------------
2453 # Tests whether TYPE exists after having included INCLUDES, setting cache
2454 # variable VAR accordingly.
2455 ac_fn_c_check_type ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 main ()
2470 if (sizeof ($2))
2471 return 0;
2473 return 0;
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2483 if (sizeof (($2)))
2484 return 0;
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2491 else
2492 eval "$3=yes"
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2503 } # ac_fn_c_check_type
2505 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2506 # ---------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_cxx_check_type ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2522 main ()
2524 if (sizeof ($2))
2525 return 0;
2527 return 0;
2529 _ACEOF
2530 if ac_fn_cxx_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof (($2)))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_cxx_try_compile "$LINENO"; then :
2545 else
2546 eval "$3=yes"
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557 } # ac_fn_cxx_check_type
2558 cat >config.log <<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2562 It was created by package-unused $as_me version-unused, which was
2563 generated by GNU Autoconf 2.64. Invocation command line was
2565 $ $0 $@
2567 _ACEOF
2568 exec 5>>config.log
2570 cat <<_ASUNAME
2571 ## --------- ##
2572 ## Platform. ##
2573 ## --------- ##
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2592 _ASUNAME
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 $as_echo "PATH: $as_dir"
2600 done
2601 IFS=$as_save_IFS
2603 } >&5
2605 cat >&5 <<_ACEOF
2608 ## ----------- ##
2609 ## Core tests. ##
2610 ## ----------- ##
2612 _ACEOF
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2620 ac_configure_args=
2621 ac_configure_args0=
2622 ac_configure_args1=
2623 ac_must_keep_next=false
2624 for ac_pass in 1 2
2626 for ac_arg
2628 case $ac_arg in
2629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2631 | -silent | --silent | --silen | --sile | --sil)
2632 continue ;;
2633 *\'*)
2634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 esac
2636 case $ac_pass in
2637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2639 as_fn_append ac_configure_args1 " '$ac_arg'"
2640 if test $ac_must_keep_next = true; then
2641 ac_must_keep_next=false # Got value, back to normal.
2642 else
2643 case $ac_arg in
2644 *=* | --config-cache | -C | -disable-* | --disable-* \
2645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2647 | -with-* | --with-* | -without-* | --without-* | --x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2650 esac
2652 -* ) ac_must_keep_next=true ;;
2653 esac
2655 as_fn_append ac_configure_args " '$ac_arg'"
2657 esac
2658 done
2659 done
2660 { ac_configure_args0=; unset ac_configure_args0;}
2661 { ac_configure_args1=; unset ac_configure_args1;}
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2671 echo
2673 cat <<\_ASBOX
2674 ## ---------------- ##
2675 ## Cache variables. ##
2676 ## ---------------- ##
2677 _ASBOX
2678 echo
2679 # The following way of writing the cache mishandles newlines in values,
2681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2682 eval ac_val=\$$ac_var
2683 case $ac_val in #(
2684 *${as_nl}*)
2685 case $ac_var in #(
2686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 esac
2689 case $ac_var in #(
2690 _ | IFS | as_nl) ;; #(
2691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2692 *) { eval $ac_var=; unset $ac_var;} ;;
2693 esac ;;
2694 esac
2695 done
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 sed -n \
2700 "s/'\''/'\''\\\\'\'''\''/g;
2701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 ;; #(
2704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2706 esac |
2707 sort
2709 echo
2711 cat <<\_ASBOX
2712 ## ----------------- ##
2713 ## Output variables. ##
2714 ## ----------------- ##
2715 _ASBOX
2716 echo
2717 for ac_var in $ac_subst_vars
2719 eval ac_val=\$$ac_var
2720 case $ac_val in
2721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2722 esac
2723 $as_echo "$ac_var='\''$ac_val'\''"
2724 done | sort
2725 echo
2727 if test -n "$ac_subst_files"; then
2728 cat <<\_ASBOX
2729 ## ------------------- ##
2730 ## File substitutions. ##
2731 ## ------------------- ##
2732 _ASBOX
2733 echo
2734 for ac_var in $ac_subst_files
2736 eval ac_val=\$$ac_var
2737 case $ac_val in
2738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2739 esac
2740 $as_echo "$ac_var='\''$ac_val'\''"
2741 done | sort
2742 echo
2745 if test -s confdefs.h; then
2746 cat <<\_ASBOX
2747 ## ----------- ##
2748 ## confdefs.h. ##
2749 ## ----------- ##
2750 _ASBOX
2751 echo
2752 cat confdefs.h
2753 echo
2755 test "$ac_signal" != 0 &&
2756 $as_echo "$as_me: caught signal $ac_signal"
2757 $as_echo "$as_me: exit $exit_status"
2758 } >&5
2759 rm -f core *.core core.conftest.* &&
2760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2761 exit $exit_status
2763 for ac_signal in 1 2 13 15; do
2764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2765 done
2766 ac_signal=0
2768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2769 rm -f -r conftest* confdefs.h
2771 $as_echo "/* confdefs.h */" > confdefs.h
2773 # Predefined preprocessor variables.
2775 cat >>confdefs.h <<_ACEOF
2776 #define PACKAGE_NAME "$PACKAGE_NAME"
2777 _ACEOF
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2781 _ACEOF
2783 cat >>confdefs.h <<_ACEOF
2784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2785 _ACEOF
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_STRING "$PACKAGE_STRING"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_URL "$PACKAGE_URL"
2797 _ACEOF
2800 # Let the site file select an alternate cache file if it wants to.
2801 # Prefer an explicitly selected file to automatically selected ones.
2802 ac_site_file1=NONE
2803 ac_site_file2=NONE
2804 if test -n "$CONFIG_SITE"; then
2805 ac_site_file1=$CONFIG_SITE
2806 elif test "x$prefix" != xNONE; then
2807 ac_site_file1=$prefix/share/config.site
2808 ac_site_file2=$prefix/etc/config.site
2809 else
2810 ac_site_file1=$ac_default_prefix/share/config.site
2811 ac_site_file2=$ac_default_prefix/etc/config.site
2813 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2815 test "x$ac_site_file" = xNONE && continue
2816 if test -r "$ac_site_file"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2818 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2819 sed 's/^/| /' "$ac_site_file" >&5
2820 . "$ac_site_file"
2822 done
2824 if test -r "$cache_file"; then
2825 # Some versions of bash will fail to source /dev/null (special
2826 # files actually), so we avoid doing that.
2827 if test -f "$cache_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2829 $as_echo "$as_me: loading cache $cache_file" >&6;}
2830 case $cache_file in
2831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2832 *) . "./$cache_file";;
2833 esac
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2837 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 >$cache_file
2841 # Check that the precious variables saved in the cache have kept the same
2842 # value.
2843 ac_cache_corrupted=false
2844 for ac_var in $ac_precious_vars; do
2845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2846 eval ac_new_set=\$ac_env_${ac_var}_set
2847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2848 eval ac_new_val=\$ac_env_${ac_var}_value
2849 case $ac_old_set,$ac_new_set in
2850 set,)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2853 ac_cache_corrupted=: ;;
2854 ,set)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2857 ac_cache_corrupted=: ;;
2858 ,);;
2860 if test "x$ac_old_val" != "x$ac_new_val"; then
2861 # differences in whitespace do not lead to failure.
2862 ac_old_val_w=`echo x $ac_old_val`
2863 ac_new_val_w=`echo x $ac_new_val`
2864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2867 ac_cache_corrupted=:
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2871 eval $ac_var=\$ac_old_val
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 fi;;
2878 esac
2879 # Pass precious variables to config.status.
2880 if test "$ac_new_set" = set; then
2881 case $ac_new_val in
2882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 *) ac_arg=$ac_var=$ac_new_val ;;
2884 esac
2885 case " $ac_configure_args " in
2886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2888 esac
2890 done
2891 if $ac_cache_corrupted; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2896 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2898 ## -------------------- ##
2899 ## Main body of script. ##
2900 ## -------------------- ##
2902 ac_ext=c
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2913 ac_config_headers="$ac_config_headers config.h"
2916 # This works around the fact that libtool configuration may change LD
2917 # for this particular configuration, but some shells, instead of
2918 # keeping the changes in LD private, export them just because LD is
2919 # exported. Only used at the end of this file.
2920 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2922 # Find the rest of the source tree framework.
2923 # Default to --enable-multilib
2924 # Check whether --enable-multilib was given.
2925 if test "${enable_multilib+set}" = set; then :
2926 enableval=$enable_multilib; case "$enableval" in
2927 yes) multilib=yes ;;
2928 no) multilib=no ;;
2929 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2930 esac
2931 else
2932 multilib=yes
2936 # We may get other options which we leave undocumented:
2937 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2938 # See config-ml.in if you want the gory details.
2940 if test "$srcdir" = "."; then
2941 if test "$with_target_subdir" != "."; then
2942 multi_basedir="$srcdir/$with_multisrctop../.."
2943 else
2944 multi_basedir="$srcdir/$with_multisrctop.."
2946 else
2947 multi_basedir="$srcdir/.."
2951 # Even if the default multilib is not a cross compilation,
2952 # it may be that some of the other multilibs are.
2953 if test $cross_compiling = no && test $multilib = yes \
2954 && test "x${with_multisubdir}" != x ; then
2955 cross_compiling=maybe
2958 ac_config_commands="$ac_config_commands default-1"
2961 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2963 # You will slowly go insane if you do not grok the following fact: when
2964 # building v3 as part of the compiler, the top-level /target/ becomes the
2965 # library's /host/. configure then causes --target to default to --host,
2966 # exactly like any other package using autoconf. Therefore, 'target' and
2967 # 'host' will always be the same. This makes sense both for native and
2968 # cross compilers, just think about it for a little while. :-)
2970 # Also, if v3 is being configured as part of a cross compiler, the top-level
2971 # configure script will pass the "real" host as $with_cross_host.
2973 # Do not delete or change the following two lines. For why, see
2974 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2975 ac_aux_dir=
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 for ac_t in install-sh install.sh shtool; do
2978 if test -f "$ac_dir/$ac_t"; then
2979 ac_aux_dir=$ac_dir
2980 ac_install_sh="$ac_aux_dir/$ac_t -c"
2981 break 2
2983 done
2984 done
2985 if test -z "$ac_aux_dir"; then
2986 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2989 # These three variables are undocumented and unsupported,
2990 # and are intended to be withdrawn in a future Autoconf release.
2991 # They can cause serious problems if a builder's source tree is in a directory
2992 # whose full name contains unusual characters.
2993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2998 # Make sure we can run config.sub.
2999 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3000 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3003 $as_echo_n "checking build system type... " >&6; }
3004 if test "${ac_cv_build+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_build_alias=$build_alias
3008 test "x$ac_build_alias" = x &&
3009 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3010 test "x$ac_build_alias" = x &&
3011 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3017 $as_echo "$ac_cv_build" >&6; }
3018 case $ac_cv_build in
3019 *-*-*) ;;
3020 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3021 esac
3022 build=$ac_cv_build
3023 ac_save_IFS=$IFS; IFS='-'
3024 set x $ac_cv_build
3025 shift
3026 build_cpu=$1
3027 build_vendor=$2
3028 shift; shift
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3031 build_os=$*
3032 IFS=$ac_save_IFS
3033 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3037 $as_echo_n "checking host system type... " >&6; }
3038 if test "${ac_cv_host+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test "x$host_alias" = x; then
3042 ac_cv_host=$ac_cv_build
3043 else
3044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3050 $as_echo "$ac_cv_host" >&6; }
3051 case $ac_cv_host in
3052 *-*-*) ;;
3053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3054 esac
3055 host=$ac_cv_host
3056 ac_save_IFS=$IFS; IFS='-'
3057 set x $ac_cv_host
3058 shift
3059 host_cpu=$1
3060 host_vendor=$2
3061 shift; shift
3062 # Remember, the first character of IFS is used to create $*,
3063 # except with old shells:
3064 host_os=$*
3065 IFS=$ac_save_IFS
3066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3070 $as_echo_n "checking target system type... " >&6; }
3071 if test "${ac_cv_target+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test "x$target_alias" = x; then
3075 ac_cv_target=$ac_cv_host
3076 else
3077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3083 $as_echo "$ac_cv_target" >&6; }
3084 case $ac_cv_target in
3085 *-*-*) ;;
3086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3087 esac
3088 target=$ac_cv_target
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_target
3091 shift
3092 target_cpu=$1
3093 target_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 target_os=$*
3098 IFS=$ac_save_IFS
3099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3102 # The aliases save the names the user supplied, while $host etc.
3103 # will get canonicalized.
3104 test -n "$target_alias" &&
3105 test "$program_prefix$program_suffix$program_transform_name" = \
3106 NONENONEs,x,x, &&
3107 program_prefix=${target_alias}-
3109 target_alias=${target_alias-$host_alias}
3111 # Handy for debugging:
3112 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3114 if test "$build" != "$host"; then
3115 # We are being configured with some form of cross compiler.
3116 GLIBCXX_IS_NATIVE=false
3117 case "$host","$target" in
3118 # Darwin crosses can use the host system's libraries and headers,
3119 # because of the fat library support. Of course, it must be the
3120 # same version of Darwin on both sides. Allow the user to
3121 # just say --target=foo-darwin without a version number to mean
3122 # "the version on this system".
3123 *-*-darwin*,*-*-darwin*)
3124 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3125 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3126 if test $hostos = $targetos -o $targetos = darwin ; then
3127 GLIBCXX_IS_NATIVE=true
3134 esac
3135 else
3136 GLIBCXX_IS_NATIVE=true
3139 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3140 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3141 # 1.x: minimum required version
3142 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3143 # of other PACKAGE_* variables will, however, and there's nothing
3144 # we can do about that; they come from AC_INIT).
3145 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3146 # file in the top srcdir, etc, etc), so stop complaining.
3147 # no-dependencies: turns off auto dependency generation (just for now)
3148 # no-dist: we don't want 'dist' and related rules.
3149 # -Wall: turns on all automake warnings...
3150 # -Wno-portability: ...except this one, since GNU make is now required.
3151 am__api_version='1.11'
3153 # Find a good install program. We prefer a C program (faster),
3154 # so one script is as good as another. But avoid the broken or
3155 # incompatible versions:
3156 # SysV /etc/install, /usr/sbin/install
3157 # SunOS /usr/etc/install
3158 # IRIX /sbin/install
3159 # AIX /bin/install
3160 # AmigaOS /C/install, which installs bootblocks on floppy discs
3161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164 # OS/2's system install, which has a completely different semantic
3165 # ./install, which can be erroneously created by make from ./install.sh.
3166 # Reject install programs that cannot install multiple files.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3169 if test -z "$INSTALL"; then
3170 if test "${ac_cv_path_install+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 # Account for people who put trailing slashes in PATH elements.
3179 case $as_dir/ in #((
3180 ./ | .// | /[cC]/* | \
3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183 /usr/ucb/* ) ;;
3185 # OSF1 and SCO ODT 3.0 have their own names for install.
3186 # Don't use installbsd from OSF since it installs stuff as root
3187 # by default.
3188 for ac_prog in ginstall scoinst install; do
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191 if test $ac_prog = install &&
3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193 # AIX install. It has an incompatible calling convention.
3195 elif test $ac_prog = install &&
3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197 # program-specific install script used by HP pwplus--don't use.
3199 else
3200 rm -rf conftest.one conftest.two conftest.dir
3201 echo one > conftest.one
3202 echo two > conftest.two
3203 mkdir conftest.dir
3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205 test -s conftest.one && test -s conftest.two &&
3206 test -s conftest.dir/conftest.one &&
3207 test -s conftest.dir/conftest.two
3208 then
3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210 break 3
3214 done
3215 done
3217 esac
3219 done
3220 IFS=$as_save_IFS
3222 rm -rf conftest.one conftest.two conftest.dir
3225 if test "${ac_cv_path_install+set}" = set; then
3226 INSTALL=$ac_cv_path_install
3227 else
3228 # As a last resort, use the slow shell script. Don't cache a
3229 # value for INSTALL within a source directory, because that will
3230 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.
3232 INSTALL=$ac_install_sh
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236 $as_echo "$INSTALL" >&6; }
3238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239 # It thinks the first close brace ends the variable substitution.
3240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247 $as_echo_n "checking whether build environment is sane... " >&6; }
3248 # Just in case
3249 sleep 1
3250 echo timestamp > conftest.file
3251 # Reject unsafe characters in $srcdir or the absolute working directory
3252 # name. Accept space and tab only in the latter.
3253 am_lf='
3255 case `pwd` in
3256 *[\\\"\#\$\&\'\`$am_lf]*)
3257 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258 esac
3259 case $srcdir in
3260 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3261 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262 esac
3264 # Do `set' in a subshell so we don't clobber the current shell's
3265 # arguments. Must try -L first in case configure is actually a
3266 # symlink; some systems play weird games with the mod time of symlinks
3267 # (eg FreeBSD returns the mod time of the symlink's containing
3268 # directory).
3269 if (
3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271 if test "$*" = "X"; then
3272 # -L didn't work.
3273 set X `ls -t "$srcdir/configure" conftest.file`
3275 rm -f conftest.file
3276 if test "$*" != "X $srcdir/configure conftest.file" \
3277 && test "$*" != "X conftest.file $srcdir/configure"; then
3279 # If neither matched, then we have a broken ls. This can happen
3280 # if, for instance, CONFIG_SHELL is bash and it inherits a
3281 # broken ls alias from the environment. This has actually
3282 # happened. Such a system could not be considered "sane".
3283 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3284 alias in your environment" "$LINENO" 5
3287 test "$2" = conftest.file
3289 then
3290 # Ok.
3292 else
3293 as_fn_error "newly created file is older than distributed files!
3294 Check your system clock" "$LINENO" 5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 test "$program_prefix" != NONE &&
3299 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300 # Use a double $ so make ignores it.
3301 test "$program_suffix" != NONE &&
3302 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303 # Double any \ or $.
3304 # By default was `s,x,x', remove it if useless.
3305 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3308 # expand $ac_aux_dir to an absolute path
3309 am_aux_dir=`cd $ac_aux_dir && pwd`
3311 if test x"${MISSING+set}" != xset; then
3312 case $am_aux_dir in
3313 *\ * | *\ *)
3314 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3316 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317 esac
3319 # Use eval to expand $SHELL
3320 if eval "$MISSING --run true"; then
3321 am_missing_run="$MISSING --run "
3322 else
3323 am_missing_run=
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3328 if test x"${install_sh}" != xset; then
3329 case $am_aux_dir in
3330 *\ * | *\ *)
3331 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3333 install_sh="\${SHELL} $am_aux_dir/install-sh"
3334 esac
3337 # Installed binaries are usually stripped using `strip' when the user
3338 # run `make install-strip'. However `strip' might not be the right
3339 # tool to use in cross-compilation environments, therefore Automake
3340 # will honor the `STRIP' environment variable to overrule this program.
3341 if test "$cross_compiling" != no; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}strip; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_STRIP+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$STRIP"; then
3351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 STRIP=$ac_cv_prog_STRIP
3371 if test -n "$STRIP"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373 $as_echo "$STRIP" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3381 if test -z "$ac_cv_prog_STRIP"; then
3382 ac_ct_STRIP=$STRIP
3383 # Extract the first word of "strip", so it can be a program name with args.
3384 set dummy strip; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 if test -n "$ac_ct_STRIP"; then
3391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_STRIP="strip"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411 if test -n "$ac_ct_STRIP"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413 $as_echo "$ac_ct_STRIP" >&6; }
3414 else
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3419 if test "x$ac_ct_STRIP" = x; then
3420 STRIP=":"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3427 esac
3428 STRIP=$ac_ct_STRIP
3430 else
3431 STRIP="$ac_cv_prog_STRIP"
3435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439 if test -z "$MKDIR_P"; then
3440 if test "${ac_cv_path_mkdir+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in mkdir gmkdir; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452 'mkdir (GNU coreutils) '* | \
3453 'mkdir (coreutils) '* | \
3454 'mkdir (fileutils) '4.1*)
3455 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456 break 3;;
3457 esac
3458 done
3459 done
3460 done
3461 IFS=$as_save_IFS
3465 if test "${ac_cv_path_mkdir+set}" = set; then
3466 MKDIR_P="$ac_cv_path_mkdir -p"
3467 else
3468 # As a last resort, use the slow shell script. Don't cache a
3469 # value for MKDIR_P within a source directory, because that will
3470 # break other packages using the cache if that directory is
3471 # removed, or if the value is a relative name.
3472 test -d ./--version && rmdir ./--version
3473 MKDIR_P="$ac_install_sh -d"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477 $as_echo "$MKDIR_P" >&6; }
3479 mkdir_p="$MKDIR_P"
3480 case $mkdir_p in
3481 [\\/$]* | ?:[\\/]*) ;;
3482 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483 esac
3485 for ac_prog in gawk mawk nawk awk
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488 set dummy $ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if test "${ac_cv_prog_AWK+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -n "$AWK"; then
3495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3508 done
3509 done
3510 IFS=$as_save_IFS
3514 AWK=$ac_cv_prog_AWK
3515 if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517 $as_echo "$AWK" >&6; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$AWK" && break
3525 done
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3558 rm -rf .tst 2>/dev/null
3559 mkdir .tst 2>/dev/null
3560 if test -d .tst; then
3561 am__leading_dot=.
3562 else
3563 am__leading_dot=_
3565 rmdir .tst 2>/dev/null
3567 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3568 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3569 # is not polluted with repeated "-I."
3570 am__isrc=' -I$(srcdir)'
3571 # test to see if srcdir already configured
3572 if test -f $srcdir/config.status; then
3573 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3577 # test whether we have cygpath
3578 if test -z "$CYGPATH_W"; then
3579 if (cygpath --version) >/dev/null 2>/dev/null; then
3580 CYGPATH_W='cygpath -w'
3581 else
3582 CYGPATH_W=echo
3587 # Define the identity of the package.
3588 PACKAGE='libstdc++'
3589 VERSION='version-unused'
3592 # Some tools Automake needs.
3594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3608 # We need awk for the "check" target. The system "awk" is bad on
3609 # some platforms.
3610 # Always define AMTAR for backward compatibility. Yes, it's still used
3611 # in the wild :-( We should find a proper way to deprecate it ...
3612 AMTAR='$${TAR-tar}'
3614 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3623 # -fno-builtin must be present here so that a non-conflicting form of
3624 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3626 save_CXXFLAGS="$CXXFLAGS"
3627 CXXFLAGS="$CXXFLAGS -fno-builtin"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3721 else
3722 CC="$ac_cv_prog_CC"
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_CC+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3847 done
3848 done
3849 IFS=$as_save_IFS
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$CC" && break
3864 done
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_CC" && break
3908 done
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details." "$LINENO" 5; }
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 # FIXME: Cleanup?
3968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3969 (eval $ac_link) 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 gcc_no_link=no
3974 else
3975 gcc_no_link=yes
3977 if test x$gcc_no_link = xyes; then
3978 # Setting cross_compile will disable run tests; it will
3979 # also disable AC_CHECK_FILE but that's generally
3980 # correct if we can't link.
3981 cross_compiling=yes
3982 EXEEXT=
3983 else
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 ac_clean_files_save=$ac_clean_files
3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3997 # Try to create an executable without -o first, disregard a.out.
3998 # It will help us diagnose broken compilers, and finding out an intuition
3999 # of exeext.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4001 $as_echo_n "checking for C compiler default output file name... " >&6; }
4002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4004 # The possible output files:
4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4007 ac_rmfiles=
4008 for ac_file in $ac_files
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4013 esac
4014 done
4015 rm -f $ac_rmfiles
4017 if { { ac_try="$ac_link_default"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link_default") 2>&5
4025 ac_status=$?
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4031 # so that the user can short-circuit this test for compilers unknown to
4032 # Autoconf.
4033 for ac_file in $ac_files ''
4035 test -f "$ac_file" || continue
4036 case $ac_file in
4037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4039 [ab].out )
4040 # We found the default executable, but exeext='' is most
4041 # certainly right.
4042 break;;
4043 *.* )
4044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4045 then :; else
4046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 # We set ac_cv_exeext here because the later test for it is not
4049 # safe: cross compilers may not add the suffix if given an `-o'
4050 # argument, so we may need to know it at that point already.
4051 # Even if this section looks crufty: it has the advantage of
4052 # actually working.
4053 break;;
4055 break;;
4056 esac
4057 done
4058 test "$ac_cv_exeext" = no && ac_cv_exeext=
4060 else
4061 ac_file=''
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4064 $as_echo "$ac_file" >&6; }
4065 if test -z "$ac_file"; then :
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 { as_fn_set_status 77
4072 as_fn_error "C compiler cannot create executables
4073 See \`config.log' for more details." "$LINENO" 5; }; }
4075 ac_exeext=$ac_cv_exeext
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4080 $as_echo_n "checking whether the C compiler works... " >&6; }
4081 # If not cross compiling, check that we can run a simple program.
4082 if test "$cross_compiling" != yes; then
4083 if { ac_try='./$ac_file'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details." "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4120 $as_echo_n "checking for suffix of executables... " >&6; }
4121 if { { ac_try="$ac_link"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_link") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4134 # work properly (i.e., refer to `conftest.exe'), while it won't with
4135 # `rm'.
4136 for ac_file in conftest.exe conftest conftest.*; do
4137 test -f "$ac_file" || continue
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 break;;
4142 * ) break;;
4143 esac
4144 done
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error "cannot compute suffix of executables: cannot compile and link
4149 See \`config.log' for more details." "$LINENO" 5; }
4151 rm -f conftest$ac_cv_exeext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4153 $as_echo "$ac_cv_exeext" >&6; }
4155 rm -f conftest.$ac_ext
4156 EXEEXT=$ac_cv_exeext
4157 ac_exeext=$EXEEXT
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if test "${ac_cv_objext+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details." "$LINENO" 5; }
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if test "${ac_cv_prog_cc_g+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4345 return p[i];
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4378 main ()
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4382 return 0;
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c89" != xno; then :
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 ac_ext=cpp
4423 ac_cpp='$CXXCPP $CPPFLAGS'
4424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4427 if test -z "$CXX"; then
4428 if test -n "$CCC"; then
4429 CXX=$CCC
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CXX+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CXX"; then
4442 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 CXX=$ac_cv_prog_CXX
4462 if test -n "$CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4464 $as_echo "$CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$CXX" && break
4472 done
4474 if test -z "$CXX"; then
4475 ac_ct_CXX=$CXX
4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CXX"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_CXX="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4506 if test -n "$ac_ct_CXX"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4508 $as_echo "$ac_ct_CXX" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_CXX" && break
4516 done
4518 if test "x$ac_ct_CXX" = x; then
4519 CXX="g++"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CXX=$ac_ct_CXX
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GXX=yes
4590 else
4591 GXX=
4593 ac_test_CXXFLAGS=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS=$CXXFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601 ac_cxx_werror_flag=yes
4602 ac_cv_prog_cxx_g=no
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4617 else
4618 CXXFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4632 else
4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 CXXFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 main ()
4643 return 0;
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_cv_prog_cxx_g=yes
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4657 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4658 if test "$ac_test_CXXFLAGS" = set; then
4659 CXXFLAGS=$ac_save_CXXFLAGS
4660 elif test $ac_cv_prog_cxx_g = yes; then
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-g -O2"
4663 else
4664 CXXFLAGS="-g"
4666 else
4667 if test "$GXX" = yes; then
4668 CXXFLAGS="-O2"
4669 else
4670 CXXFLAGS=
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 CXXFLAGS="$save_CXXFLAGS"
4681 # Runs configure.host, and assorted other critical bits. Sets
4682 # up critical shell variables.
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4691 # On Suns, sometimes $CPP names a directory.
4692 if test -n "$CPP" && test -d "$CPP"; then
4693 CPP=
4695 if test -z "$CPP"; then
4696 if test "${ac_cv_prog_CPP+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 # Double quotes because CPP needs to be expanded
4700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4722 else
4723 # Broken: fails on valid input.
4724 continue
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4742 rm -f conftest.err conftest.$ac_ext
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748 break
4751 done
4752 ac_cv_prog_CPP=$CPP
4755 CPP=$ac_cv_prog_CPP
4756 else
4757 ac_cv_prog_CPP=$CPP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4760 $as_echo "$CPP" >&6; }
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4781 else
4782 # Broken: fails on valid input.
4783 continue
4785 rm -f conftest.err conftest.$ac_ext
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4801 rm -f conftest.err conftest.$ac_ext
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4812 See \`config.log' for more details." "$LINENO" 5; }
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824 if test "${ac_cv_path_GREP+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -z "$GREP"; then
4828 ac_path_GREP_found=false
4829 # Loop through the user's path and test for each of PROGNAME-LIST
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_prog in grep ggrep; do
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4839 # Check for GNU ac_path_GREP and select it if it is found.
4840 # Check for GNU $ac_path_GREP
4841 case `"$ac_path_GREP" --version 2>&1` in
4842 *GNU*)
4843 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4845 ac_count=0
4846 $as_echo_n 0123456789 >"conftest.in"
4847 while :
4849 cat "conftest.in" "conftest.in" >"conftest.tmp"
4850 mv "conftest.tmp" "conftest.in"
4851 cp "conftest.in" "conftest.nl"
4852 $as_echo 'GREP' >> "conftest.nl"
4853 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855 as_fn_arith $ac_count + 1 && ac_count=$as_val
4856 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857 # Best one so far, save it but keep looking for a better one
4858 ac_cv_path_GREP="$ac_path_GREP"
4859 ac_path_GREP_max=$ac_count
4861 # 10*(2^10) chars as input seems more than enough
4862 test $ac_count -gt 10 && break
4863 done
4864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865 esac
4867 $ac_path_GREP_found && break 3
4868 done
4869 done
4870 done
4871 IFS=$as_save_IFS
4872 if test -z "$ac_cv_path_GREP"; then
4873 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 else
4876 ac_cv_path_GREP=$GREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881 $as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886 $as_echo_n "checking for egrep... " >&6; }
4887 if test "${ac_cv_path_EGREP+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891 then ac_cv_path_EGREP="$GREP -E"
4892 else
4893 if test -z "$EGREP"; then
4894 ac_path_EGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in egrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4905 # Check for GNU ac_path_EGREP and select it if it is found.
4906 # Check for GNU $ac_path_EGREP
4907 case `"$ac_path_EGREP" --version 2>&1` in
4908 *GNU*)
4909 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4911 ac_count=0
4912 $as_echo_n 0123456789 >"conftest.in"
4913 while :
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'EGREP' >> "conftest.nl"
4919 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_EGREP="$ac_path_EGREP"
4925 ac_path_EGREP_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4929 done
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4933 $ac_path_EGREP_found && break 3
4934 done
4935 done
4936 done
4937 IFS=$as_save_IFS
4938 if test -z "$ac_cv_path_EGREP"; then
4939 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 else
4942 ac_cv_path_EGREP=$EGREP
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948 $as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4953 # Keep these sync'd with the list in Makefile.am. The first provides an
4954 # expandable list at autoconf time; the second provides an expandable list
4955 # (i.e., shell variable) at configure time.
4957 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4959 # These need to be absolute paths, yet at the same time need to
4960 # canonicalize only relative paths, because then amd will not unmount
4961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4962 glibcxx_builddir=`${PWDCMD-pwd}`
4963 case $srcdir in
4964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4966 esac
4967 toplevel_builddir=${glibcxx_builddir}/..
4968 toplevel_srcdir=${glibcxx_srcdir}/..
4974 # We use these options to decide which functions to include. They are
4975 # set from the top level.
4977 # Check whether --with-target-subdir was given.
4978 if test "${with_target_subdir+set}" = set; then :
4979 withval=$with_target_subdir;
4984 # Check whether --with-cross-host was given.
4985 if test "${with_cross_host+set}" = set; then :
4986 withval=$with_cross_host;
4991 # Check whether --with-newlib was given.
4992 if test "${with_newlib+set}" = set; then :
4993 withval=$with_newlib;
4997 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4998 # available). Uncomment the next line to force a particular method.
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5001 LN_S=$as_ln_s
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5010 #LN_S='cp -p'
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}as; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AS+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AS"; then
5021 ac_cv_prog_AS="$AS" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AS="${ac_tool_prefix}as"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AS=$ac_cv_prog_AS
5041 if test -n "$AS"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5043 $as_echo "$AS" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_AS"; then
5052 ac_ct_AS=$AS
5053 # Extract the first word of "as", so it can be a program name with args.
5054 set dummy as; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AS"; then
5061 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AS="as"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5081 if test -n "$ac_ct_AS"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5083 $as_echo "$ac_ct_AS" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_AS" = x; then
5090 AS=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AS=$ac_ct_AS
5100 else
5101 AS="$ac_cv_prog_AS"
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ar; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_AR+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_AR="${ac_tool_prefix}ar"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 AR=$ac_cv_prog_AR
5133 if test -n "$AR"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5135 $as_echo "$AR" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_AR"; then
5144 ac_ct_AR=$AR
5145 # Extract the first word of "ar", so it can be a program name with args.
5146 set dummy ar; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_AR"; then
5153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AR="ar"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5173 if test -n "$ac_ct_AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5175 $as_echo "$ac_ct_AR" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_AR" = x; then
5182 AR=""
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 AR=$ac_ct_AR
5192 else
5193 AR="$ac_cv_prog_AR"
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 RANLIB=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_RANLIB="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_RANLIB" = x; then
5274 RANLIB="ranlib-not-found-in-path-error"
5275 else
5276 case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282 RANLIB=$ac_ct_RANLIB
5284 else
5285 RANLIB="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5292 # Check whether --enable-maintainer-mode was given.
5293 if test "${enable_maintainer_mode+set}" = set; then :
5294 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5295 else
5296 USE_MAINTAINER_MODE=no
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5301 if test $USE_MAINTAINER_MODE = yes; then
5302 MAINTAINER_MODE_TRUE=
5303 MAINTAINER_MODE_FALSE='#'
5304 else
5305 MAINTAINER_MODE_TRUE='#'
5306 MAINTAINER_MODE_FALSE=
5309 MAINT=$MAINTAINER_MODE_TRUE
5313 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5314 # which are themselves conditionally expanded.
5315 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5316 ## other macros from doing the same. This should be automated.) -pme
5318 # Check for C library flavor since GNU/Linux platforms use different
5319 # configuration directories depending on the C library in use.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5323 #include <stdio.h>
5324 #if __UCLIBC__
5325 _using_uclibc
5326 #endif
5328 _ACEOF
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5331 uclibc=yes
5332 else
5333 uclibc=no
5335 rm -f conftest*
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5341 #include <stdio.h>
5342 #if __BIONIC__
5343 _using_bionic
5344 #endif
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5349 bionic=yes
5350 else
5351 bionic=no
5353 rm -f conftest*
5356 # Find platform-specific directories containing configuration info.
5357 # Also possibly modify flags used elsewhere, as needed by the platform.
5359 . $glibcxx_srcdir/configure.host
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5361 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5363 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5367 # Libtool setup.
5368 if test "x${with_newlib}" != "xyes"; then
5369 enable_dlopen=yes
5374 case `pwd` in
5375 *\ * | *\ *)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5378 esac
5382 macro_version='2.2.7a'
5383 macro_revision='1.3134'
5397 ltmain="$ac_aux_dir/ltmain.sh"
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='print -r --'
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5427 ECHO='printf %s\n'
5428 else
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5432 eval 'cat <<_LTECHO_EOF
5434 _LTECHO_EOF'
5436 ECHO='func_fallback_echo'
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5441 func_echo_all ()
5443 $ECHO ""
5446 case "$ECHO" in
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5453 esac
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if test "${ac_cv_path_SED+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5476 done
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5519 $ac_path_SED_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5527 else
5528 ac_cv_path_SED=$SED
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5535 rm -f conftest.sed
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if test "${ac_cv_path_FGREP+set}" = set; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5557 else
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_FGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_FGREP=$FGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5617 test -z "$GREP" && GREP=grep
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5640 else
5641 with_gnu_ld=no
5644 ac_prog=ld
5645 if test "$GCC" = yes; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5649 case $host in
5650 *-*-mingw*)
5651 # gcc leaves a trailing carriage return which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5655 esac
5656 case $ac_prog in
5657 # Accept absolute paths.
5658 [\\/]* | ?:[\\/]*)
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5664 done
5665 test -z "$LD" && LD="$ac_prog"
5668 # If it fails, then pretend we aren't using GCC.
5669 ac_prog=ld
5672 # If it is relative, then search for the first ld in PATH.
5673 with_gnu_ld=unknown
5675 esac
5676 elif test "$with_gnu_ld" = yes; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 if test "${lt_cv_path_LD+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -z "$LD"; then
5687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5689 IFS="$lt_save_ifs"
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD="$ac_dir/$ac_prog"
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test "$with_gnu_ld" != no && break
5701 test "$with_gnu_ld" != yes && break
5703 esac
5705 done
5706 IFS="$lt_save_ifs"
5707 else
5708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5712 LD="$lt_cv_path_LD"
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5732 lt_cv_prog_gnu_ld=no
5734 esac
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if test "${lt_cv_path_NM+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5755 lt_cv_path_NM="$NM"
5756 else
5757 lt_nm_to_check="${ac_tool_prefix}nm"
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5764 IFS="$lt_save_ifs"
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm="$ac_dir/$lt_tmp_nm"
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5773 */dev/null* | *'Invalid file or object type'*)
5774 lt_cv_path_NM="$tmp_nm -B"
5775 break
5778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5779 */dev/null*)
5780 lt_cv_path_NM="$tmp_nm -p"
5781 break
5784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5785 continue # so that we can try to find one that supports BSD flags
5787 esac
5789 esac
5791 done
5792 IFS="$lt_save_ifs"
5793 done
5794 : ${lt_cv_path_NM=no}
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5798 $as_echo "$lt_cv_path_NM" >&6; }
5799 if test "$lt_cv_path_NM" != "no"; then
5800 NM="$lt_cv_path_NM"
5801 else
5802 # Didn't find any BSD compatible name lister, look for dumpbin.
5803 if test -n "$DUMPBIN"; then :
5804 # Let the user override the test.
5805 else
5806 if test -n "$ac_tool_prefix"; then
5807 for ac_prog in dumpbin "link -dump"
5809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$DUMPBIN"; then
5817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 DUMPBIN=$ac_cv_prog_DUMPBIN
5837 if test -n "$DUMPBIN"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5839 $as_echo "$DUMPBIN" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$DUMPBIN" && break
5847 done
5849 if test -z "$DUMPBIN"; then
5850 ac_ct_DUMPBIN=$DUMPBIN
5851 for ac_prog in dumpbin "link -dump"
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5881 if test -n "$ac_ct_DUMPBIN"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5883 $as_echo "$ac_ct_DUMPBIN" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$ac_ct_DUMPBIN" && break
5891 done
5893 if test "x$ac_ct_DUMPBIN" = x; then
5894 DUMPBIN=":"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 DUMPBIN=$ac_ct_DUMPBIN
5906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5907 *COFF*)
5908 DUMPBIN="$DUMPBIN -symbols"
5911 DUMPBIN=:
5913 esac
5916 if test "$DUMPBIN" != ":"; then
5917 NM="$DUMPBIN"
5920 test -z "$NM" && NM=nm
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5929 if test "${lt_cv_nm_interface+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 lt_cv_nm_interface="BSD nm"
5933 echo "int some_variable = 0;" > conftest.$ac_ext
5934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935 (eval "$ac_compile" 2>conftest.err)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939 cat conftest.err >&5
5940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941 cat conftest.out >&5
5942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943 lt_cv_nm_interface="MS dumpbin"
5945 rm -f conftest*
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5948 $as_echo "$lt_cv_nm_interface" >&6; }
5950 # find the maximum length of command line arguments
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5952 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5953 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5957 teststring="ABCD"
5959 case $build_os in
5960 msdosdjgpp*)
5961 # On DJGPP, this test can blow up pretty badly due to problems in libc
5962 # (any single argument exceeding 2000 bytes causes a buffer overrun
5963 # during glob expansion). Even if it were fixed, the result of this
5964 # check would be larger than it should be.
5965 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5968 gnu*)
5969 # Under GNU Hurd, this test is not required because there is
5970 # no limit to the length of command line arguments.
5971 # Libtool will interpret -1 as no limit whatsoever
5972 lt_cv_sys_max_cmd_len=-1;
5975 cygwin* | mingw* | cegcc*)
5976 # On Win9x/ME, this test blows up -- it succeeds, but takes
5977 # about 5 minutes as the teststring grows exponentially.
5978 # Worse, since 9x/ME are not pre-emptively multitasking,
5979 # you end up with a "frozen" computer, even though with patience
5980 # the test eventually succeeds (with a max line length of 256k).
5981 # Instead, let's just punt: use the minimum linelength reported by
5982 # all of the supported platforms: 8192 (on NT/2K/XP).
5983 lt_cv_sys_max_cmd_len=8192;
5986 mint*)
5987 # On MiNT this can take a long time and run out of memory.
5988 lt_cv_sys_max_cmd_len=8192;
5991 amigaos*)
5992 # On AmigaOS with pdksh, this test takes hours, literally.
5993 # So we just punt and use a minimum line length of 8192.
5994 lt_cv_sys_max_cmd_len=8192;
5997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5998 # This has been around since 386BSD, at least. Likely further.
5999 if test -x /sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6001 elif test -x /usr/sbin/sysctl; then
6002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6003 else
6004 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 # And add a safety zone
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6011 interix*)
6012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6013 lt_cv_sys_max_cmd_len=196608
6016 osf*)
6017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019 # nice to cause kernel panics so lets avoid the loop below.
6020 # First set a reasonable default.
6021 lt_cv_sys_max_cmd_len=16384
6023 if test -x /sbin/sysconfig; then
6024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 esac
6029 sco3.2v5*)
6030 lt_cv_sys_max_cmd_len=102400
6032 sysv5* | sco5v6* | sysv4.2uw2*)
6033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034 if test -n "$kargmax"; then
6035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 else
6037 lt_cv_sys_max_cmd_len=32768
6041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042 if test -n "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6045 else
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8 ; do
6049 teststring=$teststring$teststring
6050 done
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6054 # we can't tell.
6055 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test $i != 17 # 1/2 MB should be enough
6059 i=`expr $i + 1`
6060 teststring=$teststring$teststring
6061 done
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6064 teststring=
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6071 esac
6075 if test -n $lt_cv_sys_max_cmd_len ; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6080 $as_echo "none" >&6; }
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6089 : ${CP="cp -f"}
6090 : ${MV="mv -f"}
6091 : ${RM="rm -f"}
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6095 # Try some XSI features
6096 xsi_shell=no
6097 ( _lt_dummy="a/b/c"
6098 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6099 = c,a/b,, \
6100 && eval 'test $(( 1 + 1 )) -eq 2 \
6101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6102 && xsi_shell=yes
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6104 $as_echo "$xsi_shell" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6109 lt_shell_append=no
6110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6111 >/dev/null 2>&1 \
6112 && lt_shell_append=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6114 $as_echo "$lt_shell_append" >&6; }
6117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6118 lt_unset=unset
6119 else
6120 lt_unset=false
6127 # test EBCDIC or ASCII
6128 case `echo X|tr X '\101'` in
6129 A) # ASCII based system
6130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6131 lt_SP2NL='tr \040 \012'
6132 lt_NL2SP='tr \015\012 \040\040'
6134 *) # EBCDIC based system
6135 lt_SP2NL='tr \100 \n'
6136 lt_NL2SP='tr \r\n \100\100'
6138 esac
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6149 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6150 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 lt_cv_ld_reload_flag='-r'
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6157 reload_flag=$lt_cv_ld_reload_flag
6158 case $reload_flag in
6159 "" | " "*) ;;
6160 *) reload_flag=" $reload_flag" ;;
6161 esac
6162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 case $host_os in
6164 darwin*)
6165 if test "$GCC" = yes; then
6166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6167 else
6168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6171 esac
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$OBJDUMP"; then
6190 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 OBJDUMP=$ac_cv_prog_OBJDUMP
6210 if test -n "$OBJDUMP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6212 $as_echo "$OBJDUMP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_OBJDUMP"; then
6221 ac_ct_OBJDUMP=$OBJDUMP
6222 # Extract the first word of "objdump", so it can be a program name with args.
6223 set dummy objdump; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_OBJDUMP"; then
6230 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6250 if test -n "$ac_ct_OBJDUMP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6252 $as_echo "$ac_ct_OBJDUMP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_OBJDUMP" = x; then
6259 OBJDUMP="false"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 OBJDUMP=$ac_ct_OBJDUMP
6269 else
6270 OBJDUMP="$ac_cv_prog_OBJDUMP"
6273 test -z "$OBJDUMP" && OBJDUMP=objdump
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6284 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6285 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 lt_cv_file_magic_cmd='$MAGIC_CMD'
6289 lt_cv_file_magic_test_file=
6290 lt_cv_deplibs_check_method='unknown'
6291 # Need to set the preceding variable on all platforms that support
6292 # interlibrary dependencies.
6293 # 'none' -- dependencies not supported.
6294 # `unknown' -- same as none, but documents that we really don't know.
6295 # 'pass_all' -- all dependencies passed with no checks.
6296 # 'test_compile' -- check by making test program.
6297 # 'file_magic [[regex]]' -- check by looking for files in library path
6298 # which responds to the $file_magic_cmd with a given extended regex.
6299 # If you have `file' or equivalent on your system and you're not sure
6300 # whether `pass_all' will *always* work, you probably want this one.
6302 case $host_os in
6303 aix[4-9]*)
6304 lt_cv_deplibs_check_method=pass_all
6307 beos*)
6308 lt_cv_deplibs_check_method=pass_all
6311 bsdi[45]*)
6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6313 lt_cv_file_magic_cmd='/usr/bin/file -L'
6314 lt_cv_file_magic_test_file=/shlib/libc.so
6317 cygwin*)
6318 # func_win32_libid is a shell function defined in ltmain.sh
6319 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6320 lt_cv_file_magic_cmd='func_win32_libid'
6323 mingw* | pw32*)
6324 # Base MSYS/MinGW do not provide the 'file' command needed by
6325 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6326 # unless we find 'file', for example because we are cross-compiling.
6327 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6328 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6331 else
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6337 cegcc*)
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349 case $host_cpu in
6350 i*86 )
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6357 esac
6358 else
6359 lt_cv_deplibs_check_method=pass_all
6363 gnu*)
6364 lt_cv_deplibs_check_method=pass_all
6367 haiku*)
6368 lt_cv_deplibs_check_method=pass_all
6371 hpux10.20* | hpux11*)
6372 lt_cv_file_magic_cmd=/usr/bin/file
6373 case $host_cpu in
6374 ia64*)
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378 hppa*64*)
6379 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]'
6380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 esac
6389 interix[3-9]*)
6390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6394 irix5* | irix6* | nonstopux*)
6395 case $LD in
6396 *-32|*"-32 ") libmagic=32-bit;;
6397 *-n32|*"-n32 ") libmagic=N32;;
6398 *-64|*"-64 ") libmagic=64-bit;;
6399 *) libmagic=never-match;;
6400 esac
6401 lt_cv_deplibs_check_method=pass_all
6404 # This must be Linux ELF.
6405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6406 lt_cv_deplibs_check_method=pass_all
6409 netbsd*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 else
6413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6417 newos6*)
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6419 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6423 *nto* | *qnx*)
6424 lt_cv_deplibs_check_method=pass_all
6427 openbsd*)
6428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6430 else
6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6435 osf3* | osf4* | osf5*)
6436 lt_cv_deplibs_check_method=pass_all
6439 rdos*)
6440 lt_cv_deplibs_check_method=pass_all
6443 solaris*)
6444 lt_cv_deplibs_check_method=pass_all
6447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6448 lt_cv_deplibs_check_method=pass_all
6451 sysv4 | sysv4.3*)
6452 case $host_vendor in
6453 motorola)
6454 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]'
6455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6457 ncr)
6458 lt_cv_deplibs_check_method=pass_all
6460 sequent)
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6464 sni)
6465 lt_cv_file_magic_cmd='/bin/file'
6466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6467 lt_cv_file_magic_test_file=/lib/libc.so
6469 siemens)
6470 lt_cv_deplibs_check_method=pass_all
6473 lt_cv_deplibs_check_method=pass_all
6475 esac
6478 tpf*)
6479 lt_cv_deplibs_check_method=pass_all
6481 esac
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6485 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6486 file_magic_cmd=$lt_cv_file_magic_cmd
6487 deplibs_check_method=$lt_cv_deplibs_check_method
6488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy ${ac_tool_prefix}ar; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR="$AR" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR="${ac_tool_prefix}ar"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 AR=$ac_cv_prog_AR
6530 if test -n "$AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6532 $as_echo "$AR" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6540 if test -z "$ac_cv_prog_AR"; then
6541 ac_ct_AR=$AR
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy ar; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR="ar"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572 $as_echo "$ac_ct_AR" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6578 if test "x$ac_ct_AR" = x; then
6579 AR="false"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 AR=$ac_ct_AR
6589 else
6590 AR="$ac_cv_prog_AR"
6593 test -z "$AR" && AR=ar
6594 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}strip; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_STRIP+set}" = set; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$STRIP"; then
6615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 STRIP=$ac_cv_prog_STRIP
6635 if test -n "$STRIP"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6637 $as_echo "$STRIP" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6645 if test -z "$ac_cv_prog_STRIP"; then
6646 ac_ct_STRIP=$STRIP
6647 # Extract the first word of "strip", so it can be a program name with args.
6648 set dummy strip; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$ac_ct_STRIP"; then
6655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_STRIP="strip"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6675 if test -n "$ac_ct_STRIP"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6677 $as_echo "$ac_ct_STRIP" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6683 if test "x$ac_ct_STRIP" = x; then
6684 STRIP=":"
6685 else
6686 case $cross_compiling:$ac_tool_warned in
6687 yes:)
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6691 esac
6692 STRIP=$ac_ct_STRIP
6694 else
6695 STRIP="$ac_cv_prog_STRIP"
6698 test -z "$STRIP" && STRIP=:
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RANLIB"; then
6714 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 RANLIB=$ac_cv_prog_RANLIB
6734 if test -n "$RANLIB"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6736 $as_echo "$RANLIB" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6744 if test -z "$ac_cv_prog_RANLIB"; then
6745 ac_ct_RANLIB=$RANLIB
6746 # Extract the first word of "ranlib", so it can be a program name with args.
6747 set dummy ranlib; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 if test -n "$ac_ct_RANLIB"; then
6754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_RANLIB="ranlib"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6774 if test -n "$ac_ct_RANLIB"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6776 $as_echo "$ac_ct_RANLIB" >&6; }
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6782 if test "x$ac_ct_RANLIB" = x; then
6783 RANLIB=":"
6784 else
6785 case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791 RANLIB=$ac_ct_RANLIB
6793 else
6794 RANLIB="$ac_cv_prog_RANLIB"
6797 test -z "$RANLIB" && RANLIB=:
6804 # Determine commands to create old-style static archives.
6805 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6806 old_postinstall_cmds='chmod 644 $oldlib'
6807 old_postuninstall_cmds=
6809 if test -n "$RANLIB"; then
6810 case $host_os in
6811 openbsd*)
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6815 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6817 esac
6818 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6821 case $host_os in
6822 darwin*)
6823 lock_old_archive_extraction=yes ;;
6825 lock_old_archive_extraction=no ;;
6826 esac
6866 # If no C compiler was specified, use CC.
6867 LTCC=${LTCC-"$CC"}
6869 # If no C compiler flags were specified, use CFLAGS.
6870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6872 # Allow CC to be a program name with arguments.
6873 compiler=$CC
6876 # Check for command to grab the raw symbol name followed by C symbol from nm.
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6878 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6879 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6883 # These are sane defaults that work on at least a few old systems.
6884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6886 # Character class describing NM global symbol codes.
6887 symcode='[BCDEGRST]'
6889 # Regexp to match symbols that can be accessed directly from C.
6890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6892 # Define system-specific variables.
6893 case $host_os in
6894 aix*)
6895 symcode='[BCDT]'
6897 cygwin* | mingw* | pw32* | cegcc*)
6898 symcode='[ABCDGISTW]'
6900 hpux*)
6901 if test "$host_cpu" = ia64; then
6902 symcode='[ABCDEGRST]'
6905 irix* | nonstopux*)
6906 symcode='[BCDEGRST]'
6908 osf*)
6909 symcode='[BCDEGQRST]'
6911 solaris*)
6912 symcode='[BDRT]'
6914 sco3.2v5*)
6915 symcode='[DT]'
6917 sysv4.2uw2*)
6918 symcode='[DT]'
6920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 symcode='[ABDT]'
6923 sysv4)
6924 symcode='[DFNSTU]'
6926 esac
6928 # If we're using GNU nm, then use its standard symbol codes.
6929 case `$NM -V 2>&1` in
6930 *GNU* | *'with BFD'*)
6931 symcode='[ABCDGIRSTW]' ;;
6932 esac
6934 # Transform an extracted symbol line into a proper C declaration.
6935 # Some systems (esp. on ia64) link data and code symbols differently,
6936 # so use this general approach.
6937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6939 # Transform an extracted symbol line into symbol name and symbol address
6940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6941 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'"
6943 # Handle CRLF in mingw tool chain
6944 opt_cr=
6945 case $build_os in
6946 mingw*)
6947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6949 esac
6951 # Try without a prefix underscore, then with it.
6952 for ac_symprfx in "" "_"; do
6954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6955 symxfrm="\\1 $ac_symprfx\\2 \\2"
6957 # Write the raw and C identifiers.
6958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6959 # Fake it for dumpbin and say T for any non-static function
6960 # and D for any global variable.
6961 # Also find C++ and __fastcall symbols from MSVC++,
6962 # which start with @ or ?.
6963 lt_cv_sys_global_symbol_pipe="$AWK '"\
6964 " {last_section=section; section=\$ 3};"\
6965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6966 " \$ 0!~/External *\|/{next};"\
6967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6968 " {if(hide[section]) next};"\
6969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6973 " ' prfx=^$ac_symprfx"
6974 else
6975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6978 # Check to see that the pipe works correctly.
6979 pipe_works=no
6981 rm -f conftest*
6982 cat > conftest.$ac_ext <<_LT_EOF
6983 #ifdef __cplusplus
6984 extern "C" {
6985 #endif
6986 char nm_test_var;
6987 void nm_test_func(void);
6988 void nm_test_func(void){}
6989 #ifdef __cplusplus
6991 #endif
6992 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 _LT_EOF
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6997 ac_status=$?
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 # Now try to grab the symbols.
7001 nlist=conftest.nm
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s "$nlist"; then
7007 # Try sorting and uniquifying the output.
7008 if sort "$nlist" | uniq > "$nlist"T; then
7009 mv -f "$nlist"T "$nlist"
7010 else
7011 rm -f "$nlist"T
7014 # Make sure that we snagged all the symbols we need.
7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7017 cat <<_LT_EOF > conftest.$ac_ext
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7022 _LT_EOF
7023 # Now generate the symbol file.
7024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7026 cat <<_LT_EOF >> conftest.$ac_ext
7028 /* The mapping between symbol names and symbols. */
7029 const struct {
7030 const char *name;
7031 void *address;
7033 lt__PROGRAM__LTX_preloaded_symbols[] =
7035 { "@PROGRAM@", (void *) 0 },
7036 _LT_EOF
7037 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7038 cat <<\_LT_EOF >> conftest.$ac_ext
7039 {0, (void *) 0}
7042 /* This works around a problem in FreeBSD linker */
7043 #ifdef FREEBSD_WORKAROUND
7044 static const void *lt_preloaded_setup() {
7045 return lt__PROGRAM__LTX_preloaded_symbols;
7047 #endif
7049 #ifdef __cplusplus
7051 #endif
7052 _LT_EOF
7053 # Now try linking the two files.
7054 mv conftest.$ac_objext conftstm.$ac_objext
7055 lt_save_LIBS="$LIBS"
7056 lt_save_CFLAGS="$CFLAGS"
7057 LIBS="conftstm.$ac_objext"
7058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7060 (eval $ac_link) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7064 pipe_works=yes
7066 LIBS="$lt_save_LIBS"
7067 CFLAGS="$lt_save_CFLAGS"
7068 else
7069 echo "cannot find nm_test_func in $nlist" >&5
7071 else
7072 echo "cannot find nm_test_var in $nlist" >&5
7074 else
7075 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 else
7078 echo "$progname: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 rm -rf conftest* conftst*
7083 # Do not use the global_symbol_pipe unless it works.
7084 if test "$pipe_works" = yes; then
7085 break
7086 else
7087 lt_cv_sys_global_symbol_pipe=
7089 done
7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7094 lt_cv_sys_global_symbol_to_cdecl=
7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7098 $as_echo "failed" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7101 $as_echo "ok" >&6; }
7125 # Check whether --enable-libtool-lock was given.
7126 if test "${enable_libtool_lock+set}" = set; then :
7127 enableval=$enable_libtool_lock;
7130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7132 # Some flags need to be propagated to the compiler or linker for good
7133 # libtool support.
7134 case $host in
7135 ia64-*-hpux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.$ac_objext` in
7144 *ELF-32*)
7145 HPUX_IA64_MODE="32"
7147 *ELF-64*)
7148 HPUX_IA64_MODE="64"
7150 esac
7152 rm -rf conftest*
7154 *-*-irix6*)
7155 # Find out which ABI we are using.
7156 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7158 (eval $ac_compile) 2>&5
7159 ac_status=$?
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }; then
7162 if test "$lt_cv_prog_gnu_ld" = yes; then
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *32-bit*)
7165 LD="${LD-ld} -melf32bsmip"
7167 *N32*)
7168 LD="${LD-ld} -melf32bmipn32"
7170 *64-bit*)
7171 LD="${LD-ld} -melf64bmip"
7173 esac
7174 else
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -32"
7179 *N32*)
7180 LD="${LD-ld} -n32"
7182 *64-bit*)
7183 LD="${LD-ld} -64"
7185 esac
7188 rm -rf conftest*
7191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7193 # Find out which ABI we are using.
7194 echo 'int i;' > conftest.$ac_ext
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7197 ac_status=$?
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 case `/usr/bin/file conftest.o` in
7201 *32-bit*)
7202 case $host in
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_i386_fbsd"
7206 x86_64-*linux*)
7207 case `/usr/bin/file conftest.o` in
7208 *x86-64*)
7209 LD="${LD-ld} -m elf32_x86_64"
7212 LD="${LD-ld} -m elf_i386"
7214 esac
7216 powerpc64le-*linux*)
7217 LD="${LD-ld} -m elf32lppclinux"
7219 powerpc64-*linux*)
7220 LD="${LD-ld} -m elf32ppclinux"
7222 s390x-*linux*)
7223 LD="${LD-ld} -m elf_s390"
7225 sparc64-*linux*)
7226 LD="${LD-ld} -m elf32_sparc"
7228 esac
7230 *64-bit*)
7231 case $host in
7232 x86_64-*kfreebsd*-gnu)
7233 LD="${LD-ld} -m elf_x86_64_fbsd"
7235 x86_64-*linux*)
7236 LD="${LD-ld} -m elf_x86_64"
7238 powerpcle-*linux*)
7239 LD="${LD-ld} -m elf64lppc"
7241 powerpc-*linux*)
7242 LD="${LD-ld} -m elf64ppc"
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390"
7247 sparc*-*linux*)
7248 LD="${LD-ld} -m elf64_sparc"
7250 esac
7252 esac
7254 rm -rf conftest*
7257 *-*-sco3.2v5*)
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7262 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 ac_ext=c
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272 if test x$gcc_no_link = xyes; then
7273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7279 main ()
7283 return 0;
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 lt_cv_cc_needs_belf=yes
7288 else
7289 lt_cv_cc_needs_belf=no
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304 CFLAGS="$SAVE_CFLAGS"
7307 sparc*-*solaris*)
7308 # Find out which ABI we are using.
7309 echo 'int i;' > conftest.$ac_ext
7310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7312 ac_status=$?
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 case `/usr/bin/file conftest.o` in
7316 *64-bit*)
7317 case $lt_cv_prog_gnu_ld in
7318 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7320 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 LD="${LD-ld} -64"
7324 esac
7326 esac
7328 rm -rf conftest*
7330 esac
7332 need_locks="$enable_libtool_lock"
7335 case $host_os in
7336 rhapsody* | darwin*)
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$DSYMUTIL"; then
7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7366 if test -n "$DSYMUTIL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7368 $as_echo "$DSYMUTIL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_DSYMUTIL"; then
7377 ac_ct_DSYMUTIL=$DSYMUTIL
7378 # Extract the first word of "dsymutil", so it can be a program name with args.
7379 set dummy dsymutil; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7406 if test -n "$ac_ct_DSYMUTIL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7408 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_DSYMUTIL" = x; then
7415 DSYMUTIL=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 DSYMUTIL=$ac_ct_DSYMUTIL
7425 else
7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$NMEDIT"; then
7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 NMEDIT=$ac_cv_prog_NMEDIT
7458 if test -n "$NMEDIT"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7460 $as_echo "$NMEDIT" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7468 if test -z "$ac_cv_prog_NMEDIT"; then
7469 ac_ct_NMEDIT=$NMEDIT
7470 # Extract the first word of "nmedit", so it can be a program name with args.
7471 set dummy nmedit; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_NMEDIT"; then
7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7498 if test -n "$ac_ct_NMEDIT"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7500 $as_echo "$ac_ct_NMEDIT" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 if test "x$ac_ct_NMEDIT" = x; then
7507 NMEDIT=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 NMEDIT=$ac_ct_NMEDIT
7517 else
7518 NMEDIT="$ac_cv_prog_NMEDIT"
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_LIPO+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$LIPO"; then
7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 LIPO=$ac_cv_prog_LIPO
7550 if test -n "$LIPO"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7552 $as_echo "$LIPO" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_LIPO"; then
7561 ac_ct_LIPO=$LIPO
7562 # Extract the first word of "lipo", so it can be a program name with args.
7563 set dummy lipo; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_LIPO"; then
7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_prog_ac_ct_LIPO="lipo"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7590 if test -n "$ac_ct_LIPO"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7592 $as_echo "$ac_ct_LIPO" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_LIPO" = x; then
7599 LIPO=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 LIPO=$ac_ct_LIPO
7609 else
7610 LIPO="$ac_cv_prog_LIPO"
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL"; then
7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7635 done
7636 done
7637 IFS=$as_save_IFS
7641 OTOOL=$ac_cv_prog_OTOOL
7642 if test -n "$OTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7644 $as_echo "$OTOOL" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7652 if test -z "$ac_cv_prog_OTOOL"; then
7653 ac_ct_OTOOL=$OTOOL
7654 # Extract the first word of "otool", so it can be a program name with args.
7655 set dummy otool; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL"; then
7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 ac_cv_prog_ac_ct_OTOOL="otool"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7675 done
7676 done
7677 IFS=$as_save_IFS
7681 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7682 if test -n "$ac_ct_OTOOL"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7684 $as_echo "$ac_ct_OTOOL" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7690 if test "x$ac_ct_OTOOL" = x; then
7691 OTOOL=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL=$ac_ct_OTOOL
7701 else
7702 OTOOL="$ac_cv_prog_OTOOL"
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 if test -n "$OTOOL64"; then
7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7715 else
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 for as_dir in $PATH
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 break 2
7727 done
7728 done
7729 IFS=$as_save_IFS
7733 OTOOL64=$ac_cv_prog_OTOOL64
7734 if test -n "$OTOOL64"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7736 $as_echo "$OTOOL64" >&6; }
7737 else
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test -z "$ac_cv_prog_OTOOL64"; then
7745 ac_ct_OTOOL64=$OTOOL64
7746 # Extract the first word of "otool64", so it can be a program name with args.
7747 set dummy otool64; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 if test -n "$ac_ct_OTOOL64"; then
7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7755 else
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 for as_dir in $PATH
7759 IFS=$as_save_IFS
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_OTOOL64="otool64"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 break 2
7767 done
7768 done
7769 IFS=$as_save_IFS
7773 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7774 if test -n "$ac_ct_OTOOL64"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7776 $as_echo "$ac_ct_OTOOL64" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7782 if test "x$ac_ct_OTOOL64" = x; then
7783 OTOOL64=":"
7784 else
7785 case $cross_compiling:$ac_tool_warned in
7786 yes:)
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned=yes ;;
7790 esac
7791 OTOOL64=$ac_ct_OTOOL64
7793 else
7794 OTOOL64="$ac_cv_prog_OTOOL64"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7824 $as_echo_n "checking for -single_module linker flag... " >&6; }
7825 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 lt_cv_apple_cc_single_mod=no
7829 if test -z "${LT_MULTI_MODULE}"; then
7830 # By default we will add the -single_module flag. You can override
7831 # by either setting the environment variable LT_MULTI_MODULE
7832 # non-empty at configure time, or by adding -multi_module to the
7833 # link flags.
7834 rm -rf libconftest.dylib*
7835 echo "int foo(void){return 1;}" > conftest.c
7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c" >&5
7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7840 _lt_result=$?
7841 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7842 lt_cv_apple_cc_single_mod=yes
7843 else
7844 cat conftest.err >&5
7846 rm -rf libconftest.dylib*
7847 rm -f conftest.*
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7851 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7853 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7854 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 lt_cv_ld_exported_symbols_list=no
7858 save_LDFLAGS=$LDFLAGS
7859 echo "_main" > conftest.sym
7860 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7861 if test x$gcc_no_link = xyes; then
7862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7868 main ()
7872 return 0;
7874 _ACEOF
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 lt_cv_ld_exported_symbols_list=yes
7877 else
7878 lt_cv_ld_exported_symbols_list=no
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7886 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7888 $as_echo_n "checking for -force_load linker flag... " >&6; }
7889 if test "${lt_cv_ld_force_load+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 lt_cv_ld_force_load=no
7893 cat > conftest.c << _LT_EOF
7894 int forced_loaded() { return 2;}
7895 _LT_EOF
7896 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7897 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7898 echo "$AR cru libconftest.a conftest.o" >&5
7899 $AR cru libconftest.a conftest.o 2>&5
7900 cat > conftest.c << _LT_EOF
7901 int main() { return 0;}
7902 _LT_EOF
7903 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7904 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7905 _lt_result=$?
7906 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7907 lt_cv_ld_force_load=yes
7908 else
7909 cat conftest.err >&5
7911 rm -f conftest.err libconftest.a conftest conftest.c
7912 rm -rf conftest.dSYM
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7916 $as_echo "$lt_cv_ld_force_load" >&6; }
7917 case $host_os in
7918 rhapsody* | darwin1.[012])
7919 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7920 darwin1.*)
7921 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7922 darwin*) # darwin 5.x on
7923 # if running on 10.5 or later, the deployment target defaults
7924 # to the OS version, if on x86, and 10.4, the deployment
7925 # target defaults to 10.4. Don't you love it?
7926 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7927 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7929 10.[012][,.]*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 10.*)
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 esac
7935 esac
7936 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7937 _lt_dar_single_mod='$single_module'
7939 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7940 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7941 else
7942 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7944 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7945 _lt_dsymutil='~$DSYMUTIL $lib || :'
7946 else
7947 _lt_dsymutil=
7950 esac
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7953 $as_echo_n "checking for ANSI C header files... " >&6; }
7954 if test "${ac_cv_header_stdc+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <stdlib.h>
7960 #include <stdarg.h>
7961 #include <string.h>
7962 #include <float.h>
7965 main ()
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"; then :
7973 ac_cv_header_stdc=yes
7974 else
7975 ac_cv_header_stdc=no
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979 if test $ac_cv_header_stdc = yes; then
7980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <string.h>
7985 _ACEOF
7986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7987 $EGREP "memchr" >/dev/null 2>&1; then :
7989 else
7990 ac_cv_header_stdc=no
7992 rm -f conftest*
7996 if test $ac_cv_header_stdc = yes; then
7997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <stdlib.h>
8002 _ACEOF
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "free" >/dev/null 2>&1; then :
8006 else
8007 ac_cv_header_stdc=no
8009 rm -f conftest*
8013 if test $ac_cv_header_stdc = yes; then
8014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8015 if test "$cross_compiling" = yes; then :
8017 else
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 #include <ctype.h>
8021 #include <stdlib.h>
8022 #if ((' ' & 0x0FF) == 0x020)
8023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8025 #else
8026 # define ISLOWER(c) \
8027 (('a' <= (c) && (c) <= 'i') \
8028 || ('j' <= (c) && (c) <= 'r') \
8029 || ('s' <= (c) && (c) <= 'z'))
8030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #endif
8033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8035 main ()
8037 int i;
8038 for (i = 0; i < 256; i++)
8039 if (XOR (islower (i), ISLOWER (i))
8040 || toupper (i) != TOUPPER (i))
8041 return 2;
8042 return 0;
8044 _ACEOF
8045 if ac_fn_c_try_run "$LINENO"; then :
8047 else
8048 ac_cv_header_stdc=no
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8057 $as_echo "$ac_cv_header_stdc" >&6; }
8058 if test $ac_cv_header_stdc = yes; then
8060 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8066 inttypes.h stdint.h unistd.h
8067 do :
8068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8071 eval as_val=\$$as_ac_Header
8072 if test "x$as_val" = x""yes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8079 done
8082 for ac_header in dlfcn.h
8083 do :
8084 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DLFCN_H 1
8089 _ACEOF
8093 done
8100 # Set options
8105 enable_win32_dll=no
8108 # Check whether --enable-shared was given.
8109 if test "${enable_shared+set}" = set; then :
8110 enableval=$enable_shared; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_shared=yes ;;
8113 no) enable_shared=no ;;
8115 enable_shared=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8118 for pkg in $enableval; do
8119 IFS="$lt_save_ifs"
8120 if test "X$pkg" = "X$p"; then
8121 enable_shared=yes
8123 done
8124 IFS="$lt_save_ifs"
8126 esac
8127 else
8128 enable_shared=yes
8139 # Check whether --enable-static was given.
8140 if test "${enable_static+set}" = set; then :
8141 enableval=$enable_static; p=${PACKAGE-default}
8142 case $enableval in
8143 yes) enable_static=yes ;;
8144 no) enable_static=no ;;
8146 enable_static=no
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8149 for pkg in $enableval; do
8150 IFS="$lt_save_ifs"
8151 if test "X$pkg" = "X$p"; then
8152 enable_static=yes
8154 done
8155 IFS="$lt_save_ifs"
8157 esac
8158 else
8159 enable_static=yes
8171 # Check whether --with-pic was given.
8172 if test "${with_pic+set}" = set; then :
8173 withval=$with_pic; pic_mode="$withval"
8174 else
8175 pic_mode=default
8179 test -z "$pic_mode" && pic_mode=default
8187 # Check whether --enable-fast-install was given.
8188 if test "${enable_fast_install+set}" = set; then :
8189 enableval=$enable_fast_install; p=${PACKAGE-default}
8190 case $enableval in
8191 yes) enable_fast_install=yes ;;
8192 no) enable_fast_install=no ;;
8194 enable_fast_install=no
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197 for pkg in $enableval; do
8198 IFS="$lt_save_ifs"
8199 if test "X$pkg" = "X$p"; then
8200 enable_fast_install=yes
8202 done
8203 IFS="$lt_save_ifs"
8205 esac
8206 else
8207 enable_fast_install=yes
8220 # This can be used to rebuild libtool when needed
8221 LIBTOOL_DEPS="$ltmain"
8223 # Always use our own libtool.
8224 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8251 test -z "$LN_S" && LN_S="ln -s"
8266 if test -n "${ZSH_VERSION+set}" ; then
8267 setopt NO_GLOB_SUBST
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8271 $as_echo_n "checking for objdir... " >&6; }
8272 if test "${lt_cv_objdir+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 rm -f .libs 2>/dev/null
8276 mkdir .libs 2>/dev/null
8277 if test -d .libs; then
8278 lt_cv_objdir=.libs
8279 else
8280 # MS-DOS does not allow filenames that begin with a dot.
8281 lt_cv_objdir=_libs
8283 rmdir .libs 2>/dev/null
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8286 $as_echo "$lt_cv_objdir" >&6; }
8287 objdir=$lt_cv_objdir
8293 cat >>confdefs.h <<_ACEOF
8294 #define LT_OBJDIR "$lt_cv_objdir/"
8295 _ACEOF
8300 case $host_os in
8301 aix3*)
8302 # AIX sometimes has problems with the GCC collect2 program. For some
8303 # reason, if we set the COLLECT_NAMES environment variable, the problems
8304 # vanish in a puff of smoke.
8305 if test "X${COLLECT_NAMES+set}" != Xset; then
8306 COLLECT_NAMES=
8307 export COLLECT_NAMES
8310 esac
8312 # Global variables:
8313 ofile=libtool
8314 can_build_shared=yes
8316 # All known linkers require a `.a' archive for static linking (except MSVC,
8317 # which needs '.lib').
8318 libext=a
8320 with_gnu_ld="$lt_cv_prog_gnu_ld"
8322 old_CC="$CC"
8323 old_CFLAGS="$CFLAGS"
8325 # Set sane defaults for various variables
8326 test -z "$CC" && CC=cc
8327 test -z "$LTCC" && LTCC=$CC
8328 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8329 test -z "$LD" && LD=ld
8330 test -z "$ac_objext" && ac_objext=o
8332 for cc_temp in $compiler""; do
8333 case $cc_temp in
8334 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8335 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8336 \-*) ;;
8337 *) break;;
8338 esac
8339 done
8340 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8343 # Only perform the check for file, if the check method requires it
8344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8345 case $deplibs_check_method in
8346 file_magic*)
8347 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $MAGIC_CMD in
8354 [\\/*] | ?:[\\/]*)
8355 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8358 lt_save_MAGIC_CMD="$MAGIC_CMD"
8359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8360 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8361 for ac_dir in $ac_dummy; do
8362 IFS="$lt_save_ifs"
8363 test -z "$ac_dir" && ac_dir=.
8364 if test -f $ac_dir/${ac_tool_prefix}file; then
8365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8366 if test -n "$file_magic_test_file"; then
8367 case $deplibs_check_method in
8368 "file_magic "*)
8369 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8372 $EGREP "$file_magic_regex" > /dev/null; then
8374 else
8375 cat <<_LT_EOF 1>&2
8377 *** Warning: the command libtool uses to detect shared libraries,
8378 *** $file_magic_cmd, produces output that libtool cannot recognize.
8379 *** The result is that libtool may fail to recognize shared libraries
8380 *** as such. This will affect the creation of libtool libraries that
8381 *** depend on shared libraries, but programs linked with such libtool
8382 *** libraries will work regardless of this problem. Nevertheless, you
8383 *** may want to report the problem to your system manager and/or to
8384 *** bug-libtool@gnu.org
8386 _LT_EOF
8387 fi ;;
8388 esac
8390 break
8392 done
8393 IFS="$lt_save_ifs"
8394 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 esac
8399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8400 if test -n "$MAGIC_CMD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8402 $as_echo "$MAGIC_CMD" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8412 if test -z "$lt_cv_path_MAGIC_CMD"; then
8413 if test -n "$ac_tool_prefix"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8415 $as_echo_n "checking for file... " >&6; }
8416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 case $MAGIC_CMD in
8420 [\\/*] | ?:[\\/]*)
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8428 IFS="$lt_save_ifs"
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8434 "file_magic "*)
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8440 else
8441 cat <<_LT_EOF 1>&2
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8452 _LT_EOF
8453 fi ;;
8454 esac
8456 break
8458 done
8459 IFS="$lt_save_ifs"
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8462 esac
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8475 else
8476 MAGIC_CMD=:
8482 esac
8484 # Use C for the default configuration in the libtool script
8486 lt_save_CC="$CC"
8487 ac_ext=c
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494 # Source file extension for C test sources.
8495 ac_ext=c
8497 # Object file extension for compiled C test sources.
8498 objext=o
8499 objext=$objext
8501 # Code to be used in simple compile tests
8502 lt_simple_compile_test_code="int some_variable = 0;"
8504 # Code to be used in simple link tests
8505 lt_simple_link_test_code='int main(){return(0);}'
8513 # If no C compiler was specified, use CC.
8514 LTCC=${LTCC-"$CC"}
8516 # If no C compiler flags were specified, use CFLAGS.
8517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8519 # Allow CC to be a program name with arguments.
8520 compiler=$CC
8522 # Save the default compiler, since it gets overwritten when the other
8523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8524 compiler_DEFAULT=$CC
8526 # save warnings/boilerplate of simple test code
8527 ac_outfile=conftest.$ac_objext
8528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_compiler_boilerplate=`cat conftest.err`
8531 $RM conftest*
8533 ac_outfile=conftest.$ac_objext
8534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8536 _lt_linker_boilerplate=`cat conftest.err`
8537 $RM -r conftest*
8540 ## CAVEAT EMPTOR:
8541 ## There is no encapsulation within the following macros, do not change
8542 ## the running order or otherwise move them around unless you know exactly
8543 ## what you are doing...
8544 if test -n "$compiler"; then
8546 lt_prog_compiler_no_builtin_flag=
8548 if test "$GCC" = yes; then
8549 case $cc_basename in
8550 nvcc*)
8551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8554 esac
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 lt_cv_prog_compiler_rtti_exceptions=no
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564 lt_compiler_flag="-fno-rtti -fno-exceptions"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err)
8576 ac_status=$?
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585 lt_cv_prog_compiler_rtti_exceptions=yes
8588 $RM conftest*
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8595 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 else
8607 lt_prog_compiler_wl=
8608 lt_prog_compiler_pic=
8609 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8614 if test "$GCC" = yes; then
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_static='-static'
8618 case $host_os in
8619 aix*)
8620 # All AIX code is PIC.
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_pic='-fPIC'
8628 amigaos*)
8629 case $host_cpu in
8630 powerpc)
8631 # see comment about AmigaOS4 .so support
8632 lt_prog_compiler_pic='-fPIC'
8634 m68k)
8635 # FIXME: we need at least 68020 code to build shared libraries, but
8636 # adding the `-m68020' flag to GCC prevents building anything better,
8637 # like `-m68040'.
8638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 esac
8643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8644 # PIC is the default for these OSes.
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8651 # (--disable-auto-import) libraries
8652 lt_prog_compiler_pic='-DDLL_EXPORT'
8655 darwin* | rhapsody*)
8656 # PIC is the default on this platform
8657 # Common symbols not allowed in MH_DYLIB files
8658 lt_prog_compiler_pic='-fno-common'
8661 haiku*)
8662 # PIC is the default for Haiku.
8663 # The "-static" flag exists, but is broken.
8664 lt_prog_compiler_static=
8667 hpux*)
8668 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8669 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8670 # sets the default TLS model and affects inlining.
8671 case $host_cpu in
8672 hppa*64*)
8673 # +Z the default
8676 lt_prog_compiler_pic='-fPIC'
8678 esac
8681 interix[3-9]*)
8682 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8683 # Instead, we relocate shared libraries at runtime.
8686 msdosdjgpp*)
8687 # Just because we use GCC doesn't mean we suddenly get shared libraries
8688 # on systems that don't support them.
8689 lt_prog_compiler_can_build_shared=no
8690 enable_shared=no
8693 *nto* | *qnx*)
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8695 # it will coredump.
8696 lt_prog_compiler_pic='-fPIC -shared'
8699 sysv4*MP*)
8700 if test -d /usr/nec; then
8701 lt_prog_compiler_pic=-Kconform_pic
8706 lt_prog_compiler_pic='-fPIC'
8708 esac
8710 case $cc_basename in
8711 nvcc*) # Cuda Compiler Driver 2.2
8712 lt_prog_compiler_wl='-Xlinker '
8713 lt_prog_compiler_pic='-Xcompiler -fPIC'
8715 esac
8716 else
8717 # PORTME Check for flag to pass linker flags through the system compiler.
8718 case $host_os in
8719 aix*)
8720 lt_prog_compiler_wl='-Wl,'
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8724 else
8725 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8729 mingw* | cygwin* | pw32* | os2* | cegcc*)
8730 # This hack is so that the source file can tell whether it is being
8731 # built for inclusion in a dll (and should export symbols for example).
8732 lt_prog_compiler_pic='-DDLL_EXPORT'
8735 hpux9* | hpux10* | hpux11*)
8736 lt_prog_compiler_wl='-Wl,'
8737 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8738 # not for PA HP-UX.
8739 case $host_cpu in
8740 hppa*64*|ia64*)
8741 # +Z the default
8744 lt_prog_compiler_pic='+Z'
8746 esac
8747 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8748 lt_prog_compiler_static='${wl}-a ${wl}archive'
8751 irix5* | irix6* | nonstopux*)
8752 lt_prog_compiler_wl='-Wl,'
8753 # PIC (with -KPIC) is the default.
8754 lt_prog_compiler_static='-non_shared'
8757 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8758 case $cc_basename in
8759 # old Intel for x86_64 which still supported -KPIC.
8760 ecc*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-static'
8765 # icc used to be incompatible with GCC.
8766 # ICC 10 doesn't accept -KPIC any more.
8767 icc* | ifort*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fPIC'
8770 lt_prog_compiler_static='-static'
8772 # Lahey Fortran 8.1.
8773 lf95*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='--shared'
8776 lt_prog_compiler_static='--static'
8778 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group compilers (*not* the Pentium gcc compiler,
8780 # which looks to be a dead project)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-fpic'
8783 lt_prog_compiler_static='-Bstatic'
8785 ccc*)
8786 lt_prog_compiler_wl='-Wl,'
8787 # All Alpha code is PIC.
8788 lt_prog_compiler_static='-non_shared'
8790 xl* | bgxl* | bgf* | mpixl*)
8791 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-qpic'
8794 lt_prog_compiler_static='-qstaticlink'
8797 case `$CC -V 2>&1 | sed 5q` in
8798 *Sun\ F* | *Sun*Fortran*)
8799 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl=''
8804 *Sun\ C*)
8805 # Sun C 5.9
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8810 esac
8812 esac
8815 newsos6)
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8820 *nto* | *qnx*)
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8822 # it will coredump.
8823 lt_prog_compiler_pic='-fPIC -shared'
8826 osf3* | osf4* | osf5*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # All OSF/1 code is PIC.
8829 lt_prog_compiler_static='-non_shared'
8832 rdos*)
8833 lt_prog_compiler_static='-non_shared'
8836 solaris*)
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8839 case $cc_basename in
8840 f77* | f90* | f95*)
8841 lt_prog_compiler_wl='-Qoption ld ';;
8843 lt_prog_compiler_wl='-Wl,';;
8844 esac
8847 sunos4*)
8848 lt_prog_compiler_wl='-Qoption ld '
8849 lt_prog_compiler_pic='-PIC'
8850 lt_prog_compiler_static='-Bstatic'
8853 sysv4 | sysv4.2uw2* | sysv4.3*)
8854 lt_prog_compiler_wl='-Wl,'
8855 lt_prog_compiler_pic='-KPIC'
8856 lt_prog_compiler_static='-Bstatic'
8859 sysv4*MP*)
8860 if test -d /usr/nec ;then
8861 lt_prog_compiler_pic='-Kconform_pic'
8862 lt_prog_compiler_static='-Bstatic'
8866 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8872 unicos*)
8873 lt_prog_compiler_wl='-Wl,'
8874 lt_prog_compiler_can_build_shared=no
8877 uts4*)
8878 lt_prog_compiler_pic='-pic'
8879 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_can_build_shared=no
8885 esac
8888 case $host_os in
8889 # For platforms which do not support PIC, -DPIC is meaningless:
8890 *djgpp*)
8891 lt_prog_compiler_pic=
8894 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8896 esac
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8898 $as_echo "$lt_prog_compiler_pic" >&6; }
8906 # Check to make sure the PIC flag actually works.
8908 if test -n "$lt_prog_compiler_pic"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_pic_works=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_pic_works=yes
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8947 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8948 case $lt_prog_compiler_pic in
8949 "" | " "*) ;;
8950 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8951 esac
8952 else
8953 lt_prog_compiler_pic=
8954 lt_prog_compiler_can_build_shared=no
8965 # Check to make sure the static flag actually works.
8967 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8969 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8970 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_static_works=no
8974 save_LDFLAGS="$LDFLAGS"
8975 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8978 # The linker can only warn and ignore the option if not recognized
8979 # So say no if there are warnings
8980 if test -s conftest.err; then
8981 # Append any errors to the config.log.
8982 cat conftest.err 1>&5
8983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8985 if diff conftest.exp conftest.er2 >/dev/null; then
8986 lt_cv_prog_compiler_static_works=yes
8988 else
8989 lt_cv_prog_compiler_static_works=yes
8992 $RM -r conftest*
8993 LDFLAGS="$save_LDFLAGS"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9001 else
9002 lt_prog_compiler_static=
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_c_o=no
9017 $RM -r conftest 2>/dev/null
9018 mkdir conftest
9019 cd conftest
9020 mkdir out
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-o out/conftest2.$ac_objext"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>out/conftest.err)
9034 ac_status=$?
9035 cat out/conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9038 then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_c_o=yes
9047 chmod u+w . 2>&5
9048 $RM conftest*
9049 # SGI C++ compiler will create directory out/ii_files/ for
9050 # template instantiation
9051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9052 $RM out/* && rmdir out
9053 cd ..
9054 $RM -r conftest
9055 $RM conftest*
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9059 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_c_o=no
9072 $RM -r conftest 2>/dev/null
9073 mkdir conftest
9074 cd conftest
9075 mkdir out
9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9078 lt_compiler_flag="-o out/conftest2.$ac_objext"
9079 # Insert the option either (1) after the last *FLAGS variable, or
9080 # (2) before a word containing "conftest.", or (3) at the end.
9081 # Note that $ac_compile itself does not contain backslashes and begins
9082 # with a dollar sign (not a hyphen), so the echo should work correctly.
9083 lt_compile=`echo "$ac_compile" | $SED \
9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086 -e 's:$: $lt_compiler_flag:'`
9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088 (eval "$lt_compile" 2>out/conftest.err)
9089 ac_status=$?
9090 cat out/conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 then
9094 # The compiler can only warn and ignore the option if not recognized
9095 # So say no if there are warnings
9096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9099 lt_cv_prog_compiler_c_o=yes
9102 chmod u+w . 2>&5
9103 $RM conftest*
9104 # SGI C++ compiler will create directory out/ii_files/ for
9105 # template instantiation
9106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9107 $RM out/* && rmdir out
9108 cd ..
9109 $RM -r conftest
9110 $RM conftest*
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 hard_links="nottested"
9120 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9121 # do not overwrite the value of need_locks provided by the user
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9123 $as_echo_n "checking if we can lock with hard links... " >&6; }
9124 hard_links=yes
9125 $RM conftest*
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 touch conftest.a
9128 ln conftest.a conftest.b 2>&5 || hard_links=no
9129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9131 $as_echo "$hard_links" >&6; }
9132 if test "$hard_links" = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9135 need_locks=warn
9137 else
9138 need_locks=no
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9149 runpath_var=
9150 allow_undefined_flag=
9151 always_export_symbols=no
9152 archive_cmds=
9153 archive_expsym_cmds=
9154 compiler_needs_object=no
9155 enable_shared_with_static_runtimes=no
9156 export_dynamic_flag_spec=
9157 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9158 hardcode_automatic=no
9159 hardcode_direct=no
9160 hardcode_direct_absolute=no
9161 hardcode_libdir_flag_spec=
9162 hardcode_libdir_flag_spec_ld=
9163 hardcode_libdir_separator=
9164 hardcode_minus_L=no
9165 hardcode_shlibpath_var=unsupported
9166 inherit_rpath=no
9167 link_all_deplibs=unknown
9168 module_cmds=
9169 module_expsym_cmds=
9170 old_archive_from_new_cmds=
9171 old_archive_from_expsyms_cmds=
9172 thread_safe_flag_spec=
9173 whole_archive_flag_spec=
9174 # include_expsyms should be a list of space-separated symbols to be *always*
9175 # included in the symbol list
9176 include_expsyms=
9177 # exclude_expsyms can be an extended regexp of symbols to exclude
9178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9180 # as well as any symbol that contains `d'.
9181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9183 # platforms (ab)use it in PIC code, but their linkers get confused if
9184 # the symbol is explicitly referenced. Since portable code cannot
9185 # rely on this symbol name, it's probably fine to never include it in
9186 # preloaded symbol tables.
9187 # Exclude shared library initialization/finalization symbols.
9188 extract_expsyms_cmds=
9190 case $host_os in
9191 cygwin* | mingw* | pw32* | cegcc*)
9192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 if test "$GCC" != yes; then
9196 with_gnu_ld=no
9199 interix*)
9200 # we just hope/assume this is gcc and not c89 (= MSVC++)
9201 with_gnu_ld=yes
9203 openbsd*)
9204 with_gnu_ld=no
9206 esac
9208 ld_shlibs=yes
9210 # On some targets, GNU ld is compatible enough with the native linker
9211 # that we're better off using the native interface for both.
9212 lt_use_gnu_ld_interface=no
9213 if test "$with_gnu_ld" = yes; then
9214 case $host_os in
9215 aix*)
9216 # The AIX port of GNU ld has always aspired to compatibility
9217 # with the native linker. However, as the warning in the GNU ld
9218 # block says, versions before 2.19.5* couldn't really create working
9219 # shared libraries, regardless of the interface used.
9220 case `$LD -v 2>&1` in
9221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9225 lt_use_gnu_ld_interface=yes
9227 esac
9230 lt_use_gnu_ld_interface=yes
9232 esac
9235 if test "$lt_use_gnu_ld_interface" = yes; then
9236 # If archive_cmds runs LD, not CC, wlarc should be empty
9237 wlarc='${wl}'
9239 # Set some defaults for GNU ld with shared library support. These
9240 # are reset later if shared libraries are not supported. Putting them
9241 # here allows them to be overridden if necessary.
9242 runpath_var=LD_RUN_PATH
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 export_dynamic_flag_spec='${wl}--export-dynamic'
9245 # ancient GNU ld didn't support --whole-archive et. al.
9246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9248 else
9249 whole_archive_flag_spec=
9251 supports_anon_versioning=no
9252 case `$LD -v 2>&1` in
9253 *GNU\ gold*) supports_anon_versioning=yes ;;
9254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9257 *\ 2.11.*) ;; # other 2.11 versions
9258 *) supports_anon_versioning=yes ;;
9259 esac
9261 # See if GNU ld supports shared libraries.
9262 case $host_os in
9263 aix[3-9]*)
9264 # On AIX/PPC, the GNU linker is very broken
9265 if test "$host_cpu" != ia64; then
9266 ld_shlibs=no
9267 cat <<_LT_EOF 1>&2
9269 *** Warning: the GNU linker, at least up to release 2.19, is reported
9270 *** to be unable to reliably create shared libraries on AIX.
9271 *** Therefore, libtool is disabling shared libraries support. If you
9272 *** really care for shared libraries, you may want to install binutils
9273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9274 *** You will then need to restart the configuration process.
9276 _LT_EOF
9280 amigaos*)
9281 case $host_cpu in
9282 powerpc)
9283 # see comment about AmigaOS4 .so support
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds=''
9287 m68k)
9288 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)'
9289 hardcode_libdir_flag_spec='-L$libdir'
9290 hardcode_minus_L=yes
9292 esac
9295 beos*)
9296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9297 allow_undefined_flag=unsupported
9298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9299 # support --undefined. This deserves some investigation. FIXME
9300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 else
9302 ld_shlibs=no
9306 cygwin* | mingw* | pw32* | cegcc*)
9307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9308 # as there is no search path for DLLs.
9309 hardcode_libdir_flag_spec='-L$libdir'
9310 export_dynamic_flag_spec='${wl}--export-all-symbols'
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=no
9313 enable_shared_with_static_runtimes=yes
9314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 # If the export-symbols file already is a .def file (1st line
9319 # is EXPORTS), use it as is; otherwise, prepend...
9320 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9321 cp $export_symbols $output_objdir/$soname.def;
9322 else
9323 echo EXPORTS > $output_objdir/$soname.def;
9324 cat $export_symbols >> $output_objdir/$soname.def;
9326 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 else
9328 ld_shlibs=no
9332 haiku*)
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 link_all_deplibs=yes
9337 interix[3-9]*)
9338 hardcode_direct=no
9339 hardcode_shlibpath_var=no
9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9341 export_dynamic_flag_spec='${wl}-E'
9342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9343 # Instead, shared libraries are loaded at an image base (0x10000000 by
9344 # default) and relocated if they conflict, which is a slow very memory
9345 # consuming and fragmenting process. To avoid this, we pick a random,
9346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9348 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9349 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'
9352 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9353 tmp_diet=no
9354 if test "$host_os" = linux-dietlibc; then
9355 case $cc_basename in
9356 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9357 esac
9359 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9360 && test "$tmp_diet" = no
9361 then
9362 tmp_addflag=' $pic_flag'
9363 tmp_sharedflag='-shared'
9364 case $cc_basename,$host_cpu in
9365 pgcc*) # Portland Group C compiler
9366 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'
9367 tmp_addflag=' $pic_flag'
9369 pgf77* | pgf90* | pgf95* | pgfortran*)
9370 # Portland Group f77 and f90 compilers
9371 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'
9372 tmp_addflag=' $pic_flag -Mnomain' ;;
9373 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9374 tmp_addflag=' -i_dynamic' ;;
9375 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9376 tmp_addflag=' -i_dynamic -nofor_main' ;;
9377 ifc* | ifort*) # Intel Fortran compiler
9378 tmp_addflag=' -nofor_main' ;;
9379 lf95*) # Lahey Fortran 8.1
9380 whole_archive_flag_spec=
9381 tmp_sharedflag='--shared' ;;
9382 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9383 tmp_sharedflag='-qmkshrobj'
9384 tmp_addflag= ;;
9385 nvcc*) # Cuda Compiler Driver 2.2
9386 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'
9387 compiler_needs_object=yes
9389 esac
9390 case `$CC -V 2>&1 | sed 5q` in
9391 *Sun\ C*) # Sun C 5.9
9392 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'
9393 compiler_needs_object=yes
9394 tmp_sharedflag='-G' ;;
9395 *Sun\ F*) # Sun Fortran 8.3
9396 tmp_sharedflag='-G' ;;
9397 esac
9398 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 if test "x$supports_anon_versioning" = xyes; then
9401 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9403 echo "local: *; };" >> $output_objdir/$libname.ver~
9404 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9407 case $cc_basename in
9408 xlf* | bgf* | bgxlf* | mpixlf*)
9409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9411 hardcode_libdir_flag_spec=
9412 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9413 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9414 if test "x$supports_anon_versioning" = xyes; then
9415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9417 echo "local: *; };" >> $output_objdir/$libname.ver~
9418 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9421 esac
9422 else
9423 ld_shlibs=no
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9430 wlarc=
9431 else
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 solaris*)
9438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9439 ld_shlibs=no
9440 cat <<_LT_EOF 1>&2
9442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9443 *** create shared libraries on Solaris systems. Therefore, libtool
9444 *** is disabling shared libraries support. We urge you to upgrade GNU
9445 *** binutils to release 2.9.1 or newer. Another option is to modify
9446 *** your PATH or compiler configuration so that the native linker is
9447 *** used, and then restart.
9449 _LT_EOF
9450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 else
9454 ld_shlibs=no
9458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9459 case `$LD -v 2>&1` in
9460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9461 ld_shlibs=no
9462 cat <<_LT_EOF 1>&2
9464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9465 *** reliably create shared libraries on SCO systems. Therefore, libtool
9466 *** is disabling shared libraries support. We urge you to upgrade GNU
9467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9468 *** your PATH or compiler configuration so that the native linker is
9469 *** used, and then restart.
9471 _LT_EOF
9474 # For security reasons, it is highly recommended that you always
9475 # use absolute paths for naming shared libraries, and exclude the
9476 # DT_RUNPATH tag from executables and libraries. But doing so
9477 # requires that you compile everything twice, which is a pain.
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 else
9483 ld_shlibs=no
9486 esac
9489 sunos4*)
9490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 wlarc=
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 else
9501 ld_shlibs=no
9504 esac
9506 if test "$ld_shlibs" = no; then
9507 runpath_var=
9508 hardcode_libdir_flag_spec=
9509 export_dynamic_flag_spec=
9510 whole_archive_flag_spec=
9512 else
9513 # PORTME fill in a description of your system's linker (not GNU ld)
9514 case $host_os in
9515 aix3*)
9516 allow_undefined_flag=unsupported
9517 always_export_symbols=yes
9518 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'
9519 # Note: this linker hardcodes the directories in LIBPATH if there
9520 # are no directories specified by -L.
9521 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9523 # Neither direct hardcoding nor static linking is supported with a
9524 # broken collect2.
9525 hardcode_direct=unsupported
9529 aix[4-9]*)
9530 if test "$host_cpu" = ia64; then
9531 # On IA64, the linker does run time linking by default, so we don't
9532 # have to do anything special.
9533 aix_use_runtimelinking=no
9534 exp_sym_flag='-Bexport'
9535 no_entry_flag=""
9536 else
9537 # If we're using GNU nm, then we don't want the "-C" option.
9538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539 # Also, AIX nm treats weak defined symbols like other global
9540 # defined symbols, whereas GNU nm marks them as "W".
9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9542 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'
9543 else
9544 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'
9546 aix_use_runtimelinking=no
9548 # Test if we are trying to use run time linking or normal
9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9550 # need to do runtime linking.
9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9552 for ld_flag in $LDFLAGS; do
9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9554 aix_use_runtimelinking=yes
9555 break
9557 done
9559 esac
9561 exp_sym_flag='-bexport'
9562 no_entry_flag='-bnoentry'
9565 # When large executables or shared objects are built, AIX ld can
9566 # have problems creating the table of contents. If linking a library
9567 # or program results in "error TOC overflow" add -mminimal-toc to
9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9571 archive_cmds=''
9572 hardcode_direct=yes
9573 hardcode_direct_absolute=yes
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 file_list_spec='${wl}-f,'
9578 if test "$GCC" = yes; then
9579 case $host_os in aix4.[012]|aix4.[012].*)
9580 # We only want to do this on AIX 4.2 and lower, the check
9581 # below for broken collect2 doesn't work under 4.3+
9582 collect2name=`${CC} -print-prog-name=collect2`
9583 if test -f "$collect2name" &&
9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9585 then
9586 # We have reworked collect2
9588 else
9589 # We have old collect2
9590 hardcode_direct=unsupported
9591 # It fails to find uninstalled libraries when the uninstalled
9592 # path is not listed in the libpath. Setting hardcode_minus_L
9593 # to unsupported forces relinking
9594 hardcode_minus_L=yes
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_libdir_separator=
9599 esac
9600 shared_flag='-shared'
9601 if test "$aix_use_runtimelinking" = yes; then
9602 shared_flag="$shared_flag "'${wl}-G'
9604 else
9605 # not using gcc
9606 if test "$host_cpu" = ia64; then
9607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9608 # chokes on -Wl,-G. The following line is correct:
9609 shared_flag='-G'
9610 else
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag='${wl}-G'
9613 else
9614 shared_flag='${wl}-bM:SRE'
9619 export_dynamic_flag_spec='${wl}-bexpall'
9620 # It seems that -bexpall does not export symbols beginning with
9621 # underscore (_), so it is better to generate a list of symbols to export.
9622 always_export_symbols=yes
9623 if test "$aix_use_runtimelinking" = yes; then
9624 # Warning - without using the other runtime loading flags (-brtl),
9625 # -berok will link without error, but may produce a broken library.
9626 allow_undefined_flag='-berok'
9627 # Determine the default libpath from the value encoded in an
9628 # empty executable.
9629 if test x$gcc_no_link = xyes; then
9630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9636 main ()
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9645 lt_aix_libpath_sed='
9646 /Import File Strings/,/^$/ {
9647 /^0/ {
9648 s/^0 *\(.*\)$/\1/
9652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 # Check for a 64-bit object if we didn't find anything.
9654 if test -z "$aix_libpath"; then
9655 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 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"
9664 else
9665 if test "$host_cpu" = ia64; then
9666 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9667 allow_undefined_flag="-z nodefs"
9668 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"
9669 else
9670 # Determine the default libpath from the value encoded in an
9671 # empty executable.
9672 if test x$gcc_no_link = xyes; then
9673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9688 lt_aix_libpath_sed='
9689 /Import File Strings/,/^$/ {
9690 /^0/ {
9691 s/^0 *\(.*\)$/\1/
9695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 # Check for a 64-bit object if we didn't find anything.
9697 if test -z "$aix_libpath"; then
9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 else
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 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'
9724 amigaos*)
9725 case $host_cpu in
9726 powerpc)
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9731 m68k)
9732 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)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9736 esac
9739 bsdi[45]*)
9740 export_dynamic_flag_spec=-rdynamic
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 hardcode_libdir_flag_spec=' '
9749 allow_undefined_flag=unsupported
9750 # Tell ltmain to make .lib files, not .a files.
9751 libext=lib
9752 # Tell ltmain to make .dll files, not .so files.
9753 shrext_cmds=".dll"
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 fix_srcfile_path='`cygpath -w "$srcfile"`'
9761 enable_shared_with_static_runtimes=yes
9764 darwin* | rhapsody*)
9767 archive_cmds_need_lc=no
9768 hardcode_direct=no
9769 hardcode_automatic=yes
9770 hardcode_shlibpath_var=unsupported
9771 if test "$lt_cv_ld_force_load" = "yes"; then
9772 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\"`'
9773 else
9774 whole_archive_flag_spec=''
9776 link_all_deplibs=yes
9777 allow_undefined_flag="$_lt_dar_allow_undefined"
9778 case $cc_basename in
9779 ifort*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test "$_lt_dar_can_shared" = "yes"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9786 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}"
9787 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}"
9789 else
9790 ld_shlibs=no
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9828 hpux9*)
9829 if test "$GCC" = yes; then
9830 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'
9831 else
9832 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'
9834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='${wl}-E'
9844 hpux10*)
9845 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 if test "$with_gnu_ld" = no; then
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_flag_spec_ld='+b $libdir'
9853 hardcode_libdir_separator=:
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L=yes
9863 hpux11*)
9864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9865 case $host_cpu in
9866 hppa*64*)
9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 ia64*)
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9875 esac
9876 else
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9886 # Older versions of the 11.00 compiler do not understand -b yet
9887 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9889 $as_echo_n "checking if $CC understands -b... " >&6; }
9890 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 lt_cv_prog_compiler__b=no
9894 save_LDFLAGS="$LDFLAGS"
9895 LDFLAGS="$LDFLAGS -b"
9896 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9897 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err; then
9901 # Append any errors to the config.log.
9902 cat conftest.err 1>&5
9903 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9905 if diff conftest.exp conftest.er2 >/dev/null; then
9906 lt_cv_prog_compiler__b=yes
9908 else
9909 lt_cv_prog_compiler__b=yes
9912 $RM -r conftest*
9913 LDFLAGS="$save_LDFLAGS"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9917 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9919 if test x"$lt_cv_prog_compiler__b" = xyes; then
9920 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 else
9922 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9926 esac
9928 if test "$with_gnu_ld" = no; then
9929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator=:
9932 case $host_cpu in
9933 hppa*64*|ia64*)
9934 hardcode_direct=no
9935 hardcode_shlibpath_var=no
9938 hardcode_direct=yes
9939 hardcode_direct_absolute=yes
9940 export_dynamic_flag_spec='${wl}-E'
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9946 esac
9950 irix5* | irix6* | nonstopux*)
9951 if test "$GCC" = yes; then
9952 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'
9953 # Try to use the -exported_symbol ld option, if it does not
9954 # work, assume that -exports_file does not work either and
9955 # implicitly export all symbols.
9956 save_LDFLAGS="$LDFLAGS"
9957 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9958 if test x$gcc_no_link = xyes; then
9959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo(void) {}
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 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'
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LDFLAGS="$save_LDFLAGS"
9972 else
9973 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'
9974 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'
9976 archive_cmds_need_lc='no'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 inherit_rpath=yes
9980 link_all_deplibs=yes
9983 netbsd*)
9984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9986 else
9987 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_direct=yes
9991 hardcode_shlibpath_var=no
9994 newsos6)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 hardcode_libdir_separator=:
9999 hardcode_shlibpath_var=no
10002 *nto* | *qnx*)
10005 openbsd*)
10006 if test -f /usr/libexec/ld.so; then
10007 hardcode_direct=yes
10008 hardcode_shlibpath_var=no
10009 hardcode_direct_absolute=yes
10010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 export_dynamic_flag_spec='${wl}-E'
10015 else
10016 case $host_os in
10017 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10018 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_libdir_flag_spec='-R$libdir'
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 esac
10027 else
10028 ld_shlibs=no
10032 os2*)
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10035 allow_undefined_flag=unsupported
10036 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'
10037 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10040 osf3*)
10041 if test "$GCC" = yes; then
10042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10043 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'
10044 else
10045 allow_undefined_flag=' -expect_unresolved \*'
10046 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'
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator=:
10053 osf4* | osf5*) # as osf3* with the addition of -msym flag
10054 if test "$GCC" = yes; then
10055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10056 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'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 else
10059 allow_undefined_flag=' -expect_unresolved \*'
10060 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'
10061 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~
10062 $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'
10064 # Both c and cxx compiler support -rpath directly
10065 hardcode_libdir_flag_spec='-rpath $libdir'
10067 archive_cmds_need_lc='no'
10068 hardcode_libdir_separator=:
10071 solaris*)
10072 no_undefined_flag=' -z defs'
10073 if test "$GCC" = yes; then
10074 wlarc='${wl}'
10075 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10078 else
10079 case `$CC -V 2>&1` in
10080 *"Compilers 5.0"*)
10081 wlarc=''
10082 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10087 wlarc='${wl}'
10088 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 esac
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_shlibpath_var=no
10096 case $host_os in
10097 solaris2.[0-5] | solaris2.[0-5].*) ;;
10099 # The compiler driver will combine and reorder linker options,
10100 # but understands `-z linker_flag'. GCC discards it without `$wl',
10101 # but is careful enough not to reorder.
10102 # Supported since Solaris 2.6 (maybe 2.5.1?)
10103 if test "$GCC" = yes; then
10104 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10105 else
10106 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10109 esac
10110 link_all_deplibs=yes
10113 sunos4*)
10114 if test "x$host_vendor" = xsequent; then
10115 # Use $CC to link under sequent, because it throws in some extra .o
10116 # files that make .init and .fini sections work.
10117 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_direct=yes
10123 hardcode_minus_L=yes
10124 hardcode_shlibpath_var=no
10127 sysv4)
10128 case $host_vendor in
10129 sni)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=yes # is this really true???
10133 siemens)
10134 ## LD is ld it makes a PLAMLIB
10135 ## CC just makes a GrossModule.
10136 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10137 reload_cmds='$CC -r -o $output$reload_objs'
10138 hardcode_direct=no
10140 motorola)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10144 esac
10145 runpath_var='LD_RUN_PATH'
10146 hardcode_shlibpath_var=no
10149 sysv4.3*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 export_dynamic_flag_spec='-Bexport'
10155 sysv4*MP*)
10156 if test -d /usr/nec; then
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 runpath_var=LD_RUN_PATH
10160 hardcode_runpath_var=yes
10161 ld_shlibs=yes
10165 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10166 no_undefined_flag='${wl}-z,text'
10167 archive_cmds_need_lc=no
10168 hardcode_shlibpath_var=no
10169 runpath_var='LD_RUN_PATH'
10171 if test "$GCC" = yes; then
10172 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 else
10175 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 sysv5* | sco3.2v5* | sco5v6*)
10181 # Note: We can NOT use -z defs as we might desire, because we do not
10182 # link with -lc, and that would cause any symbols used from libc to
10183 # always be unresolved, which means just about no library would
10184 # ever link correctly. If we're not using GNU ld we use -z text
10185 # though, which does catch some bad symbols but isn't as heavy-handed
10186 # as -z defs.
10187 no_undefined_flag='${wl}-z,text'
10188 allow_undefined_flag='${wl}-z,nodefs'
10189 archive_cmds_need_lc=no
10190 hardcode_shlibpath_var=no
10191 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10192 hardcode_libdir_separator=':'
10193 link_all_deplibs=yes
10194 export_dynamic_flag_spec='${wl}-Bexport'
10195 runpath_var='LD_RUN_PATH'
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 else
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 uts4*)
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_shlibpath_var=no
10213 ld_shlibs=no
10215 esac
10217 if test x$host_vendor = xsni; then
10218 case $host in
10219 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10220 export_dynamic_flag_spec='${wl}-Blargedynsym'
10222 esac
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10227 $as_echo "$ld_shlibs" >&6; }
10228 test "$ld_shlibs" = no && can_build_shared=no
10230 with_gnu_ld=$with_gnu_ld
10247 # Do we need to explicitly link libc?
10249 case "x$archive_cmds_need_lc" in
10250 x|xyes)
10251 # Assume -lc should be added
10252 archive_cmds_need_lc=yes
10254 if test "$enable_shared" = yes && test "$GCC" = yes; then
10255 case $archive_cmds in
10256 *'~'*)
10257 # FIXME: we may have to deal with multi-command sequences.
10259 '$CC '*)
10260 # Test whether the compiler implicitly links with -lc since on some
10261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10262 # to ld, don't add -lc before -lgcc.
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10265 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 $RM conftest*
10269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10272 (eval $ac_compile) 2>&5
10273 ac_status=$?
10274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10275 test $ac_status = 0; } 2>conftest.err; then
10276 soname=conftest
10277 lib=conftest
10278 libobjs=conftest.$ac_objext
10279 deplibs=
10280 wl=$lt_prog_compiler_wl
10281 pic_flag=$lt_prog_compiler_pic
10282 compiler_flags=-v
10283 linker_flags=-v
10284 verstring=
10285 output_objdir=.
10286 libname=conftest
10287 lt_save_allow_undefined_flag=$allow_undefined_flag
10288 allow_undefined_flag=
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10290 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10291 ac_status=$?
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }
10294 then
10295 lt_cv_archive_cmds_need_lc=no
10296 else
10297 lt_cv_archive_cmds_need_lc=yes
10299 allow_undefined_flag=$lt_save_allow_undefined_flag
10300 else
10301 cat conftest.err 1>&5
10303 $RM conftest*
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10307 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10308 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10310 esac
10313 esac
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474 if test "$GCC" = yes; then
10475 case $host_os in
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10478 esac
10479 case $host_os in
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10482 esac
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10485 *\;*)
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10495 esac
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10503 else
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507 done
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10510 lt_foo="";
10511 lt_count=0;
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10515 lt_count++;
10516 } else {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10519 } else {
10520 lt_count--;
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10529 # for these hosts.
10530 case $host_os in
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10533 esac
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10535 else
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 library_names_spec=
10539 libname_spec='lib$name'
10540 soname_spec=
10541 shrext_cmds=".so"
10542 postinstall_cmds=
10543 postuninstall_cmds=
10544 finish_cmds=
10545 finish_eval=
10546 shlibpath_var=
10547 shlibpath_overrides_runpath=unknown
10548 version_type=none
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10558 case $host_os in
10559 aix3*)
10560 version_type=linux
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10568 aix[4-9]*)
10569 version_type=linux
10570 need_lib_prefix=no
10571 need_version=no
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 else
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10583 case $host_os in
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10586 echo ' yes '
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10589 else
10590 can_build_shared=no
10593 esac
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 else
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LIBPATH
10612 amigaos*)
10613 case $host_cpu in
10614 powerpc)
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 m68k)
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 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'
10624 esac
10627 beos*)
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10633 bsdi[45]*)
10634 version_type=linux
10635 need_version=no
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10649 shrext_cmds=".dll"
10650 need_version=no
10651 need_lib_prefix=no
10653 case $GCC,$host_os in
10654 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10655 library_names_spec='$libname.dll.a'
10656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10657 postinstall_cmds='base_file=`basename \${file}`~
10658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10659 dldir=$destdir/`dirname \$dlpath`~
10660 test -d \$dldir || mkdir -p \$dldir~
10661 $install_prog $dir/$dlname \$dldir/$dlname~
10662 chmod a+x \$dldir/$dlname~
10663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10667 dlpath=$dir/\$dldll~
10668 $RM \$dlpath'
10669 shlibpath_overrides_runpath=yes
10671 case $host_os in
10672 cygwin*)
10673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10678 mingw* | cegcc*)
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 esac
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[23].*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2.*)
10748 shlibpath_overrides_runpath=yes
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 esac
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10776 haiku*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 dynamic_linker="$host_os runtime_loader"
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10786 hardcode_into_libs=yes
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10792 version_type=sunos
10793 need_lib_prefix=no
10794 need_version=no
10795 case $host_cpu in
10796 ia64*)
10797 shrext_cmds='.so'
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806 else
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10811 hppa*64*)
10812 shrext_cmds='.sl'
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 shrext_cmds='.sl'
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10830 esac
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10837 interix[3-9]*)
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10849 irix5* | irix6* | nonstopux*)
10850 case $host_os in
10851 nonstopux*) version_type=nonstopux ;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux
10855 else
10856 version_type=irix
10857 fi ;;
10858 esac
10859 need_lib_prefix=no
10860 need_version=no
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863 case $host_os in
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10876 esac
10878 esac
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888 dynamic_linker=no
10891 # This must be Linux ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 if test x$gcc_no_link = xyes; then
10912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10918 main ()
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10927 lt_cv_shlibpath_overrides_runpath=yes
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LDFLAGS=$save_LDFLAGS
10933 libdir=$save_libdir
10937 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10939 # This implies no fast_install, which is unacceptable.
10940 # Some rework will be needed to allow for fast_install
10941 # before this can be enabled.
10942 hardcode_into_libs=yes
10944 # Append ld.so.conf contents to the search path
10945 if test -f /etc/ld.so.conf; then
10946 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' ' '`
10947 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10950 # We used to test for /lib/ld.so.1 and disable shared libraries on
10951 # powerpc, because MkLinux only supported shared libraries with the
10952 # GNU dynamic linker. Since this was broken with cross compilers,
10953 # most powerpc-linux boxes support dynamic linking these days and
10954 # people can always --disable-shared, the test was removed, and we
10955 # assume the GNU/Linux dynamic linker is in use.
10956 dynamic_linker='GNU/Linux ld.so'
10959 netbsd*)
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10966 dynamic_linker='NetBSD (a.out) ld.so'
10967 else
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='NetBSD ld.elf_so'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10974 hardcode_into_libs=yes
10977 newsos6)
10978 version_type=linux
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10984 *nto* | *qnx*)
10985 version_type=qnx
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=no
10992 hardcode_into_libs=yes
10993 dynamic_linker='ldqnx.so'
10996 openbsd*)
10997 version_type=sunos
10998 sys_lib_dlsearch_path_spec="/usr/lib"
10999 need_lib_prefix=no
11000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11001 case $host_os in
11002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11003 *) need_version=no ;;
11004 esac
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11009 case $host_os in
11010 openbsd2.[89] | openbsd2.[89].*)
11011 shlibpath_overrides_runpath=no
11014 shlibpath_overrides_runpath=yes
11016 esac
11017 else
11018 shlibpath_overrides_runpath=yes
11022 os2*)
11023 libname_spec='$name'
11024 shrext_cmds=".dll"
11025 need_lib_prefix=no
11026 library_names_spec='$libname${shared_ext} $libname.a'
11027 dynamic_linker='OS/2 ld.exe'
11028 shlibpath_var=LIBPATH
11031 osf3* | osf4* | osf5*)
11032 version_type=osf
11033 need_lib_prefix=no
11034 need_version=no
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11042 rdos*)
11043 dynamic_linker=no
11046 solaris*)
11047 version_type=linux
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 # ldd complains unless libraries are executable
11056 postinstall_cmds='chmod +x $lib'
11059 sunos4*)
11060 version_type=sunos
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 if test "$with_gnu_ld" = yes; then
11066 need_lib_prefix=no
11068 need_version=yes
11071 sysv4 | sysv4.3*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 case $host_vendor in
11077 sni)
11078 shlibpath_overrides_runpath=no
11079 need_lib_prefix=no
11080 runpath_var=LD_RUN_PATH
11082 siemens)
11083 need_lib_prefix=no
11085 motorola)
11086 need_lib_prefix=no
11087 need_version=no
11088 shlibpath_overrides_runpath=no
11089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091 esac
11094 sysv4*MP*)
11095 if test -d /usr/nec ;then
11096 version_type=linux
11097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11098 soname_spec='$libname${shared_ext}.$major'
11099 shlibpath_var=LD_LIBRARY_PATH
11103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11104 version_type=freebsd-elf
11105 need_lib_prefix=no
11106 need_version=no
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 if test "$with_gnu_ld" = yes; then
11113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11114 else
11115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11116 case $host_os in
11117 sco3.2v5*)
11118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120 esac
11122 sys_lib_dlsearch_path_spec='/usr/lib'
11125 tpf*)
11126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11127 version_type=linux
11128 need_lib_prefix=no
11129 need_version=no
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11136 uts4*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11144 dynamic_linker=no
11146 esac
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11148 $as_echo "$dynamic_linker" >&6; }
11149 test "$dynamic_linker" = no && can_build_shared=no
11151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11152 if test "$GCC" = yes; then
11153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11256 hardcode_action=
11257 if test -n "$hardcode_libdir_flag_spec" ||
11258 test -n "$runpath_var" ||
11259 test "X$hardcode_automatic" = "Xyes" ; then
11261 # We can hardcode non-existent directories.
11262 if test "$hardcode_direct" != no &&
11263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11264 # have to relink, otherwise we might link with an installed library
11265 # when we should be linking with a yet-to-be-installed one
11266 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11267 test "$hardcode_minus_L" != no; then
11268 # Linking always hardcodes the temporary library directory.
11269 hardcode_action=relink
11270 else
11271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11272 hardcode_action=immediate
11274 else
11275 # We cannot hardcode anything, or else we can only hardcode existing
11276 # directories.
11277 hardcode_action=unsupported
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11280 $as_echo "$hardcode_action" >&6; }
11282 if test "$hardcode_action" = relink ||
11283 test "$inherit_rpath" = yes; then
11284 # Fast installation is not supported
11285 enable_fast_install=no
11286 elif test "$shlibpath_overrides_runpath" = yes ||
11287 test "$enable_shared" = no; then
11288 # Fast installation is not necessary
11289 enable_fast_install=needless
11297 if test "x$enable_dlopen" != xyes; then
11298 enable_dlopen=unknown
11299 enable_dlopen_self=unknown
11300 enable_dlopen_self_static=unknown
11301 else
11302 lt_cv_dlopen=no
11303 lt_cv_dlopen_libs=
11305 case $host_os in
11306 beos*)
11307 lt_cv_dlopen="load_add_on"
11308 lt_cv_dlopen_libs=
11309 lt_cv_dlopen_self=yes
11312 mingw* | pw32* | cegcc*)
11313 lt_cv_dlopen="LoadLibrary"
11314 lt_cv_dlopen_libs=
11317 cygwin*)
11318 lt_cv_dlopen="dlopen"
11319 lt_cv_dlopen_libs=
11322 darwin*)
11323 # if libdl is installed we need to link against it
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11325 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-ldl $LIBS"
11331 if test x$gcc_no_link = xyes; then
11332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11345 main ()
11347 return dlopen ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = x""yes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char shl_load ();
11401 main ()
11403 return shl_load ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dld_shl_load=yes
11410 else
11411 ac_cv_lib_dld_shl_load=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 else
11422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11447 main ()
11449 return dlopen ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11456 else
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 if test x$gcc_no_link = xyes; then
11476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char dlopen ();
11489 main ()
11491 return dlopen ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 ac_cv_lib_svld_dlopen=yes
11498 else
11499 ac_cv_lib_svld_dlopen=no
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_lib_save_LIBS
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldld $LIBS"
11517 if test x$gcc_no_link = xyes; then
11518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dld_link ();
11531 main ()
11533 return dld_link ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_dld_link=yes
11540 else
11541 ac_cv_lib_dld_dld_link=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11569 esac
11571 if test "x$lt_cv_dlopen" != xno; then
11572 enable_dlopen=yes
11573 else
11574 enable_dlopen=no
11577 case $lt_cv_dlopen in
11578 dlopen)
11579 save_CPPFLAGS="$CPPFLAGS"
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582 save_LDFLAGS="$LDFLAGS"
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11585 save_LIBS="$LIBS"
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11606 #include <stdio.h>
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11646 void fnord () { int i=42; }
11647 int main ()
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11652 if (self)
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11662 else
11663 puts (dlerror ());
11665 return status;
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self=no
11685 rm -fr conftest*
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
11692 if test "x$lt_cv_dlopen_self" = xyes; then
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 if test "$cross_compiling" = yes; then :
11700 lt_cv_dlopen_self_static=cross
11701 else
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11703 lt_status=$lt_dlunknown
11704 cat > conftest.$ac_ext <<_LT_EOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11708 #if HAVE_DLFCN_H
11709 #include <dlfcn.h>
11710 #endif
11712 #include <stdio.h>
11714 #ifdef RTLD_GLOBAL
11715 # define LT_DLGLOBAL RTLD_GLOBAL
11716 #else
11717 # ifdef DL_GLOBAL
11718 # define LT_DLGLOBAL DL_GLOBAL
11719 # else
11720 # define LT_DLGLOBAL 0
11721 # endif
11722 #endif
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11725 find out it does not work in some platform. */
11726 #ifndef LT_DLLAZY_OR_NOW
11727 # ifdef RTLD_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11729 # else
11730 # ifdef DL_LAZY
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
11732 # else
11733 # ifdef RTLD_NOW
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
11735 # else
11736 # ifdef DL_NOW
11737 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # else
11739 # define LT_DLLAZY_OR_NOW 0
11740 # endif
11741 # endif
11742 # endif
11743 # endif
11744 #endif
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
11747 correspondingly for the symbols needed. */
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11749 void fnord () __attribute__((visibility("default")));
11750 #endif
11752 void fnord () { int i=42; }
11753 int main ()
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11756 int status = $lt_dlunknown;
11758 if (self)
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11761 else
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11764 else puts (dlerror ());
11766 /* dlclose (self); */
11768 else
11769 puts (dlerror ());
11771 return status;
11773 _LT_EOF
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11779 (./conftest; exit; ) >&5 2>/dev/null
11780 lt_status=$?
11781 case x$lt_status in
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11785 esac
11786 else :
11787 # compilation failed
11788 lt_cv_dlopen_self_static=no
11791 rm -fr conftest*
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11799 CPPFLAGS="$save_CPPFLAGS"
11800 LDFLAGS="$save_LDFLAGS"
11801 LIBS="$save_LIBS"
11803 esac
11805 case $lt_cv_dlopen_self in
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11807 *) enable_dlopen_self=unknown ;;
11808 esac
11810 case $lt_cv_dlopen_self_static in
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11812 *) enable_dlopen_self_static=unknown ;;
11813 esac
11832 striplib=
11833 old_striplib=
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11841 else
11842 # FIXME - insert some real tests, host_os isn't really good enough
11843 case $host_os in
11844 darwin*)
11845 if test -n "$STRIP" ; then
11846 striplib="$STRIP -x"
11847 old_striplib="$STRIP -S"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11859 esac
11873 # Report which library types will actually be built
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11877 $as_echo "$can_build_shared" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
11881 test "$can_build_shared" = "no" && enable_shared=no
11883 # On AIX, shared libraries and static libraries use the same namespace, and
11884 # are all built from PIC.
11885 case $host_os in
11886 aix3*)
11887 test "$enable_shared" = yes && enable_static=no
11888 if test -n "$RANLIB"; then
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11890 postinstall_cmds='$RANLIB $lib'
11894 aix[4-9]*)
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11896 test "$enable_shared" = yes && enable_static=no
11899 esac
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11901 $as_echo "$enable_shared" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
11905 # Make sure either enable_shared or enable_static is yes.
11906 test "$enable_shared" = yes || enable_static=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11908 $as_echo "$enable_static" >&6; }
11914 ac_ext=c
11915 ac_cpp='$CPP $CPPFLAGS'
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920 CC="$lt_save_CC"
11922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11924 (test "X$CXX" != "Xg++"))) ; then
11925 ac_ext=cpp
11926 ac_cpp='$CXXCPP $CPPFLAGS'
11927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11932 if test -z "$CXXCPP"; then
11933 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 # Double quotes because CXXCPP needs to be expanded
11937 for CXXCPP in "$CXX -E" "/lib/cpp"
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 else
11960 # Broken: fails on valid input.
11961 continue
11963 rm -f conftest.err conftest.$ac_ext
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11979 rm -f conftest.err conftest.$ac_ext
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985 break
11988 done
11989 ac_cv_prog_CXXCPP=$CXXCPP
11992 CXXCPP=$ac_cv_prog_CXXCPP
11993 else
11994 ac_cv_prog_CXXCPP=$CXXCPP
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11997 $as_echo "$CXXCPP" >&6; }
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018 else
12019 # Broken: fails on valid input.
12020 continue
12022 rm -f conftest.err conftest.$ac_ext
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12038 rm -f conftest.err conftest.$ac_ext
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12045 else
12046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12049 See \`config.log' for more details." "$LINENO" 5; }
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058 else
12059 _lt_caught_CXX_error=yes
12062 ac_ext=cpp
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12068 archive_cmds_need_lc_CXX=no
12069 allow_undefined_flag_CXX=
12070 always_export_symbols_CXX=no
12071 archive_expsym_cmds_CXX=
12072 compiler_needs_object_CXX=no
12073 export_dynamic_flag_spec_CXX=
12074 hardcode_direct_CXX=no
12075 hardcode_direct_absolute_CXX=no
12076 hardcode_libdir_flag_spec_CXX=
12077 hardcode_libdir_flag_spec_ld_CXX=
12078 hardcode_libdir_separator_CXX=
12079 hardcode_minus_L_CXX=no
12080 hardcode_shlibpath_var_CXX=unsupported
12081 hardcode_automatic_CXX=no
12082 inherit_rpath_CXX=no
12083 module_cmds_CXX=
12084 module_expsym_cmds_CXX=
12085 link_all_deplibs_CXX=unknown
12086 old_archive_cmds_CXX=$old_archive_cmds
12087 reload_flag_CXX=$reload_flag
12088 reload_cmds_CXX=$reload_cmds
12089 no_undefined_flag_CXX=
12090 whole_archive_flag_spec_CXX=
12091 enable_shared_with_static_runtimes_CXX=no
12093 # Source file extension for C++ test sources.
12094 ac_ext=cpp
12096 # Object file extension for compiled C++ test sources.
12097 objext=o
12098 objext_CXX=$objext
12100 # No sense in running all these tests if we already determined that
12101 # the CXX compiler isn't working. Some variables (like enable_shared)
12102 # are currently assumed to apply to all compilers on this platform,
12103 # and will be corrupted by setting them based on a non-working compiler.
12104 if test "$_lt_caught_CXX_error" != yes; then
12105 # Code to be used in simple compile tests
12106 lt_simple_compile_test_code="int some_variable = 0;"
12108 # Code to be used in simple link tests
12109 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12111 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12118 # If no C compiler was specified, use CC.
12119 LTCC=${LTCC-"$CC"}
12121 # If no C compiler flags were specified, use CFLAGS.
12122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12124 # Allow CC to be a program name with arguments.
12125 compiler=$CC
12128 # save warnings/boilerplate of simple test code
12129 ac_outfile=conftest.$ac_objext
12130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12132 _lt_compiler_boilerplate=`cat conftest.err`
12133 $RM conftest*
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_linker_boilerplate=`cat conftest.err`
12139 $RM -r conftest*
12142 # Allow CC to be a program name with arguments.
12143 lt_save_CC=$CC
12144 lt_save_LD=$LD
12145 lt_save_GCC=$GCC
12146 GCC=$GXX
12147 lt_save_with_gnu_ld=$with_gnu_ld
12148 lt_save_path_LD=$lt_cv_path_LD
12149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12150 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12151 else
12152 $as_unset lt_cv_prog_gnu_ld
12154 if test -n "${lt_cv_path_LDCXX+set}"; then
12155 lt_cv_path_LD=$lt_cv_path_LDCXX
12156 else
12157 $as_unset lt_cv_path_LD
12159 test -z "${LDCXX+set}" || LD=$LDCXX
12160 CC=${CXX-"c++"}
12161 compiler=$CC
12162 compiler_CXX=$CC
12163 for cc_temp in $compiler""; do
12164 case $cc_temp in
12165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12167 \-*) ;;
12168 *) break;;
12169 esac
12170 done
12171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12174 if test -n "$compiler"; then
12175 # We don't want -fno-exception when compiling C++ code, so set the
12176 # no_builtin_flag separately
12177 if test "$GXX" = yes; then
12178 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12179 else
12180 lt_prog_compiler_no_builtin_flag_CXX=
12183 if test "$GXX" = yes; then
12184 # Set up default GNU C++ configuration
12188 # Check whether --with-gnu-ld was given.
12189 if test "${with_gnu_ld+set}" = set; then :
12190 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12191 else
12192 with_gnu_ld=no
12195 ac_prog=ld
12196 if test "$GCC" = yes; then
12197 # Check if gcc -print-prog-name=ld gives a path.
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12199 $as_echo_n "checking for ld used by $CC... " >&6; }
12200 case $host in
12201 *-*-mingw*)
12202 # gcc leaves a trailing carriage return which upsets mingw
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12205 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12206 esac
12207 case $ac_prog in
12208 # Accept absolute paths.
12209 [\\/]* | ?:[\\/]*)
12210 re_direlt='/[^/][^/]*/\.\./'
12211 # Canonicalize the pathname of ld
12212 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12213 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12214 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12215 done
12216 test -z "$LD" && LD="$ac_prog"
12219 # If it fails, then pretend we aren't using GCC.
12220 ac_prog=ld
12223 # If it is relative, then search for the first ld in PATH.
12224 with_gnu_ld=unknown
12226 esac
12227 elif test "$with_gnu_ld" = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12229 $as_echo_n "checking for GNU ld... " >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12232 $as_echo_n "checking for non-GNU ld... " >&6; }
12234 if test "${lt_cv_path_LD+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test -z "$LD"; then
12238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12239 for ac_dir in $PATH; do
12240 IFS="$lt_save_ifs"
12241 test -z "$ac_dir" && ac_dir=.
12242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 lt_cv_path_LD="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some variants of GNU ld only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12248 *GNU* | *'with BFD'*)
12249 test "$with_gnu_ld" != no && break
12252 test "$with_gnu_ld" != yes && break
12254 esac
12256 done
12257 IFS="$lt_save_ifs"
12258 else
12259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12263 LD="$lt_cv_path_LD"
12264 if test -n "$LD"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12266 $as_echo "$LD" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269 $as_echo "no" >&6; }
12271 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12274 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12278 case `$LD -v 2>&1 </dev/null` in
12279 *GNU* | *'with BFD'*)
12280 lt_cv_prog_gnu_ld=yes
12283 lt_cv_prog_gnu_ld=no
12285 esac
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12289 with_gnu_ld=$lt_cv_prog_gnu_ld
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 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'
12303 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12309 wlarc='${wl}'
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12313 $GREP 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 else
12316 whole_archive_flag_spec_CXX=
12318 else
12319 with_gnu_ld=no
12320 wlarc=
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12335 else
12336 GXX=no
12337 with_gnu_ld=no
12338 wlarc=
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12344 ld_shlibs_CXX=yes
12345 case $host_os in
12346 aix3*)
12347 # FIXME: insert proper C++ library support
12348 ld_shlibs_CXX=no
12350 aix[4-9]*)
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12356 no_entry_flag=""
12357 else
12358 aix_use_runtimelinking=no
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12365 case $ld_flag in
12366 *-brtl*)
12367 aix_use_runtimelinking=yes
12368 break
12370 esac
12371 done
12373 esac
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_direct_absolute_CXX=yes
12388 hardcode_libdir_separator_CXX=':'
12389 link_all_deplibs_CXX=yes
12390 file_list_spec_CXX='${wl}-f,'
12392 if test "$GXX" = yes; then
12393 case $host_os in aix4.[012]|aix4.[012].*)
12394 # We only want to do this on AIX 4.2 and lower, the check
12395 # below for broken collect2 doesn't work under 4.3+
12396 collect2name=`${CC} -print-prog-name=collect2`
12397 if test -f "$collect2name" &&
12398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12399 then
12400 # We have reworked collect2
12402 else
12403 # We have old collect2
12404 hardcode_direct_CXX=unsupported
12405 # It fails to find uninstalled libraries when the uninstalled
12406 # path is not listed in the libpath. Setting hardcode_minus_L
12407 # to unsupported forces relinking
12408 hardcode_minus_L_CXX=yes
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 hardcode_libdir_separator_CXX=
12412 esac
12413 shared_flag='-shared'
12414 if test "$aix_use_runtimelinking" = yes; then
12415 shared_flag="$shared_flag "'${wl}-G'
12417 else
12418 # not using gcc
12419 if test "$host_cpu" = ia64; then
12420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12421 # chokes on -Wl,-G. The following line is correct:
12422 shared_flag='-G'
12423 else
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag='${wl}-G'
12426 else
12427 shared_flag='${wl}-bM:SRE'
12432 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12433 # It seems that -bexpall does not export symbols beginning with
12434 # underscore (_), so it is better to generate a list of symbols to
12435 # export.
12436 always_export_symbols_CXX=yes
12437 if test "$aix_use_runtimelinking" = yes; then
12438 # Warning - without using the other runtime loading flags (-brtl),
12439 # -berok will link without error, but may produce a broken library.
12440 allow_undefined_flag_CXX='-berok'
12441 # Determine the default libpath from the value encoded in an empty
12442 # executable.
12443 if test x$gcc_no_link = xyes; then
12444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12450 main ()
12454 return 0;
12456 _ACEOF
12457 if ac_fn_cxx_try_link "$LINENO"; then :
12459 lt_aix_libpath_sed='
12460 /Import File Strings/,/^$/ {
12461 /^0/ {
12462 s/^0 *\(.*\)$/\1/
12466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 # Check for a 64-bit object if we didn't find anything.
12468 if test -z "$aix_libpath"; then
12469 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12478 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"
12479 else
12480 if test "$host_cpu" = ia64; then
12481 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12482 allow_undefined_flag_CXX="-z nodefs"
12483 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"
12484 else
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 if test x$gcc_no_link = xyes; then
12488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12494 main ()
12498 return 0;
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12503 lt_aix_libpath_sed='
12504 /Import File Strings/,/^$/ {
12505 /^0/ {
12506 s/^0 *\(.*\)$/\1/
12510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$aix_libpath"; then
12513 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12520 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521 # Warning - without using the other run time loading flags,
12522 # -berok will link without error, but may produce a broken library.
12523 no_undefined_flag_CXX=' ${wl}-bernotok'
12524 allow_undefined_flag_CXX=' ${wl}-berok'
12525 if test "$with_gnu_ld" = yes; then
12526 # We only use this code for GNU lds that support --whole-archive.
12527 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12528 else
12529 # Exported symbols can be pulled into shared objects from archives
12530 whole_archive_flag_spec_CXX='$convenience'
12532 archive_cmds_need_lc_CXX=yes
12533 # This is similar to how AIX traditionally builds its shared
12534 # libraries.
12535 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'
12540 beos*)
12541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12542 allow_undefined_flag_CXX=unsupported
12543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12544 # support --undefined. This deserves some investigation. FIXME
12545 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12546 else
12547 ld_shlibs_CXX=no
12551 chorus*)
12552 case $cc_basename in
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12557 esac
12560 cygwin* | mingw* | pw32* | cegcc*)
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 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'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12579 $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'
12580 else
12581 ld_shlibs_CXX=no
12584 darwin* | rhapsody*)
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 if test "$lt_cv_ld_force_load" = "yes"; then
12592 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\"`'
12593 else
12594 whole_archive_flag_spec_CXX=''
12596 link_all_deplibs_CXX=yes
12597 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12598 case $cc_basename in
12599 ifort*) _lt_dar_can_shared=yes ;;
12600 *) _lt_dar_can_shared=$GCC ;;
12601 esac
12602 if test "$_lt_dar_can_shared" = "yes"; then
12603 output_verbose_link_cmd=func_echo_all
12604 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}"
12605 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12606 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}"
12607 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}"
12608 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12609 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}"
12610 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}"
12613 else
12614 ld_shlibs_CXX=no
12619 dgux*)
12620 case $cc_basename in
12621 ec++*)
12622 # FIXME: insert proper C++ library support
12623 ld_shlibs_CXX=no
12625 ghcx*)
12626 # Green Hills C++ Compiler
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 esac
12637 freebsd2.*)
12638 # C++ shared libraries reported to be fairly broken before
12639 # switch to ELF
12640 ld_shlibs_CXX=no
12643 freebsd-elf*)
12644 archive_cmds_need_lc_CXX=no
12647 freebsd* | dragonfly*)
12648 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 # conventions
12650 ld_shlibs_CXX=yes
12653 gnu*)
12656 haiku*)
12657 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12658 link_all_deplibs_CXX=yes
12661 hpux9*)
12662 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12663 hardcode_libdir_separator_CXX=:
12664 export_dynamic_flag_spec_CXX='${wl}-E'
12665 hardcode_direct_CXX=yes
12666 hardcode_minus_L_CXX=yes # Not in the search PATH,
12667 # but as the default
12668 # location of the library.
12670 case $cc_basename in
12671 CC*)
12672 # FIXME: insert proper C++ library support
12673 ld_shlibs_CXX=no
12675 aCC*)
12676 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'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $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"'
12688 if test "$GXX" = yes; then
12689 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'
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12695 esac
12698 hpux10*|hpux11*)
12699 if test $with_gnu_ld = no; then
12700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator_CXX=:
12703 case $host_cpu in
12704 hppa*64*|ia64*)
12707 export_dynamic_flag_spec_CXX='${wl}-E'
12709 esac
12711 case $host_cpu in
12712 hppa*64*|ia64*)
12713 hardcode_direct_CXX=no
12714 hardcode_shlibpath_var_CXX=no
12717 hardcode_direct_CXX=yes
12718 hardcode_direct_absolute_CXX=yes
12719 hardcode_minus_L_CXX=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12723 esac
12725 case $cc_basename in
12726 CC*)
12727 # FIXME: insert proper C++ library support
12728 ld_shlibs_CXX=no
12730 aCC*)
12731 case $host_cpu in
12732 hppa*64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ia64*)
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12741 esac
12742 # Commands to make compiler produce verbose output that lists
12743 # what "hidden" libraries, object files and flags are used when
12744 # linking a shared library.
12746 # There doesn't appear to be a way to prevent this compiler from
12747 # explicitly linking system object files so we need to strip them
12748 # from the output so that they don't get included in the library
12749 # dependencies.
12750 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"'
12753 if test "$GXX" = yes; then
12754 if test $with_gnu_ld = no; then
12755 case $host_cpu in
12756 hppa*64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ia64*)
12760 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 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'
12765 esac
12767 else
12768 # FIXME: insert proper C++ library support
12769 ld_shlibs_CXX=no
12772 esac
12775 interix[3-9]*)
12776 hardcode_direct_CXX=no
12777 hardcode_shlibpath_var_CXX=no
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}-E'
12780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12781 # Instead, shared libraries are loaded at an image base (0x10000000 by
12782 # default) and relocated if they conflict, which is a slow very memory
12783 # consuming and fragmenting process. To avoid this, we pick a random,
12784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12786 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'
12787 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'
12789 irix5* | irix6*)
12790 case $cc_basename in
12791 CC*)
12792 # SGI C++
12793 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'
12795 # Archives containing C++ object files must be created using
12796 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12797 # necessary to make sure instantiated templates are included
12798 # in the archive.
12799 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12802 if test "$GXX" = yes; then
12803 if test "$with_gnu_ld" = no; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12805 else
12806 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'
12809 link_all_deplibs_CXX=yes
12811 esac
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 hardcode_libdir_separator_CXX=:
12814 inherit_rpath_CXX=yes
12817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12818 case $cc_basename in
12819 KCC*)
12820 # Kuck and Associates, Inc. (KAI) C++ Compiler
12822 # KCC will only create a shared library if the output file
12823 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12824 # to its proper name (with version) after linking.
12825 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'
12826 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'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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"'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # Archives containing C++ object files must be created using
12841 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12842 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12844 icpc* | ecpc* )
12845 # Intel C++
12846 with_gnu_ld=yes
12847 # version 8.0 and above of icpc choke on multiply defined symbols
12848 # if we add $predep_objects and $postdep_objects, however 7.1 and
12849 # earlier do not add the objects themselves.
12850 case `$CC -V 2>&1` in
12851 *"Version 7."*)
12852 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 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'
12855 *) # Version 8.0 or newer
12856 tmp_idyn=
12857 case $host_cpu in
12858 ia64*) tmp_idyn=' -i_dynamic';;
12859 esac
12860 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12861 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'
12863 esac
12864 archive_cmds_need_lc_CXX=no
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869 pgCC* | pgcpp*)
12870 # Portland Group C++ compiler
12871 case `$CC -V` in
12872 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12873 prelink_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12876 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12877 old_archive_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12880 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12881 $RANLIB $oldlib'
12882 archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12886 archive_expsym_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12889 $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'
12891 *) # Version 6 and above use weak symbols
12892 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 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'
12895 esac
12897 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12898 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 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'
12901 cxx*)
12902 # Compaq C++
12903 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904 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'
12906 runpath_var=LD_RUN_PATH
12907 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 hardcode_libdir_separator_CXX=:
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12914 # There doesn't appear to be a way to prevent this compiler from
12915 # explicitly linking system object files so we need to strip them
12916 # from the output so that they don't get included in the library
12917 # dependencies.
12918 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'
12920 xl* | mpixl* | bgxl*)
12921 # IBM XL 8.0 on PPC, with GNU ld
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925 if test "x$supports_anon_versioning" = xyes; then
12926 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928 echo "local: *; };" >> $output_objdir/$libname.ver~
12929 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12933 case `$CC -V 2>&1 | sed 5q` in
12934 *Sun\ C*)
12935 # Sun C++ 5.9
12936 no_undefined_flag_CXX=' -zdefs'
12937 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12938 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'
12939 hardcode_libdir_flag_spec_CXX='-R$libdir'
12940 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'
12941 compiler_needs_object_CXX=yes
12943 # Not sure whether something based on
12944 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12945 # would be better.
12946 output_verbose_link_cmd='func_echo_all'
12948 # Archives containing C++ object files must be created using
12949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12950 # necessary to make sure instantiated templates are included
12951 # in the archive.
12952 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12954 esac
12956 esac
12959 lynxos*)
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12964 m88k*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12969 mvs*)
12970 case $cc_basename in
12971 cxx*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 esac
12982 netbsd*)
12983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12984 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12985 wlarc=
12986 hardcode_libdir_flag_spec_CXX='-R$libdir'
12987 hardcode_direct_CXX=yes
12988 hardcode_shlibpath_var_CXX=no
12990 # Workaround some broken pre-1.5 toolchains
12991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12994 *nto* | *qnx*)
12995 ld_shlibs_CXX=yes
12998 openbsd2*)
12999 # C++ shared libraries are fairly broken
13000 ld_shlibs_CXX=no
13003 openbsd*)
13004 if test -f /usr/libexec/ld.so; then
13005 hardcode_direct_CXX=yes
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_direct_absolute_CXX=yes
13008 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13009 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13011 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13012 export_dynamic_flag_spec_CXX='${wl}-E'
13013 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13015 output_verbose_link_cmd=func_echo_all
13016 else
13017 ld_shlibs_CXX=no
13021 osf3* | osf4* | osf5*)
13022 case $cc_basename in
13023 KCC*)
13024 # Kuck and Associates, Inc. (KAI) C++ Compiler
13026 # KCC will only create a shared library if the output file
13027 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13028 # to its proper name (with version) after linking.
13029 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'
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Archives containing C++ object files must be created using
13035 # the KAI C++ compiler.
13036 case $host in
13037 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13038 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13039 esac
13041 RCC*)
13042 # Rational C++ 2.4.1
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 cxx*)
13047 case $host in
13048 osf3*)
13049 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13050 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'
13051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 allow_undefined_flag_CXX=' -expect_unresolved \*'
13055 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'
13056 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13057 echo "-hidden">> $lib.exp~
13058 $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~
13059 $RM $lib.exp'
13060 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 esac
13064 hardcode_libdir_separator_CXX=:
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13070 # There doesn't appear to be a way to prevent this compiler from
13071 # explicitly linking system object files so we need to strip them
13072 # from the output so that they don't get included in the library
13073 # dependencies.
13074 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"'
13077 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13079 case $host in
13080 osf3*)
13081 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'
13084 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'
13086 esac
13088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089 hardcode_libdir_separator_CXX=:
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13101 esac
13104 psos*)
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13109 sunos4*)
13110 case $cc_basename in
13111 CC*)
13112 # Sun C++ 4.x
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13116 lcc*)
13117 # Lucid
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 esac
13128 solaris*)
13129 case $cc_basename in
13130 CC*)
13131 # Sun C++ 4.2, 5.x and Centerline C++
13132 archive_cmds_need_lc_CXX=yes
13133 no_undefined_flag_CXX=' -zdefs'
13134 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $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'
13138 hardcode_libdir_flag_spec_CXX='-R$libdir'
13139 hardcode_shlibpath_var_CXX=no
13140 case $host_os in
13141 solaris2.[0-5] | solaris2.[0-5].*) ;;
13143 # The compiler driver will combine and reorder linker options,
13144 # but understands `-z linker_flag'.
13145 # Supported since Solaris 2.6 (maybe 2.5.1?)
13146 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13148 esac
13149 link_all_deplibs_CXX=yes
13151 output_verbose_link_cmd='func_echo_all'
13153 # Archives containing C++ object files must be created using
13154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13155 # necessary to make sure instantiated templates are included
13156 # in the archive.
13157 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159 gcx*)
13160 # Green Hills C++ Compiler
13161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163 # The C++ compiler must be used to create the archive.
13164 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13167 # GNU C++ compiler with Solaris linker
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13170 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13171 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13173 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13175 # Commands to make compiler produce verbose output that lists
13176 # what "hidden" libraries, object files and flags are used when
13177 # linking a shared library.
13178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13179 else
13180 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13181 # platform.
13182 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13192 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13193 case $host_os in
13194 solaris2.[0-5] | solaris2.[0-5].*) ;;
13196 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13198 esac
13201 esac
13204 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13205 no_undefined_flag_CXX='${wl}-z,text'
13206 archive_cmds_need_lc_CXX=no
13207 hardcode_shlibpath_var_CXX=no
13208 runpath_var='LD_RUN_PATH'
13210 case $cc_basename in
13211 CC*)
13212 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 esac
13222 sysv5* | sco3.2v5* | sco5v6*)
13223 # Note: We can NOT use -z defs as we might desire, because we do not
13224 # link with -lc, and that would cause any symbols used from libc to
13225 # always be unresolved, which means just about no library would
13226 # ever link correctly. If we're not using GNU ld we use -z text
13227 # though, which does catch some bad symbols but isn't as heavy-handed
13228 # as -z defs.
13229 no_undefined_flag_CXX='${wl}-z,text'
13230 allow_undefined_flag_CXX='${wl}-z,nodefs'
13231 archive_cmds_need_lc_CXX=no
13232 hardcode_shlibpath_var_CXX=no
13233 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13234 hardcode_libdir_separator_CXX=':'
13235 link_all_deplibs_CXX=yes
13236 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13237 runpath_var='LD_RUN_PATH'
13239 case $cc_basename in
13240 CC*)
13241 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13244 '"$old_archive_cmds_CXX"
13245 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13246 '"$reload_cmds_CXX"
13249 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 esac
13255 tandem*)
13256 case $cc_basename in
13257 NCC*)
13258 # NonStop-UX NCC 3.20
13259 # FIXME: insert proper C++ library support
13260 ld_shlibs_CXX=no
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 esac
13269 vxworks*)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13281 $as_echo "$ld_shlibs_CXX" >&6; }
13282 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284 GCC_CXX="$GXX"
13285 LD_CXX="$LD"
13287 ## CAVEAT EMPTOR:
13288 ## There is no encapsulation within the following macros, do not change
13289 ## the running order or otherwise move them around unless you know exactly
13290 ## what you are doing...
13291 # Dependencies to place before and after the object being linked:
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 predeps_CXX=
13295 postdeps_CXX=
13296 compiler_lib_search_path_CXX=
13298 cat > conftest.$ac_ext <<_LT_EOF
13299 class Foo
13301 public:
13302 Foo (void) { a = 0; }
13303 private:
13304 int a;
13306 _LT_EOF
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 # Parse the compiler output and extract the necessary
13314 # objects, libraries and library flags.
13316 # Sentinel used to keep track of whether or not we are before
13317 # the conftest object file.
13318 pre_test_object_deps_done=no
13320 for p in `eval "$output_verbose_link_cmd"`; do
13321 case $p in
13323 -L* | -R* | -l*)
13324 # Some compilers place space between "-{L,R}" and the path.
13325 # Remove the space.
13326 if test $p = "-L" ||
13327 test $p = "-R"; then
13328 prev=$p
13329 continue
13330 else
13331 prev=
13334 if test "$pre_test_object_deps_done" = no; then
13335 case $p in
13336 -L* | -R*)
13337 # Internal compiler library paths should come after those
13338 # provided the user. The postdeps already come after the
13339 # user supplied libs so there is no need to process them.
13340 if test -z "$compiler_lib_search_path_CXX"; then
13341 compiler_lib_search_path_CXX="${prev}${p}"
13342 else
13343 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13346 # The "-l" case would never come before the object being
13347 # linked, so don't bother handling this case.
13348 esac
13349 else
13350 if test -z "$postdeps_CXX"; then
13351 postdeps_CXX="${prev}${p}"
13352 else
13353 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13358 *.$objext)
13359 # This assumes that the test object file only shows up
13360 # once in the compiler output.
13361 if test "$p" = "conftest.$objext"; then
13362 pre_test_object_deps_done=yes
13363 continue
13366 if test "$pre_test_object_deps_done" = no; then
13367 if test -z "$predep_objects_CXX"; then
13368 predep_objects_CXX="$p"
13369 else
13370 predep_objects_CXX="$predep_objects_CXX $p"
13372 else
13373 if test -z "$postdep_objects_CXX"; then
13374 postdep_objects_CXX="$p"
13375 else
13376 postdep_objects_CXX="$postdep_objects_CXX $p"
13381 *) ;; # Ignore the rest.
13383 esac
13384 done
13386 # Clean up.
13387 rm -f a.out a.exe
13388 else
13389 echo "libtool.m4: error: problem compiling CXX test program"
13392 $RM -f confest.$objext
13394 # PORTME: override above test on systems where it is broken
13395 case $host_os in
13396 interix[3-9]*)
13397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13398 # hack all around it, let's just trust "g++" to DTRT.
13399 predep_objects_CXX=
13400 postdep_objects_CXX=
13401 postdeps_CXX=
13404 linux*)
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ C*)
13407 # Sun C++ 5.9
13409 # The more standards-conforming stlport4 library is
13410 # incompatible with the Cstd library. Avoid specifying
13411 # it if it's in CXXFLAGS. Ignore libCrun as
13412 # -library=stlport4 depends on it.
13413 case " $CXX $CXXFLAGS " in
13414 *" -library=stlport4 "*)
13415 solaris_use_stlport4=yes
13417 esac
13419 if test "$solaris_use_stlport4" != yes; then
13420 postdeps_CXX='-library=Cstd -library=Crun'
13423 esac
13426 solaris*)
13427 case $cc_basename in
13428 CC*)
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4=yes
13437 esac
13439 # Adding this requires a known-good setup of shared libraries for
13440 # Sun compiler versions before 5.6, else PIC objects from an old
13441 # archive will be linked into the output, leading to subtle bugs.
13442 if test "$solaris_use_stlport4" != yes; then
13443 postdeps_CXX='-library=Cstd -library=Crun'
13446 esac
13448 esac
13451 case " $postdeps_CXX " in
13452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13453 esac
13454 compiler_lib_search_dirs_CXX=
13455 if test -n "${compiler_lib_search_path_CXX}"; then
13456 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13489 lt_prog_compiler_wl_CXX=
13490 lt_prog_compiler_pic_CXX=
13491 lt_prog_compiler_static_CXX=
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13496 # C++ specific cases for pic, static, wl, etc.
13497 if test "$GXX" = yes; then
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='-static'
13501 case $host_os in
13502 aix*)
13503 # All AIX code is PIC.
13504 if test "$host_cpu" = ia64; then
13505 # AIX 5 now supports IA64 processor
13506 lt_prog_compiler_static_CXX='-Bstatic'
13508 lt_prog_compiler_pic_CXX='-fPIC'
13511 amigaos*)
13512 case $host_cpu in
13513 powerpc)
13514 # see comment about AmigaOS4 .so support
13515 lt_prog_compiler_pic_CXX='-fPIC'
13517 m68k)
13518 # FIXME: we need at least 68020 code to build shared libraries, but
13519 # adding the `-m68020' flag to GCC prevents building anything better,
13520 # like `-m68040'.
13521 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13523 esac
13526 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13527 # PIC is the default for these OSes.
13529 mingw* | cygwin* | os2* | pw32* | cegcc*)
13530 # This hack is so that the source file can tell whether it is being
13531 # built for inclusion in a dll (and should export symbols for example).
13532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13533 # (--disable-auto-import) libraries
13534 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13536 darwin* | rhapsody*)
13537 # PIC is the default on this platform
13538 # Common symbols not allowed in MH_DYLIB files
13539 lt_prog_compiler_pic_CXX='-fno-common'
13541 *djgpp*)
13542 # DJGPP does not support shared libraries at all
13543 lt_prog_compiler_pic_CXX=
13545 haiku*)
13546 # PIC is the default for Haiku.
13547 # The "-static" flag exists, but is broken.
13548 lt_prog_compiler_static_CXX=
13550 interix[3-9]*)
13551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13552 # Instead, we relocate shared libraries at runtime.
13554 sysv4*MP*)
13555 if test -d /usr/nec; then
13556 lt_prog_compiler_pic_CXX=-Kconform_pic
13559 hpux*)
13560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13562 # sets the default TLS model and affects inlining.
13563 case $host_cpu in
13564 hppa*64*)
13567 lt_prog_compiler_pic_CXX='-fPIC'
13569 esac
13571 *qnx* | *nto*)
13572 # QNX uses GNU C++, but need to define -shared option too, otherwise
13573 # it will coredump.
13574 lt_prog_compiler_pic_CXX='-fPIC -shared'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 esac
13580 else
13581 case $host_os in
13582 aix[4-9]*)
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 else
13588 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13591 chorus*)
13592 case $cc_basename in
13593 cxch68*)
13594 # Green Hills C++ Compiler
13595 # _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"
13597 esac
13599 dgux*)
13600 case $cc_basename in
13601 ec++*)
13602 lt_prog_compiler_pic_CXX='-KPIC'
13604 ghcx*)
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-pic'
13610 esac
13612 freebsd* | dragonfly*)
13613 # FreeBSD uses GNU C++
13615 hpux9* | hpux10* | hpux11*)
13616 case $cc_basename in
13617 CC*)
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13620 if test "$host_cpu" != ia64; then
13621 lt_prog_compiler_pic_CXX='+Z'
13624 aCC*)
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13627 case $host_cpu in
13628 hppa*64*|ia64*)
13629 # +Z the default
13632 lt_prog_compiler_pic_CXX='+Z'
13634 esac
13638 esac
13640 interix*)
13641 # This is c89, which is MS Visual C++ (no shared libs)
13642 # Anyone wants to do a port?
13644 irix5* | irix6* | nonstopux*)
13645 case $cc_basename in
13646 CC*)
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 # CC pic flag -KPIC is the default.
13653 esac
13655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13656 case $cc_basename in
13657 KCC*)
13658 # KAI C++ Compiler
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 lt_prog_compiler_pic_CXX='-fPIC'
13662 ecpc* )
13663 # old Intel C++ for x86_64 which still supported -KPIC.
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-static'
13668 icpc* )
13669 # Intel C++, used to be incompatible with GCC.
13670 # ICC 10 doesn't accept -KPIC any more.
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13673 lt_prog_compiler_static_CXX='-static'
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-fpic'
13679 lt_prog_compiler_static_CXX='-Bstatic'
13681 cxx*)
13682 # Compaq C++
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_static_CXX='-non_shared'
13688 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13689 # IBM XL 8.0, 9.0 on PPC and BlueGene
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-qpic'
13692 lt_prog_compiler_static_CXX='-qstaticlink'
13695 case `$CC -V 2>&1 | sed 5q` in
13696 *Sun\ C*)
13697 # Sun C++ 5.9
13698 lt_prog_compiler_pic_CXX='-KPIC'
13699 lt_prog_compiler_static_CXX='-Bstatic'
13700 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 esac
13704 esac
13706 lynxos*)
13708 m88k*)
13710 mvs*)
13711 case $cc_basename in
13712 cxx*)
13713 lt_prog_compiler_pic_CXX='-W c,exportall'
13717 esac
13719 netbsd*)
13721 *qnx* | *nto*)
13722 # QNX uses GNU C++, but need to define -shared option too, otherwise
13723 # it will coredump.
13724 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 osf3* | osf4* | osf5*)
13727 case $cc_basename in
13728 KCC*)
13729 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 RCC*)
13732 # Rational C++ 2.4.1
13733 lt_prog_compiler_pic_CXX='-pic'
13735 cxx*)
13736 # Digital/Compaq C++
13737 lt_prog_compiler_wl_CXX='-Wl,'
13738 # Make sure the PIC flag is empty. It appears that all Alpha
13739 # Linux and Compaq Tru64 Unix objects are PIC.
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_static_CXX='-non_shared'
13745 esac
13747 psos*)
13749 solaris*)
13750 case $cc_basename in
13751 CC*)
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 lt_prog_compiler_pic_CXX='-KPIC'
13754 lt_prog_compiler_static_CXX='-Bstatic'
13755 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 gcx*)
13758 # Green Hills C++ Compiler
13759 lt_prog_compiler_pic_CXX='-PIC'
13763 esac
13765 sunos4*)
13766 case $cc_basename in
13767 CC*)
13768 # Sun C++ 4.x
13769 lt_prog_compiler_pic_CXX='-pic'
13770 lt_prog_compiler_static_CXX='-Bstatic'
13772 lcc*)
13773 # Lucid
13774 lt_prog_compiler_pic_CXX='-pic'
13778 esac
13780 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13781 case $cc_basename in
13782 CC*)
13783 lt_prog_compiler_wl_CXX='-Wl,'
13784 lt_prog_compiler_pic_CXX='-KPIC'
13785 lt_prog_compiler_static_CXX='-Bstatic'
13787 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 lt_prog_compiler_pic_CXX='-KPIC'
13797 esac
13799 vxworks*)
13802 lt_prog_compiler_can_build_shared_CXX=no
13804 esac
13807 case $host_os in
13808 # For platforms which do not support PIC, -DPIC is meaningless:
13809 *djgpp*)
13810 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13815 esac
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13822 # Check to make sure the PIC flag actually works.
13824 if test -n "$lt_prog_compiler_pic_CXX"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13827 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 lt_cv_prog_compiler_pic_works_CXX=no
13831 ac_outfile=conftest.$ac_objext
13832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 # The option is referenced via a variable to avoid confusing sed.
13839 lt_compile=`echo "$ac_compile" | $SED \
13840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13842 -e 's:$: $lt_compiler_flag:'`
13843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13844 (eval "$lt_compile" 2>conftest.err)
13845 ac_status=$?
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 if (exit $ac_status) && test -s "$ac_outfile"; then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings other than the usual output.
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_pic_works_CXX=yes
13857 $RM conftest*
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13864 case $lt_prog_compiler_pic_CXX in
13865 "" | " "*) ;;
13866 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13867 esac
13868 else
13869 lt_prog_compiler_pic_CXX=
13870 lt_prog_compiler_can_build_shared_CXX=no
13878 # Check to make sure the static flag actually works.
13880 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13883 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 lt_cv_prog_compiler_static_works_CXX=no
13887 save_LDFLAGS="$LDFLAGS"
13888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13889 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13891 # The linker can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 if test -s conftest.err; then
13894 # Append any errors to the config.log.
13895 cat conftest.err 1>&5
13896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_static_works_CXX=yes
13901 else
13902 lt_cv_prog_compiler_static_works_CXX=yes
13905 $RM -r conftest*
13906 LDFLAGS="$save_LDFLAGS"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 else
13915 lt_prog_compiler_static_CXX=
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13923 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 lt_cv_prog_compiler_c_o_CXX=no
13927 $RM -r conftest 2>/dev/null
13928 mkdir conftest
13929 cd conftest
13930 mkdir out
13931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933 lt_compiler_flag="-o out/conftest2.$ac_objext"
13934 # Insert the option either (1) after the last *FLAGS variable, or
13935 # (2) before a word containing "conftest.", or (3) at the end.
13936 # Note that $ac_compile itself does not contain backslashes and begins
13937 # with a dollar sign (not a hyphen), so the echo should work correctly.
13938 lt_compile=`echo "$ac_compile" | $SED \
13939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13941 -e 's:$: $lt_compiler_flag:'`
13942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13943 (eval "$lt_compile" 2>out/conftest.err)
13944 ac_status=$?
13945 cat out/conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13948 then
13949 # The compiler can only warn and ignore the option if not recognized
13950 # So say no if there are warnings
13951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13954 lt_cv_prog_compiler_c_o_CXX=yes
13957 chmod u+w . 2>&5
13958 $RM conftest*
13959 # SGI C++ compiler will create directory out/ii_files/ for
13960 # template instantiation
13961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13962 $RM out/* && rmdir out
13963 cd ..
13964 $RM -r conftest
13965 $RM conftest*
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13980 mkdir conftest
13981 cd conftest
13982 mkdir out
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13996 ac_status=$?
13997 cat out/conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14000 then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14009 chmod u+w . 2>&5
14010 $RM conftest*
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14015 cd ..
14016 $RM -r conftest
14017 $RM conftest*
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14026 hard_links="nottested"
14027 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14028 # do not overwrite the value of need_locks provided by the user
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14030 $as_echo_n "checking if we can lock with hard links... " >&6; }
14031 hard_links=yes
14032 $RM conftest*
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 touch conftest.a
14035 ln conftest.a conftest.b 2>&5 || hard_links=no
14036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14038 $as_echo "$hard_links" >&6; }
14039 if test "$hard_links" = no; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14042 need_locks=warn
14044 else
14045 need_locks=no
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 case $host_os in
14055 aix[4-9]*)
14056 # If we're using GNU nm, then we don't want the "-C" option.
14057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14058 # Also, AIX nm treats weak defined symbols like other global defined
14059 # symbols, whereas GNU nm marks them as "W".
14060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14061 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'
14062 else
14063 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'
14066 pw32*)
14067 export_symbols_cmds_CXX="$ltdll_cmds"
14069 cygwin* | mingw* | cegcc*)
14070 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'
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14075 esac
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14079 $as_echo "$ld_shlibs_CXX" >&6; }
14080 test "$ld_shlibs_CXX" = no && can_build_shared=no
14082 with_gnu_ld_CXX=$with_gnu_ld
14090 # Do we need to explicitly link libc?
14092 case "x$archive_cmds_need_lc_CXX" in
14093 x|xyes)
14094 # Assume -lc should be added
14095 archive_cmds_need_lc_CXX=yes
14097 if test "$enable_shared" = yes && test "$GCC" = yes; then
14098 case $archive_cmds_CXX in
14099 *'~'*)
14100 # FIXME: we may have to deal with multi-command sequences.
14102 '$CC '*)
14103 # Test whether the compiler implicitly links with -lc since on some
14104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105 # to ld, don't add -lc before -lgcc.
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14108 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 lt_cv_archive_cmds_need_lc_CXX=no
14139 else
14140 lt_cv_archive_cmds_need_lc_CXX=yes
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14146 $RM conftest*
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14151 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14153 esac
14156 esac
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14224 library_names_spec=
14225 libname_spec='lib$name'
14226 soname_spec=
14227 shrext_cmds=".so"
14228 postinstall_cmds=
14229 postuninstall_cmds=
14230 finish_cmds=
14231 finish_eval=
14232 shlibpath_var=
14233 shlibpath_overrides_runpath=unknown
14234 version_type=none
14235 dynamic_linker="$host_os ld.so"
14236 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14237 need_lib_prefix=unknown
14238 hardcode_into_libs=no
14240 # when you set need_version to no, make sure it does not cause -set_version
14241 # flags to be left without arguments
14242 need_version=unknown
14244 case $host_os in
14245 aix3*)
14246 version_type=linux
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14248 shlibpath_var=LIBPATH
14250 # AIX 3 has no versioning support, so we append a major version to the name.
14251 soname_spec='${libname}${release}${shared_ext}$major'
14254 aix[4-9]*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 hardcode_into_libs=yes
14259 if test "$host_cpu" = ia64; then
14260 # AIX 5 supports IA64
14261 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14262 shlibpath_var=LD_LIBRARY_PATH
14263 else
14264 # With GCC up to 2.95.x, collect2 would create an import file
14265 # for dependence libraries. The import file would start with
14266 # the line `#! .'. This would cause the generated library to
14267 # depend on `.', always an invalid library. This was fixed in
14268 # development snapshots of GCC prior to 3.0.
14269 case $host_os in
14270 aix4 | aix4.[01] | aix4.[01].*)
14271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14272 echo ' yes '
14273 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14275 else
14276 can_build_shared=no
14279 esac
14280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14281 # soname into executable. Probably we can add versioning support to
14282 # collect2, so additional links can be useful in future.
14283 if test "$aix_use_runtimelinking" = yes; then
14284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14285 # instead of lib<name>.a to let people know that these are not
14286 # typical AIX shared libraries.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 else
14289 # We preserve .a as extension for shared libraries through AIX4.2
14290 # and later when we are not doing run time linking.
14291 library_names_spec='${libname}${release}.a $libname.a'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LIBPATH
14298 amigaos*)
14299 case $host_cpu in
14300 powerpc)
14301 # Since July 2007 AmigaOS4 officially supports .so libraries.
14302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 m68k)
14306 library_names_spec='$libname.ixlibrary $libname.a'
14307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14308 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'
14310 esac
14313 beos*)
14314 library_names_spec='${libname}${shared_ext}'
14315 dynamic_linker="$host_os ld.so"
14316 shlibpath_var=LIBRARY_PATH
14319 bsdi[45]*)
14320 version_type=linux
14321 need_version=no
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14328 # the default ld.so.conf also contains /usr/contrib/lib and
14329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14330 # libtool to hard-code these into programs
14333 cygwin* | mingw* | pw32* | cegcc*)
14334 version_type=windows
14335 shrext_cmds=".dll"
14336 need_version=no
14337 need_lib_prefix=no
14339 case $GCC,$host_os in
14340 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14341 library_names_spec='$libname.dll.a'
14342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14343 postinstall_cmds='base_file=`basename \${file}`~
14344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14345 dldir=$destdir/`dirname \$dlpath`~
14346 test -d \$dldir || mkdir -p \$dldir~
14347 $install_prog $dir/$dlname \$dldir/$dlname~
14348 chmod a+x \$dldir/$dlname~
14349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14354 $RM \$dlpath'
14355 shlibpath_overrides_runpath=yes
14357 case $host_os in
14358 cygwin*)
14359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363 mingw* | cegcc*)
14364 # MinGW DLLs use traditional 'lib' prefix
14365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367 pw32*)
14368 # pw32 DLLs use 'pw' prefix rather than 'lib'
14369 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 esac
14375 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14377 esac
14378 dynamic_linker='Win32 ld.exe'
14379 # FIXME: first we should search . and the directory the executable is in
14380 shlibpath_var=PATH
14383 darwin* | rhapsody*)
14384 dynamic_linker="$host_os dyld"
14385 version_type=darwin
14386 need_lib_prefix=no
14387 need_version=no
14388 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14389 soname_spec='${libname}${release}${major}$shared_ext'
14390 shlibpath_overrides_runpath=yes
14391 shlibpath_var=DYLD_LIBRARY_PATH
14392 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14397 dgux*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 shlibpath_var=LD_LIBRARY_PATH
14406 freebsd* | dragonfly*)
14407 # DragonFly does not have aout. When/if they implement a new
14408 # versioning mechanism, adjust this.
14409 if test -x /usr/bin/objformat; then
14410 objformat=`/usr/bin/objformat`
14411 else
14412 case $host_os in
14413 freebsd[23].*) objformat=aout ;;
14414 *) objformat=elf ;;
14415 esac
14417 version_type=freebsd-$objformat
14418 case $version_type in
14419 freebsd-elf*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14421 need_version=no
14422 need_lib_prefix=no
14424 freebsd-*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 need_version=yes
14428 esac
14429 shlibpath_var=LD_LIBRARY_PATH
14430 case $host_os in
14431 freebsd2.*)
14432 shlibpath_overrides_runpath=yes
14434 freebsd3.[01]* | freebsdelf3.[01]*)
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14440 shlibpath_overrides_runpath=no
14441 hardcode_into_libs=yes
14443 *) # from 4.6 on, and DragonFly
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 esac
14450 gnu*)
14451 version_type=linux
14452 need_lib_prefix=no
14453 need_version=no
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 shlibpath_var=LD_LIBRARY_PATH
14457 hardcode_into_libs=yes
14460 haiku*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 dynamic_linker="$host_os runtime_loader"
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14469 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14470 hardcode_into_libs=yes
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14516 postinstall_cmds='chmod 555 $lib'
14517 # or fails outright, so override atomically:
14518 install_override_mode=555
14521 interix[3-9]*)
14522 version_type=linux
14523 need_lib_prefix=no
14524 need_version=no
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526 soname_spec='${libname}${release}${shared_ext}$major'
14527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=no
14530 hardcode_into_libs=yes
14533 irix5* | irix6* | nonstopux*)
14534 case $host_os in
14535 nonstopux*) version_type=nonstopux ;;
14537 if test "$lt_cv_prog_gnu_ld" = yes; then
14538 version_type=linux
14539 else
14540 version_type=irix
14541 fi ;;
14542 esac
14543 need_lib_prefix=no
14544 need_version=no
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14547 case $host_os in
14548 irix5* | nonstopux*)
14549 libsuff= shlibsuff=
14552 case $LD in # libtool.m4 will add one of these switches to LD
14553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14554 libsuff= shlibsuff= libmagic=32-bit;;
14555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14556 libsuff=32 shlibsuff=N32 libmagic=N32;;
14557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14559 *) libsuff= shlibsuff= libmagic=never-match;;
14560 esac
14562 esac
14563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14564 shlibpath_overrides_runpath=no
14565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14567 hardcode_into_libs=yes
14570 # No shared lib support for Linux oldld, aout, or coff.
14571 linux*oldld* | linux*aout* | linux*coff*)
14572 dynamic_linker=no
14575 # This must be Linux ELF.
14576 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=no
14586 # Some binutils ld are patched to set DT_RUNPATH
14587 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 lt_cv_shlibpath_overrides_runpath=no
14591 save_LDFLAGS=$LDFLAGS
14592 save_libdir=$libdir
14593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14595 if test x$gcc_no_link = xyes; then
14596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14602 main ()
14606 return 0;
14608 _ACEOF
14609 if ac_fn_cxx_try_link "$LINENO"; then :
14610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14611 lt_cv_shlibpath_overrides_runpath=yes
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LDFLAGS=$save_LDFLAGS
14617 libdir=$save_libdir
14621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14623 # This implies no fast_install, which is unacceptable.
14624 # Some rework will be needed to allow for fast_install
14625 # before this can be enabled.
14626 hardcode_into_libs=yes
14628 # Append ld.so.conf contents to the search path
14629 if test -f /etc/ld.so.conf; then
14630 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' ' '`
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14634 # We used to test for /lib/ld.so.1 and disable shared libraries on
14635 # powerpc, because MkLinux only supported shared libraries with the
14636 # GNU dynamic linker. Since this was broken with cross compilers,
14637 # most powerpc-linux boxes support dynamic linking these days and
14638 # people can always --disable-shared, the test was removed, and we
14639 # assume the GNU/Linux dynamic linker is in use.
14640 dynamic_linker='GNU/Linux ld.so'
14643 netbsd*)
14644 version_type=sunos
14645 need_lib_prefix=no
14646 need_version=no
14647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14650 dynamic_linker='NetBSD (a.out) ld.so'
14651 else
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 dynamic_linker='NetBSD ld.elf_so'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=yes
14658 hardcode_into_libs=yes
14661 newsos6)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14668 *nto* | *qnx*)
14669 version_type=qnx
14670 need_lib_prefix=no
14671 need_version=no
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=no
14676 hardcode_into_libs=yes
14677 dynamic_linker='ldqnx.so'
14680 openbsd*)
14681 version_type=sunos
14682 sys_lib_dlsearch_path_spec="/usr/lib"
14683 need_lib_prefix=no
14684 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14685 case $host_os in
14686 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14687 *) need_version=no ;;
14688 esac
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14693 case $host_os in
14694 openbsd2.[89] | openbsd2.[89].*)
14695 shlibpath_overrides_runpath=no
14698 shlibpath_overrides_runpath=yes
14700 esac
14701 else
14702 shlibpath_overrides_runpath=yes
14706 os2*)
14707 libname_spec='$name'
14708 shrext_cmds=".dll"
14709 need_lib_prefix=no
14710 library_names_spec='$libname${shared_ext} $libname.a'
14711 dynamic_linker='OS/2 ld.exe'
14712 shlibpath_var=LIBPATH
14715 osf3* | osf4* | osf5*)
14716 version_type=osf
14717 need_lib_prefix=no
14718 need_version=no
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14723 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14726 rdos*)
14727 dynamic_linker=no
14730 solaris*)
14731 version_type=linux
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 # ldd complains unless libraries are executable
14740 postinstall_cmds='chmod +x $lib'
14743 sunos4*)
14744 version_type=sunos
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14746 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 if test "$with_gnu_ld" = yes; then
14750 need_lib_prefix=no
14752 need_version=yes
14755 sysv4 | sysv4.3*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 case $host_vendor in
14761 sni)
14762 shlibpath_overrides_runpath=no
14763 need_lib_prefix=no
14764 runpath_var=LD_RUN_PATH
14766 siemens)
14767 need_lib_prefix=no
14769 motorola)
14770 need_lib_prefix=no
14771 need_version=no
14772 shlibpath_overrides_runpath=no
14773 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14775 esac
14778 sysv4*MP*)
14779 if test -d /usr/nec ;then
14780 version_type=linux
14781 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14782 soname_spec='$libname${shared_ext}.$major'
14783 shlibpath_var=LD_LIBRARY_PATH
14787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14788 version_type=freebsd-elf
14789 need_lib_prefix=no
14790 need_version=no
14791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14792 soname_spec='${libname}${release}${shared_ext}$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 hardcode_into_libs=yes
14796 if test "$with_gnu_ld" = yes; then
14797 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14798 else
14799 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14800 case $host_os in
14801 sco3.2v5*)
14802 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14804 esac
14806 sys_lib_dlsearch_path_spec='/usr/lib'
14809 tpf*)
14810 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14811 version_type=linux
14812 need_lib_prefix=no
14813 need_version=no
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=no
14817 hardcode_into_libs=yes
14820 uts4*)
14821 version_type=linux
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 shlibpath_var=LD_LIBRARY_PATH
14828 dynamic_linker=no
14830 esac
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14832 $as_echo "$dynamic_linker" >&6; }
14833 test "$dynamic_linker" = no && can_build_shared=no
14835 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14836 if test "$GCC" = yes; then
14837 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14841 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14885 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14886 hardcode_action_CXX=
14887 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14888 test -n "$runpath_var_CXX" ||
14889 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14891 # We can hardcode non-existent directories.
14892 if test "$hardcode_direct_CXX" != no &&
14893 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14894 # have to relink, otherwise we might link with an installed library
14895 # when we should be linking with a yet-to-be-installed one
14896 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14897 test "$hardcode_minus_L_CXX" != no; then
14898 # Linking always hardcodes the temporary library directory.
14899 hardcode_action_CXX=relink
14900 else
14901 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14902 hardcode_action_CXX=immediate
14904 else
14905 # We cannot hardcode anything, or else we can only hardcode existing
14906 # directories.
14907 hardcode_action_CXX=unsupported
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14910 $as_echo "$hardcode_action_CXX" >&6; }
14912 if test "$hardcode_action_CXX" = relink ||
14913 test "$inherit_rpath_CXX" = yes; then
14914 # Fast installation is not supported
14915 enable_fast_install=no
14916 elif test "$shlibpath_overrides_runpath" = yes ||
14917 test "$enable_shared" = no; then
14918 # Fast installation is not necessary
14919 enable_fast_install=needless
14928 fi # test -n "$compiler"
14930 CC=$lt_save_CC
14931 LDCXX=$LD
14932 LD=$lt_save_LD
14933 GCC=$lt_save_GCC
14934 with_gnu_ld=$lt_save_with_gnu_ld
14935 lt_cv_path_LDCXX=$lt_cv_path_LD
14936 lt_cv_path_LD=$lt_save_path_LD
14937 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14938 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14939 fi # test "$_lt_caught_CXX_error" != yes
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 ac_config_commands="$ac_config_commands libtool"
14964 # Only expand once:
14970 case $host in
14971 *-cygwin* | *-mingw*)
14972 # 'host' will be top-level target in the case of a target lib,
14973 # we must compare to with_cross_host to decide if this is a native
14974 # or cross-compiler and select where to install dlls appropriately.
14975 if test -n "$with_cross_host" &&
14976 test x"$with_cross_host" != x"no"; then
14977 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14978 else
14979 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14983 lt_host_flags=
14985 esac
14992 if test "$enable_vtable_verify" = yes; then
14993 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14994 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14998 # libtool variables for C++ shared and position-independent compiles.
15000 # Use glibcxx_lt_pic_flag to designate the automake variable
15001 # used to encapsulate the default libtool approach to creating objects
15002 # with position-independent code. Default: -prefer-pic.
15004 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15005 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15007 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15008 # creating position-independent objects. This varies with the target
15009 # hardware and operating system, but is often: -DPIC -fPIC.
15010 if test "$enable_shared" = yes; then
15011 glibcxx_lt_pic_flag="-prefer-pic"
15012 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15013 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15015 else
15016 glibcxx_lt_pic_flag=
15017 glibcxx_compiler_pic_flag=
15018 glibcxx_compiler_shared_flag=
15024 # Override the libtool's pic_flag and pic_mode.
15025 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15026 # NB: this impacts --with-pic and --without-pic.
15027 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15028 pic_mode='default'
15030 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15031 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15033 # Possibly disable most of the library.
15034 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15035 ## than just ignoring the results. Faster /and/ more correct, win win.
15037 # Check whether --enable-hosted-libstdcxx was given.
15038 if test "${enable_hosted_libstdcxx+set}" = set; then :
15039 enableval=$enable_hosted_libstdcxx;
15040 else
15041 case "$host" in
15042 arm*-*-symbianelf*)
15043 enable_hosted_libstdcxx=no
15046 enable_hosted_libstdcxx=yes
15048 esac
15051 if test "$enable_hosted_libstdcxx" = no; then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15053 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15054 is_hosted=no
15055 hosted_define=0
15056 enable_abi_check=no
15057 enable_libstdcxx_pch=no
15058 else
15059 is_hosted=yes
15060 hosted_define=1
15064 cat >>confdefs.h <<_ACEOF
15065 #define _GLIBCXX_HOSTED $hosted_define
15066 _ACEOF
15070 # Enable descriptive messages to standard output on termination.
15072 # Check whether --enable-libstdcxx-verbose was given.
15073 if test "${enable_libstdcxx_verbose+set}" = set; then :
15074 enableval=$enable_libstdcxx_verbose;
15075 else
15076 enable_libstdcxx_verbose=yes
15079 if test x"$enable_libstdcxx_verbose" = xyes; then
15080 verbose_define=1
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15083 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15084 verbose_define=0
15087 cat >>confdefs.h <<_ACEOF
15088 #define _GLIBCXX_VERBOSE $verbose_define
15089 _ACEOF
15093 # Enable compiler support that doesn't require linking.
15095 # Check whether --enable-libstdcxx-pch was given.
15096 if test "${enable_libstdcxx_pch+set}" = set; then :
15097 enableval=$enable_libstdcxx_pch;
15098 case "$enableval" in
15099 yes|no) ;;
15100 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15101 esac
15103 else
15104 enable_libstdcxx_pch=$is_hosted
15108 if test $enable_libstdcxx_pch = yes; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15110 $as_echo_n "checking for compiler with PCH support... " >&6; }
15111 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_save_CXXFLAGS="$CXXFLAGS"
15115 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123 echo '#include <math.h>' > conftest.h
15124 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15125 -o conftest.h.gch 1>&5 2>&1 &&
15126 echo '#error "pch failed"' > conftest.h &&
15127 echo '#include "conftest.h"' > conftest.cc &&
15128 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15129 then
15130 glibcxx_cv_prog_CXX_pch=yes
15131 else
15132 glibcxx_cv_prog_CXX_pch=no
15134 rm -f conftest*
15135 CXXFLAGS=$ac_save_CXXFLAGS
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15145 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15146 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15150 $as_echo_n "checking for enabled PCH... " >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15152 $as_echo "$enable_libstdcxx_pch" >&6; }
15155 if test $enable_libstdcxx_pch = yes; then
15156 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15157 else
15158 glibcxx_PCHFLAGS=""
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15164 $as_echo_n "checking for thread model used by GCC... " >&6; }
15165 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15167 $as_echo "$target_thread_file" >&6; }
15169 case $target_thread_file in
15170 aix) thread_header=config/rs6000/gthr-aix.h ;;
15171 dce) thread_header=config/pa/gthr-dce.h ;;
15172 lynx) thread_header=config/gthr-lynx.h ;;
15173 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15174 posix) thread_header=gthr-posix.h ;;
15175 rtems) thread_header=config/gthr-rtems.h ;;
15176 single) thread_header=gthr-single.h ;;
15177 tpf) thread_header=config/s390/gthr-tpf.h ;;
15178 vxworks) thread_header=config/gthr-vxworks.h ;;
15179 win32) thread_header=config/i386/gthr-win32.h ;;
15180 esac
15186 ac_ext=cpp
15187 ac_cpp='$CXXCPP $CPPFLAGS'
15188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192 old_CXXFLAGS="$CXXFLAGS"
15194 # Do link tests if possible, instead asm tests, limited to some platforms
15195 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15196 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15197 atomic_builtins_link_tests=no
15198 if test x$gcc_no_link != xyes; then
15199 # Can do link tests. Limit to some tested platforms
15200 case "$host" in
15201 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15202 atomic_builtins_link_tests=yes
15204 esac
15207 if test x$atomic_builtins_link_tests = xyes; then
15209 # Do link tests.
15211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15214 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15215 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15219 if test x$gcc_no_link = xyes; then
15220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15226 main ()
15228 typedef bool atomic_type;
15229 atomic_type c1;
15230 atomic_type c2;
15231 atomic_type c3(0);
15232 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15233 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15234 __ATOMIC_RELAXED);
15235 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15236 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15239 return 0;
15241 _ACEOF
15242 if ac_fn_cxx_try_link "$LINENO"; then :
15243 glibcxx_cv_atomic_bool=yes
15244 else
15245 glibcxx_cv_atomic_bool=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15253 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15256 $as_echo_n "checking for atomic builtins for short... " >&6; }
15257 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15261 if test x$gcc_no_link = xyes; then
15262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15268 main ()
15270 typedef short atomic_type;
15271 atomic_type c1;
15272 atomic_type c2;
15273 atomic_type c3(0);
15274 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15275 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15276 __ATOMIC_RELAXED);
15277 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15278 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15281 return 0;
15283 _ACEOF
15284 if ac_fn_cxx_try_link "$LINENO"; then :
15285 glibcxx_cv_atomic_short=yes
15286 else
15287 glibcxx_cv_atomic_short=no
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15295 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15298 $as_echo_n "checking for atomic builtins for int... " >&6; }
15299 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15303 if test x$gcc_no_link = xyes; then
15304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15310 main ()
15312 typedef int atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 atomic_type c3(0);
15316 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15317 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15318 __ATOMIC_RELAXED);
15319 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15320 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15323 return 0;
15325 _ACEOF
15326 if ac_fn_cxx_try_link "$LINENO"; then :
15327 glibcxx_cv_atomic_int=yes
15328 else
15329 glibcxx_cv_atomic_int=no
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15337 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15340 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15341 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15345 if test x$gcc_no_link = xyes; then
15346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15352 main ()
15354 typedef long long atomic_type;
15355 atomic_type c1;
15356 atomic_type c2;
15357 atomic_type c3(0);
15358 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15359 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15360 __ATOMIC_RELAXED);
15361 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15362 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15365 return 0;
15367 _ACEOF
15368 if ac_fn_cxx_try_link "$LINENO"; then :
15369 glibcxx_cv_atomic_long_long=yes
15370 else
15371 glibcxx_cv_atomic_long_long=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15379 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381 else
15383 # Do asm tests.
15385 # Compile unoptimized.
15386 CXXFLAGS='-O0 -S'
15388 # Fake what AC_TRY_COMPILE does.
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15394 typedef bool atomic_type;
15395 atomic_type c1;
15396 atomic_type c2;
15397 atomic_type c3(0);
15398 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15399 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15400 __ATOMIC_RELAXED);
15401 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15402 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404 return 0;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15409 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_bool=no
15417 else
15418 glibcxx_cv_atomic_bool=yes
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15422 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15423 rm -f conftest*
15425 cat > conftest.$ac_ext << EOF
15426 #line 15426 "configure"
15427 int main()
15429 typedef short atomic_type;
15430 atomic_type c1;
15431 atomic_type c2;
15432 atomic_type c3(0);
15433 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15434 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15435 __ATOMIC_RELAXED);
15436 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15437 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439 return 0;
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15444 $as_echo_n "checking for atomic builtins for short... " >&6; }
15445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15451 glibcxx_cv_atomic_short=no
15452 else
15453 glibcxx_cv_atomic_short=yes
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15457 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15458 rm -f conftest*
15460 cat > conftest.$ac_ext << EOF
15461 #line 15461 "configure"
15462 int main()
15464 // NB: _Atomic_word not necessarily int.
15465 typedef int atomic_type;
15466 atomic_type c1;
15467 atomic_type c2;
15468 atomic_type c3(0);
15469 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15470 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15471 __ATOMIC_RELAXED);
15472 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15473 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475 return 0;
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15480 $as_echo_n "checking for atomic builtins for int... " >&6; }
15481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15485 test $ac_status = 0; }; then
15486 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15487 glibcxx_cv_atomic_int=no
15488 else
15489 glibcxx_cv_atomic_int=yes
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15493 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15494 rm -f conftest*
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15500 typedef long long atomic_type;
15501 atomic_type c1;
15502 atomic_type c2;
15503 atomic_type c3(0);
15504 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15505 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15506 __ATOMIC_RELAXED);
15507 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15508 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510 return 0;
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15515 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; }; then
15521 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15522 glibcxx_cv_atomic_long_long=no
15523 else
15524 glibcxx_cv_atomic_long_long=yes
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15528 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15529 rm -f conftest*
15533 CXXFLAGS="$old_CXXFLAGS"
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Set atomicity_dir to builtins if all but the long long test above passes.
15542 if test "$glibcxx_cv_atomic_bool" = yes \
15543 && test "$glibcxx_cv_atomic_short" = yes \
15544 && test "$glibcxx_cv_atomic_int" = yes; then
15546 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15548 atomicity_dir=cpu/generic/atomicity_builtins
15551 # If still generic, set to mutex.
15552 if test $atomicity_dir = "cpu/generic" ; then
15553 atomicity_dir=cpu/generic/atomicity_mutex
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15555 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15556 if test "x$target_thread_file" = xsingle; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15558 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15560 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15563 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15565 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15572 # Fake what AC_TRY_COMPILE does, without linking as this is
15573 # unnecessary for this test.
15575 cat > conftest.$ac_ext << EOF
15576 #line 15576 "configure"
15577 int main()
15579 _Decimal32 d1;
15580 _Decimal64 d2;
15581 _Decimal128 d3;
15582 return 0;
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15587 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15589 (eval $ac_compile) 2>&5
15590 ac_status=$?
15591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 test $ac_status = 0; }; then
15594 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15596 enable_dfp=yes
15597 else
15598 enable_dfp=no
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15601 $as_echo "$enable_dfp" >&6; }
15602 rm -f conftest*
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15614 # Fake what AC_TRY_COMPILE does, without linking as this is
15615 # unnecessary for this test.
15617 cat > conftest.$ac_ext << EOF
15618 #line 15618 "configure"
15619 template<typename T1, typename T2>
15620 struct same
15621 { typedef T2 type; };
15623 template<typename T>
15624 struct same<T, T>;
15626 int main()
15628 typename same<long, __int128>::type i1;
15629 typename same<long long, __int128>::type i2;
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15634 $as_echo_n "checking for __int128... " >&6; }
15635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15636 (eval $ac_compile) 2>&5
15637 ac_status=$?
15638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639 test $ac_status = 0; }; then
15641 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15643 enable_int128=yes
15644 else
15645 enable_int128=no
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15648 $as_echo "$enable_int128" >&6; }
15649 rm -f conftest*
15651 cat > conftest.$ac_ext << EOF
15652 #line 15652 "configure"
15653 template<typename T1, typename T2>
15654 struct same
15655 { typedef T2 type; };
15657 template<typename T>
15658 struct same<T, T>;
15660 int main()
15662 typename same<double, __float128>::type f1;
15663 typename same<long double, __float128>::type f2;
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15668 $as_echo_n "checking for __float128... " >&6; }
15669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15670 (eval $ac_compile) 2>&5
15671 ac_status=$?
15672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15673 test $ac_status = 0; }; then
15675 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15677 enable_float128=yes
15678 else
15679 enable_float128=no
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15682 $as_echo "$enable_float128" >&6; }
15683 rm -f conftest*
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 if test "$enable_float128" = yes; then
15693 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15696 # Checks for compiler support that doesn't require linking.
15698 # All these tests are for C++; save the language and the compiler flags.
15699 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15700 # found in GLIBCXX_CONFIGURE.
15702 ac_ext=cpp
15703 ac_cpp='$CXXCPP $CPPFLAGS'
15704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15709 ac_save_CXXFLAGS="$CXXFLAGS"
15711 # Check for maintainer-mode bits.
15712 if test x"$USE_MAINTAINER_MODE" = xno; then
15713 WERROR=''
15714 else
15715 WERROR='-Werror'
15718 # Check for -ffunction-sections -fdata-sections
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15720 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15721 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15724 int foo; void bar() { };
15726 main ()
15730 return 0;
15732 _ACEOF
15733 if ac_fn_cxx_try_compile "$LINENO"; then :
15734 ac_fdsections=yes
15735 else
15736 ac_fdsections=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 if test "$ac_test_CXXFLAGS" = set; then
15740 CXXFLAGS="$ac_save_CXXFLAGS"
15741 else
15742 # this is the suspicious part
15743 CXXFLAGS=''
15745 if test x"$ac_fdsections" = x"yes"; then
15746 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15749 $as_echo "$ac_fdsections" >&6; }
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 # Enable all the variable C++ runtime options that don't require linking.
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15764 $as_echo_n "checking for underlying I/O to use... " >&6; }
15765 # Check whether --enable-cstdio was given.
15766 if test "${enable_cstdio+set}" = set; then :
15767 enableval=$enable_cstdio;
15768 case "$enableval" in
15769 stdio) ;;
15770 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15771 esac
15773 else
15774 enable_cstdio=stdio
15779 # Now that libio has been removed, you can have any color you want as long
15780 # as it's black. This is one big no-op until other packages are added, but
15781 # showing the framework never hurts.
15782 case ${enable_cstdio} in
15783 stdio)
15784 CSTDIO_H=config/io/c_io_stdio.h
15785 BASIC_FILE_H=config/io/basic_file_stdio.h
15786 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15788 $as_echo "stdio" >&6; }
15790 esac
15797 # Check whether --enable-clocale was given.
15798 if test "${enable_clocale+set}" = set; then :
15799 enableval=$enable_clocale;
15800 case "$enableval" in
15801 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15802 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15803 esac
15805 else
15806 enable_clocale=auto
15811 # Deal with gettext issues. Default to not using it (=no) until we detect
15812 # support for it later. Let the user turn it off via --e/d, but let that
15813 # default to on for easier handling.
15814 USE_NLS=no
15815 # Check whether --enable-nls was given.
15816 if test "${enable_nls+set}" = set; then :
15817 enableval=$enable_nls;
15818 else
15819 enable_nls=yes
15823 # Either a known package, or "auto"
15824 if test $enable_clocale = no || test $enable_clocale = yes; then
15825 enable_clocale=auto
15827 enable_clocale_flag=$enable_clocale
15829 # Probe for locale model to use if none specified.
15830 # Default to "generic".
15831 if test $enable_clocale_flag = auto; then
15832 case ${target_os} in
15833 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15834 enable_clocale_flag=gnu
15836 darwin*)
15837 enable_clocale_flag=darwin
15839 dragonfly* | freebsd*)
15840 enable_clocale_flag=dragonfly
15842 openbsd*)
15843 enable_clocale_flag=newlib
15846 if test x"$with_newlib" = x"yes"; then
15847 enable_clocale_flag=newlib
15848 else
15849 enable_clocale_flag=generic
15852 esac
15855 # Sanity check model, and test for special functionality.
15856 if test $enable_clocale_flag = gnu; then
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15860 #include <features.h>
15861 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15862 _GLIBCXX_ok
15863 #endif
15865 _ACEOF
15866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15867 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15868 enable_clocale_flag=gnu
15869 else
15870 enable_clocale_flag=generic
15872 rm -f conftest*
15875 # Set it to scream when it hurts.
15876 ac_save_CFLAGS="$CFLAGS"
15877 CFLAGS="-Wimplicit-function-declaration -Werror"
15879 # Use strxfrm_l if available.
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #define _GNU_SOURCE 1
15883 #include <string.h>
15884 #include <locale.h>
15886 main ()
15888 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15895 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 # Use strerror_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15907 main ()
15909 __locale_t loc; strerror_l(5, loc);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15916 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 CFLAGS="$ac_save_CFLAGS"
15924 # Perhaps use strerror_r if available, and strerror_l isn't.
15925 ac_save_CFLAGS="$CFLAGS"
15926 CFLAGS="-Wimplicit-function-declaration -Werror"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #define _GNU_SOURCE 1
15930 #include <string.h>
15931 #include <locale.h>
15933 main ()
15935 char s[128]; strerror_r(5, s, 128);
15937 return 0;
15939 _ACEOF
15940 if ac_fn_c_try_compile "$LINENO"; then :
15942 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 CFLAGS="$ac_save_CFLAGS"
15948 # Set configure bits for specified locale package
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15950 $as_echo_n "checking for C locale to use... " >&6; }
15951 case ${enable_clocale_flag} in
15952 generic)
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15954 $as_echo "generic" >&6; }
15956 CLOCALE_H=config/locale/generic/c_locale.h
15957 CLOCALE_CC=config/locale/generic/c_locale.cc
15958 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15959 CCOLLATE_CC=config/locale/generic/collate_members.cc
15960 CCTYPE_CC=config/locale/generic/ctype_members.cc
15961 CMESSAGES_H=config/locale/generic/messages_members.h
15962 CMESSAGES_CC=config/locale/generic/messages_members.cc
15963 CMONEY_CC=config/locale/generic/monetary_members.cc
15964 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15965 CTIME_H=config/locale/generic/time_members.h
15966 CTIME_CC=config/locale/generic/time_members.cc
15967 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15969 darwin)
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15971 $as_echo "darwin" >&6; }
15973 CLOCALE_H=config/locale/generic/c_locale.h
15974 CLOCALE_CC=config/locale/generic/c_locale.cc
15975 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15976 CCOLLATE_CC=config/locale/generic/collate_members.cc
15977 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15978 CMESSAGES_H=config/locale/generic/messages_members.h
15979 CMESSAGES_CC=config/locale/generic/messages_members.cc
15980 CMONEY_CC=config/locale/generic/monetary_members.cc
15981 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15982 CTIME_H=config/locale/generic/time_members.h
15983 CTIME_CC=config/locale/generic/time_members.cc
15984 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987 dragonfly)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15989 $as_echo "dragonfly or freebsd" >&6; }
15991 CLOCALE_H=config/locale/dragonfly/c_locale.h
15992 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15993 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15995 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15999 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16000 CTIME_H=config/locale/dragonfly/time_members.h
16001 CTIME_CC=config/locale/dragonfly/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16005 gnu)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16007 $as_echo "gnu" >&6; }
16009 # Declare intention to use gettext, and add support for specific
16010 # languages.
16011 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16012 ALL_LINGUAS="de fr"
16014 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16015 # Extract the first word of "msgfmt", so it can be a program name with args.
16016 set dummy msgfmt; ac_word=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 if test -n "$check_msgfmt"; then
16023 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16024 else
16025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16026 for as_dir in $PATH
16028 IFS=$as_save_IFS
16029 test -z "$as_dir" && as_dir=.
16030 for ac_exec_ext in '' $ac_executable_extensions; do
16031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16032 ac_cv_prog_check_msgfmt="yes"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034 break 2
16036 done
16037 done
16038 IFS=$as_save_IFS
16040 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16043 check_msgfmt=$ac_cv_prog_check_msgfmt
16044 if test -n "$check_msgfmt"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16046 $as_echo "$check_msgfmt" >&6; }
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16053 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16054 USE_NLS=yes
16056 # Export the build objects.
16057 for ling in $ALL_LINGUAS; do \
16058 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16059 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16060 done
16064 CLOCALE_H=config/locale/gnu/c_locale.h
16065 CLOCALE_CC=config/locale/gnu/c_locale.cc
16066 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16067 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16068 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16069 CMESSAGES_H=config/locale/gnu/messages_members.h
16070 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16071 CMONEY_CC=config/locale/gnu/monetary_members.cc
16072 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16073 CTIME_H=config/locale/gnu/time_members.h
16074 CTIME_CC=config/locale/gnu/time_members.cc
16075 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16077 ieee_1003.1-2001)
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16079 $as_echo "IEEE 1003.1" >&6; }
16081 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16082 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16083 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16084 CCOLLATE_CC=config/locale/generic/collate_members.cc
16085 CCTYPE_CC=config/locale/generic/ctype_members.cc
16086 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16087 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16088 CMONEY_CC=config/locale/generic/monetary_members.cc
16089 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16090 CTIME_H=config/locale/generic/time_members.h
16091 CTIME_CC=config/locale/generic/time_members.cc
16092 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16094 newlib)
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16096 $as_echo "newlib" >&6; }
16098 CLOCALE_H=config/locale/generic/c_locale.h
16099 CLOCALE_CC=config/locale/generic/c_locale.cc
16100 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16101 CCOLLATE_CC=config/locale/generic/collate_members.cc
16102 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16103 CMESSAGES_H=config/locale/generic/messages_members.h
16104 CMESSAGES_CC=config/locale/generic/messages_members.cc
16105 CMONEY_CC=config/locale/generic/monetary_members.cc
16106 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16107 CTIME_H=config/locale/generic/time_members.h
16108 CTIME_CC=config/locale/generic/time_members.cc
16109 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16111 esac
16113 # This is where the testsuite looks for locale catalogs, using the
16114 # -DLOCALEDIR define during testsuite compilation.
16115 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16118 # A standalone libintl (e.g., GNU libintl) may be in use.
16119 if test $USE_NLS = yes; then
16120 for ac_header in libintl.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_LIBINTL_H 1
16126 _ACEOF
16128 else
16129 USE_NLS=no
16132 done
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16135 $as_echo_n "checking for library containing gettext... " >&6; }
16136 if test "${ac_cv_search_gettext+set}" = set; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_func_search_save_LIBS=$LIBS
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char gettext ();
16151 main ()
16153 return gettext ();
16155 return 0;
16157 _ACEOF
16158 for ac_lib in '' intl; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16165 if test x$gcc_no_link = xyes; then
16166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 ac_cv_search_gettext=$ac_res
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext
16173 if test "${ac_cv_search_gettext+set}" = set; then :
16174 break
16176 done
16177 if test "${ac_cv_search_gettext+set}" = set; then :
16179 else
16180 ac_cv_search_gettext=no
16182 rm conftest.$ac_ext
16183 LIBS=$ac_func_search_save_LIBS
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16186 $as_echo "$ac_cv_search_gettext" >&6; }
16187 ac_res=$ac_cv_search_gettext
16188 if test "$ac_res" != no; then :
16189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16191 else
16192 USE_NLS=no
16196 if test $USE_NLS = yes; then
16198 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16218 $as_echo_n "checking for std::allocator base class... " >&6; }
16219 # Check whether --enable-libstdcxx-allocator was given.
16220 if test "${enable_libstdcxx_allocator+set}" = set; then :
16221 enableval=$enable_libstdcxx_allocator;
16222 case "$enableval" in
16223 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16224 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16225 esac
16227 else
16228 enable_libstdcxx_allocator=auto
16233 # If they didn't use this option switch, or if they specified --enable
16234 # with no specific model, we'll have to look for one. If they
16235 # specified --disable (???), do likewise.
16236 if test $enable_libstdcxx_allocator = no ||
16237 test $enable_libstdcxx_allocator = yes;
16238 then
16239 enable_libstdcxx_allocator=auto
16242 # Either a known package, or "auto". Auto implies the default choice
16243 # for a particular platform.
16244 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16246 # Probe for host-specific support if no specific model is specified.
16247 # Default to "new".
16248 if test $enable_libstdcxx_allocator_flag = auto; then
16249 case ${target_os} in
16250 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16251 enable_libstdcxx_allocator_flag=new
16254 enable_libstdcxx_allocator_flag=new
16256 esac
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16259 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16262 # Set configure bits for specified locale package
16263 case ${enable_libstdcxx_allocator_flag} in
16264 bitmap)
16265 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16268 malloc)
16269 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16273 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16276 new)
16277 ALLOCATOR_H=config/allocator/new_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16280 pool)
16281 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16284 esac
16291 # Check whether --enable-cheaders was given.
16292 if test "${enable_cheaders+set}" = set; then :
16293 enableval=$enable_cheaders;
16294 case "$enableval" in
16295 c|c_std|c_global) ;;
16296 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16297 esac
16299 else
16300 enable_cheaders=$c_model
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16305 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16307 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16309 # Allow overrides to configure.host here.
16310 if test $enable_cheaders = c_global; then
16311 c_compatibility=yes
16320 # Check whether --enable-long-long was given.
16321 if test "${enable_long_long+set}" = set; then :
16322 enableval=$enable_long_long;
16323 case "$enableval" in
16324 yes|no) ;;
16325 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16326 esac
16328 else
16329 enable_long_long=yes
16333 if test $enable_long_long = yes; then
16335 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16339 $as_echo_n "checking for enabled long long specializations... " >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16341 $as_echo "$enable_long_long" >&6; }
16344 # Check whether --enable-wchar_t was given.
16345 if test "${enable_wchar_t+set}" = set; then :
16346 enableval=$enable_wchar_t;
16347 case "$enableval" in
16348 yes|no) ;;
16349 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16350 esac
16352 else
16353 enable_wchar_t=yes
16358 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16359 for ac_header in wchar.h
16360 do :
16361 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16362 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_WCHAR_H 1
16365 _ACEOF
16366 ac_has_wchar_h=yes
16367 else
16368 ac_has_wchar_h=no
16371 done
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16374 $as_echo_n "checking for mbstate_t... " >&6; }
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16379 main ()
16381 mbstate_t teststate;
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_compile "$LINENO"; then :
16387 have_mbstate_t=yes
16388 else
16389 have_mbstate_t=no
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16393 $as_echo "$have_mbstate_t" >&6; }
16394 if test x"$have_mbstate_t" = xyes; then
16396 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16401 # ac_has_wchar_h.
16402 for ac_header in wctype.h
16403 do :
16404 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_WCTYPE_H 1
16408 _ACEOF
16409 ac_has_wctype_h=yes
16410 else
16411 ac_has_wctype_h=no
16414 done
16417 if test x"$enable_wchar_t" = x"yes"; then
16420 ac_ext=cpp
16421 ac_cpp='$CXXCPP $CPPFLAGS'
16422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16427 if test x"$ac_has_wchar_h" = xyes &&
16428 test x"$ac_has_wctype_h" = xyes; then
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16431 #include <wchar.h>
16432 #include <stddef.h>
16433 wint_t i;
16434 long l = WEOF;
16435 long j = WCHAR_MIN;
16436 long k = WCHAR_MAX;
16437 namespace test
16439 using ::btowc;
16440 using ::fgetwc;
16441 using ::fgetws;
16442 using ::fputwc;
16443 using ::fputws;
16444 using ::fwide;
16445 using ::fwprintf;
16446 using ::fwscanf;
16447 using ::getwc;
16448 using ::getwchar;
16449 using ::mbrlen;
16450 using ::mbrtowc;
16451 using ::mbsinit;
16452 using ::mbsrtowcs;
16453 using ::putwc;
16454 using ::putwchar;
16455 using ::swprintf;
16456 using ::swscanf;
16457 using ::ungetwc;
16458 using ::vfwprintf;
16459 using ::vswprintf;
16460 using ::vwprintf;
16461 using ::wcrtomb;
16462 using ::wcscat;
16463 using ::wcschr;
16464 using ::wcscmp;
16465 using ::wcscoll;
16466 using ::wcscpy;
16467 using ::wcscspn;
16468 using ::wcsftime;
16469 using ::wcslen;
16470 using ::wcsncat;
16471 using ::wcsncmp;
16472 using ::wcsncpy;
16473 using ::wcspbrk;
16474 using ::wcsrchr;
16475 using ::wcsrtombs;
16476 using ::wcsspn;
16477 using ::wcsstr;
16478 using ::wcstod;
16479 using ::wcstok;
16480 using ::wcstol;
16481 using ::wcstoul;
16482 using ::wcsxfrm;
16483 using ::wctob;
16484 using ::wmemchr;
16485 using ::wmemcmp;
16486 using ::wmemcpy;
16487 using ::wmemmove;
16488 using ::wmemset;
16489 using ::wprintf;
16490 using ::wscanf;
16494 main ()
16498 return 0;
16500 _ACEOF
16501 if ac_fn_cxx_try_compile "$LINENO"; then :
16503 else
16504 enable_wchar_t=no
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 else
16508 enable_wchar_t=no
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519 if test x"$enable_wchar_t" = x"yes"; then
16521 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16526 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16528 $as_echo "$enable_wchar_t" >&6; }
16532 # Check whether --enable-c99 was given.
16533 if test "${enable_c99+set}" = set; then :
16534 enableval=$enable_c99;
16535 case "$enableval" in
16536 yes|no) ;;
16537 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16538 esac
16540 else
16541 enable_c99=yes
16546 if test x"$enable_c99" = x"yes"; then
16548 ac_ext=cpp
16549 ac_cpp='$CXXCPP $CPPFLAGS'
16550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16555 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16556 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16557 # to be spuriously enabled.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607 LIBS="$LIBS -lm"
16608 else
16610 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16611 gcc_no_link=yes
16617 # Check for the existence of <math.h> functions used if C99 is enabled.
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16619 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16620 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16624 if test x$gcc_no_link = xyes; then
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #include <math.h>
16628 volatile double d1, d2;
16629 volatile int i;
16631 main ()
16633 i = fpclassify(d1);
16634 i = isfinite(d1);
16635 i = isinf(d1);
16636 i = isnan(d1);
16637 i = isnormal(d1);
16638 i = signbit(d1);
16639 i = isgreater(d1, d2);
16640 i = isgreaterequal(d1, d2);
16641 i = isless(d1, d2);
16642 i = islessequal(d1, d2);
16643 i = islessgreater(d1, d2);
16644 i = islessgreater(d1, d2);
16645 i = isunordered(d1, d2);
16648 return 0;
16650 _ACEOF
16651 if ac_fn_cxx_try_compile "$LINENO"; then :
16652 glibcxx_cv_c99_math_cxx98=yes
16653 else
16654 glibcxx_cv_c99_math_cxx98=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <math.h>
16664 volatile double d1, d2;
16665 volatile int i;
16667 main ()
16669 i = fpclassify(d1);
16670 i = isfinite(d1);
16671 i = isinf(d1);
16672 i = isnan(d1);
16673 i = isnormal(d1);
16674 i = signbit(d1);
16675 i = isgreater(d1, d2);
16676 i = isgreaterequal(d1, d2);
16677 i = isless(d1, d2);
16678 i = islessequal(d1, d2);
16679 i = islessgreater(d1, d2);
16680 i = islessgreater(d1, d2);
16681 i = isunordered(d1, d2);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_cxx_try_link "$LINENO"; then :
16688 glibcxx_cv_c99_math_cxx98=yes
16689 else
16690 glibcxx_cv_c99_math_cxx98=no
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16699 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16700 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16702 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706 # Check for the existence of <complex.h> complex math functions.
16707 # This is necessary even though libstdc++ uses the builtin versions
16708 # of these functions, because if the builtin cannot be used, a reference
16709 # to the library function is emitted.
16710 for ac_header in tgmath.h
16711 do :
16712 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_TGMATH_H 1
16716 _ACEOF
16717 ac_has_tgmath_h=yes
16718 else
16719 ac_has_tgmath_h=no
16722 done
16724 for ac_header in complex.h
16725 do :
16726 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16727 if test "x$ac_cv_header_complex_h" = x""yes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_COMPLEX_H 1
16730 _ACEOF
16731 ac_has_complex_h=yes
16732 else
16733 ac_has_complex_h=no
16736 done
16738 if test x"$ac_has_complex_h" = x"yes"; then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16740 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16741 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16745 if test x$gcc_no_link = xyes; then
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <complex.h>
16749 typedef __complex__ float float_type;
16750 typedef __complex__ double double_type;
16751 typedef __complex__ long double ld_type;
16752 volatile float_type tmpf;
16753 volatile double_type tmpd;
16754 volatile ld_type tmpld;
16755 volatile float f;
16756 volatile double d;
16757 volatile long double ld;
16759 main ()
16761 f = cabsf(tmpf);
16762 f = cargf(tmpf);
16763 tmpf = ccosf(tmpf);
16764 tmpf = ccoshf(tmpf);
16765 tmpf = cexpf(tmpf);
16766 tmpf = clogf(tmpf);
16767 tmpf = csinf(tmpf);
16768 tmpf = csinhf(tmpf);
16769 tmpf = csqrtf(tmpf);
16770 tmpf = ctanf(tmpf);
16771 tmpf = ctanhf(tmpf);
16772 tmpf = cpowf(tmpf, tmpf);
16773 tmpf = cprojf(tmpf);
16774 d = cabs(tmpd);
16775 d = carg(tmpd);
16776 tmpd = ccos(tmpd);
16777 tmpd = ccosh(tmpd);
16778 tmpd = cexp(tmpd);
16779 tmpd = clog(tmpd);
16780 tmpd = csin(tmpd);
16781 tmpd = csinh(tmpd);
16782 tmpd = csqrt(tmpd);
16783 tmpd = ctan(tmpd);
16784 tmpd = ctanh(tmpd);
16785 tmpd = cpow(tmpd, tmpd);
16786 tmpd = cproj(tmpd);
16787 ld = cabsl(tmpld);
16788 ld = cargl(tmpld);
16789 tmpld = ccosl(tmpld);
16790 tmpld = ccoshl(tmpld);
16791 tmpld = cexpl(tmpld);
16792 tmpld = clogl(tmpld);
16793 tmpld = csinl(tmpld);
16794 tmpld = csinhl(tmpld);
16795 tmpld = csqrtl(tmpld);
16796 tmpld = ctanl(tmpld);
16797 tmpld = ctanhl(tmpld);
16798 tmpld = cpowl(tmpld, tmpld);
16799 tmpld = cprojl(tmpld);
16802 return 0;
16804 _ACEOF
16805 if ac_fn_cxx_try_compile "$LINENO"; then :
16806 glibcxx_cv_c99_complex_cxx98=yes
16807 else
16808 glibcxx_cv_c99_complex_cxx98=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 else
16812 if test x$gcc_no_link = xyes; then
16813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #include <complex.h>
16818 typedef __complex__ float float_type;
16819 typedef __complex__ double double_type;
16820 typedef __complex__ long double ld_type;
16821 volatile float_type tmpf;
16822 volatile double_type tmpd;
16823 volatile ld_type tmpld;
16824 volatile float f;
16825 volatile double d;
16826 volatile long double ld;
16828 main ()
16830 f = cabsf(tmpf);
16831 f = cargf(tmpf);
16832 tmpf = ccosf(tmpf);
16833 tmpf = ccoshf(tmpf);
16834 tmpf = cexpf(tmpf);
16835 tmpf = clogf(tmpf);
16836 tmpf = csinf(tmpf);
16837 tmpf = csinhf(tmpf);
16838 tmpf = csqrtf(tmpf);
16839 tmpf = ctanf(tmpf);
16840 tmpf = ctanhf(tmpf);
16841 tmpf = cpowf(tmpf, tmpf);
16842 tmpf = cprojf(tmpf);
16843 d = cabs(tmpd);
16844 d = carg(tmpd);
16845 tmpd = ccos(tmpd);
16846 tmpd = ccosh(tmpd);
16847 tmpd = cexp(tmpd);
16848 tmpd = clog(tmpd);
16849 tmpd = csin(tmpd);
16850 tmpd = csinh(tmpd);
16851 tmpd = csqrt(tmpd);
16852 tmpd = ctan(tmpd);
16853 tmpd = ctanh(tmpd);
16854 tmpd = cpow(tmpd, tmpd);
16855 tmpd = cproj(tmpd);
16856 ld = cabsl(tmpld);
16857 ld = cargl(tmpld);
16858 tmpld = ccosl(tmpld);
16859 tmpld = ccoshl(tmpld);
16860 tmpld = cexpl(tmpld);
16861 tmpld = clogl(tmpld);
16862 tmpld = csinl(tmpld);
16863 tmpld = csinhl(tmpld);
16864 tmpld = csqrtl(tmpld);
16865 tmpld = ctanl(tmpld);
16866 tmpld = ctanhl(tmpld);
16867 tmpld = cpowl(tmpld, tmpld);
16868 tmpld = cprojl(tmpld);
16871 return 0;
16873 _ACEOF
16874 if ac_fn_cxx_try_link "$LINENO"; then :
16875 glibcxx_cv_c99_complex_cxx98=yes
16876 else
16877 glibcxx_cv_c99_complex_cxx98=no
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16887 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16888 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16890 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894 # Check for the existence in <stdio.h> of vscanf, et. al.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16896 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16897 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16901 if test x$gcc_no_link = xyes; then
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <stdio.h>
16905 #include <stdarg.h>
16906 void foo(char* fmt, ...)
16908 va_list args; va_start(args, fmt);
16909 vfscanf(stderr, "%i", args);
16910 vscanf("%i", args);
16911 vsnprintf(fmt, 0, "%i", args);
16912 vsscanf(fmt, "%i", args);
16913 snprintf(fmt, 0, "%i");
16916 main ()
16920 return 0;
16922 _ACEOF
16923 if ac_fn_cxx_try_compile "$LINENO"; then :
16924 glibcxx_cv_c99_stdio_cxx98=yes
16925 else
16926 glibcxx_cv_c99_stdio_cxx98=no
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 else
16930 if test x$gcc_no_link = xyes; then
16931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <stdio.h>
16936 #include <stdarg.h>
16937 void foo(char* fmt, ...)
16939 va_list args; va_start(args, fmt);
16940 vfscanf(stderr, "%i", args);
16941 vscanf("%i", args);
16942 vsnprintf(fmt, 0, "%i", args);
16943 vsscanf(fmt, "%i", args);
16944 snprintf(fmt, 0, "%i");
16947 main ()
16951 return 0;
16953 _ACEOF
16954 if ac_fn_cxx_try_link "$LINENO"; then :
16955 glibcxx_cv_c99_stdio_cxx98=yes
16956 else
16957 glibcxx_cv_c99_stdio_cxx98=no
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext conftest.$ac_ext
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16966 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16967 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16969 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16975 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16976 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16980 if test x$gcc_no_link = xyes; then
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #include <stdlib.h>
16984 volatile float f;
16985 volatile long double ld;
16986 volatile unsigned long long ll;
16987 lldiv_t mydivt;
16989 main ()
16991 char* tmp;
16992 f = strtof("gnu", &tmp);
16993 ld = strtold("gnu", &tmp);
16994 ll = strtoll("gnu", &tmp, 10);
16995 ll = strtoull("gnu", &tmp, 10);
16996 ll = llabs(10);
16997 mydivt = lldiv(10,1);
16998 ll = mydivt.quot;
16999 ll = mydivt.rem;
17000 ll = atoll("10");
17001 _Exit(0);
17004 return 0;
17006 _ACEOF
17007 if ac_fn_cxx_try_compile "$LINENO"; then :
17008 glibcxx_cv_c99_stdlib_cxx98=yes
17009 else
17010 glibcxx_cv_c99_stdlib_cxx98=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013 else
17014 if test x$gcc_no_link = xyes; then
17015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #include <stdlib.h>
17020 volatile float f;
17021 volatile long double ld;
17022 volatile unsigned long long ll;
17023 lldiv_t mydivt;
17025 main ()
17027 char* tmp;
17028 f = strtof("gnu", &tmp);
17029 ld = strtold("gnu", &tmp);
17030 ll = strtoll("gnu", &tmp, 10);
17031 ll = strtoull("gnu", &tmp, 10);
17032 ll = llabs(10);
17033 mydivt = lldiv(10,1);
17034 ll = mydivt.quot;
17035 ll = mydivt.rem;
17036 ll = atoll("10");
17037 _Exit(0);
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_link "$LINENO"; then :
17044 glibcxx_cv_c99_stdlib_cxx98=yes
17045 else
17046 glibcxx_cv_c99_stdlib_cxx98=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17055 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17056 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17058 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17062 # Check for the existence in <wchar.h> of wcstold, etc.
17063 if test x"$ac_has_wchar_h" = xyes &&
17064 test x"$ac_has_wctype_h" = xyes; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17066 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17067 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <wchar.h>
17074 namespace test
17076 using ::wcstold;
17077 using ::wcstoll;
17078 using ::wcstoull;
17082 main ()
17086 return 0;
17088 _ACEOF
17089 if ac_fn_cxx_try_compile "$LINENO"; then :
17090 glibcxx_cv_c99_wchar_cxx98=yes
17091 else
17092 glibcxx_cv_c99_wchar_cxx98=no
17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099 # Checks for wide character functions that may not be present.
17100 # Injection of these is wrapped with guard macros.
17101 # NB: only put functions here, instead of immediately above, if
17102 # absolutely necessary.
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <wchar.h>
17106 namespace test { using ::vfwscanf; }
17108 main ()
17112 return 0;
17114 _ACEOF
17115 if ac_fn_cxx_try_compile "$LINENO"; then :
17117 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #include <wchar.h>
17125 namespace test { using ::vswscanf; }
17127 main ()
17131 return 0;
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17136 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #include <wchar.h>
17144 namespace test { using ::vwscanf; }
17146 main ()
17150 return 0;
17152 _ACEOF
17153 if ac_fn_cxx_try_compile "$LINENO"; then :
17155 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #include <wchar.h>
17163 namespace test { using ::wcstof; }
17165 main ()
17169 return 0;
17171 _ACEOF
17172 if ac_fn_cxx_try_compile "$LINENO"; then :
17174 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <wctype.h>
17183 main ()
17185 wint_t t; int i = iswblank(t);
17187 return 0;
17189 _ACEOF
17190 if ac_fn_cxx_try_compile "$LINENO"; then :
17192 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17198 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17199 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17201 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17206 # Option parsed, now set things appropriately.
17207 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17208 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17209 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17210 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17212 enable_c99=no;
17213 else
17215 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17219 gcc_no_link="$ac_save_gcc_no_link"
17220 LIBS="$ac_save_LIBS"
17221 CXXFLAGS="$ac_save_CXXFLAGS"
17222 ac_ext=c
17223 ac_cpp='$CPP $CPPFLAGS'
17224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230 ac_ext=cpp
17231 ac_cpp='$CXXCPP $CPPFLAGS'
17232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17237 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17238 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17239 ac_save_CXXFLAGS="$CXXFLAGS"
17240 CXXFLAGS="$CXXFLAGS -std=c++11"
17241 ac_save_LIBS="$LIBS"
17242 ac_save_gcc_no_link="$gcc_no_link"
17244 if test x$gcc_no_link != xyes; then
17245 # Use -fno-exceptions to that the C driver can link these tests without
17246 # hitting undefined references to personality routines.
17247 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17249 $as_echo_n "checking for sin in -lm... " >&6; }
17250 if test "${ac_cv_lib_m_sin+set}" = set; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_check_lib_save_LIBS=$LIBS
17254 LIBS="-lm $LIBS"
17255 if test x$gcc_no_link = xyes; then
17256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17261 /* Override any GCC internal prototype to avoid an error.
17262 Use char because int might match the return type of a GCC
17263 builtin and then its argument prototype would still apply. */
17264 #ifdef __cplusplus
17265 extern "C"
17266 #endif
17267 char sin ();
17269 main ()
17271 return sin ();
17273 return 0;
17275 _ACEOF
17276 if ac_fn_cxx_try_link "$LINENO"; then :
17277 ac_cv_lib_m_sin=yes
17278 else
17279 ac_cv_lib_m_sin=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17286 $as_echo "$ac_cv_lib_m_sin" >&6; }
17287 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17288 LIBS="$LIBS -lm"
17289 else
17291 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17292 gcc_no_link=yes
17298 # Check for the existence of <math.h> functions used if C99 is enabled.
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17300 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17301 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17305 if test x$gcc_no_link = xyes; then
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <math.h>
17309 volatile double d1, d2;
17310 volatile int i;
17312 main ()
17314 i = fpclassify(d1);
17315 i = isfinite(d1);
17316 i = isinf(d1);
17317 i = isnan(d1);
17318 i = isnormal(d1);
17319 i = signbit(d1);
17320 i = isgreater(d1, d2);
17321 i = isgreaterequal(d1, d2);
17322 i = isless(d1, d2);
17323 i = islessequal(d1, d2);
17324 i = islessgreater(d1, d2);
17325 i = islessgreater(d1, d2);
17326 i = isunordered(d1, d2);
17329 return 0;
17331 _ACEOF
17332 if ac_fn_cxx_try_compile "$LINENO"; then :
17333 glibcxx_cv_c99_math_cxx11=yes
17334 else
17335 glibcxx_cv_c99_math_cxx11=no
17337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 else
17339 if test x$gcc_no_link = xyes; then
17340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <math.h>
17345 volatile double d1, d2;
17346 volatile int i;
17348 main ()
17350 i = fpclassify(d1);
17351 i = isfinite(d1);
17352 i = isinf(d1);
17353 i = isnan(d1);
17354 i = isnormal(d1);
17355 i = signbit(d1);
17356 i = isgreater(d1, d2);
17357 i = isgreaterequal(d1, d2);
17358 i = isless(d1, d2);
17359 i = islessequal(d1, d2);
17360 i = islessgreater(d1, d2);
17361 i = islessgreater(d1, d2);
17362 i = isunordered(d1, d2);
17365 return 0;
17367 _ACEOF
17368 if ac_fn_cxx_try_link "$LINENO"; then :
17369 glibcxx_cv_c99_math_cxx11=yes
17370 else
17371 glibcxx_cv_c99_math_cxx11=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17380 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17381 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17383 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17387 # Check for the existence of <complex.h> complex math functions.
17388 # This is necessary even though libstdc++ uses the builtin versions
17389 # of these functions, because if the builtin cannot be used, a reference
17390 # to the library function is emitted.
17391 for ac_header in tgmath.h
17392 do :
17393 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17394 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17395 cat >>confdefs.h <<_ACEOF
17396 #define HAVE_TGMATH_H 1
17397 _ACEOF
17398 ac_has_tgmath_h=yes
17399 else
17400 ac_has_tgmath_h=no
17403 done
17405 for ac_header in complex.h
17406 do :
17407 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17408 if test "x$ac_cv_header_complex_h" = x""yes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_COMPLEX_H 1
17411 _ACEOF
17412 ac_has_complex_h=yes
17413 else
17414 ac_has_complex_h=no
17417 done
17419 if test x"$ac_has_complex_h" = x"yes"; then
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17421 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17422 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17426 if test x$gcc_no_link = xyes; then
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 #include <complex.h>
17430 typedef __complex__ float float_type;
17431 typedef __complex__ double double_type;
17432 typedef __complex__ long double ld_type;
17433 volatile float_type tmpf;
17434 volatile double_type tmpd;
17435 volatile ld_type tmpld;
17436 volatile float f;
17437 volatile double d;
17438 volatile long double ld;
17440 main ()
17442 f = cabsf(tmpf);
17443 f = cargf(tmpf);
17444 tmpf = ccosf(tmpf);
17445 tmpf = ccoshf(tmpf);
17446 tmpf = cexpf(tmpf);
17447 tmpf = clogf(tmpf);
17448 tmpf = csinf(tmpf);
17449 tmpf = csinhf(tmpf);
17450 tmpf = csqrtf(tmpf);
17451 tmpf = ctanf(tmpf);
17452 tmpf = ctanhf(tmpf);
17453 tmpf = cpowf(tmpf, tmpf);
17454 tmpf = cprojf(tmpf);
17455 d = cabs(tmpd);
17456 d = carg(tmpd);
17457 tmpd = ccos(tmpd);
17458 tmpd = ccosh(tmpd);
17459 tmpd = cexp(tmpd);
17460 tmpd = clog(tmpd);
17461 tmpd = csin(tmpd);
17462 tmpd = csinh(tmpd);
17463 tmpd = csqrt(tmpd);
17464 tmpd = ctan(tmpd);
17465 tmpd = ctanh(tmpd);
17466 tmpd = cpow(tmpd, tmpd);
17467 tmpd = cproj(tmpd);
17468 ld = cabsl(tmpld);
17469 ld = cargl(tmpld);
17470 tmpld = ccosl(tmpld);
17471 tmpld = ccoshl(tmpld);
17472 tmpld = cexpl(tmpld);
17473 tmpld = clogl(tmpld);
17474 tmpld = csinl(tmpld);
17475 tmpld = csinhl(tmpld);
17476 tmpld = csqrtl(tmpld);
17477 tmpld = ctanl(tmpld);
17478 tmpld = ctanhl(tmpld);
17479 tmpld = cpowl(tmpld, tmpld);
17480 tmpld = cprojl(tmpld);
17483 return 0;
17485 _ACEOF
17486 if ac_fn_cxx_try_compile "$LINENO"; then :
17487 glibcxx_cv_c99_complex_cxx11=yes
17488 else
17489 glibcxx_cv_c99_complex_cxx11=no
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 else
17493 if test x$gcc_no_link = xyes; then
17494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <complex.h>
17499 typedef __complex__ float float_type;
17500 typedef __complex__ double double_type;
17501 typedef __complex__ long double ld_type;
17502 volatile float_type tmpf;
17503 volatile double_type tmpd;
17504 volatile ld_type tmpld;
17505 volatile float f;
17506 volatile double d;
17507 volatile long double ld;
17509 main ()
17511 f = cabsf(tmpf);
17512 f = cargf(tmpf);
17513 tmpf = ccosf(tmpf);
17514 tmpf = ccoshf(tmpf);
17515 tmpf = cexpf(tmpf);
17516 tmpf = clogf(tmpf);
17517 tmpf = csinf(tmpf);
17518 tmpf = csinhf(tmpf);
17519 tmpf = csqrtf(tmpf);
17520 tmpf = ctanf(tmpf);
17521 tmpf = ctanhf(tmpf);
17522 tmpf = cpowf(tmpf, tmpf);
17523 tmpf = cprojf(tmpf);
17524 d = cabs(tmpd);
17525 d = carg(tmpd);
17526 tmpd = ccos(tmpd);
17527 tmpd = ccosh(tmpd);
17528 tmpd = cexp(tmpd);
17529 tmpd = clog(tmpd);
17530 tmpd = csin(tmpd);
17531 tmpd = csinh(tmpd);
17532 tmpd = csqrt(tmpd);
17533 tmpd = ctan(tmpd);
17534 tmpd = ctanh(tmpd);
17535 tmpd = cpow(tmpd, tmpd);
17536 tmpd = cproj(tmpd);
17537 ld = cabsl(tmpld);
17538 ld = cargl(tmpld);
17539 tmpld = ccosl(tmpld);
17540 tmpld = ccoshl(tmpld);
17541 tmpld = cexpl(tmpld);
17542 tmpld = clogl(tmpld);
17543 tmpld = csinl(tmpld);
17544 tmpld = csinhl(tmpld);
17545 tmpld = csqrtl(tmpld);
17546 tmpld = ctanl(tmpld);
17547 tmpld = ctanhl(tmpld);
17548 tmpld = cpowl(tmpld, tmpld);
17549 tmpld = cprojl(tmpld);
17552 return 0;
17554 _ACEOF
17555 if ac_fn_cxx_try_link "$LINENO"; then :
17556 glibcxx_cv_c99_complex_cxx11=yes
17557 else
17558 glibcxx_cv_c99_complex_cxx11=no
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17568 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17569 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17571 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17575 # Check for the existence in <stdio.h> of vscanf, et. al.
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17577 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17578 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17582 if test x$gcc_no_link = xyes; then
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <stdio.h>
17586 #include <stdarg.h>
17587 void foo(char* fmt, ...)
17589 va_list args; va_start(args, fmt);
17590 vfscanf(stderr, "%i", args);
17591 vscanf("%i", args);
17592 vsnprintf(fmt, 0, "%i", args);
17593 vsscanf(fmt, "%i", args);
17594 snprintf(fmt, 0, "%i");
17597 main ()
17601 return 0;
17603 _ACEOF
17604 if ac_fn_cxx_try_compile "$LINENO"; then :
17605 glibcxx_cv_c99_stdio_cxx11=yes
17606 else
17607 glibcxx_cv_c99_stdio_cxx11=no
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 else
17611 if test x$gcc_no_link = xyes; then
17612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdio.h>
17617 #include <stdarg.h>
17618 void foo(char* fmt, ...)
17620 va_list args; va_start(args, fmt);
17621 vfscanf(stderr, "%i", args);
17622 vscanf("%i", args);
17623 vsnprintf(fmt, 0, "%i", args);
17624 vsscanf(fmt, "%i", args);
17625 snprintf(fmt, 0, "%i");
17628 main ()
17632 return 0;
17634 _ACEOF
17635 if ac_fn_cxx_try_link "$LINENO"; then :
17636 glibcxx_cv_c99_stdio_cxx11=yes
17637 else
17638 glibcxx_cv_c99_stdio_cxx11=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17647 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17648 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17650 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17654 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17656 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17657 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17661 if test x$gcc_no_link = xyes; then
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 #include <stdlib.h>
17665 volatile float f;
17666 volatile long double ld;
17667 volatile unsigned long long ll;
17668 lldiv_t mydivt;
17670 main ()
17672 char* tmp;
17673 f = strtof("gnu", &tmp);
17674 ld = strtold("gnu", &tmp);
17675 ll = strtoll("gnu", &tmp, 10);
17676 ll = strtoull("gnu", &tmp, 10);
17677 ll = llabs(10);
17678 mydivt = lldiv(10,1);
17679 ll = mydivt.quot;
17680 ll = mydivt.rem;
17681 ll = atoll("10");
17682 _Exit(0);
17685 return 0;
17687 _ACEOF
17688 if ac_fn_cxx_try_compile "$LINENO"; then :
17689 glibcxx_cv_c99_stdlib_cxx11=yes
17690 else
17691 glibcxx_cv_c99_stdlib_cxx11=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 else
17695 if test x$gcc_no_link = xyes; then
17696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 #include <stdlib.h>
17701 volatile float f;
17702 volatile long double ld;
17703 volatile unsigned long long ll;
17704 lldiv_t mydivt;
17706 main ()
17708 char* tmp;
17709 f = strtof("gnu", &tmp);
17710 ld = strtold("gnu", &tmp);
17711 ll = strtoll("gnu", &tmp, 10);
17712 ll = strtoull("gnu", &tmp, 10);
17713 ll = llabs(10);
17714 mydivt = lldiv(10,1);
17715 ll = mydivt.quot;
17716 ll = mydivt.rem;
17717 ll = atoll("10");
17718 _Exit(0);
17721 return 0;
17723 _ACEOF
17724 if ac_fn_cxx_try_link "$LINENO"; then :
17725 glibcxx_cv_c99_stdlib_cxx11=yes
17726 else
17727 glibcxx_cv_c99_stdlib_cxx11=no
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17736 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17737 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17739 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17743 # Check for the existence in <wchar.h> of wcstold, etc.
17744 if test x"$ac_has_wchar_h" = xyes &&
17745 test x"$ac_has_wctype_h" = xyes; then
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17747 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17748 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <wchar.h>
17755 namespace test
17757 using ::wcstold;
17758 using ::wcstoll;
17759 using ::wcstoull;
17763 main ()
17767 return 0;
17769 _ACEOF
17770 if ac_fn_cxx_try_compile "$LINENO"; then :
17771 glibcxx_cv_c99_wchar_cxx11=yes
17772 else
17773 glibcxx_cv_c99_wchar_cxx11=no
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 # Checks for wide character functions that may not be present.
17781 # Injection of these is wrapped with guard macros.
17782 # NB: only put functions here, instead of immediately above, if
17783 # absolutely necessary.
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <wchar.h>
17787 namespace test { using ::vfwscanf; }
17789 main ()
17793 return 0;
17795 _ACEOF
17796 if ac_fn_cxx_try_compile "$LINENO"; then :
17798 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <wchar.h>
17806 namespace test { using ::vswscanf; }
17808 main ()
17812 return 0;
17814 _ACEOF
17815 if ac_fn_cxx_try_compile "$LINENO"; then :
17817 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <wchar.h>
17825 namespace test { using ::vwscanf; }
17827 main ()
17831 return 0;
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17836 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #include <wchar.h>
17844 namespace test { using ::wcstof; }
17846 main ()
17850 return 0;
17852 _ACEOF
17853 if ac_fn_cxx_try_compile "$LINENO"; then :
17855 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17862 #include <wctype.h>
17864 main ()
17866 wint_t t; int i = iswblank(t);
17868 return 0;
17870 _ACEOF
17871 if ac_fn_cxx_try_compile "$LINENO"; then :
17873 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17879 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17880 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17882 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17887 gcc_no_link="$ac_save_gcc_no_link"
17888 LIBS="$ac_save_LIBS"
17889 CXXFLAGS="$ac_save_CXXFLAGS"
17890 ac_ext=c
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17899 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17901 $as_echo "$enable_c99" >&6; }
17904 # Check whether --enable-concept-checks was given.
17905 if test "${enable_concept_checks+set}" = set; then :
17906 enableval=$enable_concept_checks;
17907 case "$enableval" in
17908 yes|no) ;;
17909 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17910 esac
17912 else
17913 enable_concept_checks=no
17917 if test $enable_concept_checks = yes; then
17919 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17924 # Check whether --enable-libstdcxx-debug-flags was given.
17925 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17926 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17927 xno | x) enable_libstdcxx_debug_flags= ;;
17928 x-*) ;;
17929 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17930 esac
17931 else
17932 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17937 # Option parsed, now set things appropriately
17938 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17942 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17946 $as_echo_n "checking for additional debug build... " >&6; }
17947 # Check whether --enable-libstdcxx-debug was given.
17948 if test "${enable_libstdcxx_debug+set}" = set; then :
17949 enableval=$enable_libstdcxx_debug;
17950 case "$enableval" in
17951 yes|no) ;;
17952 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17953 esac
17955 else
17956 enable_libstdcxx_debug=no
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17961 $as_echo "$enable_libstdcxx_debug" >&6; }
17966 enable_parallel=no;
17968 # See if configured libgomp/omp.h exists. (libgomp may be in
17969 # noconfigdirs but not explicitly disabled.)
17970 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17971 enable_parallel=yes;
17972 else
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17974 $as_echo "$as_me: target-libgomp not built" >&6;}
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17978 $as_echo_n "checking for parallel mode support... " >&6; }
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17980 $as_echo "$enable_parallel" >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17983 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17984 # Check whether --enable-cxx-flags was given.
17985 if test "${enable_cxx_flags+set}" = set; then :
17986 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17987 xno | x) enable_cxx_flags= ;;
17988 x-*) ;;
17989 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17990 esac
17991 else
17992 enable_cxx_flags=
17997 # Run through flags (either default or command-line) and set anything
17998 # extra (e.g., #defines) that must accompany particular g++ options.
17999 if test -n "$enable_cxx_flags"; then
18000 for f in $enable_cxx_flags; do
18001 case "$f" in
18002 -fhonor-std) ;;
18003 -*) ;;
18004 *) # and we're trying to pass /what/ exactly?
18005 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18006 esac
18007 done
18010 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18012 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18016 # Check whether --enable-fully-dynamic-string was given.
18017 if test "${enable_fully_dynamic_string+set}" = set; then :
18018 enableval=$enable_fully_dynamic_string;
18019 case "$enableval" in
18020 yes|no) ;;
18021 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18022 esac
18024 else
18025 enable_fully_dynamic_string=no
18029 if test $enable_fully_dynamic_string = yes; then
18030 enable_fully_dynamic_string_def=1
18031 else
18032 enable_fully_dynamic_string_def=0
18035 cat >>confdefs.h <<_ACEOF
18036 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18037 _ACEOF
18042 # Check whether --enable-extern-template was given.
18043 if test "${enable_extern_template+set}" = set; then :
18044 enableval=$enable_extern_template;
18045 case "$enableval" in
18046 yes|no) ;;
18047 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18048 esac
18050 else
18051 enable_extern_template=yes
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18057 $as_echo_n "checking for extern template support... " >&6; }
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18059 $as_echo "$enable_extern_template" >&6; }
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18066 $as_echo_n "checking for custom python install directory... " >&6; }
18068 # Check whether --with-python-dir was given.
18069 if test "${with_python_dir+set}" = set; then :
18070 withval=$with_python_dir; with_python_dir=$withval
18071 else
18072 with_python_dir="no"
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18076 $as_echo "${with_python_dir}" >&6; }
18078 # Needed for installing Python modules during make install.
18079 python_mod_dir="${with_python_dir}"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18085 $as_echo_n "checking for -Werror... " >&6; }
18086 # Check whether --enable-werror was given.
18087 if test "${enable_werror+set}" = set; then :
18088 enableval=$enable_werror;
18089 case "$enableval" in
18090 yes|no) ;;
18091 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18092 esac
18094 else
18095 enable_werror=yes
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18100 $as_echo "$enable_werror" >&6; }
18105 # Check whether --enable-vtable-verify was given.
18106 if test "${enable_vtable_verify+set}" = set; then :
18107 enableval=$enable_vtable_verify;
18108 case "$enableval" in
18109 yes|no) ;;
18110 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18111 esac
18113 else
18114 enable_vtable_verify=no
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18120 $as_echo_n "checking for vtable verify support... " >&6; }
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18122 $as_echo "$enable_vtable_verify" >&6; }
18124 vtv_cygmin=no
18125 if test $enable_vtable_verify = yes; then
18126 case ${target_os} in
18127 cygwin*|mingw32*)
18128 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18129 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18130 vtv_cygmin=yes
18132 darwin*)
18133 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18134 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18136 solaris2*)
18137 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18138 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18141 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18144 esac
18145 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18146 else
18147 VTV_CXXFLAGS=
18148 VTV_PCH_CXXFLAGS=
18149 VTV_CXXLINKFLAGS=
18155 if test x$vtv_cygmin = xyes; then
18156 VTV_CYGMIN_TRUE=
18157 VTV_CYGMIN_FALSE='#'
18158 else
18159 VTV_CYGMIN_TRUE='#'
18160 VTV_CYGMIN_FALSE=
18166 # Checks for operating systems support that doesn't require linking.
18170 ac_ext=cpp
18171 ac_cpp='$CXXCPP $CPPFLAGS'
18172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18178 $as_echo_n "checking for gets declaration... " >&6; }
18179 if test "${glibcxx_cv_gets+set}" = set; then :
18180 $as_echo_n "(cached) " >&6
18181 else
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18185 #include <stdio.h>
18186 namespace test
18188 using ::gets;
18191 _ACEOF
18192 if ac_fn_cxx_try_compile "$LINENO"; then :
18193 glibcxx_cv_gets=yes
18194 else
18195 glibcxx_cv_gets=no
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18202 if test $glibcxx_cv_gets = yes; then
18204 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18208 $as_echo "$glibcxx_cv_gets" >&6; }
18210 ac_ext=c
18211 ac_cpp='$CPP $CPPFLAGS'
18212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18220 ac_ext=cpp
18221 ac_cpp='$CXXCPP $CPPFLAGS'
18222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18226 ac_save_CXXFLAGS="$CXXFLAGS"
18227 CXXFLAGS="$CXXFLAGS -std=c++11"
18229 case "$host" in
18230 *-*-solaris2.*)
18231 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18232 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18234 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18235 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18237 else
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <math.h>
18242 #undef isfinite
18243 namespace std {
18244 inline bool isfinite(float __x)
18245 { return __builtin_isfinite(__x); }
18248 _ACEOF
18249 if ac_fn_cxx_try_compile "$LINENO"; then :
18250 glibcxx_cv_math11_overload=no
18251 else
18252 glibcxx_cv_math11_overload=yes
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 # autoheader cannot handle indented templates.
18262 if test $glibcxx_cv_math11_overload = yes; then
18263 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18267 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18269 *-*-*gnu* | *-*-aix* | *-*-hpux*)
18270 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18271 # functions (instead of or as well as the C99 generic macros) then we
18272 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18273 # and must use the ones from <math.h> instead.
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18275 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18276 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282 #include <math.h>
18283 #undef isinf
18284 namespace std {
18285 using ::isinf;
18286 bool isinf(float);
18287 bool isinf(long double);
18289 using std::isinf;
18290 bool b = isinf(0.0);
18292 _ACEOF
18293 if ac_fn_cxx_try_compile "$LINENO"; then :
18294 glibcxx_cv_obsolete_isinf=yes
18295 else
18296 glibcxx_cv_obsolete_isinf=no
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18303 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18304 if test $glibcxx_cv_obsolete_isinf = yes; then
18306 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18311 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18312 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18313 $as_echo_n "(cached) " >&6
18314 else
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 #include <math.h>
18319 #undef isnan
18320 namespace std {
18321 using ::isnan;
18322 bool isnan(float);
18323 bool isnan(long double);
18325 using std::isnan;
18326 bool b = isnan(0.0);
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330 glibcxx_cv_obsolete_isnan=yes
18331 else
18332 glibcxx_cv_obsolete_isnan=no
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18339 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18340 if test $glibcxx_cv_obsolete_isnan = yes; then
18342 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18346 esac
18348 CXXFLAGS="$ac_save_CXXFLAGS"
18349 ac_ext=c
18350 ac_cpp='$CPP $CPPFLAGS'
18351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18359 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18360 if test "${glibcxx_cv_system_error1+set}" = set; then :
18361 $as_echo_n "(cached) " >&6
18362 else
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18366 #include <errno.h>
18368 main ()
18370 int i = EOWNERDEAD;
18372 return 0;
18374 _ACEOF
18375 if ac_fn_c_try_compile "$LINENO"; then :
18376 glibcxx_cv_system_error1=yes
18377 else
18378 glibcxx_cv_system_error1=no
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18385 $as_echo "$glibcxx_cv_system_error1" >&6; }
18386 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18388 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18392 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18393 if test "${glibcxx_cv_system_error2+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18399 #include <errno.h>
18401 main ()
18403 int i = ENOTRECOVERABLE;
18405 return 0;
18407 _ACEOF
18408 if ac_fn_c_try_compile "$LINENO"; then :
18409 glibcxx_cv_system_error2=yes
18410 else
18411 glibcxx_cv_system_error2=no
18413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18418 $as_echo "$glibcxx_cv_system_error2" >&6; }
18419 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18421 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18425 $as_echo_n "checking for ENOLINK... " >&6; }
18426 if test "${glibcxx_cv_system_error3+set}" = set; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18432 #include <errno.h>
18434 main ()
18436 int i = ENOLINK;
18438 return 0;
18440 _ACEOF
18441 if ac_fn_c_try_compile "$LINENO"; then :
18442 glibcxx_cv_system_error3=yes
18443 else
18444 glibcxx_cv_system_error3=no
18446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18451 $as_echo "$glibcxx_cv_system_error3" >&6; }
18452 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18454 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18458 $as_echo_n "checking for EPROTO... " >&6; }
18459 if test "${glibcxx_cv_system_error4+set}" = set; then :
18460 $as_echo_n "(cached) " >&6
18461 else
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 #include <errno.h>
18467 main ()
18469 int i = EPROTO;
18471 return 0;
18473 _ACEOF
18474 if ac_fn_c_try_compile "$LINENO"; then :
18475 glibcxx_cv_system_error4=yes
18476 else
18477 glibcxx_cv_system_error4=no
18479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18484 $as_echo "$glibcxx_cv_system_error4" >&6; }
18485 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18487 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18491 $as_echo_n "checking for ENODATA... " >&6; }
18492 if test "${glibcxx_cv_system_error5+set}" = set; then :
18493 $as_echo_n "(cached) " >&6
18494 else
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 #include <errno.h>
18500 main ()
18502 int i = ENODATA;
18504 return 0;
18506 _ACEOF
18507 if ac_fn_c_try_compile "$LINENO"; then :
18508 glibcxx_cv_system_error5=yes
18509 else
18510 glibcxx_cv_system_error5=no
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18517 $as_echo "$glibcxx_cv_system_error5" >&6; }
18518 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18520 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18524 $as_echo_n "checking for ENOSR... " >&6; }
18525 if test "${glibcxx_cv_system_error6+set}" = set; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 #include <errno.h>
18533 main ()
18535 int i = ENOSR;
18537 return 0;
18539 _ACEOF
18540 if ac_fn_c_try_compile "$LINENO"; then :
18541 glibcxx_cv_system_error6=yes
18542 else
18543 glibcxx_cv_system_error6=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18550 $as_echo "$glibcxx_cv_system_error6" >&6; }
18551 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18553 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18557 $as_echo_n "checking for ENOSTR... " >&6; }
18558 if test "${glibcxx_cv_system_error7+set}" = set; then :
18559 $as_echo_n "(cached) " >&6
18560 else
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 #include <errno.h>
18566 main ()
18568 int i = ENOSTR;
18570 return 0;
18572 _ACEOF
18573 if ac_fn_c_try_compile "$LINENO"; then :
18574 glibcxx_cv_system_error7=yes
18575 else
18576 glibcxx_cv_system_error7=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18583 $as_echo "$glibcxx_cv_system_error7" >&6; }
18584 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18586 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18590 $as_echo_n "checking for ETIME... " >&6; }
18591 if test "${glibcxx_cv_system_error8+set}" = set; then :
18592 $as_echo_n "(cached) " >&6
18593 else
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #include <errno.h>
18599 main ()
18601 int i = ETIME;
18603 return 0;
18605 _ACEOF
18606 if ac_fn_c_try_compile "$LINENO"; then :
18607 glibcxx_cv_system_error8=yes
18608 else
18609 glibcxx_cv_system_error8=no
18611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18616 $as_echo "$glibcxx_cv_system_error8" >&6; }
18617 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18619 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18623 $as_echo_n "checking for EBADMSG... " >&6; }
18624 if test "${glibcxx_cv_system_error9+set}" = set; then :
18625 $as_echo_n "(cached) " >&6
18626 else
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18630 #include <errno.h>
18632 main ()
18634 int i = EBADMSG;
18636 return 0;
18638 _ACEOF
18639 if ac_fn_c_try_compile "$LINENO"; then :
18640 glibcxx_cv_system_error9=yes
18641 else
18642 glibcxx_cv_system_error9=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18649 $as_echo "$glibcxx_cv_system_error9" >&6; }
18650 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18652 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18656 $as_echo_n "checking for ECANCELED... " >&6; }
18657 if test "${glibcxx_cv_system_error10+set}" = set; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 #include <errno.h>
18665 main ()
18667 int i = ECANCELED;
18669 return 0;
18671 _ACEOF
18672 if ac_fn_c_try_compile "$LINENO"; then :
18673 glibcxx_cv_system_error10=yes
18674 else
18675 glibcxx_cv_system_error10=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18682 $as_echo "$glibcxx_cv_system_error10" >&6; }
18683 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18685 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18689 $as_echo_n "checking for EOVERFLOW... " >&6; }
18690 if test "${glibcxx_cv_system_error11+set}" = set; then :
18691 $as_echo_n "(cached) " >&6
18692 else
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18696 #include <errno.h>
18698 main ()
18700 int i = EOVERFLOW;
18702 return 0;
18704 _ACEOF
18705 if ac_fn_c_try_compile "$LINENO"; then :
18706 glibcxx_cv_system_error11=yes
18707 else
18708 glibcxx_cv_system_error11=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18715 $as_echo "$glibcxx_cv_system_error11" >&6; }
18716 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18718 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18722 $as_echo_n "checking for ENOTSUP... " >&6; }
18723 if test "${glibcxx_cv_system_error12+set}" = set; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18729 #include <errno.h>
18731 main ()
18733 int i = ENOTSUP;
18735 return 0;
18737 _ACEOF
18738 if ac_fn_c_try_compile "$LINENO"; then :
18739 glibcxx_cv_system_error12=yes
18740 else
18741 glibcxx_cv_system_error12=no
18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18748 $as_echo "$glibcxx_cv_system_error12" >&6; }
18749 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18751 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18755 $as_echo_n "checking for EIDRM... " >&6; }
18756 if test "${glibcxx_cv_system_error13+set}" = set; then :
18757 $as_echo_n "(cached) " >&6
18758 else
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762 #include <errno.h>
18764 main ()
18766 int i = EIDRM;
18768 return 0;
18770 _ACEOF
18771 if ac_fn_c_try_compile "$LINENO"; then :
18772 glibcxx_cv_system_error13=yes
18773 else
18774 glibcxx_cv_system_error13=no
18776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18781 $as_echo "$glibcxx_cv_system_error13" >&6; }
18782 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18784 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18788 $as_echo_n "checking for ETXTBSY... " >&6; }
18789 if test "${glibcxx_cv_system_error14+set}" = set; then :
18790 $as_echo_n "(cached) " >&6
18791 else
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 #include <errno.h>
18797 main ()
18799 int i = ETXTBSY;
18801 return 0;
18803 _ACEOF
18804 if ac_fn_c_try_compile "$LINENO"; then :
18805 glibcxx_cv_system_error14=yes
18806 else
18807 glibcxx_cv_system_error14=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18814 $as_echo "$glibcxx_cv_system_error14" >&6; }
18815 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18817 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18821 $as_echo_n "checking for ECHILD... " >&6; }
18822 if test "${glibcxx_cv_system_error15+set}" = set; then :
18823 $as_echo_n "(cached) " >&6
18824 else
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 #include <errno.h>
18830 main ()
18832 int i = ECHILD;
18834 return 0;
18836 _ACEOF
18837 if ac_fn_c_try_compile "$LINENO"; then :
18838 glibcxx_cv_system_error15=yes
18839 else
18840 glibcxx_cv_system_error15=no
18842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18847 $as_echo "$glibcxx_cv_system_error15" >&6; }
18848 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18850 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18854 $as_echo_n "checking for ENOSPC... " >&6; }
18855 if test "${glibcxx_cv_system_error16+set}" = set; then :
18856 $as_echo_n "(cached) " >&6
18857 else
18859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 #include <errno.h>
18863 main ()
18865 int i = ENOSPC;
18867 return 0;
18869 _ACEOF
18870 if ac_fn_c_try_compile "$LINENO"; then :
18871 glibcxx_cv_system_error16=yes
18872 else
18873 glibcxx_cv_system_error16=no
18875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18880 $as_echo "$glibcxx_cv_system_error16" >&6; }
18881 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18883 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18887 $as_echo_n "checking for EPERM... " >&6; }
18888 if test "${glibcxx_cv_system_error17+set}" = set; then :
18889 $as_echo_n "(cached) " >&6
18890 else
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 #include <errno.h>
18896 main ()
18898 int i = EPERM;
18900 return 0;
18902 _ACEOF
18903 if ac_fn_c_try_compile "$LINENO"; then :
18904 glibcxx_cv_system_error17=yes
18905 else
18906 glibcxx_cv_system_error17=no
18908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18913 $as_echo "$glibcxx_cv_system_error17" >&6; }
18914 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18916 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18920 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18921 if test "${glibcxx_cv_system_error18+set}" = set; then :
18922 $as_echo_n "(cached) " >&6
18923 else
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 #include <errno.h>
18929 main ()
18931 int i = ETIMEDOUT;
18933 return 0;
18935 _ACEOF
18936 if ac_fn_c_try_compile "$LINENO"; then :
18937 glibcxx_cv_system_error18=yes
18938 else
18939 glibcxx_cv_system_error18=no
18941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18946 $as_echo "$glibcxx_cv_system_error18" >&6; }
18947 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18949 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18953 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18954 if test "${glibcxx_cv_system_error19+set}" = set; then :
18955 $as_echo_n "(cached) " >&6
18956 else
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 #include <errno.h>
18962 main ()
18964 int i = EWOULDBLOCK;
18966 return 0;
18968 _ACEOF
18969 if ac_fn_c_try_compile "$LINENO"; then :
18970 glibcxx_cv_system_error19=yes
18971 else
18972 glibcxx_cv_system_error19=no
18974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18979 $as_echo "$glibcxx_cv_system_error19" >&6; }
18980 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18982 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18989 # Test uchar.h.
18990 for ac_header in uchar.h
18991 do :
18992 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18993 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18994 cat >>confdefs.h <<_ACEOF
18995 #define HAVE_UCHAR_H 1
18996 _ACEOF
18997 ac_has_uchar_h=yes
18998 else
18999 ac_has_uchar_h=no
19002 done
19006 ac_ext=cpp
19007 ac_cpp='$CXXCPP $CPPFLAGS'
19008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19012 ac_save_CXXFLAGS="$CXXFLAGS"
19013 CXXFLAGS="$CXXFLAGS -std=c++11"
19015 if test x"$ac_has_uchar_h" = x"yes"; then
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19017 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19020 #include <uchar.h>
19021 #ifdef __STDC_UTF_16__
19022 long i = __STDC_UTF_16__;
19023 #endif
19024 #ifdef __STDC_UTF_32__
19025 long j = __STDC_UTF_32__;
19026 #endif
19027 namespace test
19029 using ::c16rtomb;
19030 using ::c32rtomb;
19031 using ::mbrtoc16;
19032 using ::mbrtoc32;
19036 main ()
19040 return 0;
19042 _ACEOF
19043 if ac_fn_cxx_try_compile "$LINENO"; then :
19044 ac_c11_uchar_cxx11=yes
19045 else
19046 ac_c11_uchar_cxx11=no
19048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 else
19050 ac_c11_uchar_cxx11=no
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19053 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19054 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19056 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19060 CXXFLAGS="$ac_save_CXXFLAGS"
19061 ac_ext=c
19062 ac_cpp='$CPP $CPPFLAGS'
19063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069 # For the streamoff typedef.
19073 ac_ext=cpp
19074 ac_cpp='$CXXCPP $CPPFLAGS'
19075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19081 $as_echo_n "checking for int64_t... " >&6; }
19082 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19083 $as_echo_n "(cached) " >&6
19084 else
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088 #include <stdint.h>
19090 main ()
19092 int64_t var;
19094 return 0;
19096 _ACEOF
19097 if ac_fn_cxx_try_compile "$LINENO"; then :
19098 glibcxx_cv_INT64_T=yes
19099 else
19100 glibcxx_cv_INT64_T=no
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107 if test $glibcxx_cv_INT64_T = yes; then
19109 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19112 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19115 $as_echo_n "checking for int64_t as long... " >&6; }
19116 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19117 $as_echo_n "(cached) " >&6
19118 else
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19122 #include <stdint.h>
19123 template<typename, typename> struct same { enum { value = -1 }; };
19124 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19125 int array[same<int64_t, long>::value];
19127 main ()
19131 return 0;
19133 _ACEOF
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135 glibcxx_cv_int64_t_long=yes
19136 else
19137 glibcxx_cv_int64_t_long=no
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144 if test $glibcxx_cv_int64_t_long = yes; then
19146 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19149 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19153 $as_echo_n "checking for int64_t as long long... " >&6; }
19154 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19156 else
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 #include <stdint.h>
19161 template<typename, typename> struct same { enum { value = -1 }; };
19162 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19163 int array[same<int64_t, long long>::value];
19165 main ()
19169 return 0;
19171 _ACEOF
19172 if ac_fn_cxx_try_compile "$LINENO"; then :
19173 glibcxx_cv_int64_t_long_long=yes
19174 else
19175 glibcxx_cv_int64_t_long_long=no
19177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182 if test $glibcxx_cv_int64_t_long_long = yes; then
19184 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19187 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19191 ac_ext=c
19192 ac_cpp='$CPP $CPPFLAGS'
19193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19199 # For LFS support.
19202 ac_ext=cpp
19203 ac_cpp='$CXXCPP $CPPFLAGS'
19204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19208 ac_save_CXXFLAGS="$CXXFLAGS"
19209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19211 $as_echo_n "checking for LFS support... " >&6; }
19212 if test "${glibcxx_cv_LFS+set}" = set; then :
19213 $as_echo_n "(cached) " >&6
19214 else
19216 if test x$gcc_no_link = xyes; then
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 #include <unistd.h>
19220 #include <stdio.h>
19221 #include <sys/stat.h>
19224 main ()
19226 FILE* fp;
19227 fopen64("t", "w");
19228 fseeko64(fp, 0, SEEK_CUR);
19229 ftello64(fp);
19230 lseek64(1, 0, SEEK_CUR);
19231 struct stat64 buf;
19232 fstat64(1, &buf);
19234 return 0;
19236 _ACEOF
19237 if ac_fn_cxx_try_compile "$LINENO"; then :
19238 glibcxx_cv_LFS=yes
19239 else
19240 glibcxx_cv_LFS=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243 else
19244 if test x$gcc_no_link = xyes; then
19245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19248 /* end confdefs.h. */
19249 #include <unistd.h>
19250 #include <stdio.h>
19251 #include <sys/stat.h>
19254 main ()
19256 FILE* fp;
19257 fopen64("t", "w");
19258 fseeko64(fp, 0, SEEK_CUR);
19259 ftello64(fp);
19260 lseek64(1, 0, SEEK_CUR);
19261 struct stat64 buf;
19262 fstat64(1, &buf);
19264 return 0;
19266 _ACEOF
19267 if ac_fn_cxx_try_link "$LINENO"; then :
19268 glibcxx_cv_LFS=yes
19269 else
19270 glibcxx_cv_LFS=no
19272 rm -f core conftest.err conftest.$ac_objext \
19273 conftest$ac_exeext conftest.$ac_ext
19278 if test $glibcxx_cv_LFS = yes; then
19280 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19284 $as_echo "$glibcxx_cv_LFS" >&6; }
19285 CXXFLAGS="$ac_save_CXXFLAGS"
19286 ac_ext=c
19287 ac_cpp='$CPP $CPPFLAGS'
19288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19294 # For showmanyc_helper().
19295 for ac_header in sys/ioctl.h sys/filio.h
19296 do :
19297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19298 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19299 eval as_val=\$$as_ac_Header
19300 if test "x$as_val" = x""yes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19303 _ACEOF
19307 done
19312 ac_ext=cpp
19313 ac_cpp='$CXXCPP $CPPFLAGS'
19314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19318 ac_save_CXXFLAGS="$CXXFLAGS"
19319 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19322 $as_echo_n "checking for poll... " >&6; }
19323 if test "${glibcxx_cv_POLL+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19325 else
19327 if test x$gcc_no_link = xyes; then
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #include <poll.h>
19332 main ()
19334 struct pollfd pfd[1];
19335 pfd[0].events = POLLIN;
19336 poll(pfd, 1, 0);
19338 return 0;
19340 _ACEOF
19341 if ac_fn_cxx_try_compile "$LINENO"; then :
19342 glibcxx_cv_POLL=yes
19343 else
19344 glibcxx_cv_POLL=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 else
19348 if test x$gcc_no_link = xyes; then
19349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19353 #include <poll.h>
19355 main ()
19357 struct pollfd pfd[1];
19358 pfd[0].events = POLLIN;
19359 poll(pfd, 1, 0);
19361 return 0;
19363 _ACEOF
19364 if ac_fn_cxx_try_link "$LINENO"; then :
19365 glibcxx_cv_POLL=yes
19366 else
19367 glibcxx_cv_POLL=no
19369 rm -f core conftest.err conftest.$ac_objext \
19370 conftest$ac_exeext conftest.$ac_ext
19375 if test $glibcxx_cv_POLL = yes; then
19377 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19381 $as_echo "$glibcxx_cv_POLL" >&6; }
19383 CXXFLAGS="$ac_save_CXXFLAGS"
19384 ac_ext=c
19385 ac_cpp='$CPP $CPPFLAGS'
19386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19394 ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19400 ac_save_CXXFLAGS="$CXXFLAGS"
19401 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19404 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19405 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19406 $as_echo_n "(cached) " >&6
19407 else
19409 if test x$gcc_no_link = xyes; then
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <sys/stat.h>
19414 main ()
19416 struct stat buffer;
19417 fstat(0, &buffer);
19418 S_ISREG(buffer.st_mode);
19420 return 0;
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424 glibcxx_cv_S_ISREG=yes
19425 else
19426 glibcxx_cv_S_ISREG=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <sys/stat.h>
19437 main ()
19439 struct stat buffer;
19440 fstat(0, &buffer);
19441 S_ISREG(buffer.st_mode);
19443 return 0;
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447 glibcxx_cv_S_ISREG=yes
19448 else
19449 glibcxx_cv_S_ISREG=no
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext conftest.$ac_ext
19457 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19459 else
19461 if test x$gcc_no_link = xyes; then
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464 #include <sys/stat.h>
19466 main ()
19468 struct stat buffer;
19469 fstat(0, &buffer);
19470 S_IFREG & buffer.st_mode;
19472 return 0;
19474 _ACEOF
19475 if ac_fn_cxx_try_compile "$LINENO"; then :
19476 glibcxx_cv_S_IFREG=yes
19477 else
19478 glibcxx_cv_S_IFREG=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19481 else
19482 if test x$gcc_no_link = xyes; then
19483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19487 #include <sys/stat.h>
19489 main ()
19491 struct stat buffer;
19492 fstat(0, &buffer);
19493 S_IFREG & buffer.st_mode;
19495 return 0;
19497 _ACEOF
19498 if ac_fn_cxx_try_link "$LINENO"; then :
19499 glibcxx_cv_S_IFREG=yes
19500 else
19501 glibcxx_cv_S_IFREG=no
19503 rm -f core conftest.err conftest.$ac_objext \
19504 conftest$ac_exeext conftest.$ac_ext
19509 res=no
19510 if test $glibcxx_cv_S_ISREG = yes; then
19512 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19514 res=S_ISREG
19515 elif test $glibcxx_cv_S_IFREG = yes; then
19517 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19519 res=S_IFREG
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19522 $as_echo "$res" >&6; }
19524 CXXFLAGS="$ac_save_CXXFLAGS"
19525 ac_ext=c
19526 ac_cpp='$CPP $CPPFLAGS'
19527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19533 # For xsputn_2().
19534 for ac_header in sys/uio.h
19535 do :
19536 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19537 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19538 cat >>confdefs.h <<_ACEOF
19539 #define HAVE_SYS_UIO_H 1
19540 _ACEOF
19544 done
19549 ac_ext=cpp
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555 ac_save_CXXFLAGS="$CXXFLAGS"
19556 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19559 $as_echo_n "checking for writev... " >&6; }
19560 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19564 if test x$gcc_no_link = xyes; then
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19567 #include <sys/uio.h>
19569 main ()
19571 struct iovec iov[2];
19572 writev(0, iov, 0);
19574 return 0;
19576 _ACEOF
19577 if ac_fn_cxx_try_compile "$LINENO"; then :
19578 glibcxx_cv_WRITEV=yes
19579 else
19580 glibcxx_cv_WRITEV=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 else
19584 if test x$gcc_no_link = xyes; then
19585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19588 /* end confdefs.h. */
19589 #include <sys/uio.h>
19591 main ()
19593 struct iovec iov[2];
19594 writev(0, iov, 0);
19596 return 0;
19598 _ACEOF
19599 if ac_fn_cxx_try_link "$LINENO"; then :
19600 glibcxx_cv_WRITEV=yes
19601 else
19602 glibcxx_cv_WRITEV=no
19604 rm -f core conftest.err conftest.$ac_objext \
19605 conftest$ac_exeext conftest.$ac_ext
19610 if test $glibcxx_cv_WRITEV = yes; then
19612 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19616 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19618 CXXFLAGS="$ac_save_CXXFLAGS"
19619 ac_ext=c
19620 ac_cpp='$CPP $CPPFLAGS'
19621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19627 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19628 # so that the check is done with the C compiler (not C++).
19629 # Checking with C++ can break a canadian cross build if either
19630 # file does not exist in C but does in C++.
19631 for ac_header in fenv.h complex.h
19632 do :
19633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19634 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19635 eval as_val=\$$as_ac_Header
19636 if test "x$as_val" = x""yes; then :
19637 cat >>confdefs.h <<_ACEOF
19638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19639 _ACEOF
19643 done
19646 # For C99 support to TR1.
19650 ac_ext=cpp
19651 ac_cpp='$CXXCPP $CPPFLAGS'
19652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19657 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19658 # undefined and fake C99 facilities may be spuriously enabled.
19659 ac_save_CXXFLAGS="$CXXFLAGS"
19660 CXXFLAGS="$CXXFLAGS -std=c++98"
19662 # Check for the existence of <complex.h> complex math functions used
19663 # by tr1/complex.
19664 for ac_header in complex.h
19665 do :
19666 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19667 if test "x$ac_cv_header_complex_h" = x""yes; then :
19668 cat >>confdefs.h <<_ACEOF
19669 #define HAVE_COMPLEX_H 1
19670 _ACEOF
19671 ac_has_complex_h=yes
19672 else
19673 ac_has_complex_h=no
19676 done
19678 ac_c99_complex_tr1=no;
19679 if test x"$ac_has_complex_h" = x"yes"; then
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19681 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19684 #include <complex.h>
19686 main ()
19688 typedef __complex__ float float_type; float_type tmpf;
19689 cacosf(tmpf);
19690 casinf(tmpf);
19691 catanf(tmpf);
19692 cacoshf(tmpf);
19693 casinhf(tmpf);
19694 catanhf(tmpf);
19695 typedef __complex__ double double_type; double_type tmpd;
19696 cacos(tmpd);
19697 casin(tmpd);
19698 catan(tmpd);
19699 cacosh(tmpd);
19700 casinh(tmpd);
19701 catanh(tmpd);
19702 typedef __complex__ long double ld_type; ld_type tmpld;
19703 cacosl(tmpld);
19704 casinl(tmpld);
19705 catanl(tmpld);
19706 cacoshl(tmpld);
19707 casinhl(tmpld);
19708 catanhl(tmpld);
19711 return 0;
19713 _ACEOF
19714 if ac_fn_cxx_try_compile "$LINENO"; then :
19715 ac_c99_complex_tr1=yes
19716 else
19717 ac_c99_complex_tr1=no
19719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19722 $as_echo "$ac_c99_complex_tr1" >&6; }
19723 if test x"$ac_c99_complex_tr1" = x"yes"; then
19725 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19729 # Check for the existence of <ctype.h> functions.
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19731 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19732 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19733 $as_echo_n "(cached) " >&6
19734 else
19736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19738 #include <ctype.h>
19740 main ()
19742 int ch;
19743 int ret;
19744 ret = isblank(ch);
19747 return 0;
19749 _ACEOF
19750 if ac_fn_cxx_try_compile "$LINENO"; then :
19751 glibcxx_cv_c99_ctype_tr1=yes
19752 else
19753 glibcxx_cv_c99_ctype_tr1=no
19755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19760 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19761 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19763 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19767 # Check for the existence of <fenv.h> functions.
19768 for ac_header in fenv.h
19769 do :
19770 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19771 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19772 cat >>confdefs.h <<_ACEOF
19773 #define HAVE_FENV_H 1
19774 _ACEOF
19775 ac_has_fenv_h=yes
19776 else
19777 ac_has_fenv_h=no
19780 done
19782 ac_c99_fenv_tr1=no;
19783 if test x"$ac_has_fenv_h" = x"yes"; then
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19785 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 #include <fenv.h>
19790 main ()
19792 int except, mode;
19793 fexcept_t* pflag;
19794 fenv_t* penv;
19795 int ret;
19796 ret = feclearexcept(except);
19797 ret = fegetexceptflag(pflag, except);
19798 ret = feraiseexcept(except);
19799 ret = fesetexceptflag(pflag, except);
19800 ret = fetestexcept(except);
19801 ret = fegetround();
19802 ret = fesetround(mode);
19803 ret = fegetenv(penv);
19804 ret = feholdexcept(penv);
19805 ret = fesetenv(penv);
19806 ret = feupdateenv(penv);
19809 return 0;
19811 _ACEOF
19812 if ac_fn_cxx_try_compile "$LINENO"; then :
19813 ac_c99_fenv_tr1=yes
19814 else
19815 ac_c99_fenv_tr1=no
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19820 $as_echo "$ac_c99_fenv_tr1" >&6; }
19821 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19823 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19827 # Check for the existence of <stdint.h> types.
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19829 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19830 if test "${glibcxx_cv_c99_stdint_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 #define __STDC_LIMIT_MACROS
19837 #define __STDC_CONSTANT_MACROS
19838 #include <stdint.h>
19840 main ()
19842 typedef int8_t my_int8_t;
19843 my_int8_t i8 = INT8_MIN;
19844 i8 = INT8_MAX;
19845 typedef int16_t my_int16_t;
19846 my_int16_t i16 = INT16_MIN;
19847 i16 = INT16_MAX;
19848 typedef int32_t my_int32_t;
19849 my_int32_t i32 = INT32_MIN;
19850 i32 = INT32_MAX;
19851 typedef int64_t my_int64_t;
19852 my_int64_t i64 = INT64_MIN;
19853 i64 = INT64_MAX;
19854 typedef int_fast8_t my_int_fast8_t;
19855 my_int_fast8_t if8 = INT_FAST8_MIN;
19856 if8 = INT_FAST8_MAX;
19857 typedef int_fast16_t my_int_fast16_t;
19858 my_int_fast16_t if16 = INT_FAST16_MIN;
19859 if16 = INT_FAST16_MAX;
19860 typedef int_fast32_t my_int_fast32_t;
19861 my_int_fast32_t if32 = INT_FAST32_MIN;
19862 if32 = INT_FAST32_MAX;
19863 typedef int_fast64_t my_int_fast64_t;
19864 my_int_fast64_t if64 = INT_FAST64_MIN;
19865 if64 = INT_FAST64_MAX;
19866 typedef int_least8_t my_int_least8_t;
19867 my_int_least8_t il8 = INT_LEAST8_MIN;
19868 il8 = INT_LEAST8_MAX;
19869 typedef int_least16_t my_int_least16_t;
19870 my_int_least16_t il16 = INT_LEAST16_MIN;
19871 il16 = INT_LEAST16_MAX;
19872 typedef int_least32_t my_int_least32_t;
19873 my_int_least32_t il32 = INT_LEAST32_MIN;
19874 il32 = INT_LEAST32_MAX;
19875 typedef int_least64_t my_int_least64_t;
19876 my_int_least64_t il64 = INT_LEAST64_MIN;
19877 il64 = INT_LEAST64_MAX;
19878 typedef intmax_t my_intmax_t;
19879 my_intmax_t im = INTMAX_MAX;
19880 im = INTMAX_MIN;
19881 typedef intptr_t my_intptr_t;
19882 my_intptr_t ip = INTPTR_MAX;
19883 ip = INTPTR_MIN;
19884 typedef uint8_t my_uint8_t;
19885 my_uint8_t ui8 = UINT8_MAX;
19886 ui8 = UINT8_MAX;
19887 typedef uint16_t my_uint16_t;
19888 my_uint16_t ui16 = UINT16_MAX;
19889 ui16 = UINT16_MAX;
19890 typedef uint32_t my_uint32_t;
19891 my_uint32_t ui32 = UINT32_MAX;
19892 ui32 = UINT32_MAX;
19893 typedef uint64_t my_uint64_t;
19894 my_uint64_t ui64 = UINT64_MAX;
19895 ui64 = UINT64_MAX;
19896 typedef uint_fast8_t my_uint_fast8_t;
19897 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19898 uif8 = UINT_FAST8_MAX;
19899 typedef uint_fast16_t my_uint_fast16_t;
19900 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19901 uif16 = UINT_FAST16_MAX;
19902 typedef uint_fast32_t my_uint_fast32_t;
19903 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19904 uif32 = UINT_FAST32_MAX;
19905 typedef uint_fast64_t my_uint_fast64_t;
19906 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19907 uif64 = UINT_FAST64_MAX;
19908 typedef uint_least8_t my_uint_least8_t;
19909 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19910 uil8 = UINT_LEAST8_MAX;
19911 typedef uint_least16_t my_uint_least16_t;
19912 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19913 uil16 = UINT_LEAST16_MAX;
19914 typedef uint_least32_t my_uint_least32_t;
19915 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19916 uil32 = UINT_LEAST32_MAX;
19917 typedef uint_least64_t my_uint_least64_t;
19918 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19919 uil64 = UINT_LEAST64_MAX;
19920 typedef uintmax_t my_uintmax_t;
19921 my_uintmax_t uim = UINTMAX_MAX;
19922 uim = UINTMAX_MAX;
19923 typedef uintptr_t my_uintptr_t;
19924 my_uintptr_t uip = UINTPTR_MAX;
19925 uip = UINTPTR_MAX;
19928 return 0;
19930 _ACEOF
19931 if ac_fn_cxx_try_compile "$LINENO"; then :
19932 glibcxx_cv_c99_stdint_tr1=yes
19933 else
19934 glibcxx_cv_c99_stdint_tr1=no
19936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19941 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19942 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19944 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19948 # Check for the existence of <math.h> functions.
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19950 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19951 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19952 $as_echo_n "(cached) " >&6
19953 else
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <math.h>
19959 main ()
19961 typedef double_t my_double_t;
19962 typedef float_t my_float_t;
19963 acosh(0.0);
19964 acoshf(0.0f);
19965 acoshl(0.0l);
19966 asinh(0.0);
19967 asinhf(0.0f);
19968 asinhl(0.0l);
19969 atanh(0.0);
19970 atanhf(0.0f);
19971 atanhl(0.0l);
19972 cbrt(0.0);
19973 cbrtf(0.0f);
19974 cbrtl(0.0l);
19975 copysign(0.0, 0.0);
19976 copysignf(0.0f, 0.0f);
19977 copysignl(0.0l, 0.0l);
19978 erf(0.0);
19979 erff(0.0f);
19980 erfl(0.0l);
19981 erfc(0.0);
19982 erfcf(0.0f);
19983 erfcl(0.0l);
19984 exp2(0.0);
19985 exp2f(0.0f);
19986 exp2l(0.0l);
19987 expm1(0.0);
19988 expm1f(0.0f);
19989 expm1l(0.0l);
19990 fdim(0.0, 0.0);
19991 fdimf(0.0f, 0.0f);
19992 fdiml(0.0l, 0.0l);
19993 fma(0.0, 0.0, 0.0);
19994 fmaf(0.0f, 0.0f, 0.0f);
19995 fmal(0.0l, 0.0l, 0.0l);
19996 fmax(0.0, 0.0);
19997 fmaxf(0.0f, 0.0f);
19998 fmaxl(0.0l, 0.0l);
19999 fmin(0.0, 0.0);
20000 fminf(0.0f, 0.0f);
20001 fminl(0.0l, 0.0l);
20002 hypot(0.0, 0.0);
20003 hypotf(0.0f, 0.0f);
20004 hypotl(0.0l, 0.0l);
20005 ilogb(0.0);
20006 ilogbf(0.0f);
20007 ilogbl(0.0l);
20008 lgamma(0.0);
20009 lgammaf(0.0f);
20010 lgammal(0.0l);
20011 llrint(0.0);
20012 llrintf(0.0f);
20013 llrintl(0.0l);
20014 llround(0.0);
20015 llroundf(0.0f);
20016 llroundl(0.0l);
20017 log1p(0.0);
20018 log1pf(0.0f);
20019 log1pl(0.0l);
20020 log2(0.0);
20021 log2f(0.0f);
20022 log2l(0.0l);
20023 logb(0.0);
20024 logbf(0.0f);
20025 logbl(0.0l);
20026 lrint(0.0);
20027 lrintf(0.0f);
20028 lrintl(0.0l);
20029 lround(0.0);
20030 lroundf(0.0f);
20031 lroundl(0.0l);
20032 nan(0);
20033 nanf(0);
20034 nanl(0);
20035 nearbyint(0.0);
20036 nearbyintf(0.0f);
20037 nearbyintl(0.0l);
20038 nextafter(0.0, 0.0);
20039 nextafterf(0.0f, 0.0f);
20040 nextafterl(0.0l, 0.0l);
20041 nexttoward(0.0, 0.0);
20042 nexttowardf(0.0f, 0.0f);
20043 nexttowardl(0.0l, 0.0l);
20044 remainder(0.0, 0.0);
20045 remainderf(0.0f, 0.0f);
20046 remainderl(0.0l, 0.0l);
20047 remquo(0.0, 0.0, 0);
20048 remquof(0.0f, 0.0f, 0);
20049 remquol(0.0l, 0.0l, 0);
20050 rint(0.0);
20051 rintf(0.0f);
20052 rintl(0.0l);
20053 round(0.0);
20054 roundf(0.0f);
20055 roundl(0.0l);
20056 scalbln(0.0, 0l);
20057 scalblnf(0.0f, 0l);
20058 scalblnl(0.0l, 0l);
20059 scalbn(0.0, 0);
20060 scalbnf(0.0f, 0);
20061 scalbnl(0.0l, 0);
20062 tgamma(0.0);
20063 tgammaf(0.0f);
20064 tgammal(0.0l);
20065 trunc(0.0);
20066 truncf(0.0f);
20067 truncl(0.0l);
20070 return 0;
20072 _ACEOF
20073 if ac_fn_cxx_try_compile "$LINENO"; then :
20074 glibcxx_cv_c99_math_tr1=yes
20075 else
20076 glibcxx_cv_c99_math_tr1=no
20078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20083 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20084 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20086 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20090 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20091 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20092 ac_c99_inttypes_tr1=no;
20093 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20095 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20098 #include <inttypes.h>
20100 main ()
20102 intmax_t i, numer, denom, base;
20103 const char* s;
20104 char** endptr;
20105 intmax_t ret = imaxabs(i);
20106 imaxdiv_t dret = imaxdiv(numer, denom);
20107 ret = strtoimax(s, endptr, base);
20108 uintmax_t uret = strtoumax(s, endptr, base);
20111 return 0;
20113 _ACEOF
20114 if ac_fn_cxx_try_compile "$LINENO"; then :
20115 ac_c99_inttypes_tr1=yes
20116 else
20117 ac_c99_inttypes_tr1=no
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20122 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20123 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20125 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20129 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20130 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20131 ac_c99_inttypes_wchar_t_tr1=no;
20132 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20134 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20137 #include <inttypes.h>
20139 main ()
20141 intmax_t base;
20142 const wchar_t* s;
20143 wchar_t** endptr;
20144 intmax_t ret = wcstoimax(s, endptr, base);
20145 uintmax_t uret = wcstoumax(s, endptr, base);
20148 return 0;
20150 _ACEOF
20151 if ac_fn_cxx_try_compile "$LINENO"; then :
20152 ac_c99_inttypes_wchar_t_tr1=yes
20153 else
20154 ac_c99_inttypes_wchar_t_tr1=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20159 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20160 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20162 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20166 # Check for the existence of the <stdbool.h> header.
20167 for ac_header in stdbool.h
20168 do :
20169 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20170 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20171 cat >>confdefs.h <<_ACEOF
20172 #define HAVE_STDBOOL_H 1
20173 _ACEOF
20177 done
20180 # Check for the existence of the <stdalign.h> header.
20181 for ac_header in stdalign.h
20182 do :
20183 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20184 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20185 cat >>confdefs.h <<_ACEOF
20186 #define HAVE_STDALIGN_H 1
20187 _ACEOF
20191 done
20194 CXXFLAGS="$ac_save_CXXFLAGS"
20195 ac_ext=c
20196 ac_cpp='$CPP $CPPFLAGS'
20197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20203 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20207 $as_echo_n "checking for the value of EOF... " >&6; }
20208 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20209 $as_echo_n "(cached) " >&6
20210 else
20212 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20214 else
20215 as_fn_error "computing EOF failed" "$LINENO" 5
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20221 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20223 cat >>confdefs.h <<_ACEOF
20224 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20225 _ACEOF
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20229 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20230 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20231 $as_echo_n "(cached) " >&6
20232 else
20234 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20236 else
20237 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20243 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20245 cat >>confdefs.h <<_ACEOF
20246 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20247 _ACEOF
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20251 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20252 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20253 $as_echo_n "(cached) " >&6
20254 else
20256 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20258 else
20259 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20265 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20267 cat >>confdefs.h <<_ACEOF
20268 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20269 _ACEOF
20273 # For gettimeofday support.
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20277 $as_echo_n "checking for gettimeofday... " >&6; }
20280 ac_ext=cpp
20281 ac_cpp='$CXXCPP $CPPFLAGS'
20282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20286 ac_save_CXXFLAGS="$CXXFLAGS"
20287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20289 ac_has_gettimeofday=no;
20290 for ac_header in sys/time.h
20291 do :
20292 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20293 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20294 cat >>confdefs.h <<_ACEOF
20295 #define HAVE_SYS_TIME_H 1
20296 _ACEOF
20297 ac_has_sys_time_h=yes
20298 else
20299 ac_has_sys_time_h=no
20302 done
20304 if test x"$ac_has_sys_time_h" = x"yes"; then
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20306 $as_echo_n "checking for gettimeofday... " >&6; }
20307 if test x$gcc_no_link = xyes; then
20308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310 #include <sys/time.h>
20312 main ()
20314 timeval tv; gettimeofday(&tv, 0);
20316 return 0;
20318 _ACEOF
20319 if ac_fn_cxx_try_compile "$LINENO"; then :
20320 ac_has_gettimeofday=yes
20321 else
20322 ac_has_gettimeofday=no
20324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20325 else
20326 if test x$gcc_no_link = xyes; then
20327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20330 /* end confdefs.h. */
20331 #include <sys/time.h>
20333 main ()
20335 timeval tv; gettimeofday(&tv, 0);
20337 return 0;
20339 _ACEOF
20340 if ac_fn_cxx_try_link "$LINENO"; then :
20341 ac_has_gettimeofday=yes
20342 else
20343 ac_has_gettimeofday=no
20345 rm -f core conftest.err conftest.$ac_objext \
20346 conftest$ac_exeext conftest.$ac_ext
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20350 $as_echo "$ac_has_gettimeofday" >&6; }
20353 if test x"$ac_has_gettimeofday" = x"yes"; then
20355 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20359 CXXFLAGS="$ac_save_CXXFLAGS"
20360 ac_ext=c
20361 ac_cpp='$CPP $CPPFLAGS'
20362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20368 # For clock_gettime, nanosleep and sched_yield support.
20371 # Check whether --enable-libstdcxx-time was given.
20372 if test "${enable_libstdcxx_time+set}" = set; then :
20373 enableval=$enable_libstdcxx_time;
20374 case "$enableval" in
20375 yes|no|rt) ;;
20376 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20377 esac
20379 else
20380 enable_libstdcxx_time=auto
20386 ac_ext=cpp
20387 ac_cpp='$CXXCPP $CPPFLAGS'
20388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20392 ac_save_CXXFLAGS="$CXXFLAGS"
20393 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20394 ac_save_LIBS="$LIBS"
20396 ac_has_clock_monotonic=no
20397 ac_has_clock_realtime=no
20398 ac_has_nanosleep=no
20399 ac_has_sched_yield=no
20401 if test x"$enable_libstdcxx_time" = x"auto"; then
20403 case "${target_os}" in
20404 cygwin*)
20405 ac_has_nanosleep=yes
20407 darwin*)
20408 ac_has_nanosleep=yes
20409 ac_has_sched_yield=yes
20411 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20413 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416 #include <features.h>
20418 main ()
20421 #if ! __GLIBC_PREREQ(2, 17)
20422 #error
20423 #endif
20426 return 0;
20428 _ACEOF
20429 if ac_fn_cxx_try_compile "$LINENO"; then :
20430 glibcxx_glibc217=yes
20431 else
20432 glibcxx_glibc217=no
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20436 $as_echo "$glibcxx_glibc217" >&6; }
20438 if test x"$glibcxx_glibc217" = x"yes"; then
20439 ac_has_clock_monotonic=yes
20440 ac_has_clock_realtime=yes
20442 ac_has_nanosleep=yes
20443 ac_has_sched_yield=yes
20445 freebsd*|netbsd*|dragonfly*)
20446 ac_has_clock_monotonic=yes
20447 ac_has_clock_realtime=yes
20448 ac_has_nanosleep=yes
20449 ac_has_sched_yield=yes
20451 openbsd*)
20452 ac_has_clock_monotonic=yes
20453 ac_has_clock_realtime=yes
20454 ac_has_nanosleep=yes
20456 solaris*)
20457 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20458 ac_has_clock_monotonic=yes
20459 ac_has_clock_realtime=yes
20460 ac_has_nanosleep=yes
20461 ac_has_sched_yield=yes
20463 esac
20465 elif test x"$enable_libstdcxx_time" != x"no"; then
20467 if test x"$enable_libstdcxx_time" = x"rt"; then
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20469 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20470 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20471 $as_echo_n "(cached) " >&6
20472 else
20473 ac_func_search_save_LIBS=$LIBS
20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20477 /* Override any GCC internal prototype to avoid an error.
20478 Use char because int might match the return type of a GCC
20479 builtin and then its argument prototype would still apply. */
20480 #ifdef __cplusplus
20481 extern "C"
20482 #endif
20483 char clock_gettime ();
20485 main ()
20487 return clock_gettime ();
20489 return 0;
20491 _ACEOF
20492 for ac_lib in '' rt posix4; do
20493 if test -z "$ac_lib"; then
20494 ac_res="none required"
20495 else
20496 ac_res=-l$ac_lib
20497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20499 if test x$gcc_no_link = xyes; then
20500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20502 if ac_fn_cxx_try_link "$LINENO"; then :
20503 ac_cv_search_clock_gettime=$ac_res
20505 rm -f core conftest.err conftest.$ac_objext \
20506 conftest$ac_exeext
20507 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20508 break
20510 done
20511 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20513 else
20514 ac_cv_search_clock_gettime=no
20516 rm conftest.$ac_ext
20517 LIBS=$ac_func_search_save_LIBS
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20520 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20521 ac_res=$ac_cv_search_clock_gettime
20522 if test "$ac_res" != no; then :
20523 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20528 $as_echo_n "checking for library containing nanosleep... " >&6; }
20529 if test "${ac_cv_search_nanosleep+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20532 ac_func_search_save_LIBS=$LIBS
20533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20536 /* Override any GCC internal prototype to avoid an error.
20537 Use char because int might match the return type of a GCC
20538 builtin and then its argument prototype would still apply. */
20539 #ifdef __cplusplus
20540 extern "C"
20541 #endif
20542 char nanosleep ();
20544 main ()
20546 return nanosleep ();
20548 return 0;
20550 _ACEOF
20551 for ac_lib in '' rt posix4; do
20552 if test -z "$ac_lib"; then
20553 ac_res="none required"
20554 else
20555 ac_res=-l$ac_lib
20556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20558 if test x$gcc_no_link = xyes; then
20559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20561 if ac_fn_cxx_try_link "$LINENO"; then :
20562 ac_cv_search_nanosleep=$ac_res
20564 rm -f core conftest.err conftest.$ac_objext \
20565 conftest$ac_exeext
20566 if test "${ac_cv_search_nanosleep+set}" = set; then :
20567 break
20569 done
20570 if test "${ac_cv_search_nanosleep+set}" = set; then :
20572 else
20573 ac_cv_search_nanosleep=no
20575 rm conftest.$ac_ext
20576 LIBS=$ac_func_search_save_LIBS
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20579 $as_echo "$ac_cv_search_nanosleep" >&6; }
20580 ac_res=$ac_cv_search_nanosleep
20581 if test "$ac_res" != no; then :
20582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20586 else
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20588 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20589 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20590 $as_echo_n "(cached) " >&6
20591 else
20592 ac_func_search_save_LIBS=$LIBS
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20596 /* Override any GCC internal prototype to avoid an error.
20597 Use char because int might match the return type of a GCC
20598 builtin and then its argument prototype would still apply. */
20599 #ifdef __cplusplus
20600 extern "C"
20601 #endif
20602 char clock_gettime ();
20604 main ()
20606 return clock_gettime ();
20608 return 0;
20610 _ACEOF
20611 for ac_lib in '' posix4; do
20612 if test -z "$ac_lib"; then
20613 ac_res="none required"
20614 else
20615 ac_res=-l$ac_lib
20616 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20618 if test x$gcc_no_link = xyes; then
20619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20621 if ac_fn_cxx_try_link "$LINENO"; then :
20622 ac_cv_search_clock_gettime=$ac_res
20624 rm -f core conftest.err conftest.$ac_objext \
20625 conftest$ac_exeext
20626 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20627 break
20629 done
20630 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20632 else
20633 ac_cv_search_clock_gettime=no
20635 rm conftest.$ac_ext
20636 LIBS=$ac_func_search_save_LIBS
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20639 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20640 ac_res=$ac_cv_search_clock_gettime
20641 if test "$ac_res" != no; then :
20642 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20647 $as_echo_n "checking for library containing nanosleep... " >&6; }
20648 if test "${ac_cv_search_nanosleep+set}" = set; then :
20649 $as_echo_n "(cached) " >&6
20650 else
20651 ac_func_search_save_LIBS=$LIBS
20652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20655 /* Override any GCC internal prototype to avoid an error.
20656 Use char because int might match the return type of a GCC
20657 builtin and then its argument prototype would still apply. */
20658 #ifdef __cplusplus
20659 extern "C"
20660 #endif
20661 char nanosleep ();
20663 main ()
20665 return nanosleep ();
20667 return 0;
20669 _ACEOF
20670 for ac_lib in '' posix4; do
20671 if test -z "$ac_lib"; then
20672 ac_res="none required"
20673 else
20674 ac_res=-l$ac_lib
20675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20677 if test x$gcc_no_link = xyes; then
20678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20680 if ac_fn_cxx_try_link "$LINENO"; then :
20681 ac_cv_search_nanosleep=$ac_res
20683 rm -f core conftest.err conftest.$ac_objext \
20684 conftest$ac_exeext
20685 if test "${ac_cv_search_nanosleep+set}" = set; then :
20686 break
20688 done
20689 if test "${ac_cv_search_nanosleep+set}" = set; then :
20691 else
20692 ac_cv_search_nanosleep=no
20694 rm conftest.$ac_ext
20695 LIBS=$ac_func_search_save_LIBS
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20698 $as_echo "$ac_cv_search_nanosleep" >&6; }
20699 ac_res=$ac_cv_search_nanosleep
20700 if test "$ac_res" != no; then :
20701 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20707 case "$ac_cv_search_clock_gettime" in
20708 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20710 esac
20711 case "$ac_cv_search_nanosleep" in
20712 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20714 esac
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20717 $as_echo_n "checking for library containing sched_yield... " >&6; }
20718 if test "${ac_cv_search_sched_yield+set}" = set; then :
20719 $as_echo_n "(cached) " >&6
20720 else
20721 ac_func_search_save_LIBS=$LIBS
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20725 /* Override any GCC internal prototype to avoid an error.
20726 Use char because int might match the return type of a GCC
20727 builtin and then its argument prototype would still apply. */
20728 #ifdef __cplusplus
20729 extern "C"
20730 #endif
20731 char sched_yield ();
20733 main ()
20735 return sched_yield ();
20737 return 0;
20739 _ACEOF
20740 for ac_lib in '' rt posix4; do
20741 if test -z "$ac_lib"; then
20742 ac_res="none required"
20743 else
20744 ac_res=-l$ac_lib
20745 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20747 if test x$gcc_no_link = xyes; then
20748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20750 if ac_fn_cxx_try_link "$LINENO"; then :
20751 ac_cv_search_sched_yield=$ac_res
20753 rm -f core conftest.err conftest.$ac_objext \
20754 conftest$ac_exeext
20755 if test "${ac_cv_search_sched_yield+set}" = set; then :
20756 break
20758 done
20759 if test "${ac_cv_search_sched_yield+set}" = set; then :
20761 else
20762 ac_cv_search_sched_yield=no
20764 rm conftest.$ac_ext
20765 LIBS=$ac_func_search_save_LIBS
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20768 $as_echo "$ac_cv_search_sched_yield" >&6; }
20769 ac_res=$ac_cv_search_sched_yield
20770 if test "$ac_res" != no; then :
20771 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20776 case "$ac_cv_search_sched_yield" in
20777 -lposix4*)
20778 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20779 ac_has_sched_yield=yes
20781 -lrt*)
20782 if test x"$enable_libstdcxx_time" = x"rt"; then
20783 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20784 ac_has_sched_yield=yes
20788 ac_has_sched_yield=yes
20790 esac
20792 for ac_header in unistd.h
20793 do :
20794 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20795 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20796 cat >>confdefs.h <<_ACEOF
20797 #define HAVE_UNISTD_H 1
20798 _ACEOF
20799 ac_has_unistd_h=yes
20800 else
20801 ac_has_unistd_h=no
20804 done
20807 if test x"$ac_has_unistd_h" = x"yes"; then
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20809 $as_echo_n "checking for monotonic clock... " >&6; }
20810 if test x$gcc_no_link = xyes; then
20811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20815 #include <unistd.h>
20816 #include <time.h>
20819 main ()
20821 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20822 timespec tp;
20823 #endif
20824 clock_gettime(CLOCK_MONOTONIC, &tp);
20827 return 0;
20829 _ACEOF
20830 if ac_fn_cxx_try_link "$LINENO"; then :
20831 ac_has_clock_monotonic=yes
20832 else
20833 ac_has_clock_monotonic=no
20835 rm -f core conftest.err conftest.$ac_objext \
20836 conftest$ac_exeext conftest.$ac_ext
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20839 $as_echo "$ac_has_clock_monotonic" >&6; }
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20842 $as_echo_n "checking for realtime clock... " >&6; }
20843 if test x$gcc_no_link = xyes; then
20844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20847 /* end confdefs.h. */
20848 #include <unistd.h>
20849 #include <time.h>
20852 main ()
20854 #if _POSIX_TIMERS > 0
20855 timespec tp;
20856 #endif
20857 clock_gettime(CLOCK_REALTIME, &tp);
20860 return 0;
20862 _ACEOF
20863 if ac_fn_cxx_try_link "$LINENO"; then :
20864 ac_has_clock_realtime=yes
20865 else
20866 ac_has_clock_realtime=no
20868 rm -f core conftest.err conftest.$ac_objext \
20869 conftest$ac_exeext conftest.$ac_ext
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20872 $as_echo "$ac_has_clock_realtime" >&6; }
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20875 $as_echo_n "checking for nanosleep... " >&6; }
20876 if test x$gcc_no_link = xyes; then
20877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #include <unistd.h>
20882 #include <time.h>
20885 main ()
20887 #if _POSIX_TIMERS > 0
20888 timespec tp;
20889 #endif
20890 nanosleep(&tp, 0);
20893 return 0;
20895 _ACEOF
20896 if ac_fn_cxx_try_link "$LINENO"; then :
20897 ac_has_nanosleep=yes
20898 else
20899 ac_has_nanosleep=no
20901 rm -f core conftest.err conftest.$ac_objext \
20902 conftest$ac_exeext conftest.$ac_ext
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20905 $as_echo "$ac_has_nanosleep" >&6; }
20909 if test x"$ac_has_clock_monotonic" != x"yes"; then
20910 case ${target_os} in
20911 linux*)
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20913 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20916 #include <unistd.h>
20917 #include <time.h>
20918 #include <sys/syscall.h>
20921 main ()
20923 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20924 timespec tp;
20925 #endif
20926 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20927 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20930 return 0;
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934 ac_has_clock_monotonic_syscall=yes
20935 else
20936 ac_has_clock_monotonic_syscall=no
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20940 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20941 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20943 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20945 ac_has_clock_monotonic=yes
20946 ac_has_clock_realtime=yes
20947 fi;;
20948 esac
20951 if test x"$ac_has_clock_monotonic" = x"yes"; then
20953 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20957 if test x"$ac_has_clock_realtime" = x"yes"; then
20959 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20963 if test x"$ac_has_sched_yield" = x"yes"; then
20965 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20969 if test x"$ac_has_nanosleep" = x"yes"; then
20971 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20973 else
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20975 $as_echo_n "checking for sleep... " >&6; }
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20978 #include <unistd.h>
20980 main ()
20982 sleep(1)
20984 return 0;
20986 _ACEOF
20987 if ac_fn_cxx_try_compile "$LINENO"; then :
20988 ac_has_sleep=yes
20989 else
20990 ac_has_sleep=no
20992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20993 if test x"$ac_has_sleep" = x"yes"; then
20995 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20999 $as_echo "$ac_has_sleep" >&6; }
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21001 $as_echo_n "checking for usleep... " >&6; }
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004 #include <unistd.h>
21006 main ()
21008 sleep(1);
21009 usleep(100);
21011 return 0;
21013 _ACEOF
21014 if ac_fn_cxx_try_compile "$LINENO"; then :
21015 ac_has_usleep=yes
21016 else
21017 ac_has_usleep=no
21019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21020 if test x"$ac_has_usleep" = x"yes"; then
21022 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21026 $as_echo "$ac_has_usleep" >&6; }
21029 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21031 $as_echo_n "checking for Sleep... " >&6; }
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <windows.h>
21036 main ()
21038 Sleep(1)
21040 return 0;
21042 _ACEOF
21043 if ac_fn_cxx_try_compile "$LINENO"; then :
21044 ac_has_win32_sleep=yes
21045 else
21046 ac_has_win32_sleep=no
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 if test x"$ac_has_win32_sleep" = x"yes"; then
21051 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21055 $as_echo "$ac_has_win32_sleep" >&6; }
21060 CXXFLAGS="$ac_save_CXXFLAGS"
21061 LIBS="$ac_save_LIBS"
21062 ac_ext=c
21063 ac_cpp='$CPP $CPPFLAGS'
21064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21070 # Check for tmpnam which is obsolescent in POSIX.1-2008
21072 ac_ext=cpp
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21078 ac_save_CXXFLAGS="$CXXFLAGS"
21079 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21081 $as_echo_n "checking for tmpnam... " >&6; }
21082 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21083 $as_echo_n "(cached) " >&6
21084 else
21085 if test x$gcc_no_link = xyes; then
21086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21088 #include <stdio.h>
21090 main ()
21092 char *tmp = tmpnam(NULL);
21094 return 0;
21096 _ACEOF
21097 if ac_fn_cxx_try_compile "$LINENO"; then :
21098 glibcxx_cv_TMPNAM=yes
21099 else
21100 glibcxx_cv_TMPNAM=no
21102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103 else
21104 if test x$gcc_no_link = xyes; then
21105 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21108 /* end confdefs.h. */
21109 #include <stdio.h>
21111 main ()
21113 char *tmp = tmpnam(NULL);
21115 return 0;
21117 _ACEOF
21118 if ac_fn_cxx_try_link "$LINENO"; then :
21119 glibcxx_cv_TMPNAM=yes
21120 else
21121 glibcxx_cv_TMPNAM=no
21123 rm -f core conftest.err conftest.$ac_objext \
21124 conftest$ac_exeext conftest.$ac_ext
21129 if test $glibcxx_cv_TMPNAM = yes; then
21131 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21135 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21136 CXXFLAGS="$ac_save_CXXFLAGS"
21137 ac_ext=c
21138 ac_cpp='$CPP $CPPFLAGS'
21139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21147 if test "x$ac_cv_header_locale_h" = x""yes; then :
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21150 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21151 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21152 $as_echo_n "(cached) " >&6
21153 else
21154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21155 /* end confdefs.h. */
21156 #include <locale.h>
21158 main ()
21160 return LC_MESSAGES
21162 return 0;
21164 _ACEOF
21165 if ac_fn_c_try_compile "$LINENO"; then :
21166 ac_cv_val_LC_MESSAGES=yes
21167 else
21168 ac_cv_val_LC_MESSAGES=no
21170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21173 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21174 if test $ac_cv_val_LC_MESSAGES = yes; then
21176 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21185 # For hardware_concurrency
21186 for ac_header in sys/sysinfo.h
21187 do :
21188 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21189 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21190 cat >>confdefs.h <<_ACEOF
21191 #define HAVE_SYS_SYSINFO_H 1
21192 _ACEOF
21196 done
21201 ac_ext=cpp
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 ac_save_CXXFLAGS="$CXXFLAGS"
21208 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21211 $as_echo_n "checking for get_nprocs... " >&6; }
21212 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21213 $as_echo_n "(cached) " >&6
21214 else
21216 if test x$gcc_no_link = xyes; then
21217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21219 #include <sys/sysinfo.h>
21221 main ()
21223 int n = get_nprocs();
21225 return 0;
21227 _ACEOF
21228 if ac_fn_cxx_try_compile "$LINENO"; then :
21229 glibcxx_cv_GET_NPROCS=yes
21230 else
21231 glibcxx_cv_GET_NPROCS=no
21233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21234 else
21235 if test x$gcc_no_link = xyes; then
21236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21240 #include <sys/sysinfo.h>
21242 main ()
21244 int n = get_nprocs();
21246 return 0;
21248 _ACEOF
21249 if ac_fn_cxx_try_link "$LINENO"; then :
21250 glibcxx_cv_GET_NPROCS=yes
21251 else
21252 glibcxx_cv_GET_NPROCS=no
21254 rm -f core conftest.err conftest.$ac_objext \
21255 conftest$ac_exeext conftest.$ac_ext
21260 if test $glibcxx_cv_GET_NPROCS = yes; then
21262 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21266 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21268 CXXFLAGS="$ac_save_CXXFLAGS"
21269 ac_ext=c
21270 ac_cpp='$CPP $CPPFLAGS'
21271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21276 for ac_header in unistd.h
21277 do :
21278 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21279 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21280 cat >>confdefs.h <<_ACEOF
21281 #define HAVE_UNISTD_H 1
21282 _ACEOF
21286 done
21291 ac_ext=cpp
21292 ac_cpp='$CXXCPP $CPPFLAGS'
21293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21297 ac_save_CXXFLAGS="$CXXFLAGS"
21298 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21301 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21302 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21303 $as_echo_n "(cached) " >&6
21304 else
21306 if test x$gcc_no_link = xyes; then
21307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21308 /* end confdefs.h. */
21309 #include <unistd.h>
21311 main ()
21313 int n = sysconf(_SC_NPROCESSORS_ONLN);
21315 return 0;
21317 _ACEOF
21318 if ac_fn_cxx_try_compile "$LINENO"; then :
21319 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21320 else
21321 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 else
21325 if test x$gcc_no_link = xyes; then
21326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h. */
21330 #include <unistd.h>
21332 main ()
21334 int n = sysconf(_SC_NPROCESSORS_ONLN);
21336 return 0;
21338 _ACEOF
21339 if ac_fn_cxx_try_link "$LINENO"; then :
21340 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21341 else
21342 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21344 rm -f core conftest.err conftest.$ac_objext \
21345 conftest$ac_exeext conftest.$ac_ext
21350 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21352 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21356 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21358 CXXFLAGS="$ac_save_CXXFLAGS"
21359 ac_ext=c
21360 ac_cpp='$CPP $CPPFLAGS'
21361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21369 ac_ext=cpp
21370 ac_cpp='$CXXCPP $CPPFLAGS'
21371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21375 ac_save_CXXFLAGS="$CXXFLAGS"
21376 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21379 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21380 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21381 $as_echo_n "(cached) " >&6
21382 else
21384 if test x$gcc_no_link = xyes; then
21385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21386 /* end confdefs.h. */
21387 #include <unistd.h>
21389 main ()
21391 int n = sysconf(_SC_NPROC_ONLN);
21393 return 0;
21395 _ACEOF
21396 if ac_fn_cxx_try_compile "$LINENO"; then :
21397 glibcxx_cv_SC_NPROC_ONLN=yes
21398 else
21399 glibcxx_cv_SC_NPROC_ONLN=no
21401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21402 else
21403 if test x$gcc_no_link = xyes; then
21404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407 /* end confdefs.h. */
21408 #include <unistd.h>
21410 main ()
21412 int n = sysconf(_SC_NPROC_ONLN);
21414 return 0;
21416 _ACEOF
21417 if ac_fn_cxx_try_link "$LINENO"; then :
21418 glibcxx_cv_SC_NPROC_ONLN=yes
21419 else
21420 glibcxx_cv_SC_NPROC_ONLN=no
21422 rm -f core conftest.err conftest.$ac_objext \
21423 conftest$ac_exeext conftest.$ac_ext
21428 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21430 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21434 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21436 CXXFLAGS="$ac_save_CXXFLAGS"
21437 ac_ext=c
21438 ac_cpp='$CPP $CPPFLAGS'
21439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21447 ac_ext=cpp
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21453 ac_save_CXXFLAGS="$CXXFLAGS"
21454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21457 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21458 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21459 $as_echo_n "(cached) " >&6
21460 else
21462 if test x$gcc_no_link = xyes; then
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <pthread.h>
21467 main ()
21469 int n = pthread_num_processors_np();
21471 return 0;
21473 _ACEOF
21474 if ac_fn_cxx_try_compile "$LINENO"; then :
21475 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21476 else
21477 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 else
21481 if test x$gcc_no_link = xyes; then
21482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <pthread.h>
21488 main ()
21490 int n = pthread_num_processors_np();
21492 return 0;
21494 _ACEOF
21495 if ac_fn_cxx_try_link "$LINENO"; then :
21496 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21497 else
21498 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21500 rm -f core conftest.err conftest.$ac_objext \
21501 conftest$ac_exeext conftest.$ac_ext
21506 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21508 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21512 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21514 CXXFLAGS="$ac_save_CXXFLAGS"
21515 ac_ext=c
21516 ac_cpp='$CPP $CPPFLAGS'
21517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21525 ac_ext=cpp
21526 ac_cpp='$CXXCPP $CPPFLAGS'
21527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531 ac_save_CXXFLAGS="$CXXFLAGS"
21532 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21535 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21536 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21537 $as_echo_n "(cached) " >&6
21538 else
21540 if test x$gcc_no_link = xyes; then
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 #include <stddef.h>
21545 #include <sys/sysctl.h>
21548 main ()
21551 int count;
21552 size_t size = sizeof(count);
21553 int mib[] = { CTL_HW, HW_NCPU };
21554 sysctl(mib, 2, &count, &size, NULL, 0);
21557 return 0;
21559 _ACEOF
21560 if ac_fn_cxx_try_compile "$LINENO"; then :
21561 glibcxx_cv_SYSCTL_HW_NCPU=yes
21562 else
21563 glibcxx_cv_SYSCTL_HW_NCPU=no
21565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21566 else
21567 if test x$gcc_no_link = xyes; then
21568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21571 /* end confdefs.h. */
21573 #include <stddef.h>
21574 #include <sys/sysctl.h>
21577 main ()
21580 int count;
21581 size_t size = sizeof(count);
21582 int mib[] = { CTL_HW, HW_NCPU };
21583 sysctl(mib, 2, &count, &size, NULL, 0);
21586 return 0;
21588 _ACEOF
21589 if ac_fn_cxx_try_link "$LINENO"; then :
21590 glibcxx_cv_SYSCTL_HW_NCPU=yes
21591 else
21592 glibcxx_cv_SYSCTL_HW_NCPU=no
21594 rm -f core conftest.err conftest.$ac_objext \
21595 conftest$ac_exeext conftest.$ac_ext
21600 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21602 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21606 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21608 CXXFLAGS="$ac_save_CXXFLAGS"
21609 ac_ext=c
21610 ac_cpp='$CPP $CPPFLAGS'
21611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21618 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21619 # Note that this test has to be run with the C language.
21620 # Otherwise, sdt.h will try to include some headers from
21621 # libstdc++ itself.
21623 ac_ext=c
21624 ac_cpp='$CPP $CPPFLAGS'
21625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21629 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21630 $as_echo_n "(cached) " >&6
21631 else
21633 # Because we have to run the test in C, we use grep rather
21634 # than the compiler to check for the bug. The bug is that
21635 # were strings without trailing whitespace, causing g++
21636 # to look for operator"". The pattern searches for the fixed
21637 # output.
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21641 #include <sys/sdt.h>
21642 int f() { STAP_PROBE(hi, bob); }
21644 _ACEOF
21645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21646 $EGREP " \",\" " >/dev/null 2>&1; then :
21647 glibcxx_cv_sys_sdt_h=yes
21648 else
21649 glibcxx_cv_sys_sdt_h=no
21651 rm -f conftest*
21656 ac_ext=c
21657 ac_cpp='$CPP $CPPFLAGS'
21658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662 if test $glibcxx_cv_sys_sdt_h = yes; then
21664 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21668 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21671 # Check for available headers.
21672 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21673 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21674 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21675 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21676 wchar.h wctype.h
21677 do :
21678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21679 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21680 eval as_val=\$$as_ac_Header
21681 if test "x$as_val" = x""yes; then :
21682 cat >>confdefs.h <<_ACEOF
21683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21684 _ACEOF
21688 done
21691 # Only do link tests if native. Else, hardcode.
21692 if $GLIBCXX_IS_NATIVE; then
21694 # We can do more elaborate tests that assume a working linker.
21695 CANADIAN=no
21699 # Check whether --with-gnu-ld was given.
21700 if test "${with_gnu_ld+set}" = set; then :
21701 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21702 else
21703 with_gnu_ld=no
21706 ac_prog=ld
21707 if test "$GCC" = yes; then
21708 # Check if gcc -print-prog-name=ld gives a path.
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21710 $as_echo_n "checking for ld used by $CC... " >&6; }
21711 case $host in
21712 *-*-mingw*)
21713 # gcc leaves a trailing carriage return which upsets mingw
21714 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21716 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21717 esac
21718 case $ac_prog in
21719 # Accept absolute paths.
21720 [\\/]* | ?:[\\/]*)
21721 re_direlt='/[^/][^/]*/\.\./'
21722 # Canonicalize the pathname of ld
21723 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21724 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21725 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21726 done
21727 test -z "$LD" && LD="$ac_prog"
21730 # If it fails, then pretend we aren't using GCC.
21731 ac_prog=ld
21734 # If it is relative, then search for the first ld in PATH.
21735 with_gnu_ld=unknown
21737 esac
21738 elif test "$with_gnu_ld" = yes; then
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21740 $as_echo_n "checking for GNU ld... " >&6; }
21741 else
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21743 $as_echo_n "checking for non-GNU ld... " >&6; }
21745 if test "${lt_cv_path_LD+set}" = set; then :
21746 $as_echo_n "(cached) " >&6
21747 else
21748 if test -z "$LD"; then
21749 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21750 for ac_dir in $PATH; do
21751 IFS="$lt_save_ifs"
21752 test -z "$ac_dir" && ac_dir=.
21753 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21754 lt_cv_path_LD="$ac_dir/$ac_prog"
21755 # Check to see if the program is GNU ld. I'd rather use --version,
21756 # but apparently some variants of GNU ld only accept -v.
21757 # Break only if it was the GNU/non-GNU ld that we prefer.
21758 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21759 *GNU* | *'with BFD'*)
21760 test "$with_gnu_ld" != no && break
21763 test "$with_gnu_ld" != yes && break
21765 esac
21767 done
21768 IFS="$lt_save_ifs"
21769 else
21770 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21774 LD="$lt_cv_path_LD"
21775 if test -n "$LD"; then
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21777 $as_echo "$LD" >&6; }
21778 else
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21780 $as_echo "no" >&6; }
21782 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21784 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21785 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21786 $as_echo_n "(cached) " >&6
21787 else
21788 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21789 case `$LD -v 2>&1 </dev/null` in
21790 *GNU* | *'with BFD'*)
21791 lt_cv_prog_gnu_ld=yes
21794 lt_cv_prog_gnu_ld=no
21796 esac
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21799 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21800 with_gnu_ld=$lt_cv_prog_gnu_ld
21808 # If we're not using GNU ld, then there's no point in even trying these
21809 # tests. Check for that first. We should have already tested for gld
21810 # by now (in libtool), but require it now just to be safe...
21811 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21812 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21816 # The name set by libtool depends on the version of libtool. Shame on us
21817 # for depending on an impl detail, but c'est la vie. Older versions used
21818 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21819 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21820 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21821 # set (hence we're using an older libtool), then set it.
21822 if test x${with_gnu_ld+set} != xset; then
21823 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21824 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21825 with_gnu_ld=no
21826 else
21827 with_gnu_ld=$ac_cv_prog_gnu_ld
21831 # Start by getting the version number. I think the libtool test already
21832 # does some of this, but throws away the result.
21833 glibcxx_ld_is_gold=no
21834 if test x"$with_gnu_ld" = x"yes"; then
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21836 $as_echo_n "checking for ld version... " >&6; }
21838 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21839 glibcxx_ld_is_gold=yes
21841 ldver=`$LD --version 2>/dev/null |
21842 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'`
21844 glibcxx_gnu_ld_version=`echo $ldver | \
21845 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21847 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21850 # Set --gc-sections.
21851 glibcxx_have_gc_sections=no
21852 if test "$glibcxx_ld_is_gold" = "yes"; then
21853 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21854 glibcxx_have_gc_sections=yes
21856 else
21857 glibcxx_gcsections_min_ld=21602
21858 if test x"$with_gnu_ld" = x"yes" &&
21859 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21860 glibcxx_have_gc_sections=yes
21863 if test "$glibcxx_have_gc_sections" = "yes"; then
21864 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21865 # NB: This flag only works reliably after 2.16.1. Configure tests
21866 # for this are difficult, so hard wire a value that should work.
21868 ac_test_CFLAGS="${CFLAGS+set}"
21869 ac_save_CFLAGS="$CFLAGS"
21870 CFLAGS='-Wl,--gc-sections'
21872 # Check for -Wl,--gc-sections
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21874 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21875 if test x$gcc_no_link = xyes; then
21876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h. */
21880 int one(void) { return 1; }
21881 int two(void) { return 2; }
21884 main ()
21886 two();
21888 return 0;
21890 _ACEOF
21891 if ac_fn_c_try_link "$LINENO"; then :
21892 ac_gcsections=yes
21893 else
21894 ac_gcsections=no
21896 rm -f core conftest.err conftest.$ac_objext \
21897 conftest$ac_exeext conftest.$ac_ext
21898 if test "$ac_gcsections" = "yes"; then
21899 rm -f conftest.c
21900 touch conftest.c
21901 if $CC -c conftest.c; then
21902 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21903 grep "Warning: gc-sections option ignored" > /dev/null; then
21904 ac_gcsections=no
21907 rm -f conftest.c conftest.o conftest
21909 if test "$ac_gcsections" = "yes"; then
21910 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21913 $as_echo "$ac_gcsections" >&6; }
21915 if test "$ac_test_CFLAGS" = set; then
21916 CFLAGS="$ac_save_CFLAGS"
21917 else
21918 # this is the suspicious part
21919 CFLAGS=''
21923 # Set -z,relro.
21924 # Note this is only for shared objects.
21925 ac_ld_relro=no
21926 if test x"$with_gnu_ld" = x"yes"; then
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21928 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21929 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21930 if test -n "$cxx_z_relo"; then
21931 OPT_LDFLAGS="-Wl,-z,relro"
21932 ac_ld_relro=yes
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21935 $as_echo "$ac_ld_relro" >&6; }
21938 # Set linker optimization flags.
21939 if test x"$with_gnu_ld" = x"yes"; then
21940 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21947 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21948 ac_save_CXXFLAGS="$CXXFLAGS"
21949 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21952 $as_echo_n "checking for sin in -lm... " >&6; }
21953 if test "${ac_cv_lib_m_sin+set}" = set; then :
21954 $as_echo_n "(cached) " >&6
21955 else
21956 ac_check_lib_save_LIBS=$LIBS
21957 LIBS="-lm $LIBS"
21958 if test x$gcc_no_link = xyes; then
21959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21962 /* end confdefs.h. */
21964 /* Override any GCC internal prototype to avoid an error.
21965 Use char because int might match the return type of a GCC
21966 builtin and then its argument prototype would still apply. */
21967 #ifdef __cplusplus
21968 extern "C"
21969 #endif
21970 char sin ();
21972 main ()
21974 return sin ();
21976 return 0;
21978 _ACEOF
21979 if ac_fn_c_try_link "$LINENO"; then :
21980 ac_cv_lib_m_sin=yes
21981 else
21982 ac_cv_lib_m_sin=no
21984 rm -f core conftest.err conftest.$ac_objext \
21985 conftest$ac_exeext conftest.$ac_ext
21986 LIBS=$ac_check_lib_save_LIBS
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21989 $as_echo "$ac_cv_lib_m_sin" >&6; }
21990 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21991 libm="-lm"
21994 ac_save_LIBS="$LIBS"
21995 LIBS="$LIBS $libm"
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22000 $as_echo_n "checking for isinf declaration... " >&6; }
22001 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22002 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22003 $as_echo_n "(cached) " >&6
22004 else
22007 ac_ext=cpp
22008 ac_cpp='$CXXCPP $CPPFLAGS'
22009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22015 #include <math.h>
22016 #ifdef HAVE_IEEEFP_H
22017 #include <ieeefp.h>
22018 #endif
22021 main ()
22023 isinf(0);
22025 return 0;
22027 _ACEOF
22028 if ac_fn_cxx_try_compile "$LINENO"; then :
22029 glibcxx_cv_func_isinf_use=yes
22030 else
22031 glibcxx_cv_func_isinf_use=no
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22034 ac_ext=c
22035 ac_cpp='$CPP $CPPFLAGS'
22036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22045 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22047 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22048 for ac_func in isinf
22049 do :
22050 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22051 if test "x$ac_cv_func_isinf" = x""yes; then :
22052 cat >>confdefs.h <<_ACEOF
22053 #define HAVE_ISINF 1
22054 _ACEOF
22057 done
22059 else
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22062 $as_echo_n "checking for _isinf declaration... " >&6; }
22063 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22064 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22065 $as_echo_n "(cached) " >&6
22066 else
22069 ac_ext=cpp
22070 ac_cpp='$CXXCPP $CPPFLAGS'
22071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22076 /* end confdefs.h. */
22077 #include <math.h>
22078 #ifdef HAVE_IEEEFP_H
22079 #include <ieeefp.h>
22080 #endif
22083 main ()
22085 _isinf(0);
22087 return 0;
22089 _ACEOF
22090 if ac_fn_cxx_try_compile "$LINENO"; then :
22091 glibcxx_cv_func__isinf_use=yes
22092 else
22093 glibcxx_cv_func__isinf_use=no
22095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22096 ac_ext=c
22097 ac_cpp='$CPP $CPPFLAGS'
22098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22107 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22109 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22110 for ac_func in _isinf
22111 do :
22112 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22113 if test "x$ac_cv_func__isinf" = x""yes; then :
22114 cat >>confdefs.h <<_ACEOF
22115 #define HAVE__ISINF 1
22116 _ACEOF
22119 done
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22129 $as_echo_n "checking for isnan declaration... " >&6; }
22130 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22131 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22132 $as_echo_n "(cached) " >&6
22133 else
22136 ac_ext=cpp
22137 ac_cpp='$CXXCPP $CPPFLAGS'
22138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22143 /* end confdefs.h. */
22144 #include <math.h>
22145 #ifdef HAVE_IEEEFP_H
22146 #include <ieeefp.h>
22147 #endif
22150 main ()
22152 isnan(0);
22154 return 0;
22156 _ACEOF
22157 if ac_fn_cxx_try_compile "$LINENO"; then :
22158 glibcxx_cv_func_isnan_use=yes
22159 else
22160 glibcxx_cv_func_isnan_use=no
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 ac_ext=c
22164 ac_cpp='$CPP $CPPFLAGS'
22165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22174 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22176 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22177 for ac_func in isnan
22178 do :
22179 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22180 if test "x$ac_cv_func_isnan" = x""yes; then :
22181 cat >>confdefs.h <<_ACEOF
22182 #define HAVE_ISNAN 1
22183 _ACEOF
22186 done
22188 else
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22191 $as_echo_n "checking for _isnan declaration... " >&6; }
22192 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22193 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22195 else
22198 ac_ext=cpp
22199 ac_cpp='$CXXCPP $CPPFLAGS'
22200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22205 /* end confdefs.h. */
22206 #include <math.h>
22207 #ifdef HAVE_IEEEFP_H
22208 #include <ieeefp.h>
22209 #endif
22212 main ()
22214 _isnan(0);
22216 return 0;
22218 _ACEOF
22219 if ac_fn_cxx_try_compile "$LINENO"; then :
22220 glibcxx_cv_func__isnan_use=yes
22221 else
22222 glibcxx_cv_func__isnan_use=no
22224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22225 ac_ext=c
22226 ac_cpp='$CPP $CPPFLAGS'
22227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22236 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22238 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22239 for ac_func in _isnan
22240 do :
22241 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22242 if test "x$ac_cv_func__isnan" = x""yes; then :
22243 cat >>confdefs.h <<_ACEOF
22244 #define HAVE__ISNAN 1
22245 _ACEOF
22248 done
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22258 $as_echo_n "checking for finite declaration... " >&6; }
22259 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22260 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22261 $as_echo_n "(cached) " >&6
22262 else
22265 ac_ext=cpp
22266 ac_cpp='$CXXCPP $CPPFLAGS'
22267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22272 /* end confdefs.h. */
22273 #include <math.h>
22274 #ifdef HAVE_IEEEFP_H
22275 #include <ieeefp.h>
22276 #endif
22279 main ()
22281 finite(0);
22283 return 0;
22285 _ACEOF
22286 if ac_fn_cxx_try_compile "$LINENO"; then :
22287 glibcxx_cv_func_finite_use=yes
22288 else
22289 glibcxx_cv_func_finite_use=no
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22292 ac_ext=c
22293 ac_cpp='$CPP $CPPFLAGS'
22294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22303 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22305 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22306 for ac_func in finite
22307 do :
22308 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22309 if test "x$ac_cv_func_finite" = x""yes; then :
22310 cat >>confdefs.h <<_ACEOF
22311 #define HAVE_FINITE 1
22312 _ACEOF
22315 done
22317 else
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22320 $as_echo_n "checking for _finite declaration... " >&6; }
22321 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22322 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22323 $as_echo_n "(cached) " >&6
22324 else
22327 ac_ext=cpp
22328 ac_cpp='$CXXCPP $CPPFLAGS'
22329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22334 /* end confdefs.h. */
22335 #include <math.h>
22336 #ifdef HAVE_IEEEFP_H
22337 #include <ieeefp.h>
22338 #endif
22341 main ()
22343 _finite(0);
22345 return 0;
22347 _ACEOF
22348 if ac_fn_cxx_try_compile "$LINENO"; then :
22349 glibcxx_cv_func__finite_use=yes
22350 else
22351 glibcxx_cv_func__finite_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__finite_use" >&5
22365 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22367 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22368 for ac_func in _finite
22369 do :
22370 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22371 if test "x$ac_cv_func__finite" = x""yes; then :
22372 cat >>confdefs.h <<_ACEOF
22373 #define HAVE__FINITE 1
22374 _ACEOF
22377 done
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22387 $as_echo_n "checking for sincos declaration... " >&6; }
22388 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22389 if test "${glibcxx_cv_func_sincos_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>
22404 main ()
22406 sincos(0, 0, 0);
22408 return 0;
22410 _ACEOF
22411 if ac_fn_cxx_try_compile "$LINENO"; then :
22412 glibcxx_cv_func_sincos_use=yes
22413 else
22414 glibcxx_cv_func_sincos_use=no
22416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22417 ac_ext=c
22418 ac_cpp='$CPP $CPPFLAGS'
22419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22428 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22430 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22431 for ac_func in sincos
22432 do :
22433 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22434 if test "x$ac_cv_func_sincos" = x""yes; then :
22435 cat >>confdefs.h <<_ACEOF
22436 #define HAVE_SINCOS 1
22437 _ACEOF
22440 done
22442 else
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22445 $as_echo_n "checking for _sincos declaration... " >&6; }
22446 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22447 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22448 $as_echo_n "(cached) " >&6
22449 else
22452 ac_ext=cpp
22453 ac_cpp='$CXXCPP $CPPFLAGS'
22454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22459 /* end confdefs.h. */
22460 #include <math.h>
22462 main ()
22464 _sincos(0, 0, 0);
22466 return 0;
22468 _ACEOF
22469 if ac_fn_cxx_try_compile "$LINENO"; then :
22470 glibcxx_cv_func__sincos_use=yes
22471 else
22472 glibcxx_cv_func__sincos_use=no
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 ac_ext=c
22476 ac_cpp='$CPP $CPPFLAGS'
22477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22486 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22488 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22489 for ac_func in _sincos
22490 do :
22491 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22492 if test "x$ac_cv_func__sincos" = x""yes; then :
22493 cat >>confdefs.h <<_ACEOF
22494 #define HAVE__SINCOS 1
22495 _ACEOF
22498 done
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22508 $as_echo_n "checking for fpclass declaration... " >&6; }
22509 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22510 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22511 $as_echo_n "(cached) " >&6
22512 else
22515 ac_ext=cpp
22516 ac_cpp='$CXXCPP $CPPFLAGS'
22517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22522 /* end confdefs.h. */
22523 #include <math.h>
22524 #ifdef HAVE_IEEEFP_H
22525 #include <ieeefp.h>
22526 #endif
22529 main ()
22531 fpclass(0);
22533 return 0;
22535 _ACEOF
22536 if ac_fn_cxx_try_compile "$LINENO"; then :
22537 glibcxx_cv_func_fpclass_use=yes
22538 else
22539 glibcxx_cv_func_fpclass_use=no
22541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22542 ac_ext=c
22543 ac_cpp='$CPP $CPPFLAGS'
22544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22553 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22555 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22556 for ac_func in fpclass
22557 do :
22558 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22559 if test "x$ac_cv_func_fpclass" = x""yes; then :
22560 cat >>confdefs.h <<_ACEOF
22561 #define HAVE_FPCLASS 1
22562 _ACEOF
22565 done
22567 else
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22570 $as_echo_n "checking for _fpclass declaration... " >&6; }
22571 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22572 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22573 $as_echo_n "(cached) " >&6
22574 else
22577 ac_ext=cpp
22578 ac_cpp='$CXXCPP $CPPFLAGS'
22579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22585 #include <math.h>
22586 #ifdef HAVE_IEEEFP_H
22587 #include <ieeefp.h>
22588 #endif
22591 main ()
22593 _fpclass(0);
22595 return 0;
22597 _ACEOF
22598 if ac_fn_cxx_try_compile "$LINENO"; then :
22599 glibcxx_cv_func__fpclass_use=yes
22600 else
22601 glibcxx_cv_func__fpclass_use=no
22603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22604 ac_ext=c
22605 ac_cpp='$CPP $CPPFLAGS'
22606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22615 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22617 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22618 for ac_func in _fpclass
22619 do :
22620 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22621 if test "x$ac_cv_func__fpclass" = x""yes; then :
22622 cat >>confdefs.h <<_ACEOF
22623 #define HAVE__FPCLASS 1
22624 _ACEOF
22627 done
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22637 $as_echo_n "checking for qfpclass declaration... " >&6; }
22638 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22639 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22640 $as_echo_n "(cached) " >&6
22641 else
22644 ac_ext=cpp
22645 ac_cpp='$CXXCPP $CPPFLAGS'
22646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22652 #include <math.h>
22653 #ifdef HAVE_IEEEFP_H
22654 #include <ieeefp.h>
22655 #endif
22658 main ()
22660 qfpclass(0);
22662 return 0;
22664 _ACEOF
22665 if ac_fn_cxx_try_compile "$LINENO"; then :
22666 glibcxx_cv_func_qfpclass_use=yes
22667 else
22668 glibcxx_cv_func_qfpclass_use=no
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 ac_ext=c
22672 ac_cpp='$CPP $CPPFLAGS'
22673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22682 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22684 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22685 for ac_func in qfpclass
22686 do :
22687 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22688 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22689 cat >>confdefs.h <<_ACEOF
22690 #define HAVE_QFPCLASS 1
22691 _ACEOF
22694 done
22696 else
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22699 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22700 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22701 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22702 $as_echo_n "(cached) " >&6
22703 else
22706 ac_ext=cpp
22707 ac_cpp='$CXXCPP $CPPFLAGS'
22708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22713 /* end confdefs.h. */
22714 #include <math.h>
22715 #ifdef HAVE_IEEEFP_H
22716 #include <ieeefp.h>
22717 #endif
22720 main ()
22722 _qfpclass(0);
22724 return 0;
22726 _ACEOF
22727 if ac_fn_cxx_try_compile "$LINENO"; then :
22728 glibcxx_cv_func__qfpclass_use=yes
22729 else
22730 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
22744 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22746 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22747 for ac_func in _qfpclass
22748 do :
22749 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22750 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22751 cat >>confdefs.h <<_ACEOF
22752 #define HAVE__QFPCLASS 1
22753 _ACEOF
22756 done
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22766 $as_echo_n "checking for hypot declaration... " >&6; }
22767 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22768 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22773 ac_ext=cpp
22774 ac_cpp='$CXXCPP $CPPFLAGS'
22775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22780 /* end confdefs.h. */
22781 #include <math.h>
22783 main ()
22785 hypot(0, 0);
22787 return 0;
22789 _ACEOF
22790 if ac_fn_cxx_try_compile "$LINENO"; then :
22791 glibcxx_cv_func_hypot_use=yes
22792 else
22793 glibcxx_cv_func_hypot_use=no
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 ac_ext=c
22797 ac_cpp='$CPP $CPPFLAGS'
22798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22807 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22809 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22810 for ac_func in hypot
22811 do :
22812 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22813 if test "x$ac_cv_func_hypot" = x""yes; then :
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE_HYPOT 1
22816 _ACEOF
22819 done
22821 else
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22824 $as_echo_n "checking for _hypot declaration... " >&6; }
22825 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22826 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22827 $as_echo_n "(cached) " >&6
22828 else
22831 ac_ext=cpp
22832 ac_cpp='$CXXCPP $CPPFLAGS'
22833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22839 #include <math.h>
22841 main ()
22843 _hypot(0, 0);
22845 return 0;
22847 _ACEOF
22848 if ac_fn_cxx_try_compile "$LINENO"; then :
22849 glibcxx_cv_func__hypot_use=yes
22850 else
22851 glibcxx_cv_func__hypot_use=no
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 ac_ext=c
22855 ac_cpp='$CPP $CPPFLAGS'
22856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22865 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22867 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22868 for ac_func in _hypot
22869 do :
22870 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22871 if test "x$ac_cv_func__hypot" = x""yes; then :
22872 cat >>confdefs.h <<_ACEOF
22873 #define HAVE__HYPOT 1
22874 _ACEOF
22877 done
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22887 $as_echo_n "checking for float trig functions... " >&6; }
22888 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22889 $as_echo_n "(cached) " >&6
22890 else
22893 ac_ext=cpp
22894 ac_cpp='$CXXCPP $CPPFLAGS'
22895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22900 /* end confdefs.h. */
22901 #include <math.h>
22903 main ()
22905 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22907 return 0;
22909 _ACEOF
22910 if ac_fn_cxx_try_compile "$LINENO"; then :
22911 glibcxx_cv_func_float_trig_use=yes
22912 else
22913 glibcxx_cv_func_float_trig_use=no
22915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22916 ac_ext=c
22917 ac_cpp='$CPP $CPPFLAGS'
22918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22925 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22926 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22927 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22928 do :
22929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22931 eval as_val=\$$as_ac_var
22932 if test "x$as_val" = x""yes; then :
22933 cat >>confdefs.h <<_ACEOF
22934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22935 _ACEOF
22938 done
22940 else
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22942 $as_echo_n "checking for _float trig functions... " >&6; }
22943 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22944 $as_echo_n "(cached) " >&6
22945 else
22948 ac_ext=cpp
22949 ac_cpp='$CXXCPP $CPPFLAGS'
22950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22955 /* end confdefs.h. */
22956 #include <math.h>
22958 main ()
22960 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22962 return 0;
22964 _ACEOF
22965 if ac_fn_cxx_try_compile "$LINENO"; then :
22966 glibcxx_cv_func__float_trig_use=yes
22967 else
22968 glibcxx_cv_func__float_trig_use=no
22970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22971 ac_ext=c
22972 ac_cpp='$CPP $CPPFLAGS'
22973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22980 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22981 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22982 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22983 do :
22984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22986 eval as_val=\$$as_ac_var
22987 if test "x$as_val" = x""yes; then :
22988 cat >>confdefs.h <<_ACEOF
22989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22990 _ACEOF
22993 done
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23003 $as_echo_n "checking for float round functions... " >&6; }
23004 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23005 $as_echo_n "(cached) " >&6
23006 else
23009 ac_ext=cpp
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23017 #include <math.h>
23019 main ()
23021 ceilf (0); floorf (0);
23023 return 0;
23025 _ACEOF
23026 if ac_fn_cxx_try_compile "$LINENO"; then :
23027 glibcxx_cv_func_float_round_use=yes
23028 else
23029 glibcxx_cv_func_float_round_use=no
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032 ac_ext=c
23033 ac_cpp='$CPP $CPPFLAGS'
23034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23041 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23042 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23043 for ac_func in ceilf floorf
23044 do :
23045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23047 eval as_val=\$$as_ac_var
23048 if test "x$as_val" = x""yes; then :
23049 cat >>confdefs.h <<_ACEOF
23050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23051 _ACEOF
23054 done
23056 else
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23058 $as_echo_n "checking for _float round functions... " >&6; }
23059 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23060 $as_echo_n "(cached) " >&6
23061 else
23064 ac_ext=cpp
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23071 /* end confdefs.h. */
23072 #include <math.h>
23074 main ()
23076 _ceilf (0); _floorf (0);
23078 return 0;
23080 _ACEOF
23081 if ac_fn_cxx_try_compile "$LINENO"; then :
23082 glibcxx_cv_func__float_round_use=yes
23083 else
23084 glibcxx_cv_func__float_round_use=no
23086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23087 ac_ext=c
23088 ac_cpp='$CPP $CPPFLAGS'
23089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23096 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23097 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23098 for ac_func in _ceilf _floorf
23099 do :
23100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23102 eval as_val=\$$as_ac_var
23103 if test "x$as_val" = x""yes; then :
23104 cat >>confdefs.h <<_ACEOF
23105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23106 _ACEOF
23109 done
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23120 $as_echo_n "checking for expf declaration... " >&6; }
23121 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23122 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23123 $as_echo_n "(cached) " >&6
23124 else
23127 ac_ext=cpp
23128 ac_cpp='$CXXCPP $CPPFLAGS'
23129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23134 /* end confdefs.h. */
23135 #include <math.h>
23136 #ifdef HAVE_IEEEFP_H
23137 #include <ieeefp.h>
23138 #endif
23141 main ()
23143 expf(0);
23145 return 0;
23147 _ACEOF
23148 if ac_fn_cxx_try_compile "$LINENO"; then :
23149 glibcxx_cv_func_expf_use=yes
23150 else
23151 glibcxx_cv_func_expf_use=no
23153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23154 ac_ext=c
23155 ac_cpp='$CPP $CPPFLAGS'
23156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23165 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23167 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23168 for ac_func in expf
23169 do :
23170 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23171 if test "x$ac_cv_func_expf" = x""yes; then :
23172 cat >>confdefs.h <<_ACEOF
23173 #define HAVE_EXPF 1
23174 _ACEOF
23177 done
23179 else
23181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23182 $as_echo_n "checking for _expf declaration... " >&6; }
23183 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23184 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23185 $as_echo_n "(cached) " >&6
23186 else
23189 ac_ext=cpp
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23196 /* end confdefs.h. */
23197 #include <math.h>
23198 #ifdef HAVE_IEEEFP_H
23199 #include <ieeefp.h>
23200 #endif
23203 main ()
23205 _expf(0);
23207 return 0;
23209 _ACEOF
23210 if ac_fn_cxx_try_compile "$LINENO"; then :
23211 glibcxx_cv_func__expf_use=yes
23212 else
23213 glibcxx_cv_func__expf_use=no
23215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23216 ac_ext=c
23217 ac_cpp='$CPP $CPPFLAGS'
23218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23227 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23229 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23230 for ac_func in _expf
23231 do :
23232 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23233 if test "x$ac_cv_func__expf" = x""yes; then :
23234 cat >>confdefs.h <<_ACEOF
23235 #define HAVE__EXPF 1
23236 _ACEOF
23239 done
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23249 $as_echo_n "checking for isnanf declaration... " >&6; }
23250 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23251 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23252 $as_echo_n "(cached) " >&6
23253 else
23256 ac_ext=cpp
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23263 /* end confdefs.h. */
23264 #include <math.h>
23265 #ifdef HAVE_IEEEFP_H
23266 #include <ieeefp.h>
23267 #endif
23270 main ()
23272 isnanf(0);
23274 return 0;
23276 _ACEOF
23277 if ac_fn_cxx_try_compile "$LINENO"; then :
23278 glibcxx_cv_func_isnanf_use=yes
23279 else
23280 glibcxx_cv_func_isnanf_use=no
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283 ac_ext=c
23284 ac_cpp='$CPP $CPPFLAGS'
23285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23294 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23296 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23297 for ac_func in isnanf
23298 do :
23299 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23300 if test "x$ac_cv_func_isnanf" = x""yes; then :
23301 cat >>confdefs.h <<_ACEOF
23302 #define HAVE_ISNANF 1
23303 _ACEOF
23306 done
23308 else
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23311 $as_echo_n "checking for _isnanf declaration... " >&6; }
23312 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23313 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23314 $as_echo_n "(cached) " >&6
23315 else
23318 ac_ext=cpp
23319 ac_cpp='$CXXCPP $CPPFLAGS'
23320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23325 /* end confdefs.h. */
23326 #include <math.h>
23327 #ifdef HAVE_IEEEFP_H
23328 #include <ieeefp.h>
23329 #endif
23332 main ()
23334 _isnanf(0);
23336 return 0;
23338 _ACEOF
23339 if ac_fn_cxx_try_compile "$LINENO"; then :
23340 glibcxx_cv_func__isnanf_use=yes
23341 else
23342 glibcxx_cv_func__isnanf_use=no
23344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23345 ac_ext=c
23346 ac_cpp='$CPP $CPPFLAGS'
23347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23356 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23358 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23359 for ac_func in _isnanf
23360 do :
23361 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23362 if test "x$ac_cv_func__isnanf" = x""yes; then :
23363 cat >>confdefs.h <<_ACEOF
23364 #define HAVE__ISNANF 1
23365 _ACEOF
23368 done
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23378 $as_echo_n "checking for isinff declaration... " >&6; }
23379 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23380 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23381 $as_echo_n "(cached) " >&6
23382 else
23385 ac_ext=cpp
23386 ac_cpp='$CXXCPP $CPPFLAGS'
23387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23392 /* end confdefs.h. */
23393 #include <math.h>
23394 #ifdef HAVE_IEEEFP_H
23395 #include <ieeefp.h>
23396 #endif
23399 main ()
23401 isinff(0);
23403 return 0;
23405 _ACEOF
23406 if ac_fn_cxx_try_compile "$LINENO"; then :
23407 glibcxx_cv_func_isinff_use=yes
23408 else
23409 glibcxx_cv_func_isinff_use=no
23411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23412 ac_ext=c
23413 ac_cpp='$CPP $CPPFLAGS'
23414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23423 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23425 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23426 for ac_func in isinff
23427 do :
23428 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23429 if test "x$ac_cv_func_isinff" = x""yes; then :
23430 cat >>confdefs.h <<_ACEOF
23431 #define HAVE_ISINFF 1
23432 _ACEOF
23435 done
23437 else
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23440 $as_echo_n "checking for _isinff declaration... " >&6; }
23441 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23442 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23443 $as_echo_n "(cached) " >&6
23444 else
23447 ac_ext=cpp
23448 ac_cpp='$CXXCPP $CPPFLAGS'
23449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23454 /* end confdefs.h. */
23455 #include <math.h>
23456 #ifdef HAVE_IEEEFP_H
23457 #include <ieeefp.h>
23458 #endif
23461 main ()
23463 _isinff(0);
23465 return 0;
23467 _ACEOF
23468 if ac_fn_cxx_try_compile "$LINENO"; then :
23469 glibcxx_cv_func__isinff_use=yes
23470 else
23471 glibcxx_cv_func__isinff_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__isinff_use" >&5
23485 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23487 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23488 for ac_func in _isinff
23489 do :
23490 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23491 if test "x$ac_cv_func__isinff" = x""yes; then :
23492 cat >>confdefs.h <<_ACEOF
23493 #define HAVE__ISINFF 1
23494 _ACEOF
23497 done
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23507 $as_echo_n "checking for atan2f declaration... " >&6; }
23508 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23509 if test "${glibcxx_cv_func_atan2f_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>
23524 main ()
23526 atan2f(0, 0);
23528 return 0;
23530 _ACEOF
23531 if ac_fn_cxx_try_compile "$LINENO"; then :
23532 glibcxx_cv_func_atan2f_use=yes
23533 else
23534 glibcxx_cv_func_atan2f_use=no
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 ac_ext=c
23538 ac_cpp='$CPP $CPPFLAGS'
23539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23548 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23550 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23551 for ac_func in atan2f
23552 do :
23553 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23554 if test "x$ac_cv_func_atan2f" = x""yes; then :
23555 cat >>confdefs.h <<_ACEOF
23556 #define HAVE_ATAN2F 1
23557 _ACEOF
23560 done
23562 else
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23565 $as_echo_n "checking for _atan2f declaration... " >&6; }
23566 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23567 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23568 $as_echo_n "(cached) " >&6
23569 else
23572 ac_ext=cpp
23573 ac_cpp='$CXXCPP $CPPFLAGS'
23574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23579 /* end confdefs.h. */
23580 #include <math.h>
23582 main ()
23584 _atan2f(0, 0);
23586 return 0;
23588 _ACEOF
23589 if ac_fn_cxx_try_compile "$LINENO"; then :
23590 glibcxx_cv_func__atan2f_use=yes
23591 else
23592 glibcxx_cv_func__atan2f_use=no
23594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 ac_ext=c
23596 ac_cpp='$CPP $CPPFLAGS'
23597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23606 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23608 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23609 for ac_func in _atan2f
23610 do :
23611 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23612 if test "x$ac_cv_func__atan2f" = x""yes; then :
23613 cat >>confdefs.h <<_ACEOF
23614 #define HAVE__ATAN2F 1
23615 _ACEOF
23618 done
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23628 $as_echo_n "checking for fabsf declaration... " >&6; }
23629 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23630 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23631 $as_echo_n "(cached) " >&6
23632 else
23635 ac_ext=cpp
23636 ac_cpp='$CXXCPP $CPPFLAGS'
23637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23642 /* end confdefs.h. */
23643 #include <math.h>
23644 #ifdef HAVE_IEEEFP_H
23645 #include <ieeefp.h>
23646 #endif
23649 main ()
23651 fabsf(0);
23653 return 0;
23655 _ACEOF
23656 if ac_fn_cxx_try_compile "$LINENO"; then :
23657 glibcxx_cv_func_fabsf_use=yes
23658 else
23659 glibcxx_cv_func_fabsf_use=no
23661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23662 ac_ext=c
23663 ac_cpp='$CPP $CPPFLAGS'
23664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23673 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23675 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23676 for ac_func in fabsf
23677 do :
23678 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23679 if test "x$ac_cv_func_fabsf" = x""yes; then :
23680 cat >>confdefs.h <<_ACEOF
23681 #define HAVE_FABSF 1
23682 _ACEOF
23685 done
23687 else
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23690 $as_echo_n "checking for _fabsf declaration... " >&6; }
23691 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23692 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23693 $as_echo_n "(cached) " >&6
23694 else
23697 ac_ext=cpp
23698 ac_cpp='$CXXCPP $CPPFLAGS'
23699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23704 /* end confdefs.h. */
23705 #include <math.h>
23706 #ifdef HAVE_IEEEFP_H
23707 #include <ieeefp.h>
23708 #endif
23711 main ()
23713 _fabsf(0);
23715 return 0;
23717 _ACEOF
23718 if ac_fn_cxx_try_compile "$LINENO"; then :
23719 glibcxx_cv_func__fabsf_use=yes
23720 else
23721 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
23735 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23737 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23738 for ac_func in _fabsf
23739 do :
23740 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23741 if test "x$ac_cv_func__fabsf" = x""yes; then :
23742 cat >>confdefs.h <<_ACEOF
23743 #define HAVE__FABSF 1
23744 _ACEOF
23747 done
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23757 $as_echo_n "checking for fmodf declaration... " >&6; }
23758 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23759 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
23778 return 0;
23780 _ACEOF
23781 if ac_fn_cxx_try_compile "$LINENO"; then :
23782 glibcxx_cv_func_fmodf_use=yes
23783 else
23784 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
23798 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23800 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23801 for ac_func in fmodf
23802 do :
23803 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23804 if test "x$ac_cv_func_fmodf" = x""yes; then :
23805 cat >>confdefs.h <<_ACEOF
23806 #define HAVE_FMODF 1
23807 _ACEOF
23810 done
23812 else
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23815 $as_echo_n "checking for _fmodf declaration... " >&6; }
23816 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23817 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
23836 return 0;
23838 _ACEOF
23839 if ac_fn_cxx_try_compile "$LINENO"; then :
23840 glibcxx_cv_func__fmodf_use=yes
23841 else
23842 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
23856 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23858 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23859 for ac_func in _fmodf
23860 do :
23861 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23862 if test "x$ac_cv_func__fmodf" = x""yes; then :
23863 cat >>confdefs.h <<_ACEOF
23864 #define HAVE__FMODF 1
23865 _ACEOF
23868 done
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23878 $as_echo_n "checking for frexpf declaration... " >&6; }
23879 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23880 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
23899 return 0;
23901 _ACEOF
23902 if ac_fn_cxx_try_compile "$LINENO"; then :
23903 glibcxx_cv_func_frexpf_use=yes
23904 else
23905 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
23919 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23921 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23922 for ac_func in frexpf
23923 do :
23924 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23925 if test "x$ac_cv_func_frexpf" = x""yes; then :
23926 cat >>confdefs.h <<_ACEOF
23927 #define HAVE_FREXPF 1
23928 _ACEOF
23931 done
23933 else
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23936 $as_echo_n "checking for _frexpf declaration... " >&6; }
23937 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23938 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
23957 return 0;
23959 _ACEOF
23960 if ac_fn_cxx_try_compile "$LINENO"; then :
23961 glibcxx_cv_func__frexpf_use=yes
23962 else
23963 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
23977 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23979 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23980 for ac_func in _frexpf
23981 do :
23982 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23983 if test "x$ac_cv_func__frexpf" = x""yes; then :
23984 cat >>confdefs.h <<_ACEOF
23985 #define HAVE__FREXPF 1
23986 _ACEOF
23989 done
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23999 $as_echo_n "checking for hypotf declaration... " >&6; }
24000 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24001 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
24020 return 0;
24022 _ACEOF
24023 if ac_fn_cxx_try_compile "$LINENO"; then :
24024 glibcxx_cv_func_hypotf_use=yes
24025 else
24026 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
24040 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24042 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24043 for ac_func in hypotf
24044 do :
24045 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24046 if test "x$ac_cv_func_hypotf" = x""yes; then :
24047 cat >>confdefs.h <<_ACEOF
24048 #define HAVE_HYPOTF 1
24049 _ACEOF
24052 done
24054 else
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24057 $as_echo_n "checking for _hypotf declaration... " >&6; }
24058 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24059 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
24078 return 0;
24080 _ACEOF
24081 if ac_fn_cxx_try_compile "$LINENO"; then :
24082 glibcxx_cv_func__hypotf_use=yes
24083 else
24084 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
24098 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24100 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24101 for ac_func in _hypotf
24102 do :
24103 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24104 if test "x$ac_cv_func__hypotf" = x""yes; then :
24105 cat >>confdefs.h <<_ACEOF
24106 #define HAVE__HYPOTF 1
24107 _ACEOF
24110 done
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24120 $as_echo_n "checking for ldexpf declaration... " >&6; }
24121 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24122 if test "${glibcxx_cv_func_ldexpf_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>
24137 main ()
24139 ldexpf(0, 0);
24141 return 0;
24143 _ACEOF
24144 if ac_fn_cxx_try_compile "$LINENO"; then :
24145 glibcxx_cv_func_ldexpf_use=yes
24146 else
24147 glibcxx_cv_func_ldexpf_use=no
24149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 ac_ext=c
24151 ac_cpp='$CPP $CPPFLAGS'
24152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24161 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24163 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24164 for ac_func in ldexpf
24165 do :
24166 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24167 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24168 cat >>confdefs.h <<_ACEOF
24169 #define HAVE_LDEXPF 1
24170 _ACEOF
24173 done
24175 else
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24178 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24179 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24180 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24181 $as_echo_n "(cached) " >&6
24182 else
24185 ac_ext=cpp
24186 ac_cpp='$CXXCPP $CPPFLAGS'
24187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24192 /* end confdefs.h. */
24193 #include <math.h>
24195 main ()
24197 _ldexpf(0, 0);
24199 return 0;
24201 _ACEOF
24202 if ac_fn_cxx_try_compile "$LINENO"; then :
24203 glibcxx_cv_func__ldexpf_use=yes
24204 else
24205 glibcxx_cv_func__ldexpf_use=no
24207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24208 ac_ext=c
24209 ac_cpp='$CPP $CPPFLAGS'
24210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24219 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24221 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24222 for ac_func in _ldexpf
24223 do :
24224 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24225 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24226 cat >>confdefs.h <<_ACEOF
24227 #define HAVE__LDEXPF 1
24228 _ACEOF
24231 done
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24241 $as_echo_n "checking for logf declaration... " >&6; }
24242 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24243 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24244 $as_echo_n "(cached) " >&6
24245 else
24248 ac_ext=cpp
24249 ac_cpp='$CXXCPP $CPPFLAGS'
24250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24255 /* end confdefs.h. */
24256 #include <math.h>
24257 #ifdef HAVE_IEEEFP_H
24258 #include <ieeefp.h>
24259 #endif
24262 main ()
24264 logf(0);
24266 return 0;
24268 _ACEOF
24269 if ac_fn_cxx_try_compile "$LINENO"; then :
24270 glibcxx_cv_func_logf_use=yes
24271 else
24272 glibcxx_cv_func_logf_use=no
24274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24275 ac_ext=c
24276 ac_cpp='$CPP $CPPFLAGS'
24277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24286 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24288 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24289 for ac_func in logf
24290 do :
24291 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24292 if test "x$ac_cv_func_logf" = x""yes; then :
24293 cat >>confdefs.h <<_ACEOF
24294 #define HAVE_LOGF 1
24295 _ACEOF
24298 done
24300 else
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24303 $as_echo_n "checking for _logf declaration... " >&6; }
24304 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24305 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24306 $as_echo_n "(cached) " >&6
24307 else
24310 ac_ext=cpp
24311 ac_cpp='$CXXCPP $CPPFLAGS'
24312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24317 /* end confdefs.h. */
24318 #include <math.h>
24319 #ifdef HAVE_IEEEFP_H
24320 #include <ieeefp.h>
24321 #endif
24324 main ()
24326 _logf(0);
24328 return 0;
24330 _ACEOF
24331 if ac_fn_cxx_try_compile "$LINENO"; then :
24332 glibcxx_cv_func__logf_use=yes
24333 else
24334 glibcxx_cv_func__logf_use=no
24336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24337 ac_ext=c
24338 ac_cpp='$CPP $CPPFLAGS'
24339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24348 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24350 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24351 for ac_func in _logf
24352 do :
24353 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24354 if test "x$ac_cv_func__logf" = x""yes; then :
24355 cat >>confdefs.h <<_ACEOF
24356 #define HAVE__LOGF 1
24357 _ACEOF
24360 done
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24370 $as_echo_n "checking for log10f declaration... " >&6; }
24371 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24372 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24373 $as_echo_n "(cached) " >&6
24374 else
24377 ac_ext=cpp
24378 ac_cpp='$CXXCPP $CPPFLAGS'
24379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24385 #include <math.h>
24386 #ifdef HAVE_IEEEFP_H
24387 #include <ieeefp.h>
24388 #endif
24391 main ()
24393 log10f(0);
24395 return 0;
24397 _ACEOF
24398 if ac_fn_cxx_try_compile "$LINENO"; then :
24399 glibcxx_cv_func_log10f_use=yes
24400 else
24401 glibcxx_cv_func_log10f_use=no
24403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24404 ac_ext=c
24405 ac_cpp='$CPP $CPPFLAGS'
24406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24415 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24417 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24418 for ac_func in log10f
24419 do :
24420 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24421 if test "x$ac_cv_func_log10f" = x""yes; then :
24422 cat >>confdefs.h <<_ACEOF
24423 #define HAVE_LOG10F 1
24424 _ACEOF
24427 done
24429 else
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24432 $as_echo_n "checking for _log10f declaration... " >&6; }
24433 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24434 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24435 $as_echo_n "(cached) " >&6
24436 else
24439 ac_ext=cpp
24440 ac_cpp='$CXXCPP $CPPFLAGS'
24441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24447 #include <math.h>
24448 #ifdef HAVE_IEEEFP_H
24449 #include <ieeefp.h>
24450 #endif
24453 main ()
24455 _log10f(0);
24457 return 0;
24459 _ACEOF
24460 if ac_fn_cxx_try_compile "$LINENO"; then :
24461 glibcxx_cv_func__log10f_use=yes
24462 else
24463 glibcxx_cv_func__log10f_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__log10f_use" >&5
24477 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24479 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24480 for ac_func in _log10f
24481 do :
24482 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24483 if test "x$ac_cv_func__log10f" = x""yes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define HAVE__LOG10F 1
24486 _ACEOF
24489 done
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24499 $as_echo_n "checking for modff declaration... " >&6; }
24500 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24501 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
24520 return 0;
24522 _ACEOF
24523 if ac_fn_cxx_try_compile "$LINENO"; then :
24524 glibcxx_cv_func_modff_use=yes
24525 else
24526 glibcxx_cv_func_modff_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_modff_use" >&5
24540 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24542 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24543 for ac_func in modff
24544 do :
24545 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24546 if test "x$ac_cv_func_modff" = x""yes; then :
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE_MODFF 1
24549 _ACEOF
24552 done
24554 else
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24557 $as_echo_n "checking for _modff declaration... " >&6; }
24558 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24559 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
24578 return 0;
24580 _ACEOF
24581 if ac_fn_cxx_try_compile "$LINENO"; then :
24582 glibcxx_cv_func__modff_use=yes
24583 else
24584 glibcxx_cv_func__modff_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__modff_use" >&5
24598 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24600 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24601 for ac_func in _modff
24602 do :
24603 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24604 if test "x$ac_cv_func__modff" = x""yes; then :
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE__MODFF 1
24607 _ACEOF
24610 done
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24620 $as_echo_n "checking for modf declaration... " >&6; }
24621 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24622 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
24641 return 0;
24643 _ACEOF
24644 if ac_fn_cxx_try_compile "$LINENO"; then :
24645 glibcxx_cv_func_modf_use=yes
24646 else
24647 glibcxx_cv_func_modf_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_modf_use" >&5
24661 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24663 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24664 for ac_func in modf
24665 do :
24666 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24667 if test "x$ac_cv_func_modf" = x""yes; then :
24668 cat >>confdefs.h <<_ACEOF
24669 #define HAVE_MODF 1
24670 _ACEOF
24673 done
24675 else
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24678 $as_echo_n "checking for _modf declaration... " >&6; }
24679 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24680 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
24699 return 0;
24701 _ACEOF
24702 if ac_fn_cxx_try_compile "$LINENO"; then :
24703 glibcxx_cv_func__modf_use=yes
24704 else
24705 glibcxx_cv_func__modf_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__modf_use" >&5
24719 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24721 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24722 for ac_func in _modf
24723 do :
24724 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24725 if test "x$ac_cv_func__modf" = x""yes; then :
24726 cat >>confdefs.h <<_ACEOF
24727 #define HAVE__MODF 1
24728 _ACEOF
24731 done
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24741 $as_echo_n "checking for powf declaration... " >&6; }
24742 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24743 if test "${glibcxx_cv_func_powf_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>
24758 main ()
24760 powf(0, 0);
24762 return 0;
24764 _ACEOF
24765 if ac_fn_cxx_try_compile "$LINENO"; then :
24766 glibcxx_cv_func_powf_use=yes
24767 else
24768 glibcxx_cv_func_powf_use=no
24770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 ac_ext=c
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24782 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24784 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24785 for ac_func in powf
24786 do :
24787 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24788 if test "x$ac_cv_func_powf" = x""yes; then :
24789 cat >>confdefs.h <<_ACEOF
24790 #define HAVE_POWF 1
24791 _ACEOF
24794 done
24796 else
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24799 $as_echo_n "checking for _powf declaration... " >&6; }
24800 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24801 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24802 $as_echo_n "(cached) " >&6
24803 else
24806 ac_ext=cpp
24807 ac_cpp='$CXXCPP $CPPFLAGS'
24808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24813 /* end confdefs.h. */
24814 #include <math.h>
24816 main ()
24818 _powf(0, 0);
24820 return 0;
24822 _ACEOF
24823 if ac_fn_cxx_try_compile "$LINENO"; then :
24824 glibcxx_cv_func__powf_use=yes
24825 else
24826 glibcxx_cv_func__powf_use=no
24828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 ac_ext=c
24830 ac_cpp='$CPP $CPPFLAGS'
24831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24840 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24842 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24843 for ac_func in _powf
24844 do :
24845 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24846 if test "x$ac_cv_func__powf" = x""yes; then :
24847 cat >>confdefs.h <<_ACEOF
24848 #define HAVE__POWF 1
24849 _ACEOF
24852 done
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24862 $as_echo_n "checking for sqrtf declaration... " >&6; }
24863 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24864 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24865 $as_echo_n "(cached) " >&6
24866 else
24869 ac_ext=cpp
24870 ac_cpp='$CXXCPP $CPPFLAGS'
24871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24876 /* end confdefs.h. */
24877 #include <math.h>
24878 #ifdef HAVE_IEEEFP_H
24879 #include <ieeefp.h>
24880 #endif
24883 main ()
24885 sqrtf(0);
24887 return 0;
24889 _ACEOF
24890 if ac_fn_cxx_try_compile "$LINENO"; then :
24891 glibcxx_cv_func_sqrtf_use=yes
24892 else
24893 glibcxx_cv_func_sqrtf_use=no
24895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24896 ac_ext=c
24897 ac_cpp='$CPP $CPPFLAGS'
24898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24907 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24909 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24910 for ac_func in sqrtf
24911 do :
24912 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24913 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24914 cat >>confdefs.h <<_ACEOF
24915 #define HAVE_SQRTF 1
24916 _ACEOF
24919 done
24921 else
24923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24924 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24925 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24926 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24927 $as_echo_n "(cached) " >&6
24928 else
24931 ac_ext=cpp
24932 ac_cpp='$CXXCPP $CPPFLAGS'
24933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24939 #include <math.h>
24940 #ifdef HAVE_IEEEFP_H
24941 #include <ieeefp.h>
24942 #endif
24945 main ()
24947 _sqrtf(0);
24949 return 0;
24951 _ACEOF
24952 if ac_fn_cxx_try_compile "$LINENO"; then :
24953 glibcxx_cv_func__sqrtf_use=yes
24954 else
24955 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
24969 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24971 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24972 for ac_func in _sqrtf
24973 do :
24974 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24975 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24976 cat >>confdefs.h <<_ACEOF
24977 #define HAVE__SQRTF 1
24978 _ACEOF
24981 done
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24991 $as_echo_n "checking for sincosf declaration... " >&6; }
24992 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24993 if test "${glibcxx_cv_func_sincosf_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>
25008 main ()
25010 sincosf(0, 0, 0);
25012 return 0;
25014 _ACEOF
25015 if ac_fn_cxx_try_compile "$LINENO"; then :
25016 glibcxx_cv_func_sincosf_use=yes
25017 else
25018 glibcxx_cv_func_sincosf_use=no
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021 ac_ext=c
25022 ac_cpp='$CPP $CPPFLAGS'
25023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25032 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25034 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25035 for ac_func in sincosf
25036 do :
25037 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25038 if test "x$ac_cv_func_sincosf" = x""yes; then :
25039 cat >>confdefs.h <<_ACEOF
25040 #define HAVE_SINCOSF 1
25041 _ACEOF
25044 done
25046 else
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25049 $as_echo_n "checking for _sincosf declaration... " >&6; }
25050 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25051 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25052 $as_echo_n "(cached) " >&6
25053 else
25056 ac_ext=cpp
25057 ac_cpp='$CXXCPP $CPPFLAGS'
25058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25063 /* end confdefs.h. */
25064 #include <math.h>
25066 main ()
25068 _sincosf(0, 0, 0);
25070 return 0;
25072 _ACEOF
25073 if ac_fn_cxx_try_compile "$LINENO"; then :
25074 glibcxx_cv_func__sincosf_use=yes
25075 else
25076 glibcxx_cv_func__sincosf_use=no
25078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25079 ac_ext=c
25080 ac_cpp='$CPP $CPPFLAGS'
25081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25090 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25092 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25093 for ac_func in _sincosf
25094 do :
25095 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25096 if test "x$ac_cv_func__sincosf" = x""yes; then :
25097 cat >>confdefs.h <<_ACEOF
25098 #define HAVE__SINCOSF 1
25099 _ACEOF
25102 done
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25112 $as_echo_n "checking for finitef declaration... " >&6; }
25113 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25114 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25115 $as_echo_n "(cached) " >&6
25116 else
25119 ac_ext=cpp
25120 ac_cpp='$CXXCPP $CPPFLAGS'
25121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25126 /* end confdefs.h. */
25127 #include <math.h>
25128 #ifdef HAVE_IEEEFP_H
25129 #include <ieeefp.h>
25130 #endif
25133 main ()
25135 finitef(0);
25137 return 0;
25139 _ACEOF
25140 if ac_fn_cxx_try_compile "$LINENO"; then :
25141 glibcxx_cv_func_finitef_use=yes
25142 else
25143 glibcxx_cv_func_finitef_use=no
25145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25146 ac_ext=c
25147 ac_cpp='$CPP $CPPFLAGS'
25148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25157 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25159 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25160 for ac_func in finitef
25161 do :
25162 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25163 if test "x$ac_cv_func_finitef" = x""yes; then :
25164 cat >>confdefs.h <<_ACEOF
25165 #define HAVE_FINITEF 1
25166 _ACEOF
25169 done
25171 else
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25174 $as_echo_n "checking for _finitef declaration... " >&6; }
25175 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25176 if test "${glibcxx_cv_func__finitef_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>
25190 #ifdef HAVE_IEEEFP_H
25191 #include <ieeefp.h>
25192 #endif
25195 main ()
25197 _finitef(0);
25199 return 0;
25201 _ACEOF
25202 if ac_fn_cxx_try_compile "$LINENO"; then :
25203 glibcxx_cv_func__finitef_use=yes
25204 else
25205 glibcxx_cv_func__finitef_use=no
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 ac_ext=c
25209 ac_cpp='$CPP $CPPFLAGS'
25210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25219 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25221 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25222 for ac_func in _finitef
25223 do :
25224 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25225 if test "x$ac_cv_func__finitef" = x""yes; then :
25226 cat >>confdefs.h <<_ACEOF
25227 #define HAVE__FINITEF 1
25228 _ACEOF
25231 done
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25241 $as_echo_n "checking for long double trig functions... " >&6; }
25242 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25243 $as_echo_n "(cached) " >&6
25244 else
25247 ac_ext=cpp
25248 ac_cpp='$CXXCPP $CPPFLAGS'
25249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25254 /* end confdefs.h. */
25255 #include <math.h>
25257 main ()
25259 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25261 return 0;
25263 _ACEOF
25264 if ac_fn_cxx_try_compile "$LINENO"; then :
25265 glibcxx_cv_func_long_double_trig_use=yes
25266 else
25267 glibcxx_cv_func_long_double_trig_use=no
25269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25270 ac_ext=c
25271 ac_cpp='$CPP $CPPFLAGS'
25272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25279 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25280 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25281 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25282 do :
25283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25285 eval as_val=\$$as_ac_var
25286 if test "x$as_val" = x""yes; then :
25287 cat >>confdefs.h <<_ACEOF
25288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25289 _ACEOF
25292 done
25294 else
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25296 $as_echo_n "checking for _long double trig functions... " >&6; }
25297 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25298 $as_echo_n "(cached) " >&6
25299 else
25302 ac_ext=cpp
25303 ac_cpp='$CXXCPP $CPPFLAGS'
25304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25309 /* end confdefs.h. */
25310 #include <math.h>
25312 main ()
25314 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25316 return 0;
25318 _ACEOF
25319 if ac_fn_cxx_try_compile "$LINENO"; then :
25320 glibcxx_cv_func__long_double_trig_use=yes
25321 else
25322 glibcxx_cv_func__long_double_trig_use=no
25324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325 ac_ext=c
25326 ac_cpp='$CPP $CPPFLAGS'
25327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25334 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25335 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25336 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25337 do :
25338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25340 eval as_val=\$$as_ac_var
25341 if test "x$as_val" = x""yes; then :
25342 cat >>confdefs.h <<_ACEOF
25343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25344 _ACEOF
25347 done
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25357 $as_echo_n "checking for long double round functions... " >&6; }
25358 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25359 $as_echo_n "(cached) " >&6
25360 else
25363 ac_ext=cpp
25364 ac_cpp='$CXXCPP $CPPFLAGS'
25365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h. */
25371 #include <math.h>
25373 main ()
25375 ceill (0); floorl (0);
25377 return 0;
25379 _ACEOF
25380 if ac_fn_cxx_try_compile "$LINENO"; then :
25381 glibcxx_cv_func_long_double_round_use=yes
25382 else
25383 glibcxx_cv_func_long_double_round_use=no
25385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25386 ac_ext=c
25387 ac_cpp='$CPP $CPPFLAGS'
25388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25395 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25396 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25397 for ac_func in ceill floorl
25398 do :
25399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25401 eval as_val=\$$as_ac_var
25402 if test "x$as_val" = x""yes; then :
25403 cat >>confdefs.h <<_ACEOF
25404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25405 _ACEOF
25408 done
25410 else
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25412 $as_echo_n "checking for _long double round functions... " >&6; }
25413 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25414 $as_echo_n "(cached) " >&6
25415 else
25418 ac_ext=cpp
25419 ac_cpp='$CXXCPP $CPPFLAGS'
25420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25425 /* end confdefs.h. */
25426 #include <math.h>
25428 main ()
25430 _ceill (0); _floorl (0);
25432 return 0;
25434 _ACEOF
25435 if ac_fn_cxx_try_compile "$LINENO"; then :
25436 glibcxx_cv_func__long_double_round_use=yes
25437 else
25438 glibcxx_cv_func__long_double_round_use=no
25440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25441 ac_ext=c
25442 ac_cpp='$CPP $CPPFLAGS'
25443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25450 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25451 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25452 for ac_func in _ceill _floorl
25453 do :
25454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25456 eval as_val=\$$as_ac_var
25457 if test "x$as_val" = x""yes; then :
25458 cat >>confdefs.h <<_ACEOF
25459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25460 _ACEOF
25463 done
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25474 $as_echo_n "checking for isnanl declaration... " >&6; }
25475 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25476 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25477 $as_echo_n "(cached) " >&6
25478 else
25481 ac_ext=cpp
25482 ac_cpp='$CXXCPP $CPPFLAGS'
25483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25488 /* end confdefs.h. */
25489 #include <math.h>
25490 #ifdef HAVE_IEEEFP_H
25491 #include <ieeefp.h>
25492 #endif
25495 main ()
25497 isnanl(0);
25499 return 0;
25501 _ACEOF
25502 if ac_fn_cxx_try_compile "$LINENO"; then :
25503 glibcxx_cv_func_isnanl_use=yes
25504 else
25505 glibcxx_cv_func_isnanl_use=no
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25508 ac_ext=c
25509 ac_cpp='$CPP $CPPFLAGS'
25510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25519 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25521 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25522 for ac_func in isnanl
25523 do :
25524 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25525 if test "x$ac_cv_func_isnanl" = x""yes; then :
25526 cat >>confdefs.h <<_ACEOF
25527 #define HAVE_ISNANL 1
25528 _ACEOF
25531 done
25533 else
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25536 $as_echo_n "checking for _isnanl declaration... " >&6; }
25537 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25538 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25539 $as_echo_n "(cached) " >&6
25540 else
25543 ac_ext=cpp
25544 ac_cpp='$CXXCPP $CPPFLAGS'
25545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25550 /* end confdefs.h. */
25551 #include <math.h>
25552 #ifdef HAVE_IEEEFP_H
25553 #include <ieeefp.h>
25554 #endif
25557 main ()
25559 _isnanl(0);
25561 return 0;
25563 _ACEOF
25564 if ac_fn_cxx_try_compile "$LINENO"; then :
25565 glibcxx_cv_func__isnanl_use=yes
25566 else
25567 glibcxx_cv_func__isnanl_use=no
25569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25570 ac_ext=c
25571 ac_cpp='$CPP $CPPFLAGS'
25572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25581 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25583 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25584 for ac_func in _isnanl
25585 do :
25586 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25587 if test "x$ac_cv_func__isnanl" = x""yes; then :
25588 cat >>confdefs.h <<_ACEOF
25589 #define HAVE__ISNANL 1
25590 _ACEOF
25593 done
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25603 $as_echo_n "checking for isinfl declaration... " >&6; }
25604 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25605 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25606 $as_echo_n "(cached) " >&6
25607 else
25610 ac_ext=cpp
25611 ac_cpp='$CXXCPP $CPPFLAGS'
25612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25617 /* end confdefs.h. */
25618 #include <math.h>
25619 #ifdef HAVE_IEEEFP_H
25620 #include <ieeefp.h>
25621 #endif
25624 main ()
25626 isinfl(0);
25628 return 0;
25630 _ACEOF
25631 if ac_fn_cxx_try_compile "$LINENO"; then :
25632 glibcxx_cv_func_isinfl_use=yes
25633 else
25634 glibcxx_cv_func_isinfl_use=no
25636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25637 ac_ext=c
25638 ac_cpp='$CPP $CPPFLAGS'
25639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25648 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25650 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25651 for ac_func in isinfl
25652 do :
25653 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25654 if test "x$ac_cv_func_isinfl" = x""yes; then :
25655 cat >>confdefs.h <<_ACEOF
25656 #define HAVE_ISINFL 1
25657 _ACEOF
25660 done
25662 else
25664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25665 $as_echo_n "checking for _isinfl declaration... " >&6; }
25666 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25667 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25668 $as_echo_n "(cached) " >&6
25669 else
25672 ac_ext=cpp
25673 ac_cpp='$CXXCPP $CPPFLAGS'
25674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25679 /* end confdefs.h. */
25680 #include <math.h>
25681 #ifdef HAVE_IEEEFP_H
25682 #include <ieeefp.h>
25683 #endif
25686 main ()
25688 _isinfl(0);
25690 return 0;
25692 _ACEOF
25693 if ac_fn_cxx_try_compile "$LINENO"; then :
25694 glibcxx_cv_func__isinfl_use=yes
25695 else
25696 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
25710 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25712 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25713 for ac_func in _isinfl
25714 do :
25715 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25716 if test "x$ac_cv_func__isinfl" = x""yes; then :
25717 cat >>confdefs.h <<_ACEOF
25718 #define HAVE__ISINFL 1
25719 _ACEOF
25722 done
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25732 $as_echo_n "checking for atan2l declaration... " >&6; }
25733 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25734 if test "${glibcxx_cv_func_atan2l_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>
25749 main ()
25751 atan2l(0, 0);
25753 return 0;
25755 _ACEOF
25756 if ac_fn_cxx_try_compile "$LINENO"; then :
25757 glibcxx_cv_func_atan2l_use=yes
25758 else
25759 glibcxx_cv_func_atan2l_use=no
25761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25762 ac_ext=c
25763 ac_cpp='$CPP $CPPFLAGS'
25764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25773 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25775 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25776 for ac_func in atan2l
25777 do :
25778 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25779 if test "x$ac_cv_func_atan2l" = x""yes; then :
25780 cat >>confdefs.h <<_ACEOF
25781 #define HAVE_ATAN2L 1
25782 _ACEOF
25785 done
25787 else
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25790 $as_echo_n "checking for _atan2l declaration... " >&6; }
25791 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25792 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25793 $as_echo_n "(cached) " >&6
25794 else
25797 ac_ext=cpp
25798 ac_cpp='$CXXCPP $CPPFLAGS'
25799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25804 /* end confdefs.h. */
25805 #include <math.h>
25807 main ()
25809 _atan2l(0, 0);
25811 return 0;
25813 _ACEOF
25814 if ac_fn_cxx_try_compile "$LINENO"; then :
25815 glibcxx_cv_func__atan2l_use=yes
25816 else
25817 glibcxx_cv_func__atan2l_use=no
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820 ac_ext=c
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25831 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25833 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25834 for ac_func in _atan2l
25835 do :
25836 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25837 if test "x$ac_cv_func__atan2l" = x""yes; then :
25838 cat >>confdefs.h <<_ACEOF
25839 #define HAVE__ATAN2L 1
25840 _ACEOF
25843 done
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25853 $as_echo_n "checking for expl declaration... " >&6; }
25854 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25855 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25856 $as_echo_n "(cached) " >&6
25857 else
25860 ac_ext=cpp
25861 ac_cpp='$CXXCPP $CPPFLAGS'
25862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25867 /* end confdefs.h. */
25868 #include <math.h>
25869 #ifdef HAVE_IEEEFP_H
25870 #include <ieeefp.h>
25871 #endif
25874 main ()
25876 expl(0);
25878 return 0;
25880 _ACEOF
25881 if ac_fn_cxx_try_compile "$LINENO"; then :
25882 glibcxx_cv_func_expl_use=yes
25883 else
25884 glibcxx_cv_func_expl_use=no
25886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25887 ac_ext=c
25888 ac_cpp='$CPP $CPPFLAGS'
25889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25898 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25900 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25901 for ac_func in expl
25902 do :
25903 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25904 if test "x$ac_cv_func_expl" = x""yes; then :
25905 cat >>confdefs.h <<_ACEOF
25906 #define HAVE_EXPL 1
25907 _ACEOF
25910 done
25912 else
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25915 $as_echo_n "checking for _expl declaration... " >&6; }
25916 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25917 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25918 $as_echo_n "(cached) " >&6
25919 else
25922 ac_ext=cpp
25923 ac_cpp='$CXXCPP $CPPFLAGS'
25924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25929 /* end confdefs.h. */
25930 #include <math.h>
25931 #ifdef HAVE_IEEEFP_H
25932 #include <ieeefp.h>
25933 #endif
25936 main ()
25938 _expl(0);
25940 return 0;
25942 _ACEOF
25943 if ac_fn_cxx_try_compile "$LINENO"; then :
25944 glibcxx_cv_func__expl_use=yes
25945 else
25946 glibcxx_cv_func__expl_use=no
25948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25949 ac_ext=c
25950 ac_cpp='$CPP $CPPFLAGS'
25951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25960 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25962 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25963 for ac_func in _expl
25964 do :
25965 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25966 if test "x$ac_cv_func__expl" = x""yes; then :
25967 cat >>confdefs.h <<_ACEOF
25968 #define HAVE__EXPL 1
25969 _ACEOF
25972 done
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25982 $as_echo_n "checking for fabsl declaration... " >&6; }
25983 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25984 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25985 $as_echo_n "(cached) " >&6
25986 else
25989 ac_ext=cpp
25990 ac_cpp='$CXXCPP $CPPFLAGS'
25991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25996 /* end confdefs.h. */
25997 #include <math.h>
25998 #ifdef HAVE_IEEEFP_H
25999 #include <ieeefp.h>
26000 #endif
26003 main ()
26005 fabsl(0);
26007 return 0;
26009 _ACEOF
26010 if ac_fn_cxx_try_compile "$LINENO"; then :
26011 glibcxx_cv_func_fabsl_use=yes
26012 else
26013 glibcxx_cv_func_fabsl_use=no
26015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26016 ac_ext=c
26017 ac_cpp='$CPP $CPPFLAGS'
26018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26027 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26029 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26030 for ac_func in fabsl
26031 do :
26032 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26033 if test "x$ac_cv_func_fabsl" = x""yes; then :
26034 cat >>confdefs.h <<_ACEOF
26035 #define HAVE_FABSL 1
26036 _ACEOF
26039 done
26041 else
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26044 $as_echo_n "checking for _fabsl declaration... " >&6; }
26045 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26046 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26047 $as_echo_n "(cached) " >&6
26048 else
26051 ac_ext=cpp
26052 ac_cpp='$CXXCPP $CPPFLAGS'
26053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26058 /* end confdefs.h. */
26059 #include <math.h>
26060 #ifdef HAVE_IEEEFP_H
26061 #include <ieeefp.h>
26062 #endif
26065 main ()
26067 _fabsl(0);
26069 return 0;
26071 _ACEOF
26072 if ac_fn_cxx_try_compile "$LINENO"; then :
26073 glibcxx_cv_func__fabsl_use=yes
26074 else
26075 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
26089 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26091 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26092 for ac_func in _fabsl
26093 do :
26094 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26095 if test "x$ac_cv_func__fabsl" = x""yes; then :
26096 cat >>confdefs.h <<_ACEOF
26097 #define HAVE__FABSL 1
26098 _ACEOF
26101 done
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26111 $as_echo_n "checking for fmodl declaration... " >&6; }
26112 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26113 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
26132 return 0;
26134 _ACEOF
26135 if ac_fn_cxx_try_compile "$LINENO"; then :
26136 glibcxx_cv_func_fmodl_use=yes
26137 else
26138 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
26152 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26154 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26155 for ac_func in fmodl
26156 do :
26157 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26158 if test "x$ac_cv_func_fmodl" = x""yes; then :
26159 cat >>confdefs.h <<_ACEOF
26160 #define HAVE_FMODL 1
26161 _ACEOF
26164 done
26166 else
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26169 $as_echo_n "checking for _fmodl declaration... " >&6; }
26170 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26171 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
26190 return 0;
26192 _ACEOF
26193 if ac_fn_cxx_try_compile "$LINENO"; then :
26194 glibcxx_cv_func__fmodl_use=yes
26195 else
26196 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
26210 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26212 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26213 for ac_func in _fmodl
26214 do :
26215 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26216 if test "x$ac_cv_func__fmodl" = x""yes; then :
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE__FMODL 1
26219 _ACEOF
26222 done
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26232 $as_echo_n "checking for frexpl declaration... " >&6; }
26233 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26234 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
26253 return 0;
26255 _ACEOF
26256 if ac_fn_cxx_try_compile "$LINENO"; then :
26257 glibcxx_cv_func_frexpl_use=yes
26258 else
26259 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
26273 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26275 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26276 for ac_func in frexpl
26277 do :
26278 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26279 if test "x$ac_cv_func_frexpl" = x""yes; then :
26280 cat >>confdefs.h <<_ACEOF
26281 #define HAVE_FREXPL 1
26282 _ACEOF
26285 done
26287 else
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26290 $as_echo_n "checking for _frexpl declaration... " >&6; }
26291 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26292 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
26311 return 0;
26313 _ACEOF
26314 if ac_fn_cxx_try_compile "$LINENO"; then :
26315 glibcxx_cv_func__frexpl_use=yes
26316 else
26317 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
26331 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26333 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26334 for ac_func in _frexpl
26335 do :
26336 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26337 if test "x$ac_cv_func__frexpl" = x""yes; then :
26338 cat >>confdefs.h <<_ACEOF
26339 #define HAVE__FREXPL 1
26340 _ACEOF
26343 done
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26353 $as_echo_n "checking for hypotl declaration... " >&6; }
26354 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26355 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
26374 return 0;
26376 _ACEOF
26377 if ac_fn_cxx_try_compile "$LINENO"; then :
26378 glibcxx_cv_func_hypotl_use=yes
26379 else
26380 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
26394 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26396 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26397 for ac_func in hypotl
26398 do :
26399 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26400 if test "x$ac_cv_func_hypotl" = x""yes; then :
26401 cat >>confdefs.h <<_ACEOF
26402 #define HAVE_HYPOTL 1
26403 _ACEOF
26406 done
26408 else
26410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26411 $as_echo_n "checking for _hypotl declaration... " >&6; }
26412 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26413 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
26432 return 0;
26434 _ACEOF
26435 if ac_fn_cxx_try_compile "$LINENO"; then :
26436 glibcxx_cv_func__hypotl_use=yes
26437 else
26438 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
26452 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26454 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26455 for ac_func in _hypotl
26456 do :
26457 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26458 if test "x$ac_cv_func__hypotl" = x""yes; then :
26459 cat >>confdefs.h <<_ACEOF
26460 #define HAVE__HYPOTL 1
26461 _ACEOF
26464 done
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26474 $as_echo_n "checking for ldexpl declaration... " >&6; }
26475 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26476 if test "${glibcxx_cv_func_ldexpl_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>
26491 main ()
26493 ldexpl(0, 0);
26495 return 0;
26497 _ACEOF
26498 if ac_fn_cxx_try_compile "$LINENO"; then :
26499 glibcxx_cv_func_ldexpl_use=yes
26500 else
26501 glibcxx_cv_func_ldexpl_use=no
26503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26504 ac_ext=c
26505 ac_cpp='$CPP $CPPFLAGS'
26506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26515 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26517 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26518 for ac_func in ldexpl
26519 do :
26520 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26521 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26522 cat >>confdefs.h <<_ACEOF
26523 #define HAVE_LDEXPL 1
26524 _ACEOF
26527 done
26529 else
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26532 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26533 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26534 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26535 $as_echo_n "(cached) " >&6
26536 else
26539 ac_ext=cpp
26540 ac_cpp='$CXXCPP $CPPFLAGS'
26541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26546 /* end confdefs.h. */
26547 #include <math.h>
26549 main ()
26551 _ldexpl(0, 0);
26553 return 0;
26555 _ACEOF
26556 if ac_fn_cxx_try_compile "$LINENO"; then :
26557 glibcxx_cv_func__ldexpl_use=yes
26558 else
26559 glibcxx_cv_func__ldexpl_use=no
26561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26562 ac_ext=c
26563 ac_cpp='$CPP $CPPFLAGS'
26564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26573 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26575 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26576 for ac_func in _ldexpl
26577 do :
26578 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26579 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26580 cat >>confdefs.h <<_ACEOF
26581 #define HAVE__LDEXPL 1
26582 _ACEOF
26585 done
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26595 $as_echo_n "checking for logl declaration... " >&6; }
26596 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26597 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26598 $as_echo_n "(cached) " >&6
26599 else
26602 ac_ext=cpp
26603 ac_cpp='$CXXCPP $CPPFLAGS'
26604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26609 /* end confdefs.h. */
26610 #include <math.h>
26611 #ifdef HAVE_IEEEFP_H
26612 #include <ieeefp.h>
26613 #endif
26616 main ()
26618 logl(0);
26620 return 0;
26622 _ACEOF
26623 if ac_fn_cxx_try_compile "$LINENO"; then :
26624 glibcxx_cv_func_logl_use=yes
26625 else
26626 glibcxx_cv_func_logl_use=no
26628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26629 ac_ext=c
26630 ac_cpp='$CPP $CPPFLAGS'
26631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26640 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26642 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26643 for ac_func in logl
26644 do :
26645 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26646 if test "x$ac_cv_func_logl" = x""yes; then :
26647 cat >>confdefs.h <<_ACEOF
26648 #define HAVE_LOGL 1
26649 _ACEOF
26652 done
26654 else
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26657 $as_echo_n "checking for _logl declaration... " >&6; }
26658 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26659 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26660 $as_echo_n "(cached) " >&6
26661 else
26664 ac_ext=cpp
26665 ac_cpp='$CXXCPP $CPPFLAGS'
26666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26671 /* end confdefs.h. */
26672 #include <math.h>
26673 #ifdef HAVE_IEEEFP_H
26674 #include <ieeefp.h>
26675 #endif
26678 main ()
26680 _logl(0);
26682 return 0;
26684 _ACEOF
26685 if ac_fn_cxx_try_compile "$LINENO"; then :
26686 glibcxx_cv_func__logl_use=yes
26687 else
26688 glibcxx_cv_func__logl_use=no
26690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26691 ac_ext=c
26692 ac_cpp='$CPP $CPPFLAGS'
26693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26702 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26704 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26705 for ac_func in _logl
26706 do :
26707 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26708 if test "x$ac_cv_func__logl" = x""yes; then :
26709 cat >>confdefs.h <<_ACEOF
26710 #define HAVE__LOGL 1
26711 _ACEOF
26714 done
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26724 $as_echo_n "checking for log10l declaration... " >&6; }
26725 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26726 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26727 $as_echo_n "(cached) " >&6
26728 else
26731 ac_ext=cpp
26732 ac_cpp='$CXXCPP $CPPFLAGS'
26733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26738 /* end confdefs.h. */
26739 #include <math.h>
26740 #ifdef HAVE_IEEEFP_H
26741 #include <ieeefp.h>
26742 #endif
26745 main ()
26747 log10l(0);
26749 return 0;
26751 _ACEOF
26752 if ac_fn_cxx_try_compile "$LINENO"; then :
26753 glibcxx_cv_func_log10l_use=yes
26754 else
26755 glibcxx_cv_func_log10l_use=no
26757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26758 ac_ext=c
26759 ac_cpp='$CPP $CPPFLAGS'
26760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26769 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26771 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26772 for ac_func in log10l
26773 do :
26774 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26775 if test "x$ac_cv_func_log10l" = x""yes; then :
26776 cat >>confdefs.h <<_ACEOF
26777 #define HAVE_LOG10L 1
26778 _ACEOF
26781 done
26783 else
26785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26786 $as_echo_n "checking for _log10l declaration... " >&6; }
26787 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26788 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26789 $as_echo_n "(cached) " >&6
26790 else
26793 ac_ext=cpp
26794 ac_cpp='$CXXCPP $CPPFLAGS'
26795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26800 /* end confdefs.h. */
26801 #include <math.h>
26802 #ifdef HAVE_IEEEFP_H
26803 #include <ieeefp.h>
26804 #endif
26807 main ()
26809 _log10l(0);
26811 return 0;
26813 _ACEOF
26814 if ac_fn_cxx_try_compile "$LINENO"; then :
26815 glibcxx_cv_func__log10l_use=yes
26816 else
26817 glibcxx_cv_func__log10l_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__log10l_use" >&5
26831 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26833 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26834 for ac_func in _log10l
26835 do :
26836 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26837 if test "x$ac_cv_func__log10l" = x""yes; then :
26838 cat >>confdefs.h <<_ACEOF
26839 #define HAVE__LOG10L 1
26840 _ACEOF
26843 done
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26853 $as_echo_n "checking for modfl declaration... " >&6; }
26854 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26855 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
26874 return 0;
26876 _ACEOF
26877 if ac_fn_cxx_try_compile "$LINENO"; then :
26878 glibcxx_cv_func_modfl_use=yes
26879 else
26880 glibcxx_cv_func_modfl_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_modfl_use" >&5
26894 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26896 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26897 for ac_func in modfl
26898 do :
26899 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26900 if test "x$ac_cv_func_modfl" = x""yes; then :
26901 cat >>confdefs.h <<_ACEOF
26902 #define HAVE_MODFL 1
26903 _ACEOF
26906 done
26908 else
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26911 $as_echo_n "checking for _modfl declaration... " >&6; }
26912 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26913 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
26932 return 0;
26934 _ACEOF
26935 if ac_fn_cxx_try_compile "$LINENO"; then :
26936 glibcxx_cv_func__modfl_use=yes
26937 else
26938 glibcxx_cv_func__modfl_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__modfl_use" >&5
26952 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26954 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26955 for ac_func in _modfl
26956 do :
26957 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26958 if test "x$ac_cv_func__modfl" = x""yes; then :
26959 cat >>confdefs.h <<_ACEOF
26960 #define HAVE__MODFL 1
26961 _ACEOF
26964 done
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26974 $as_echo_n "checking for powl declaration... " >&6; }
26975 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26976 if test "${glibcxx_cv_func_powl_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>
26991 main ()
26993 powl(0, 0);
26995 return 0;
26997 _ACEOF
26998 if ac_fn_cxx_try_compile "$LINENO"; then :
26999 glibcxx_cv_func_powl_use=yes
27000 else
27001 glibcxx_cv_func_powl_use=no
27003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27004 ac_ext=c
27005 ac_cpp='$CPP $CPPFLAGS'
27006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27015 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27017 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27018 for ac_func in powl
27019 do :
27020 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27021 if test "x$ac_cv_func_powl" = x""yes; then :
27022 cat >>confdefs.h <<_ACEOF
27023 #define HAVE_POWL 1
27024 _ACEOF
27027 done
27029 else
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27032 $as_echo_n "checking for _powl declaration... " >&6; }
27033 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27034 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27035 $as_echo_n "(cached) " >&6
27036 else
27039 ac_ext=cpp
27040 ac_cpp='$CXXCPP $CPPFLAGS'
27041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27046 /* end confdefs.h. */
27047 #include <math.h>
27049 main ()
27051 _powl(0, 0);
27053 return 0;
27055 _ACEOF
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057 glibcxx_cv_func__powl_use=yes
27058 else
27059 glibcxx_cv_func__powl_use=no
27061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27062 ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27073 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27075 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27076 for ac_func in _powl
27077 do :
27078 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27079 if test "x$ac_cv_func__powl" = x""yes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE__POWL 1
27082 _ACEOF
27085 done
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27095 $as_echo_n "checking for sqrtl declaration... " >&6; }
27096 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27097 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27098 $as_echo_n "(cached) " >&6
27099 else
27102 ac_ext=cpp
27103 ac_cpp='$CXXCPP $CPPFLAGS'
27104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27109 /* end confdefs.h. */
27110 #include <math.h>
27111 #ifdef HAVE_IEEEFP_H
27112 #include <ieeefp.h>
27113 #endif
27116 main ()
27118 sqrtl(0);
27120 return 0;
27122 _ACEOF
27123 if ac_fn_cxx_try_compile "$LINENO"; then :
27124 glibcxx_cv_func_sqrtl_use=yes
27125 else
27126 glibcxx_cv_func_sqrtl_use=no
27128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27129 ac_ext=c
27130 ac_cpp='$CPP $CPPFLAGS'
27131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27140 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27142 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27143 for ac_func in sqrtl
27144 do :
27145 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27146 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27147 cat >>confdefs.h <<_ACEOF
27148 #define HAVE_SQRTL 1
27149 _ACEOF
27152 done
27154 else
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27157 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27158 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27159 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27164 ac_ext=cpp
27165 ac_cpp='$CXXCPP $CPPFLAGS'
27166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27171 /* end confdefs.h. */
27172 #include <math.h>
27173 #ifdef HAVE_IEEEFP_H
27174 #include <ieeefp.h>
27175 #endif
27178 main ()
27180 _sqrtl(0);
27182 return 0;
27184 _ACEOF
27185 if ac_fn_cxx_try_compile "$LINENO"; then :
27186 glibcxx_cv_func__sqrtl_use=yes
27187 else
27188 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
27202 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27204 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27205 for ac_func in _sqrtl
27206 do :
27207 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27208 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27209 cat >>confdefs.h <<_ACEOF
27210 #define HAVE__SQRTL 1
27211 _ACEOF
27214 done
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27224 $as_echo_n "checking for sincosl declaration... " >&6; }
27225 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27226 if test "${glibcxx_cv_func_sincosl_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>
27241 main ()
27243 sincosl(0, 0, 0);
27245 return 0;
27247 _ACEOF
27248 if ac_fn_cxx_try_compile "$LINENO"; then :
27249 glibcxx_cv_func_sincosl_use=yes
27250 else
27251 glibcxx_cv_func_sincosl_use=no
27253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27254 ac_ext=c
27255 ac_cpp='$CPP $CPPFLAGS'
27256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27265 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27267 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27268 for ac_func in sincosl
27269 do :
27270 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27271 if test "x$ac_cv_func_sincosl" = x""yes; then :
27272 cat >>confdefs.h <<_ACEOF
27273 #define HAVE_SINCOSL 1
27274 _ACEOF
27277 done
27279 else
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27282 $as_echo_n "checking for _sincosl declaration... " >&6; }
27283 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27284 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27285 $as_echo_n "(cached) " >&6
27286 else
27289 ac_ext=cpp
27290 ac_cpp='$CXXCPP $CPPFLAGS'
27291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27296 /* end confdefs.h. */
27297 #include <math.h>
27299 main ()
27301 _sincosl(0, 0, 0);
27303 return 0;
27305 _ACEOF
27306 if ac_fn_cxx_try_compile "$LINENO"; then :
27307 glibcxx_cv_func__sincosl_use=yes
27308 else
27309 glibcxx_cv_func__sincosl_use=no
27311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27312 ac_ext=c
27313 ac_cpp='$CPP $CPPFLAGS'
27314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27323 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27325 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27326 for ac_func in _sincosl
27327 do :
27328 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27329 if test "x$ac_cv_func__sincosl" = x""yes; then :
27330 cat >>confdefs.h <<_ACEOF
27331 #define HAVE__SINCOSL 1
27332 _ACEOF
27335 done
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27345 $as_echo_n "checking for finitel declaration... " >&6; }
27346 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27347 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27348 $as_echo_n "(cached) " >&6
27349 else
27352 ac_ext=cpp
27353 ac_cpp='$CXXCPP $CPPFLAGS'
27354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27359 /* end confdefs.h. */
27360 #include <math.h>
27361 #ifdef HAVE_IEEEFP_H
27362 #include <ieeefp.h>
27363 #endif
27366 main ()
27368 finitel(0);
27370 return 0;
27372 _ACEOF
27373 if ac_fn_cxx_try_compile "$LINENO"; then :
27374 glibcxx_cv_func_finitel_use=yes
27375 else
27376 glibcxx_cv_func_finitel_use=no
27378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27379 ac_ext=c
27380 ac_cpp='$CPP $CPPFLAGS'
27381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27390 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27392 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27393 for ac_func in finitel
27394 do :
27395 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27396 if test "x$ac_cv_func_finitel" = x""yes; then :
27397 cat >>confdefs.h <<_ACEOF
27398 #define HAVE_FINITEL 1
27399 _ACEOF
27402 done
27404 else
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27407 $as_echo_n "checking for _finitel declaration... " >&6; }
27408 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27409 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27410 $as_echo_n "(cached) " >&6
27411 else
27414 ac_ext=cpp
27415 ac_cpp='$CXXCPP $CPPFLAGS'
27416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27421 /* end confdefs.h. */
27422 #include <math.h>
27423 #ifdef HAVE_IEEEFP_H
27424 #include <ieeefp.h>
27425 #endif
27428 main ()
27430 _finitel(0);
27432 return 0;
27434 _ACEOF
27435 if ac_fn_cxx_try_compile "$LINENO"; then :
27436 glibcxx_cv_func__finitel_use=yes
27437 else
27438 glibcxx_cv_func__finitel_use=no
27440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27441 ac_ext=c
27442 ac_cpp='$CPP $CPPFLAGS'
27443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27452 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27454 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27455 for ac_func in _finitel
27456 do :
27457 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27458 if test "x$ac_cv_func__finitel" = x""yes; then :
27459 cat >>confdefs.h <<_ACEOF
27460 #define HAVE__FINITEL 1
27461 _ACEOF
27464 done
27472 LIBS="$ac_save_LIBS"
27473 CXXFLAGS="$ac_save_CXXFLAGS"
27476 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27477 ac_save_CXXFLAGS="$CXXFLAGS"
27478 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27482 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27483 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27484 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27485 $as_echo_n "(cached) " >&6
27486 else
27489 ac_ext=cpp
27490 ac_cpp='$CXXCPP $CPPFLAGS'
27491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27496 /* end confdefs.h. */
27497 #include <stdlib.h>
27499 main ()
27501 at_quick_exit(0);
27503 return 0;
27505 _ACEOF
27506 if ac_fn_cxx_try_compile "$LINENO"; then :
27507 glibcxx_cv_func_at_quick_exit_use=yes
27508 else
27509 glibcxx_cv_func_at_quick_exit_use=no
27511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27512 ac_ext=c
27513 ac_cpp='$CPP $CPPFLAGS'
27514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27523 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27524 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27525 for ac_func in at_quick_exit
27526 do :
27527 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27528 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27529 cat >>confdefs.h <<_ACEOF
27530 #define HAVE_AT_QUICK_EXIT 1
27531 _ACEOF
27534 done
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27540 $as_echo_n "checking for quick_exit declaration... " >&6; }
27541 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27542 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27543 $as_echo_n "(cached) " >&6
27544 else
27547 ac_ext=cpp
27548 ac_cpp='$CXXCPP $CPPFLAGS'
27549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27554 /* end confdefs.h. */
27555 #include <stdlib.h>
27557 main ()
27559 quick_exit(0);
27561 return 0;
27563 _ACEOF
27564 if ac_fn_cxx_try_compile "$LINENO"; then :
27565 glibcxx_cv_func_quick_exit_use=yes
27566 else
27567 glibcxx_cv_func_quick_exit_use=no
27569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27570 ac_ext=c
27571 ac_cpp='$CPP $CPPFLAGS'
27572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27581 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27582 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27583 for ac_func in quick_exit
27584 do :
27585 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27586 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27587 cat >>confdefs.h <<_ACEOF
27588 #define HAVE_QUICK_EXIT 1
27589 _ACEOF
27592 done
27597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27598 $as_echo_n "checking for strtold declaration... " >&6; }
27599 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27600 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27601 $as_echo_n "(cached) " >&6
27602 else
27605 ac_ext=cpp
27606 ac_cpp='$CXXCPP $CPPFLAGS'
27607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27612 /* end confdefs.h. */
27613 #include <stdlib.h>
27615 main ()
27617 strtold(0, 0);
27619 return 0;
27621 _ACEOF
27622 if ac_fn_cxx_try_compile "$LINENO"; then :
27623 glibcxx_cv_func_strtold_use=yes
27624 else
27625 glibcxx_cv_func_strtold_use=no
27627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27628 ac_ext=c
27629 ac_cpp='$CPP $CPPFLAGS'
27630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27639 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27640 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27641 for ac_func in strtold
27642 do :
27643 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27644 if test "x$ac_cv_func_strtold" = x""yes; then :
27645 cat >>confdefs.h <<_ACEOF
27646 #define HAVE_STRTOLD 1
27647 _ACEOF
27650 done
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27658 $as_echo_n "checking for strtof declaration... " >&6; }
27659 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27660 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27661 $as_echo_n "(cached) " >&6
27662 else
27665 ac_ext=cpp
27666 ac_cpp='$CXXCPP $CPPFLAGS'
27667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27672 /* end confdefs.h. */
27673 #include <stdlib.h>
27675 main ()
27677 strtof(0, 0);
27679 return 0;
27681 _ACEOF
27682 if ac_fn_cxx_try_compile "$LINENO"; then :
27683 glibcxx_cv_func_strtof_use=yes
27684 else
27685 glibcxx_cv_func_strtof_use=no
27687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27688 ac_ext=c
27689 ac_cpp='$CPP $CPPFLAGS'
27690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27699 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27700 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27701 for ac_func in strtof
27702 do :
27703 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27704 if test "x$ac_cv_func_strtof" = x""yes; then :
27705 cat >>confdefs.h <<_ACEOF
27706 #define HAVE_STRTOF 1
27707 _ACEOF
27710 done
27717 CXXFLAGS="$ac_save_CXXFLAGS"
27720 # For /dev/random and /dev/urandom for TR1.
27723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27724 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27725 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27726 $as_echo_n "(cached) " >&6
27727 else
27729 if test -r /dev/random && test -r /dev/urandom; then
27730 ## For MSys environment the test above is detect as false-positive
27731 ## on mingw-targets. So disable it explicit for them.
27732 case ${target_os} in
27733 *mingw*) glibcxx_cv_random_tr1=no ;;
27734 *) glibcxx_cv_random_tr1=yes ;;
27735 esac
27736 else
27737 glibcxx_cv_random_tr1=no;
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27743 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27745 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27747 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27753 # For TLS support.
27756 # Check whether --enable-tls was given.
27757 if test "${enable_tls+set}" = set; then :
27758 enableval=$enable_tls;
27759 case "$enableval" in
27760 yes|no) ;;
27761 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27762 esac
27764 else
27765 enable_tls=yes
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27770 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27771 if test "${gcc_cv_have_tls+set}" = set; then :
27772 $as_echo_n "(cached) " >&6
27773 else
27775 if test "$cross_compiling" = yes; then :
27776 if test x$gcc_no_link = xyes; then
27777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27780 /* end confdefs.h. */
27781 __thread int a; int b; int main() { return a = b; }
27782 _ACEOF
27783 if ac_fn_c_try_link "$LINENO"; then :
27784 chktls_save_LDFLAGS="$LDFLAGS"
27785 case $host in
27786 *-*-linux*)
27787 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27789 esac
27790 chktls_save_CFLAGS="$CFLAGS"
27791 CFLAGS="-fPIC $CFLAGS"
27792 if test x$gcc_no_link = xyes; then
27793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27796 /* end confdefs.h. */
27797 int f() { return 0; }
27798 _ACEOF
27799 if ac_fn_c_try_link "$LINENO"; then :
27800 if test x$gcc_no_link = xyes; then
27801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27804 /* end confdefs.h. */
27805 __thread int a; int b; int f() { return a = b; }
27806 _ACEOF
27807 if ac_fn_c_try_link "$LINENO"; then :
27808 gcc_cv_have_tls=yes
27809 else
27810 gcc_cv_have_tls=no
27812 rm -f core conftest.err conftest.$ac_objext \
27813 conftest$ac_exeext conftest.$ac_ext
27814 else
27815 gcc_cv_have_tls=yes
27817 rm -f core conftest.err conftest.$ac_objext \
27818 conftest$ac_exeext conftest.$ac_ext
27819 CFLAGS="$chktls_save_CFLAGS"
27820 LDFLAGS="$chktls_save_LDFLAGS"
27821 else
27822 gcc_cv_have_tls=no
27824 rm -f core conftest.err conftest.$ac_objext \
27825 conftest$ac_exeext conftest.$ac_ext
27828 else
27829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27830 /* end confdefs.h. */
27831 __thread int a; int b; int main() { return a = b; }
27832 _ACEOF
27833 if ac_fn_c_try_run "$LINENO"; then :
27834 chktls_save_LDFLAGS="$LDFLAGS"
27835 LDFLAGS="-static $LDFLAGS"
27836 if test x$gcc_no_link = xyes; then
27837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27840 /* end confdefs.h. */
27841 int main() { return 0; }
27842 _ACEOF
27843 if ac_fn_c_try_link "$LINENO"; then :
27844 if test "$cross_compiling" = yes; then :
27845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27847 as_fn_error "cannot run test program while cross compiling
27848 See \`config.log' for more details." "$LINENO" 5; }
27849 else
27850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27851 /* end confdefs.h. */
27852 __thread int a; int b; int main() { return a = b; }
27853 _ACEOF
27854 if ac_fn_c_try_run "$LINENO"; then :
27855 gcc_cv_have_tls=yes
27856 else
27857 gcc_cv_have_tls=no
27859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27860 conftest.$ac_objext conftest.beam conftest.$ac_ext
27863 else
27864 gcc_cv_have_tls=yes
27866 rm -f core conftest.err conftest.$ac_objext \
27867 conftest$ac_exeext conftest.$ac_ext
27868 LDFLAGS="$chktls_save_LDFLAGS"
27869 if test $gcc_cv_have_tls = yes; then
27870 chktls_save_CFLAGS="$CFLAGS"
27871 thread_CFLAGS=failed
27872 for flag in '' '-pthread' '-lpthread'; do
27873 CFLAGS="$flag $chktls_save_CFLAGS"
27874 if test x$gcc_no_link = xyes; then
27875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27878 /* end confdefs.h. */
27879 #include <pthread.h>
27880 void *g(void *d) { return NULL; }
27882 main ()
27884 pthread_t t; pthread_create(&t,NULL,g,NULL);
27886 return 0;
27888 _ACEOF
27889 if ac_fn_c_try_link "$LINENO"; then :
27890 thread_CFLAGS="$flag"
27892 rm -f core conftest.err conftest.$ac_objext \
27893 conftest$ac_exeext conftest.$ac_ext
27894 if test "X$thread_CFLAGS" != Xfailed; then
27895 break
27897 done
27898 CFLAGS="$chktls_save_CFLAGS"
27899 if test "X$thread_CFLAGS" != Xfailed; then
27900 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27901 if test "$cross_compiling" = yes; then :
27902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27904 as_fn_error "cannot run test program while cross compiling
27905 See \`config.log' for more details." "$LINENO" 5; }
27906 else
27907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27908 /* end confdefs.h. */
27909 #include <pthread.h>
27910 __thread int a;
27911 static int *volatile a_in_other_thread;
27912 static void *
27913 thread_func (void *arg)
27915 a_in_other_thread = &a;
27916 return (void *)0;
27919 main ()
27921 pthread_t thread;
27922 void *thread_retval;
27923 int *volatile a_in_main_thread;
27924 a_in_main_thread = &a;
27925 if (pthread_create (&thread, (pthread_attr_t *)0,
27926 thread_func, (void *)0))
27927 return 0;
27928 if (pthread_join (thread, &thread_retval))
27929 return 0;
27930 return (a_in_other_thread == a_in_main_thread);
27932 return 0;
27934 _ACEOF
27935 if ac_fn_c_try_run "$LINENO"; then :
27936 gcc_cv_have_tls=yes
27937 else
27938 gcc_cv_have_tls=no
27940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27941 conftest.$ac_objext conftest.beam conftest.$ac_ext
27944 CFLAGS="$chktls_save_CFLAGS"
27947 else
27948 gcc_cv_have_tls=no
27950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27951 conftest.$ac_objext conftest.beam conftest.$ac_ext
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27956 $as_echo "$gcc_cv_have_tls" >&6; }
27957 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27959 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27963 for ac_func in __cxa_thread_atexit_impl
27964 do :
27965 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27966 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27967 cat >>confdefs.h <<_ACEOF
27968 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27969 _ACEOF
27972 done
27975 # For iconv support.
27977 if test "X$prefix" = "XNONE"; then
27978 acl_final_prefix="$ac_default_prefix"
27979 else
27980 acl_final_prefix="$prefix"
27982 if test "X$exec_prefix" = "XNONE"; then
27983 acl_final_exec_prefix='${prefix}'
27984 else
27985 acl_final_exec_prefix="$exec_prefix"
27987 acl_save_prefix="$prefix"
27988 prefix="$acl_final_prefix"
27989 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27990 prefix="$acl_save_prefix"
27993 # Check whether --with-gnu-ld was given.
27994 if test "${with_gnu_ld+set}" = set; then :
27995 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27996 else
27997 with_gnu_ld=no
28000 # Prepare PATH_SEPARATOR.
28001 # The user is always right.
28002 if test "${PATH_SEPARATOR+set}" != set; then
28003 echo "#! /bin/sh" >conf$$.sh
28004 echo "exit 0" >>conf$$.sh
28005 chmod +x conf$$.sh
28006 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28007 PATH_SEPARATOR=';'
28008 else
28009 PATH_SEPARATOR=:
28011 rm -f conf$$.sh
28013 ac_prog=ld
28014 if test "$GCC" = yes; then
28015 # Check if gcc -print-prog-name=ld gives a path.
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28017 $as_echo_n "checking for ld used by GCC... " >&6; }
28018 case $host in
28019 *-*-mingw*)
28020 # gcc leaves a trailing carriage return which upsets mingw
28021 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28023 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28024 esac
28025 case $ac_prog in
28026 # Accept absolute paths.
28027 [\\/]* | [A-Za-z]:[\\/]*)
28028 re_direlt='/[^/][^/]*/\.\./'
28029 # Canonicalize the path of ld
28030 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28031 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28032 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28033 done
28034 test -z "$LD" && LD="$ac_prog"
28037 # If it fails, then pretend we aren't using GCC.
28038 ac_prog=ld
28041 # If it is relative, then search for the first ld in PATH.
28042 with_gnu_ld=unknown
28044 esac
28045 elif test "$with_gnu_ld" = yes; then
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28047 $as_echo_n "checking for GNU ld... " >&6; }
28048 else
28049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28050 $as_echo_n "checking for non-GNU ld... " >&6; }
28052 if test "${acl_cv_path_LD+set}" = set; then :
28053 $as_echo_n "(cached) " >&6
28054 else
28055 if test -z "$LD"; then
28056 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28057 for ac_dir in $PATH; do
28058 test -z "$ac_dir" && ac_dir=.
28059 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28060 acl_cv_path_LD="$ac_dir/$ac_prog"
28061 # Check to see if the program is GNU ld. I'd rather use --version,
28062 # but apparently some GNU ld's only accept -v.
28063 # Break only if it was the GNU/non-GNU ld that we prefer.
28064 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28065 test "$with_gnu_ld" != no && break
28066 else
28067 test "$with_gnu_ld" != yes && break
28070 done
28071 IFS="$ac_save_ifs"
28072 else
28073 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28077 LD="$acl_cv_path_LD"
28078 if test -n "$LD"; then
28079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28080 $as_echo "$LD" >&6; }
28081 else
28082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28083 $as_echo "no" >&6; }
28085 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28087 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28088 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28089 $as_echo_n "(cached) " >&6
28090 else
28091 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28092 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28093 acl_cv_prog_gnu_ld=yes
28094 else
28095 acl_cv_prog_gnu_ld=no
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28099 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28100 with_gnu_ld=$acl_cv_prog_gnu_ld
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28105 $as_echo_n "checking for shared library run path origin... " >&6; }
28106 if test "${acl_cv_rpath+set}" = set; then :
28107 $as_echo_n "(cached) " >&6
28108 else
28110 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28111 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28112 . ./conftest.sh
28113 rm -f ./conftest.sh
28114 acl_cv_rpath=done
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28118 $as_echo "$acl_cv_rpath" >&6; }
28119 wl="$acl_cv_wl"
28120 libext="$acl_cv_libext"
28121 shlibext="$acl_cv_shlibext"
28122 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28123 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28124 hardcode_direct="$acl_cv_hardcode_direct"
28125 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28126 # Check whether --enable-rpath was given.
28127 if test "${enable_rpath+set}" = set; then :
28128 enableval=$enable_rpath; :
28129 else
28130 enable_rpath=yes
28140 use_additional=yes
28142 acl_save_prefix="$prefix"
28143 prefix="$acl_final_prefix"
28144 acl_save_exec_prefix="$exec_prefix"
28145 exec_prefix="$acl_final_exec_prefix"
28147 eval additional_includedir=\"$includedir\"
28148 eval additional_libdir=\"$libdir\"
28150 exec_prefix="$acl_save_exec_prefix"
28151 prefix="$acl_save_prefix"
28154 # Check whether --with-libiconv-prefix was given.
28155 if test "${with_libiconv_prefix+set}" = set; then :
28156 withval=$with_libiconv_prefix;
28157 if test "X$withval" = "Xno"; then
28158 use_additional=no
28159 else
28160 if test "X$withval" = "X"; then
28162 acl_save_prefix="$prefix"
28163 prefix="$acl_final_prefix"
28164 acl_save_exec_prefix="$exec_prefix"
28165 exec_prefix="$acl_final_exec_prefix"
28167 eval additional_includedir=\"$includedir\"
28168 eval additional_libdir=\"$libdir\"
28170 exec_prefix="$acl_save_exec_prefix"
28171 prefix="$acl_save_prefix"
28173 else
28174 additional_includedir="$withval/include"
28175 additional_libdir="$withval/lib"
28181 LIBICONV=
28182 LTLIBICONV=
28183 INCICONV=
28184 rpathdirs=
28185 ltrpathdirs=
28186 names_already_handled=
28187 names_next_round='iconv '
28188 while test -n "$names_next_round"; do
28189 names_this_round="$names_next_round"
28190 names_next_round=
28191 for name in $names_this_round; do
28192 already_handled=
28193 for n in $names_already_handled; do
28194 if test "$n" = "$name"; then
28195 already_handled=yes
28196 break
28198 done
28199 if test -z "$already_handled"; then
28200 names_already_handled="$names_already_handled $name"
28201 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28202 eval value=\"\$HAVE_LIB$uppername\"
28203 if test -n "$value"; then
28204 if test "$value" = yes; then
28205 eval value=\"\$LIB$uppername\"
28206 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28207 eval value=\"\$LTLIB$uppername\"
28208 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28209 else
28212 else
28213 found_dir=
28214 found_la=
28215 found_so=
28216 found_a=
28217 if test $use_additional = yes; then
28218 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28219 found_dir="$additional_libdir"
28220 found_so="$additional_libdir/lib$name.$shlibext"
28221 if test -f "$additional_libdir/lib$name.la"; then
28222 found_la="$additional_libdir/lib$name.la"
28224 else
28225 if test -f "$additional_libdir/lib$name.$libext"; then
28226 found_dir="$additional_libdir"
28227 found_a="$additional_libdir/lib$name.$libext"
28228 if test -f "$additional_libdir/lib$name.la"; then
28229 found_la="$additional_libdir/lib$name.la"
28234 if test "X$found_dir" = "X"; then
28235 for x in $LDFLAGS $LTLIBICONV; do
28237 acl_save_prefix="$prefix"
28238 prefix="$acl_final_prefix"
28239 acl_save_exec_prefix="$exec_prefix"
28240 exec_prefix="$acl_final_exec_prefix"
28241 eval x=\"$x\"
28242 exec_prefix="$acl_save_exec_prefix"
28243 prefix="$acl_save_prefix"
28245 case "$x" in
28246 -L*)
28247 dir=`echo "X$x" | sed -e 's/^X-L//'`
28248 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28249 found_dir="$dir"
28250 found_so="$dir/lib$name.$shlibext"
28251 if test -f "$dir/lib$name.la"; then
28252 found_la="$dir/lib$name.la"
28254 else
28255 if test -f "$dir/lib$name.$libext"; then
28256 found_dir="$dir"
28257 found_a="$dir/lib$name.$libext"
28258 if test -f "$dir/lib$name.la"; then
28259 found_la="$dir/lib$name.la"
28264 esac
28265 if test "X$found_dir" != "X"; then
28266 break
28268 done
28270 if test "X$found_dir" != "X"; then
28271 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28272 if test "X$found_so" != "X"; then
28273 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28274 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28275 else
28276 haveit=
28277 for x in $ltrpathdirs; do
28278 if test "X$x" = "X$found_dir"; then
28279 haveit=yes
28280 break
28282 done
28283 if test -z "$haveit"; then
28284 ltrpathdirs="$ltrpathdirs $found_dir"
28286 if test "$hardcode_direct" = yes; then
28287 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28288 else
28289 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28290 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28291 haveit=
28292 for x in $rpathdirs; do
28293 if test "X$x" = "X$found_dir"; then
28294 haveit=yes
28295 break
28297 done
28298 if test -z "$haveit"; then
28299 rpathdirs="$rpathdirs $found_dir"
28301 else
28302 haveit=
28303 for x in $LDFLAGS $LIBICONV; do
28305 acl_save_prefix="$prefix"
28306 prefix="$acl_final_prefix"
28307 acl_save_exec_prefix="$exec_prefix"
28308 exec_prefix="$acl_final_exec_prefix"
28309 eval x=\"$x\"
28310 exec_prefix="$acl_save_exec_prefix"
28311 prefix="$acl_save_prefix"
28313 if test "X$x" = "X-L$found_dir"; then
28314 haveit=yes
28315 break
28317 done
28318 if test -z "$haveit"; then
28319 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28321 if test "$hardcode_minus_L" != no; then
28322 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28323 else
28324 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28329 else
28330 if test "X$found_a" != "X"; then
28331 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28332 else
28333 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28336 additional_includedir=
28337 case "$found_dir" in
28338 */lib | */lib/)
28339 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28340 additional_includedir="$basedir/include"
28342 esac
28343 if test "X$additional_includedir" != "X"; then
28344 if test "X$additional_includedir" != "X/usr/include"; then
28345 haveit=
28346 if test "X$additional_includedir" = "X/usr/local/include"; then
28347 if test -n "$GCC"; then
28348 case $host_os in
28349 linux*) haveit=yes;;
28350 esac
28353 if test -z "$haveit"; then
28354 for x in $CPPFLAGS $INCICONV; do
28356 acl_save_prefix="$prefix"
28357 prefix="$acl_final_prefix"
28358 acl_save_exec_prefix="$exec_prefix"
28359 exec_prefix="$acl_final_exec_prefix"
28360 eval x=\"$x\"
28361 exec_prefix="$acl_save_exec_prefix"
28362 prefix="$acl_save_prefix"
28364 if test "X$x" = "X-I$additional_includedir"; then
28365 haveit=yes
28366 break
28368 done
28369 if test -z "$haveit"; then
28370 if test -d "$additional_includedir"; then
28371 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28377 if test -n "$found_la"; then
28378 save_libdir="$libdir"
28379 case "$found_la" in
28380 */* | *\\*) . "$found_la" ;;
28381 *) . "./$found_la" ;;
28382 esac
28383 libdir="$save_libdir"
28384 for dep in $dependency_libs; do
28385 case "$dep" in
28386 -L*)
28387 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28388 if test "X$additional_libdir" != "X/usr/lib"; then
28389 haveit=
28390 if test "X$additional_libdir" = "X/usr/local/lib"; then
28391 if test -n "$GCC"; then
28392 case $host_os in
28393 linux*) haveit=yes;;
28394 esac
28397 if test -z "$haveit"; then
28398 haveit=
28399 for x in $LDFLAGS $LIBICONV; do
28401 acl_save_prefix="$prefix"
28402 prefix="$acl_final_prefix"
28403 acl_save_exec_prefix="$exec_prefix"
28404 exec_prefix="$acl_final_exec_prefix"
28405 eval x=\"$x\"
28406 exec_prefix="$acl_save_exec_prefix"
28407 prefix="$acl_save_prefix"
28409 if test "X$x" = "X-L$additional_libdir"; then
28410 haveit=yes
28411 break
28413 done
28414 if test -z "$haveit"; then
28415 if test -d "$additional_libdir"; then
28416 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28419 haveit=
28420 for x in $LDFLAGS $LTLIBICONV; do
28422 acl_save_prefix="$prefix"
28423 prefix="$acl_final_prefix"
28424 acl_save_exec_prefix="$exec_prefix"
28425 exec_prefix="$acl_final_exec_prefix"
28426 eval x=\"$x\"
28427 exec_prefix="$acl_save_exec_prefix"
28428 prefix="$acl_save_prefix"
28430 if test "X$x" = "X-L$additional_libdir"; then
28431 haveit=yes
28432 break
28434 done
28435 if test -z "$haveit"; then
28436 if test -d "$additional_libdir"; then
28437 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28443 -R*)
28444 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28445 if test "$enable_rpath" != no; then
28446 haveit=
28447 for x in $rpathdirs; do
28448 if test "X$x" = "X$dir"; then
28449 haveit=yes
28450 break
28452 done
28453 if test -z "$haveit"; then
28454 rpathdirs="$rpathdirs $dir"
28456 haveit=
28457 for x in $ltrpathdirs; do
28458 if test "X$x" = "X$dir"; then
28459 haveit=yes
28460 break
28462 done
28463 if test -z "$haveit"; then
28464 ltrpathdirs="$ltrpathdirs $dir"
28468 -l*)
28469 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28471 *.la)
28472 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28475 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28476 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28478 esac
28479 done
28481 else
28482 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28483 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28487 done
28488 done
28489 if test "X$rpathdirs" != "X"; then
28490 if test -n "$hardcode_libdir_separator"; then
28491 alldirs=
28492 for found_dir in $rpathdirs; do
28493 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28494 done
28495 acl_save_libdir="$libdir"
28496 libdir="$alldirs"
28497 eval flag=\"$hardcode_libdir_flag_spec\"
28498 libdir="$acl_save_libdir"
28499 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28500 else
28501 for found_dir in $rpathdirs; do
28502 acl_save_libdir="$libdir"
28503 libdir="$found_dir"
28504 eval flag=\"$hardcode_libdir_flag_spec\"
28505 libdir="$acl_save_libdir"
28506 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28507 done
28510 if test "X$ltrpathdirs" != "X"; then
28511 for found_dir in $ltrpathdirs; do
28512 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28513 done
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28523 $as_echo_n "checking for iconv... " >&6; }
28524 if test "${am_cv_func_iconv+set}" = set; then :
28525 $as_echo_n "(cached) " >&6
28526 else
28528 am_cv_func_iconv="no, consider installing GNU libiconv"
28529 am_cv_lib_iconv=no
28530 am_save_CPPFLAGS="$CPPFLAGS"
28531 CPPFLAGS="$CPPFLAGS $INCICONV"
28532 if test x$gcc_no_link = xyes; then
28533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28536 /* end confdefs.h. */
28537 #include <stdlib.h>
28538 #include <iconv.h>
28540 main ()
28542 iconv_t cd = iconv_open("","");
28543 iconv(cd,NULL,NULL,NULL,NULL);
28544 iconv_close(cd);
28546 return 0;
28548 _ACEOF
28549 if ac_fn_c_try_link "$LINENO"; then :
28550 am_cv_func_iconv=yes
28552 rm -f core conftest.err conftest.$ac_objext \
28553 conftest$ac_exeext conftest.$ac_ext
28554 CPPFLAGS="$am_save_CPPFLAGS"
28556 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28557 for _libs in .libs _libs; do
28558 am_save_CPPFLAGS="$CPPFLAGS"
28559 am_save_LIBS="$LIBS"
28560 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28561 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28562 if test x$gcc_no_link = xyes; then
28563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28566 /* end confdefs.h. */
28567 #include <stdlib.h>
28568 #include <iconv.h>
28570 main ()
28572 iconv_t cd = iconv_open("","");
28573 iconv(cd,NULL,NULL,NULL,NULL);
28574 iconv_close(cd);
28576 return 0;
28578 _ACEOF
28579 if ac_fn_c_try_link "$LINENO"; then :
28580 INCICONV="-I../libiconv/include"
28581 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28582 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28583 am_cv_lib_iconv=yes
28584 am_cv_func_iconv=yes
28586 rm -f core conftest.err conftest.$ac_objext \
28587 conftest$ac_exeext conftest.$ac_ext
28588 CPPFLAGS="$am_save_CPPFLAGS"
28589 LIBS="$am_save_LIBS"
28590 if test "$am_cv_func_iconv" = "yes"; then
28591 break
28593 done
28596 if test "$am_cv_func_iconv" != yes; then
28597 am_save_CPPFLAGS="$CPPFLAGS"
28598 am_save_LIBS="$LIBS"
28599 CPPFLAGS="$LIBS $INCICONV"
28600 LIBS="$LIBS $LIBICONV"
28601 if test x$gcc_no_link = xyes; then
28602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28605 /* end confdefs.h. */
28606 #include <stdlib.h>
28607 #include <iconv.h>
28609 main ()
28611 iconv_t cd = iconv_open("","");
28612 iconv(cd,NULL,NULL,NULL,NULL);
28613 iconv_close(cd);
28615 return 0;
28617 _ACEOF
28618 if ac_fn_c_try_link "$LINENO"; then :
28619 am_cv_lib_iconv=yes
28620 am_cv_func_iconv=yes
28622 rm -f core conftest.err conftest.$ac_objext \
28623 conftest$ac_exeext conftest.$ac_ext
28624 CPPFLAGS="$am_save_CPPFLAGS"
28625 LIBS="$am_save_LIBS"
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28630 $as_echo "$am_cv_func_iconv" >&6; }
28631 if test "$am_cv_func_iconv" = yes; then
28633 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28636 if test "$am_cv_lib_iconv" = yes; then
28638 for element in $INCICONV; do
28639 haveit=
28640 for x in $CPPFLAGS; do
28642 acl_save_prefix="$prefix"
28643 prefix="$acl_final_prefix"
28644 acl_save_exec_prefix="$exec_prefix"
28645 exec_prefix="$acl_final_exec_prefix"
28646 eval x=\"$x\"
28647 exec_prefix="$acl_save_exec_prefix"
28648 prefix="$acl_save_prefix"
28650 if test "X$x" = "X$element"; then
28651 haveit=yes
28652 break
28654 done
28655 if test -z "$haveit"; then
28656 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28658 done
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28661 $as_echo_n "checking how to link with libiconv... " >&6; }
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28663 $as_echo "$LIBICONV" >&6; }
28664 else
28665 LIBICONV=
28666 LTLIBICONV=
28671 if test "$am_cv_func_iconv" = yes; then
28672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28673 $as_echo_n "checking for iconv declaration... " >&6; }
28674 if test "${am_cv_proto_iconv+set}" = set; then :
28675 $as_echo_n "(cached) " >&6
28676 else
28678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28679 /* end confdefs.h. */
28681 #include <stdlib.h>
28682 #include <iconv.h>
28683 extern
28684 #ifdef __cplusplus
28686 #endif
28687 #if defined(__STDC__) || defined(__cplusplus)
28688 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28689 #else
28690 size_t iconv();
28691 #endif
28694 main ()
28698 return 0;
28700 _ACEOF
28701 if ac_fn_c_try_compile "$LINENO"; then :
28702 am_cv_proto_iconv_arg1=""
28703 else
28704 am_cv_proto_iconv_arg1="const"
28706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28707 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);"
28710 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28712 }$am_cv_proto_iconv" >&5
28713 $as_echo "${ac_t:-
28714 }$am_cv_proto_iconv" >&6; }
28716 cat >>confdefs.h <<_ACEOF
28717 #define ICONV_CONST $am_cv_proto_iconv_arg1
28718 _ACEOF
28723 else
28725 # This lets us hard-code the functionality we know we'll have in the cross
28726 # target environment. "Let" is a sugar-coated word placed on an especially
28727 # dull and tedious hack, actually.
28729 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28730 # that involve linking, can't be used:
28731 # "cannot open sim-crt0.o"
28732 # "cannot open crt0.o"
28733 # etc. All this is because there currently exists no unified, consistent
28734 # way for top level CC information to be passed down to target directories:
28735 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28736 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28737 # crosses can be removed.
28739 # If Canadian cross, then don't pick up tools from the build directory.
28740 # Used only in GLIBCXX_EXPORT_INCLUDES.
28741 if test -n "$with_cross_host" &&
28742 test x"$build_alias" != x"$with_cross_host" &&
28743 test x"$build" != x"$target";
28744 then
28745 CANADIAN=yes
28746 else
28747 CANADIAN=no
28750 # Construct crosses by hand, eliminating bits that need ld...
28751 # GLIBCXX_CHECK_MATH_SUPPORT
28753 # First, test for "known" system libraries. We may be using newlib even
28754 # on a hosted environment.
28755 if test "x${with_newlib}" = "xyes"; then
28756 os_include_dir="os/newlib"
28757 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28760 # GLIBCXX_CHECK_STDLIB_SUPPORT
28761 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28764 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28766 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28768 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28770 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28772 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28774 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28776 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28778 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28780 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28782 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28784 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28786 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28788 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28790 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28792 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28794 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28796 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28798 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28800 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28802 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28804 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28806 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28809 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28811 else
28813 # Base decisions on target environment.
28814 case "${host}" in
28815 arm*-*-symbianelf*)
28816 # This is a freestanding configuration; there is nothing to do here.
28819 mips*-sde-elf*)
28820 # These definitions are for the SDE C library rather than newlib.
28821 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28824 # All these tests are for C++; save the language and the compiler flags.
28825 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28826 # found in GLIBCXX_CONFIGURE.
28828 ac_ext=cpp
28829 ac_cpp='$CXXCPP $CPPFLAGS'
28830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28834 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28835 ac_save_CXXFLAGS="$CXXFLAGS"
28837 # Check for maintainer-mode bits.
28838 if test x"$USE_MAINTAINER_MODE" = xno; then
28839 WERROR=''
28840 else
28841 WERROR='-Werror'
28844 # Check for -ffunction-sections -fdata-sections
28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28846 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28847 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849 /* end confdefs.h. */
28850 int foo; void bar() { };
28852 main ()
28856 return 0;
28858 _ACEOF
28859 if ac_fn_cxx_try_compile "$LINENO"; then :
28860 ac_fdsections=yes
28861 else
28862 ac_fdsections=no
28864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28865 if test "$ac_test_CXXFLAGS" = set; then
28866 CXXFLAGS="$ac_save_CXXFLAGS"
28867 else
28868 # this is the suspicious part
28869 CXXFLAGS=''
28871 if test x"$ac_fdsections" = x"yes"; then
28872 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28875 $as_echo "$ac_fdsections" >&6; }
28877 ac_ext=c
28878 ac_cpp='$CPP $CPPFLAGS'
28879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28887 # If we're not using GNU ld, then there's no point in even trying these
28888 # tests. Check for that first. We should have already tested for gld
28889 # by now (in libtool), but require it now just to be safe...
28890 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28891 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28895 # The name set by libtool depends on the version of libtool. Shame on us
28896 # for depending on an impl detail, but c'est la vie. Older versions used
28897 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28898 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28899 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28900 # set (hence we're using an older libtool), then set it.
28901 if test x${with_gnu_ld+set} != xset; then
28902 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28903 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28904 with_gnu_ld=no
28905 else
28906 with_gnu_ld=$ac_cv_prog_gnu_ld
28910 # Start by getting the version number. I think the libtool test already
28911 # does some of this, but throws away the result.
28912 glibcxx_ld_is_gold=no
28913 if test x"$with_gnu_ld" = x"yes"; then
28914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28915 $as_echo_n "checking for ld version... " >&6; }
28917 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28918 glibcxx_ld_is_gold=yes
28920 ldver=`$LD --version 2>/dev/null |
28921 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'`
28923 glibcxx_gnu_ld_version=`echo $ldver | \
28924 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28926 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28929 # Set --gc-sections.
28930 glibcxx_have_gc_sections=no
28931 if test "$glibcxx_ld_is_gold" = "yes"; then
28932 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28933 glibcxx_have_gc_sections=yes
28935 else
28936 glibcxx_gcsections_min_ld=21602
28937 if test x"$with_gnu_ld" = x"yes" &&
28938 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28939 glibcxx_have_gc_sections=yes
28942 if test "$glibcxx_have_gc_sections" = "yes"; then
28943 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28944 # NB: This flag only works reliably after 2.16.1. Configure tests
28945 # for this are difficult, so hard wire a value that should work.
28947 ac_test_CFLAGS="${CFLAGS+set}"
28948 ac_save_CFLAGS="$CFLAGS"
28949 CFLAGS='-Wl,--gc-sections'
28951 # Check for -Wl,--gc-sections
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28953 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28954 if test x$gcc_no_link = xyes; then
28955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28958 /* end confdefs.h. */
28959 int one(void) { return 1; }
28960 int two(void) { return 2; }
28963 main ()
28965 two();
28967 return 0;
28969 _ACEOF
28970 if ac_fn_c_try_link "$LINENO"; then :
28971 ac_gcsections=yes
28972 else
28973 ac_gcsections=no
28975 rm -f core conftest.err conftest.$ac_objext \
28976 conftest$ac_exeext conftest.$ac_ext
28977 if test "$ac_gcsections" = "yes"; then
28978 rm -f conftest.c
28979 touch conftest.c
28980 if $CC -c conftest.c; then
28981 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28982 grep "Warning: gc-sections option ignored" > /dev/null; then
28983 ac_gcsections=no
28986 rm -f conftest.c conftest.o conftest
28988 if test "$ac_gcsections" = "yes"; then
28989 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28992 $as_echo "$ac_gcsections" >&6; }
28994 if test "$ac_test_CFLAGS" = set; then
28995 CFLAGS="$ac_save_CFLAGS"
28996 else
28997 # this is the suspicious part
28998 CFLAGS=''
29002 # Set -z,relro.
29003 # Note this is only for shared objects.
29004 ac_ld_relro=no
29005 if test x"$with_gnu_ld" = x"yes"; then
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29009 if test -n "$cxx_z_relo"; then
29010 OPT_LDFLAGS="-Wl,-z,relro"
29011 ac_ld_relro=yes
29013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29014 $as_echo "$ac_ld_relro" >&6; }
29017 # Set linker optimization flags.
29018 if test x"$with_gnu_ld" = x"yes"; then
29019 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29026 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29027 ac_save_CXXFLAGS="$CXXFLAGS"
29028 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29031 $as_echo_n "checking for sin in -lm... " >&6; }
29032 if test "${ac_cv_lib_m_sin+set}" = set; then :
29033 $as_echo_n "(cached) " >&6
29034 else
29035 ac_check_lib_save_LIBS=$LIBS
29036 LIBS="-lm $LIBS"
29037 if test x$gcc_no_link = xyes; then
29038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29041 /* end confdefs.h. */
29043 /* Override any GCC internal prototype to avoid an error.
29044 Use char because int might match the return type of a GCC
29045 builtin and then its argument prototype would still apply. */
29046 #ifdef __cplusplus
29047 extern "C"
29048 #endif
29049 char sin ();
29051 main ()
29053 return sin ();
29055 return 0;
29057 _ACEOF
29058 if ac_fn_c_try_link "$LINENO"; then :
29059 ac_cv_lib_m_sin=yes
29060 else
29061 ac_cv_lib_m_sin=no
29063 rm -f core conftest.err conftest.$ac_objext \
29064 conftest$ac_exeext conftest.$ac_ext
29065 LIBS=$ac_check_lib_save_LIBS
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29068 $as_echo "$ac_cv_lib_m_sin" >&6; }
29069 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29070 libm="-lm"
29073 ac_save_LIBS="$LIBS"
29074 LIBS="$LIBS $libm"
29078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29079 $as_echo_n "checking for isinf declaration... " >&6; }
29080 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29081 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29082 $as_echo_n "(cached) " >&6
29083 else
29086 ac_ext=cpp
29087 ac_cpp='$CXXCPP $CPPFLAGS'
29088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29093 /* end confdefs.h. */
29094 #include <math.h>
29095 #ifdef HAVE_IEEEFP_H
29096 #include <ieeefp.h>
29097 #endif
29100 main ()
29102 isinf(0);
29104 return 0;
29106 _ACEOF
29107 if ac_fn_cxx_try_compile "$LINENO"; then :
29108 glibcxx_cv_func_isinf_use=yes
29109 else
29110 glibcxx_cv_func_isinf_use=no
29112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29113 ac_ext=c
29114 ac_cpp='$CPP $CPPFLAGS'
29115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29124 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29126 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29127 for ac_func in isinf
29128 do :
29129 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29130 if test "x$ac_cv_func_isinf" = x""yes; then :
29131 cat >>confdefs.h <<_ACEOF
29132 #define HAVE_ISINF 1
29133 _ACEOF
29136 done
29138 else
29140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29141 $as_echo_n "checking for _isinf declaration... " >&6; }
29142 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29143 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29144 $as_echo_n "(cached) " >&6
29145 else
29148 ac_ext=cpp
29149 ac_cpp='$CXXCPP $CPPFLAGS'
29150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29155 /* end confdefs.h. */
29156 #include <math.h>
29157 #ifdef HAVE_IEEEFP_H
29158 #include <ieeefp.h>
29159 #endif
29162 main ()
29164 _isinf(0);
29166 return 0;
29168 _ACEOF
29169 if ac_fn_cxx_try_compile "$LINENO"; then :
29170 glibcxx_cv_func__isinf_use=yes
29171 else
29172 glibcxx_cv_func__isinf_use=no
29174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 ac_ext=c
29176 ac_cpp='$CPP $CPPFLAGS'
29177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29186 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29188 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29189 for ac_func in _isinf
29190 do :
29191 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29192 if test "x$ac_cv_func__isinf" = x""yes; then :
29193 cat >>confdefs.h <<_ACEOF
29194 #define HAVE__ISINF 1
29195 _ACEOF
29198 done
29207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29208 $as_echo_n "checking for isnan declaration... " >&6; }
29209 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29210 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29211 $as_echo_n "(cached) " >&6
29212 else
29215 ac_ext=cpp
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29222 /* end confdefs.h. */
29223 #include <math.h>
29224 #ifdef HAVE_IEEEFP_H
29225 #include <ieeefp.h>
29226 #endif
29229 main ()
29231 isnan(0);
29233 return 0;
29235 _ACEOF
29236 if ac_fn_cxx_try_compile "$LINENO"; then :
29237 glibcxx_cv_func_isnan_use=yes
29238 else
29239 glibcxx_cv_func_isnan_use=no
29241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29242 ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29253 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29255 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29256 for ac_func in isnan
29257 do :
29258 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29259 if test "x$ac_cv_func_isnan" = x""yes; then :
29260 cat >>confdefs.h <<_ACEOF
29261 #define HAVE_ISNAN 1
29262 _ACEOF
29265 done
29267 else
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29270 $as_echo_n "checking for _isnan declaration... " >&6; }
29271 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29272 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29273 $as_echo_n "(cached) " >&6
29274 else
29277 ac_ext=cpp
29278 ac_cpp='$CXXCPP $CPPFLAGS'
29279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h. */
29285 #include <math.h>
29286 #ifdef HAVE_IEEEFP_H
29287 #include <ieeefp.h>
29288 #endif
29291 main ()
29293 _isnan(0);
29295 return 0;
29297 _ACEOF
29298 if ac_fn_cxx_try_compile "$LINENO"; then :
29299 glibcxx_cv_func__isnan_use=yes
29300 else
29301 glibcxx_cv_func__isnan_use=no
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304 ac_ext=c
29305 ac_cpp='$CPP $CPPFLAGS'
29306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29315 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29317 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29318 for ac_func in _isnan
29319 do :
29320 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29321 if test "x$ac_cv_func__isnan" = x""yes; then :
29322 cat >>confdefs.h <<_ACEOF
29323 #define HAVE__ISNAN 1
29324 _ACEOF
29327 done
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29337 $as_echo_n "checking for finite declaration... " >&6; }
29338 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29339 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29340 $as_echo_n "(cached) " >&6
29341 else
29344 ac_ext=cpp
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29351 /* end confdefs.h. */
29352 #include <math.h>
29353 #ifdef HAVE_IEEEFP_H
29354 #include <ieeefp.h>
29355 #endif
29358 main ()
29360 finite(0);
29362 return 0;
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func_finite_use=yes
29367 else
29368 glibcxx_cv_func_finite_use=no
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371 ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29382 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29384 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29385 for ac_func in finite
29386 do :
29387 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29388 if test "x$ac_cv_func_finite" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE_FINITE 1
29391 _ACEOF
29394 done
29396 else
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29399 $as_echo_n "checking for _finite declaration... " >&6; }
29400 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29401 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29402 $as_echo_n "(cached) " >&6
29403 else
29406 ac_ext=cpp
29407 ac_cpp='$CXXCPP $CPPFLAGS'
29408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29413 /* end confdefs.h. */
29414 #include <math.h>
29415 #ifdef HAVE_IEEEFP_H
29416 #include <ieeefp.h>
29417 #endif
29420 main ()
29422 _finite(0);
29424 return 0;
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428 glibcxx_cv_func__finite_use=yes
29429 else
29430 glibcxx_cv_func__finite_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__finite_use" >&5
29444 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29446 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29447 for ac_func in _finite
29448 do :
29449 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29450 if test "x$ac_cv_func__finite" = x""yes; then :
29451 cat >>confdefs.h <<_ACEOF
29452 #define HAVE__FINITE 1
29453 _ACEOF
29456 done
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29466 $as_echo_n "checking for sincos declaration... " >&6; }
29467 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29468 if test "${glibcxx_cv_func_sincos_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>
29483 main ()
29485 sincos(0, 0, 0);
29487 return 0;
29489 _ACEOF
29490 if ac_fn_cxx_try_compile "$LINENO"; then :
29491 glibcxx_cv_func_sincos_use=yes
29492 else
29493 glibcxx_cv_func_sincos_use=no
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 ac_ext=c
29497 ac_cpp='$CPP $CPPFLAGS'
29498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29507 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29509 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29510 for ac_func in sincos
29511 do :
29512 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29513 if test "x$ac_cv_func_sincos" = x""yes; then :
29514 cat >>confdefs.h <<_ACEOF
29515 #define HAVE_SINCOS 1
29516 _ACEOF
29519 done
29521 else
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29524 $as_echo_n "checking for _sincos declaration... " >&6; }
29525 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29526 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29527 $as_echo_n "(cached) " >&6
29528 else
29531 ac_ext=cpp
29532 ac_cpp='$CXXCPP $CPPFLAGS'
29533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29538 /* end confdefs.h. */
29539 #include <math.h>
29541 main ()
29543 _sincos(0, 0, 0);
29545 return 0;
29547 _ACEOF
29548 if ac_fn_cxx_try_compile "$LINENO"; then :
29549 glibcxx_cv_func__sincos_use=yes
29550 else
29551 glibcxx_cv_func__sincos_use=no
29553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29554 ac_ext=c
29555 ac_cpp='$CPP $CPPFLAGS'
29556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29565 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29567 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29568 for ac_func in _sincos
29569 do :
29570 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29571 if test "x$ac_cv_func__sincos" = x""yes; then :
29572 cat >>confdefs.h <<_ACEOF
29573 #define HAVE__SINCOS 1
29574 _ACEOF
29577 done
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29587 $as_echo_n "checking for fpclass declaration... " >&6; }
29588 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29589 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29590 $as_echo_n "(cached) " >&6
29591 else
29594 ac_ext=cpp
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29602 #include <math.h>
29603 #ifdef HAVE_IEEEFP_H
29604 #include <ieeefp.h>
29605 #endif
29608 main ()
29610 fpclass(0);
29612 return 0;
29614 _ACEOF
29615 if ac_fn_cxx_try_compile "$LINENO"; then :
29616 glibcxx_cv_func_fpclass_use=yes
29617 else
29618 glibcxx_cv_func_fpclass_use=no
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621 ac_ext=c
29622 ac_cpp='$CPP $CPPFLAGS'
29623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29632 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29634 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29635 for ac_func in fpclass
29636 do :
29637 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29638 if test "x$ac_cv_func_fpclass" = x""yes; then :
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE_FPCLASS 1
29641 _ACEOF
29644 done
29646 else
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29649 $as_echo_n "checking for _fpclass declaration... " >&6; }
29650 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29651 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29652 $as_echo_n "(cached) " >&6
29653 else
29656 ac_ext=cpp
29657 ac_cpp='$CXXCPP $CPPFLAGS'
29658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29663 /* end confdefs.h. */
29664 #include <math.h>
29665 #ifdef HAVE_IEEEFP_H
29666 #include <ieeefp.h>
29667 #endif
29670 main ()
29672 _fpclass(0);
29674 return 0;
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 glibcxx_cv_func__fpclass_use=yes
29679 else
29680 glibcxx_cv_func__fpclass_use=no
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683 ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29694 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29696 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29697 for ac_func in _fpclass
29698 do :
29699 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29700 if test "x$ac_cv_func__fpclass" = x""yes; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define HAVE__FPCLASS 1
29703 _ACEOF
29706 done
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29716 $as_echo_n "checking for qfpclass declaration... " >&6; }
29717 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29718 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29719 $as_echo_n "(cached) " >&6
29720 else
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <math.h>
29732 #ifdef HAVE_IEEEFP_H
29733 #include <ieeefp.h>
29734 #endif
29737 main ()
29739 qfpclass(0);
29741 return 0;
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745 glibcxx_cv_func_qfpclass_use=yes
29746 else
29747 glibcxx_cv_func_qfpclass_use=no
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29761 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29763 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29764 for ac_func in qfpclass
29765 do :
29766 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29767 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29768 cat >>confdefs.h <<_ACEOF
29769 #define HAVE_QFPCLASS 1
29770 _ACEOF
29773 done
29775 else
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29778 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29779 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29780 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29781 $as_echo_n "(cached) " >&6
29782 else
29785 ac_ext=cpp
29786 ac_cpp='$CXXCPP $CPPFLAGS'
29787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792 /* end confdefs.h. */
29793 #include <math.h>
29794 #ifdef HAVE_IEEEFP_H
29795 #include <ieeefp.h>
29796 #endif
29799 main ()
29801 _qfpclass(0);
29803 return 0;
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807 glibcxx_cv_func__qfpclass_use=yes
29808 else
29809 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
29823 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29825 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29826 for ac_func in _qfpclass
29827 do :
29828 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29829 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE__QFPCLASS 1
29832 _ACEOF
29835 done
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29845 $as_echo_n "checking for hypot declaration... " >&6; }
29846 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29847 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29848 $as_echo_n "(cached) " >&6
29849 else
29852 ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h. */
29860 #include <math.h>
29862 main ()
29864 hypot(0, 0);
29866 return 0;
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870 glibcxx_cv_func_hypot_use=yes
29871 else
29872 glibcxx_cv_func_hypot_use=no
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875 ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29886 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29888 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29889 for ac_func in hypot
29890 do :
29891 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29892 if test "x$ac_cv_func_hypot" = x""yes; then :
29893 cat >>confdefs.h <<_ACEOF
29894 #define HAVE_HYPOT 1
29895 _ACEOF
29898 done
29900 else
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29903 $as_echo_n "checking for _hypot declaration... " >&6; }
29904 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29905 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29906 $as_echo_n "(cached) " >&6
29907 else
29910 ac_ext=cpp
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h. */
29918 #include <math.h>
29920 main ()
29922 _hypot(0, 0);
29924 return 0;
29926 _ACEOF
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928 glibcxx_cv_func__hypot_use=yes
29929 else
29930 glibcxx_cv_func__hypot_use=no
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29944 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29946 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29947 for ac_func in _hypot
29948 do :
29949 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29950 if test "x$ac_cv_func__hypot" = x""yes; then :
29951 cat >>confdefs.h <<_ACEOF
29952 #define HAVE__HYPOT 1
29953 _ACEOF
29956 done
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29966 $as_echo_n "checking for float trig functions... " >&6; }
29967 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29968 $as_echo_n "(cached) " >&6
29969 else
29972 ac_ext=cpp
29973 ac_cpp='$CXXCPP $CPPFLAGS'
29974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29980 #include <math.h>
29982 main ()
29984 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29986 return 0;
29988 _ACEOF
29989 if ac_fn_cxx_try_compile "$LINENO"; then :
29990 glibcxx_cv_func_float_trig_use=yes
29991 else
29992 glibcxx_cv_func_float_trig_use=no
29994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29995 ac_ext=c
29996 ac_cpp='$CPP $CPPFLAGS'
29997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30004 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30005 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30006 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30007 do :
30008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30010 eval as_val=\$$as_ac_var
30011 if test "x$as_val" = x""yes; then :
30012 cat >>confdefs.h <<_ACEOF
30013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30014 _ACEOF
30017 done
30019 else
30020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30021 $as_echo_n "checking for _float trig functions... " >&6; }
30022 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30023 $as_echo_n "(cached) " >&6
30024 else
30027 ac_ext=cpp
30028 ac_cpp='$CXXCPP $CPPFLAGS'
30029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034 /* end confdefs.h. */
30035 #include <math.h>
30037 main ()
30039 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30041 return 0;
30043 _ACEOF
30044 if ac_fn_cxx_try_compile "$LINENO"; then :
30045 glibcxx_cv_func__float_trig_use=yes
30046 else
30047 glibcxx_cv_func__float_trig_use=no
30049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30050 ac_ext=c
30051 ac_cpp='$CPP $CPPFLAGS'
30052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30059 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30060 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30061 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30062 do :
30063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30065 eval as_val=\$$as_ac_var
30066 if test "x$as_val" = x""yes; then :
30067 cat >>confdefs.h <<_ACEOF
30068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30069 _ACEOF
30072 done
30081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30082 $as_echo_n "checking for float round functions... " >&6; }
30083 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30084 $as_echo_n "(cached) " >&6
30085 else
30088 ac_ext=cpp
30089 ac_cpp='$CXXCPP $CPPFLAGS'
30090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30095 /* end confdefs.h. */
30096 #include <math.h>
30098 main ()
30100 ceilf (0); floorf (0);
30102 return 0;
30104 _ACEOF
30105 if ac_fn_cxx_try_compile "$LINENO"; then :
30106 glibcxx_cv_func_float_round_use=yes
30107 else
30108 glibcxx_cv_func_float_round_use=no
30110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30111 ac_ext=c
30112 ac_cpp='$CPP $CPPFLAGS'
30113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30120 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30121 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30122 for ac_func in ceilf floorf
30123 do :
30124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30126 eval as_val=\$$as_ac_var
30127 if test "x$as_val" = x""yes; then :
30128 cat >>confdefs.h <<_ACEOF
30129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30130 _ACEOF
30133 done
30135 else
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30137 $as_echo_n "checking for _float round functions... " >&6; }
30138 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30139 $as_echo_n "(cached) " >&6
30140 else
30143 ac_ext=cpp
30144 ac_cpp='$CXXCPP $CPPFLAGS'
30145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30150 /* end confdefs.h. */
30151 #include <math.h>
30153 main ()
30155 _ceilf (0); _floorf (0);
30157 return 0;
30159 _ACEOF
30160 if ac_fn_cxx_try_compile "$LINENO"; then :
30161 glibcxx_cv_func__float_round_use=yes
30162 else
30163 glibcxx_cv_func__float_round_use=no
30165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30166 ac_ext=c
30167 ac_cpp='$CPP $CPPFLAGS'
30168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30175 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30176 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30177 for ac_func in _ceilf _floorf
30178 do :
30179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30181 eval as_val=\$$as_ac_var
30182 if test "x$as_val" = x""yes; then :
30183 cat >>confdefs.h <<_ACEOF
30184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30185 _ACEOF
30188 done
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30199 $as_echo_n "checking for expf declaration... " >&6; }
30200 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30201 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30202 $as_echo_n "(cached) " >&6
30203 else
30206 ac_ext=cpp
30207 ac_cpp='$CXXCPP $CPPFLAGS'
30208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30213 /* end confdefs.h. */
30214 #include <math.h>
30215 #ifdef HAVE_IEEEFP_H
30216 #include <ieeefp.h>
30217 #endif
30220 main ()
30222 expf(0);
30224 return 0;
30226 _ACEOF
30227 if ac_fn_cxx_try_compile "$LINENO"; then :
30228 glibcxx_cv_func_expf_use=yes
30229 else
30230 glibcxx_cv_func_expf_use=no
30232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30233 ac_ext=c
30234 ac_cpp='$CPP $CPPFLAGS'
30235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30244 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30246 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30247 for ac_func in expf
30248 do :
30249 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30250 if test "x$ac_cv_func_expf" = x""yes; then :
30251 cat >>confdefs.h <<_ACEOF
30252 #define HAVE_EXPF 1
30253 _ACEOF
30256 done
30258 else
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30261 $as_echo_n "checking for _expf declaration... " >&6; }
30262 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30263 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30264 $as_echo_n "(cached) " >&6
30265 else
30268 ac_ext=cpp
30269 ac_cpp='$CXXCPP $CPPFLAGS'
30270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30275 /* end confdefs.h. */
30276 #include <math.h>
30277 #ifdef HAVE_IEEEFP_H
30278 #include <ieeefp.h>
30279 #endif
30282 main ()
30284 _expf(0);
30286 return 0;
30288 _ACEOF
30289 if ac_fn_cxx_try_compile "$LINENO"; then :
30290 glibcxx_cv_func__expf_use=yes
30291 else
30292 glibcxx_cv_func__expf_use=no
30294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295 ac_ext=c
30296 ac_cpp='$CPP $CPPFLAGS'
30297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30306 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30308 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30309 for ac_func in _expf
30310 do :
30311 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30312 if test "x$ac_cv_func__expf" = x""yes; then :
30313 cat >>confdefs.h <<_ACEOF
30314 #define HAVE__EXPF 1
30315 _ACEOF
30318 done
30327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30328 $as_echo_n "checking for isnanf declaration... " >&6; }
30329 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30330 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30331 $as_echo_n "(cached) " >&6
30332 else
30335 ac_ext=cpp
30336 ac_cpp='$CXXCPP $CPPFLAGS'
30337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30343 #include <math.h>
30344 #ifdef HAVE_IEEEFP_H
30345 #include <ieeefp.h>
30346 #endif
30349 main ()
30351 isnanf(0);
30353 return 0;
30355 _ACEOF
30356 if ac_fn_cxx_try_compile "$LINENO"; then :
30357 glibcxx_cv_func_isnanf_use=yes
30358 else
30359 glibcxx_cv_func_isnanf_use=no
30361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30362 ac_ext=c
30363 ac_cpp='$CPP $CPPFLAGS'
30364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30373 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30375 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30376 for ac_func in isnanf
30377 do :
30378 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30379 if test "x$ac_cv_func_isnanf" = x""yes; then :
30380 cat >>confdefs.h <<_ACEOF
30381 #define HAVE_ISNANF 1
30382 _ACEOF
30385 done
30387 else
30389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30390 $as_echo_n "checking for _isnanf declaration... " >&6; }
30391 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30392 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30393 $as_echo_n "(cached) " >&6
30394 else
30397 ac_ext=cpp
30398 ac_cpp='$CXXCPP $CPPFLAGS'
30399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30404 /* end confdefs.h. */
30405 #include <math.h>
30406 #ifdef HAVE_IEEEFP_H
30407 #include <ieeefp.h>
30408 #endif
30411 main ()
30413 _isnanf(0);
30415 return 0;
30417 _ACEOF
30418 if ac_fn_cxx_try_compile "$LINENO"; then :
30419 glibcxx_cv_func__isnanf_use=yes
30420 else
30421 glibcxx_cv_func__isnanf_use=no
30423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30424 ac_ext=c
30425 ac_cpp='$CPP $CPPFLAGS'
30426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30435 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30437 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30438 for ac_func in _isnanf
30439 do :
30440 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30441 if test "x$ac_cv_func__isnanf" = x""yes; then :
30442 cat >>confdefs.h <<_ACEOF
30443 #define HAVE__ISNANF 1
30444 _ACEOF
30447 done
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30457 $as_echo_n "checking for isinff declaration... " >&6; }
30458 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30459 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30460 $as_echo_n "(cached) " >&6
30461 else
30464 ac_ext=cpp
30465 ac_cpp='$CXXCPP $CPPFLAGS'
30466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30471 /* end confdefs.h. */
30472 #include <math.h>
30473 #ifdef HAVE_IEEEFP_H
30474 #include <ieeefp.h>
30475 #endif
30478 main ()
30480 isinff(0);
30482 return 0;
30484 _ACEOF
30485 if ac_fn_cxx_try_compile "$LINENO"; then :
30486 glibcxx_cv_func_isinff_use=yes
30487 else
30488 glibcxx_cv_func_isinff_use=no
30490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30491 ac_ext=c
30492 ac_cpp='$CPP $CPPFLAGS'
30493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30502 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30504 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30505 for ac_func in isinff
30506 do :
30507 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30508 if test "x$ac_cv_func_isinff" = x""yes; then :
30509 cat >>confdefs.h <<_ACEOF
30510 #define HAVE_ISINFF 1
30511 _ACEOF
30514 done
30516 else
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30519 $as_echo_n "checking for _isinff declaration... " >&6; }
30520 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30521 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30522 $as_echo_n "(cached) " >&6
30523 else
30526 ac_ext=cpp
30527 ac_cpp='$CXXCPP $CPPFLAGS'
30528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30533 /* end confdefs.h. */
30534 #include <math.h>
30535 #ifdef HAVE_IEEEFP_H
30536 #include <ieeefp.h>
30537 #endif
30540 main ()
30542 _isinff(0);
30544 return 0;
30546 _ACEOF
30547 if ac_fn_cxx_try_compile "$LINENO"; then :
30548 glibcxx_cv_func__isinff_use=yes
30549 else
30550 glibcxx_cv_func__isinff_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__isinff_use" >&5
30564 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30566 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30567 for ac_func in _isinff
30568 do :
30569 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30570 if test "x$ac_cv_func__isinff" = x""yes; then :
30571 cat >>confdefs.h <<_ACEOF
30572 #define HAVE__ISINFF 1
30573 _ACEOF
30576 done
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30586 $as_echo_n "checking for atan2f declaration... " >&6; }
30587 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30588 if test "${glibcxx_cv_func_atan2f_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>
30603 main ()
30605 atan2f(0, 0);
30607 return 0;
30609 _ACEOF
30610 if ac_fn_cxx_try_compile "$LINENO"; then :
30611 glibcxx_cv_func_atan2f_use=yes
30612 else
30613 glibcxx_cv_func_atan2f_use=no
30615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30616 ac_ext=c
30617 ac_cpp='$CPP $CPPFLAGS'
30618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30627 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30629 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30630 for ac_func in atan2f
30631 do :
30632 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30633 if test "x$ac_cv_func_atan2f" = x""yes; then :
30634 cat >>confdefs.h <<_ACEOF
30635 #define HAVE_ATAN2F 1
30636 _ACEOF
30639 done
30641 else
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30644 $as_echo_n "checking for _atan2f declaration... " >&6; }
30645 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30646 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30647 $as_echo_n "(cached) " >&6
30648 else
30651 ac_ext=cpp
30652 ac_cpp='$CXXCPP $CPPFLAGS'
30653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30658 /* end confdefs.h. */
30659 #include <math.h>
30661 main ()
30663 _atan2f(0, 0);
30665 return 0;
30667 _ACEOF
30668 if ac_fn_cxx_try_compile "$LINENO"; then :
30669 glibcxx_cv_func__atan2f_use=yes
30670 else
30671 glibcxx_cv_func__atan2f_use=no
30673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30674 ac_ext=c
30675 ac_cpp='$CPP $CPPFLAGS'
30676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30685 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30687 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30688 for ac_func in _atan2f
30689 do :
30690 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30691 if test "x$ac_cv_func__atan2f" = x""yes; then :
30692 cat >>confdefs.h <<_ACEOF
30693 #define HAVE__ATAN2F 1
30694 _ACEOF
30697 done
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30707 $as_echo_n "checking for fabsf declaration... " >&6; }
30708 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30709 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30710 $as_echo_n "(cached) " >&6
30711 else
30714 ac_ext=cpp
30715 ac_cpp='$CXXCPP $CPPFLAGS'
30716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30722 #include <math.h>
30723 #ifdef HAVE_IEEEFP_H
30724 #include <ieeefp.h>
30725 #endif
30728 main ()
30730 fabsf(0);
30732 return 0;
30734 _ACEOF
30735 if ac_fn_cxx_try_compile "$LINENO"; then :
30736 glibcxx_cv_func_fabsf_use=yes
30737 else
30738 glibcxx_cv_func_fabsf_use=no
30740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30741 ac_ext=c
30742 ac_cpp='$CPP $CPPFLAGS'
30743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30752 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30754 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30755 for ac_func in fabsf
30756 do :
30757 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30758 if test "x$ac_cv_func_fabsf" = x""yes; then :
30759 cat >>confdefs.h <<_ACEOF
30760 #define HAVE_FABSF 1
30761 _ACEOF
30764 done
30766 else
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30769 $as_echo_n "checking for _fabsf declaration... " >&6; }
30770 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30771 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30772 $as_echo_n "(cached) " >&6
30773 else
30776 ac_ext=cpp
30777 ac_cpp='$CXXCPP $CPPFLAGS'
30778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h. */
30784 #include <math.h>
30785 #ifdef HAVE_IEEEFP_H
30786 #include <ieeefp.h>
30787 #endif
30790 main ()
30792 _fabsf(0);
30794 return 0;
30796 _ACEOF
30797 if ac_fn_cxx_try_compile "$LINENO"; then :
30798 glibcxx_cv_func__fabsf_use=yes
30799 else
30800 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
30814 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30816 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30817 for ac_func in _fabsf
30818 do :
30819 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30820 if test "x$ac_cv_func__fabsf" = x""yes; then :
30821 cat >>confdefs.h <<_ACEOF
30822 #define HAVE__FABSF 1
30823 _ACEOF
30826 done
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30836 $as_echo_n "checking for fmodf declaration... " >&6; }
30837 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30838 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
30857 return 0;
30859 _ACEOF
30860 if ac_fn_cxx_try_compile "$LINENO"; then :
30861 glibcxx_cv_func_fmodf_use=yes
30862 else
30863 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
30877 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30879 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30880 for ac_func in fmodf
30881 do :
30882 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30883 if test "x$ac_cv_func_fmodf" = x""yes; then :
30884 cat >>confdefs.h <<_ACEOF
30885 #define HAVE_FMODF 1
30886 _ACEOF
30889 done
30891 else
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30894 $as_echo_n "checking for _fmodf declaration... " >&6; }
30895 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30896 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
30915 return 0;
30917 _ACEOF
30918 if ac_fn_cxx_try_compile "$LINENO"; then :
30919 glibcxx_cv_func__fmodf_use=yes
30920 else
30921 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
30935 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30937 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30938 for ac_func in _fmodf
30939 do :
30940 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30941 if test "x$ac_cv_func__fmodf" = x""yes; then :
30942 cat >>confdefs.h <<_ACEOF
30943 #define HAVE__FMODF 1
30944 _ACEOF
30947 done
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30957 $as_echo_n "checking for frexpf declaration... " >&6; }
30958 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30959 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
30978 return 0;
30980 _ACEOF
30981 if ac_fn_cxx_try_compile "$LINENO"; then :
30982 glibcxx_cv_func_frexpf_use=yes
30983 else
30984 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
30998 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31000 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31001 for ac_func in frexpf
31002 do :
31003 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31004 if test "x$ac_cv_func_frexpf" = x""yes; then :
31005 cat >>confdefs.h <<_ACEOF
31006 #define HAVE_FREXPF 1
31007 _ACEOF
31010 done
31012 else
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31015 $as_echo_n "checking for _frexpf declaration... " >&6; }
31016 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31017 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
31036 return 0;
31038 _ACEOF
31039 if ac_fn_cxx_try_compile "$LINENO"; then :
31040 glibcxx_cv_func__frexpf_use=yes
31041 else
31042 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
31056 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31058 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31059 for ac_func in _frexpf
31060 do :
31061 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31062 if test "x$ac_cv_func__frexpf" = x""yes; then :
31063 cat >>confdefs.h <<_ACEOF
31064 #define HAVE__FREXPF 1
31065 _ACEOF
31068 done
31077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31078 $as_echo_n "checking for hypotf declaration... " >&6; }
31079 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31080 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
31099 return 0;
31101 _ACEOF
31102 if ac_fn_cxx_try_compile "$LINENO"; then :
31103 glibcxx_cv_func_hypotf_use=yes
31104 else
31105 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
31119 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31121 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31122 for ac_func in hypotf
31123 do :
31124 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31125 if test "x$ac_cv_func_hypotf" = x""yes; then :
31126 cat >>confdefs.h <<_ACEOF
31127 #define HAVE_HYPOTF 1
31128 _ACEOF
31131 done
31133 else
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31136 $as_echo_n "checking for _hypotf declaration... " >&6; }
31137 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31138 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
31157 return 0;
31159 _ACEOF
31160 if ac_fn_cxx_try_compile "$LINENO"; then :
31161 glibcxx_cv_func__hypotf_use=yes
31162 else
31163 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
31177 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31179 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31180 for ac_func in _hypotf
31181 do :
31182 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31183 if test "x$ac_cv_func__hypotf" = x""yes; then :
31184 cat >>confdefs.h <<_ACEOF
31185 #define HAVE__HYPOTF 1
31186 _ACEOF
31189 done
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31199 $as_echo_n "checking for ldexpf declaration... " >&6; }
31200 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31201 if test "${glibcxx_cv_func_ldexpf_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>
31216 main ()
31218 ldexpf(0, 0);
31220 return 0;
31222 _ACEOF
31223 if ac_fn_cxx_try_compile "$LINENO"; then :
31224 glibcxx_cv_func_ldexpf_use=yes
31225 else
31226 glibcxx_cv_func_ldexpf_use=no
31228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31229 ac_ext=c
31230 ac_cpp='$CPP $CPPFLAGS'
31231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31240 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31242 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31243 for ac_func in ldexpf
31244 do :
31245 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31246 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31247 cat >>confdefs.h <<_ACEOF
31248 #define HAVE_LDEXPF 1
31249 _ACEOF
31252 done
31254 else
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31257 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31258 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31259 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31260 $as_echo_n "(cached) " >&6
31261 else
31264 ac_ext=cpp
31265 ac_cpp='$CXXCPP $CPPFLAGS'
31266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31271 /* end confdefs.h. */
31272 #include <math.h>
31274 main ()
31276 _ldexpf(0, 0);
31278 return 0;
31280 _ACEOF
31281 if ac_fn_cxx_try_compile "$LINENO"; then :
31282 glibcxx_cv_func__ldexpf_use=yes
31283 else
31284 glibcxx_cv_func__ldexpf_use=no
31286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31287 ac_ext=c
31288 ac_cpp='$CPP $CPPFLAGS'
31289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31298 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31300 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31301 for ac_func in _ldexpf
31302 do :
31303 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31304 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31305 cat >>confdefs.h <<_ACEOF
31306 #define HAVE__LDEXPF 1
31307 _ACEOF
31310 done
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31320 $as_echo_n "checking for logf declaration... " >&6; }
31321 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31322 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31323 $as_echo_n "(cached) " >&6
31324 else
31327 ac_ext=cpp
31328 ac_cpp='$CXXCPP $CPPFLAGS'
31329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31334 /* end confdefs.h. */
31335 #include <math.h>
31336 #ifdef HAVE_IEEEFP_H
31337 #include <ieeefp.h>
31338 #endif
31341 main ()
31343 logf(0);
31345 return 0;
31347 _ACEOF
31348 if ac_fn_cxx_try_compile "$LINENO"; then :
31349 glibcxx_cv_func_logf_use=yes
31350 else
31351 glibcxx_cv_func_logf_use=no
31353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31354 ac_ext=c
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31365 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31367 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31368 for ac_func in logf
31369 do :
31370 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31371 if test "x$ac_cv_func_logf" = x""yes; then :
31372 cat >>confdefs.h <<_ACEOF
31373 #define HAVE_LOGF 1
31374 _ACEOF
31377 done
31379 else
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31382 $as_echo_n "checking for _logf declaration... " >&6; }
31383 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31384 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31385 $as_echo_n "(cached) " >&6
31386 else
31389 ac_ext=cpp
31390 ac_cpp='$CXXCPP $CPPFLAGS'
31391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31396 /* end confdefs.h. */
31397 #include <math.h>
31398 #ifdef HAVE_IEEEFP_H
31399 #include <ieeefp.h>
31400 #endif
31403 main ()
31405 _logf(0);
31407 return 0;
31409 _ACEOF
31410 if ac_fn_cxx_try_compile "$LINENO"; then :
31411 glibcxx_cv_func__logf_use=yes
31412 else
31413 glibcxx_cv_func__logf_use=no
31415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31416 ac_ext=c
31417 ac_cpp='$CPP $CPPFLAGS'
31418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31427 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31429 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31430 for ac_func in _logf
31431 do :
31432 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31433 if test "x$ac_cv_func__logf" = x""yes; then :
31434 cat >>confdefs.h <<_ACEOF
31435 #define HAVE__LOGF 1
31436 _ACEOF
31439 done
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31449 $as_echo_n "checking for log10f declaration... " >&6; }
31450 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31451 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31452 $as_echo_n "(cached) " >&6
31453 else
31456 ac_ext=cpp
31457 ac_cpp='$CXXCPP $CPPFLAGS'
31458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31463 /* end confdefs.h. */
31464 #include <math.h>
31465 #ifdef HAVE_IEEEFP_H
31466 #include <ieeefp.h>
31467 #endif
31470 main ()
31472 log10f(0);
31474 return 0;
31476 _ACEOF
31477 if ac_fn_cxx_try_compile "$LINENO"; then :
31478 glibcxx_cv_func_log10f_use=yes
31479 else
31480 glibcxx_cv_func_log10f_use=no
31482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31483 ac_ext=c
31484 ac_cpp='$CPP $CPPFLAGS'
31485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31494 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31496 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31497 for ac_func in log10f
31498 do :
31499 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31500 if test "x$ac_cv_func_log10f" = x""yes; then :
31501 cat >>confdefs.h <<_ACEOF
31502 #define HAVE_LOG10F 1
31503 _ACEOF
31506 done
31508 else
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31511 $as_echo_n "checking for _log10f declaration... " >&6; }
31512 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31513 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31514 $as_echo_n "(cached) " >&6
31515 else
31518 ac_ext=cpp
31519 ac_cpp='$CXXCPP $CPPFLAGS'
31520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31525 /* end confdefs.h. */
31526 #include <math.h>
31527 #ifdef HAVE_IEEEFP_H
31528 #include <ieeefp.h>
31529 #endif
31532 main ()
31534 _log10f(0);
31536 return 0;
31538 _ACEOF
31539 if ac_fn_cxx_try_compile "$LINENO"; then :
31540 glibcxx_cv_func__log10f_use=yes
31541 else
31542 glibcxx_cv_func__log10f_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__log10f_use" >&5
31556 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31558 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31559 for ac_func in _log10f
31560 do :
31561 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31562 if test "x$ac_cv_func__log10f" = x""yes; then :
31563 cat >>confdefs.h <<_ACEOF
31564 #define HAVE__LOG10F 1
31565 _ACEOF
31568 done
31577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31578 $as_echo_n "checking for modff declaration... " >&6; }
31579 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31580 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
31599 return 0;
31601 _ACEOF
31602 if ac_fn_cxx_try_compile "$LINENO"; then :
31603 glibcxx_cv_func_modff_use=yes
31604 else
31605 glibcxx_cv_func_modff_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_modff_use" >&5
31619 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31621 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31622 for ac_func in modff
31623 do :
31624 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31625 if test "x$ac_cv_func_modff" = x""yes; then :
31626 cat >>confdefs.h <<_ACEOF
31627 #define HAVE_MODFF 1
31628 _ACEOF
31631 done
31633 else
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31636 $as_echo_n "checking for _modff declaration... " >&6; }
31637 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31638 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
31657 return 0;
31659 _ACEOF
31660 if ac_fn_cxx_try_compile "$LINENO"; then :
31661 glibcxx_cv_func__modff_use=yes
31662 else
31663 glibcxx_cv_func__modff_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__modff_use" >&5
31677 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31679 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31680 for ac_func in _modff
31681 do :
31682 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31683 if test "x$ac_cv_func__modff" = x""yes; then :
31684 cat >>confdefs.h <<_ACEOF
31685 #define HAVE__MODFF 1
31686 _ACEOF
31689 done
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31699 $as_echo_n "checking for modf declaration... " >&6; }
31700 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31701 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
31720 return 0;
31722 _ACEOF
31723 if ac_fn_cxx_try_compile "$LINENO"; then :
31724 glibcxx_cv_func_modf_use=yes
31725 else
31726 glibcxx_cv_func_modf_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_modf_use" >&5
31740 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31742 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31743 for ac_func in modf
31744 do :
31745 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31746 if test "x$ac_cv_func_modf" = x""yes; then :
31747 cat >>confdefs.h <<_ACEOF
31748 #define HAVE_MODF 1
31749 _ACEOF
31752 done
31754 else
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31757 $as_echo_n "checking for _modf declaration... " >&6; }
31758 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31759 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
31778 return 0;
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782 glibcxx_cv_func__modf_use=yes
31783 else
31784 glibcxx_cv_func__modf_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__modf_use" >&5
31798 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31800 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31801 for ac_func in _modf
31802 do :
31803 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31804 if test "x$ac_cv_func__modf" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE__MODF 1
31807 _ACEOF
31810 done
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31820 $as_echo_n "checking for powf declaration... " >&6; }
31821 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31822 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31837 main ()
31839 powf(0, 0);
31841 return 0;
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_powf_use=yes
31846 else
31847 glibcxx_cv_func_powf_use=no
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31861 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31863 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31864 for ac_func in powf
31865 do :
31866 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31867 if test "x$ac_cv_func_powf" = x""yes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_POWF 1
31870 _ACEOF
31873 done
31875 else
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31878 $as_echo_n "checking for _powf declaration... " >&6; }
31879 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31880 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31881 $as_echo_n "(cached) " >&6
31882 else
31885 ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31893 #include <math.h>
31895 main ()
31897 _powf(0, 0);
31899 return 0;
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903 glibcxx_cv_func__powf_use=yes
31904 else
31905 glibcxx_cv_func__powf_use=no
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908 ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31919 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31921 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31922 for ac_func in _powf
31923 do :
31924 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31925 if test "x$ac_cv_func__powf" = x""yes; then :
31926 cat >>confdefs.h <<_ACEOF
31927 #define HAVE__POWF 1
31928 _ACEOF
31931 done
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31941 $as_echo_n "checking for sqrtf declaration... " >&6; }
31942 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31943 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31944 $as_echo_n "(cached) " >&6
31945 else
31948 ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h. */
31956 #include <math.h>
31957 #ifdef HAVE_IEEEFP_H
31958 #include <ieeefp.h>
31959 #endif
31962 main ()
31964 sqrtf(0);
31966 return 0;
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func_sqrtf_use=yes
31971 else
31972 glibcxx_cv_func_sqrtf_use=no
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975 ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31986 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31988 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31989 for ac_func in sqrtf
31990 do :
31991 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31992 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE_SQRTF 1
31995 _ACEOF
31998 done
32000 else
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32003 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32004 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32005 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32006 $as_echo_n "(cached) " >&6
32007 else
32010 ac_ext=cpp
32011 ac_cpp='$CXXCPP $CPPFLAGS'
32012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h. */
32018 #include <math.h>
32019 #ifdef HAVE_IEEEFP_H
32020 #include <ieeefp.h>
32021 #endif
32024 main ()
32026 _sqrtf(0);
32028 return 0;
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func__sqrtf_use=yes
32033 else
32034 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
32048 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32050 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32051 for ac_func in _sqrtf
32052 do :
32053 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32054 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE__SQRTF 1
32057 _ACEOF
32060 done
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32070 $as_echo_n "checking for sincosf declaration... " >&6; }
32071 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32072 if test "${glibcxx_cv_func_sincosf_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>
32087 main ()
32089 sincosf(0, 0, 0);
32091 return 0;
32093 _ACEOF
32094 if ac_fn_cxx_try_compile "$LINENO"; then :
32095 glibcxx_cv_func_sincosf_use=yes
32096 else
32097 glibcxx_cv_func_sincosf_use=no
32099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32100 ac_ext=c
32101 ac_cpp='$CPP $CPPFLAGS'
32102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32111 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32113 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32114 for ac_func in sincosf
32115 do :
32116 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32117 if test "x$ac_cv_func_sincosf" = x""yes; then :
32118 cat >>confdefs.h <<_ACEOF
32119 #define HAVE_SINCOSF 1
32120 _ACEOF
32123 done
32125 else
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32128 $as_echo_n "checking for _sincosf declaration... " >&6; }
32129 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32130 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32131 $as_echo_n "(cached) " >&6
32132 else
32135 ac_ext=cpp
32136 ac_cpp='$CXXCPP $CPPFLAGS'
32137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32142 /* end confdefs.h. */
32143 #include <math.h>
32145 main ()
32147 _sincosf(0, 0, 0);
32149 return 0;
32151 _ACEOF
32152 if ac_fn_cxx_try_compile "$LINENO"; then :
32153 glibcxx_cv_func__sincosf_use=yes
32154 else
32155 glibcxx_cv_func__sincosf_use=no
32157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32158 ac_ext=c
32159 ac_cpp='$CPP $CPPFLAGS'
32160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32169 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32171 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32172 for ac_func in _sincosf
32173 do :
32174 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32175 if test "x$ac_cv_func__sincosf" = x""yes; then :
32176 cat >>confdefs.h <<_ACEOF
32177 #define HAVE__SINCOSF 1
32178 _ACEOF
32181 done
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32191 $as_echo_n "checking for finitef declaration... " >&6; }
32192 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32193 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32194 $as_echo_n "(cached) " >&6
32195 else
32198 ac_ext=cpp
32199 ac_cpp='$CXXCPP $CPPFLAGS'
32200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32205 /* end confdefs.h. */
32206 #include <math.h>
32207 #ifdef HAVE_IEEEFP_H
32208 #include <ieeefp.h>
32209 #endif
32212 main ()
32214 finitef(0);
32216 return 0;
32218 _ACEOF
32219 if ac_fn_cxx_try_compile "$LINENO"; then :
32220 glibcxx_cv_func_finitef_use=yes
32221 else
32222 glibcxx_cv_func_finitef_use=no
32224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32225 ac_ext=c
32226 ac_cpp='$CPP $CPPFLAGS'
32227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32236 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32238 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32239 for ac_func in finitef
32240 do :
32241 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32242 if test "x$ac_cv_func_finitef" = x""yes; then :
32243 cat >>confdefs.h <<_ACEOF
32244 #define HAVE_FINITEF 1
32245 _ACEOF
32248 done
32250 else
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32253 $as_echo_n "checking for _finitef declaration... " >&6; }
32254 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32255 if test "${glibcxx_cv_func__finitef_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>
32269 #ifdef HAVE_IEEEFP_H
32270 #include <ieeefp.h>
32271 #endif
32274 main ()
32276 _finitef(0);
32278 return 0;
32280 _ACEOF
32281 if ac_fn_cxx_try_compile "$LINENO"; then :
32282 glibcxx_cv_func__finitef_use=yes
32283 else
32284 glibcxx_cv_func__finitef_use=no
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287 ac_ext=c
32288 ac_cpp='$CPP $CPPFLAGS'
32289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32298 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32300 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32301 for ac_func in _finitef
32302 do :
32303 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32304 if test "x$ac_cv_func__finitef" = x""yes; then :
32305 cat >>confdefs.h <<_ACEOF
32306 #define HAVE__FINITEF 1
32307 _ACEOF
32310 done
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32320 $as_echo_n "checking for long double trig functions... " >&6; }
32321 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32322 $as_echo_n "(cached) " >&6
32323 else
32326 ac_ext=cpp
32327 ac_cpp='$CXXCPP $CPPFLAGS'
32328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32333 /* end confdefs.h. */
32334 #include <math.h>
32336 main ()
32338 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32340 return 0;
32342 _ACEOF
32343 if ac_fn_cxx_try_compile "$LINENO"; then :
32344 glibcxx_cv_func_long_double_trig_use=yes
32345 else
32346 glibcxx_cv_func_long_double_trig_use=no
32348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32349 ac_ext=c
32350 ac_cpp='$CPP $CPPFLAGS'
32351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32358 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32359 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32360 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32361 do :
32362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32364 eval as_val=\$$as_ac_var
32365 if test "x$as_val" = x""yes; then :
32366 cat >>confdefs.h <<_ACEOF
32367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32368 _ACEOF
32371 done
32373 else
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32375 $as_echo_n "checking for _long double trig functions... " >&6; }
32376 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32377 $as_echo_n "(cached) " >&6
32378 else
32381 ac_ext=cpp
32382 ac_cpp='$CXXCPP $CPPFLAGS'
32383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32388 /* end confdefs.h. */
32389 #include <math.h>
32391 main ()
32393 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32395 return 0;
32397 _ACEOF
32398 if ac_fn_cxx_try_compile "$LINENO"; then :
32399 glibcxx_cv_func__long_double_trig_use=yes
32400 else
32401 glibcxx_cv_func__long_double_trig_use=no
32403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32404 ac_ext=c
32405 ac_cpp='$CPP $CPPFLAGS'
32406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32413 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32414 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32415 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32416 do :
32417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32419 eval as_val=\$$as_ac_var
32420 if test "x$as_val" = x""yes; then :
32421 cat >>confdefs.h <<_ACEOF
32422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32423 _ACEOF
32426 done
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32436 $as_echo_n "checking for long double round functions... " >&6; }
32437 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32438 $as_echo_n "(cached) " >&6
32439 else
32442 ac_ext=cpp
32443 ac_cpp='$CXXCPP $CPPFLAGS'
32444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32449 /* end confdefs.h. */
32450 #include <math.h>
32452 main ()
32454 ceill (0); floorl (0);
32456 return 0;
32458 _ACEOF
32459 if ac_fn_cxx_try_compile "$LINENO"; then :
32460 glibcxx_cv_func_long_double_round_use=yes
32461 else
32462 glibcxx_cv_func_long_double_round_use=no
32464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32465 ac_ext=c
32466 ac_cpp='$CPP $CPPFLAGS'
32467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32474 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32475 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32476 for ac_func in ceill floorl
32477 do :
32478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32480 eval as_val=\$$as_ac_var
32481 if test "x$as_val" = x""yes; then :
32482 cat >>confdefs.h <<_ACEOF
32483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32484 _ACEOF
32487 done
32489 else
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32491 $as_echo_n "checking for _long double round functions... " >&6; }
32492 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32493 $as_echo_n "(cached) " >&6
32494 else
32497 ac_ext=cpp
32498 ac_cpp='$CXXCPP $CPPFLAGS'
32499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32504 /* end confdefs.h. */
32505 #include <math.h>
32507 main ()
32509 _ceill (0); _floorl (0);
32511 return 0;
32513 _ACEOF
32514 if ac_fn_cxx_try_compile "$LINENO"; then :
32515 glibcxx_cv_func__long_double_round_use=yes
32516 else
32517 glibcxx_cv_func__long_double_round_use=no
32519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32520 ac_ext=c
32521 ac_cpp='$CPP $CPPFLAGS'
32522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32529 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32530 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32531 for ac_func in _ceill _floorl
32532 do :
32533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32535 eval as_val=\$$as_ac_var
32536 if test "x$as_val" = x""yes; then :
32537 cat >>confdefs.h <<_ACEOF
32538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32539 _ACEOF
32542 done
32552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32553 $as_echo_n "checking for isnanl declaration... " >&6; }
32554 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32555 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32556 $as_echo_n "(cached) " >&6
32557 else
32560 ac_ext=cpp
32561 ac_cpp='$CXXCPP $CPPFLAGS'
32562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32567 /* end confdefs.h. */
32568 #include <math.h>
32569 #ifdef HAVE_IEEEFP_H
32570 #include <ieeefp.h>
32571 #endif
32574 main ()
32576 isnanl(0);
32578 return 0;
32580 _ACEOF
32581 if ac_fn_cxx_try_compile "$LINENO"; then :
32582 glibcxx_cv_func_isnanl_use=yes
32583 else
32584 glibcxx_cv_func_isnanl_use=no
32586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32587 ac_ext=c
32588 ac_cpp='$CPP $CPPFLAGS'
32589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32598 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32600 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32601 for ac_func in isnanl
32602 do :
32603 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32604 if test "x$ac_cv_func_isnanl" = x""yes; then :
32605 cat >>confdefs.h <<_ACEOF
32606 #define HAVE_ISNANL 1
32607 _ACEOF
32610 done
32612 else
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32615 $as_echo_n "checking for _isnanl declaration... " >&6; }
32616 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32617 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32618 $as_echo_n "(cached) " >&6
32619 else
32622 ac_ext=cpp
32623 ac_cpp='$CXXCPP $CPPFLAGS'
32624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32629 /* end confdefs.h. */
32630 #include <math.h>
32631 #ifdef HAVE_IEEEFP_H
32632 #include <ieeefp.h>
32633 #endif
32636 main ()
32638 _isnanl(0);
32640 return 0;
32642 _ACEOF
32643 if ac_fn_cxx_try_compile "$LINENO"; then :
32644 glibcxx_cv_func__isnanl_use=yes
32645 else
32646 glibcxx_cv_func__isnanl_use=no
32648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32649 ac_ext=c
32650 ac_cpp='$CPP $CPPFLAGS'
32651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32660 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32662 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32663 for ac_func in _isnanl
32664 do :
32665 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32666 if test "x$ac_cv_func__isnanl" = x""yes; then :
32667 cat >>confdefs.h <<_ACEOF
32668 #define HAVE__ISNANL 1
32669 _ACEOF
32672 done
32681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32682 $as_echo_n "checking for isinfl declaration... " >&6; }
32683 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32684 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32685 $as_echo_n "(cached) " >&6
32686 else
32689 ac_ext=cpp
32690 ac_cpp='$CXXCPP $CPPFLAGS'
32691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32696 /* end confdefs.h. */
32697 #include <math.h>
32698 #ifdef HAVE_IEEEFP_H
32699 #include <ieeefp.h>
32700 #endif
32703 main ()
32705 isinfl(0);
32707 return 0;
32709 _ACEOF
32710 if ac_fn_cxx_try_compile "$LINENO"; then :
32711 glibcxx_cv_func_isinfl_use=yes
32712 else
32713 glibcxx_cv_func_isinfl_use=no
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716 ac_ext=c
32717 ac_cpp='$CPP $CPPFLAGS'
32718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32727 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32729 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32730 for ac_func in isinfl
32731 do :
32732 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32733 if test "x$ac_cv_func_isinfl" = x""yes; then :
32734 cat >>confdefs.h <<_ACEOF
32735 #define HAVE_ISINFL 1
32736 _ACEOF
32739 done
32741 else
32743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32744 $as_echo_n "checking for _isinfl declaration... " >&6; }
32745 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32746 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32747 $as_echo_n "(cached) " >&6
32748 else
32751 ac_ext=cpp
32752 ac_cpp='$CXXCPP $CPPFLAGS'
32753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32758 /* end confdefs.h. */
32759 #include <math.h>
32760 #ifdef HAVE_IEEEFP_H
32761 #include <ieeefp.h>
32762 #endif
32765 main ()
32767 _isinfl(0);
32769 return 0;
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 glibcxx_cv_func__isinfl_use=yes
32774 else
32775 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
32789 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32791 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32792 for ac_func in _isinfl
32793 do :
32794 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32795 if test "x$ac_cv_func__isinfl" = x""yes; then :
32796 cat >>confdefs.h <<_ACEOF
32797 #define HAVE__ISINFL 1
32798 _ACEOF
32801 done
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32811 $as_echo_n "checking for atan2l declaration... " >&6; }
32812 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32813 if test "${glibcxx_cv_func_atan2l_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>
32828 main ()
32830 atan2l(0, 0);
32832 return 0;
32834 _ACEOF
32835 if ac_fn_cxx_try_compile "$LINENO"; then :
32836 glibcxx_cv_func_atan2l_use=yes
32837 else
32838 glibcxx_cv_func_atan2l_use=no
32840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32841 ac_ext=c
32842 ac_cpp='$CPP $CPPFLAGS'
32843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32852 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32854 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32855 for ac_func in atan2l
32856 do :
32857 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32858 if test "x$ac_cv_func_atan2l" = x""yes; then :
32859 cat >>confdefs.h <<_ACEOF
32860 #define HAVE_ATAN2L 1
32861 _ACEOF
32864 done
32866 else
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32869 $as_echo_n "checking for _atan2l declaration... " >&6; }
32870 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32871 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32872 $as_echo_n "(cached) " >&6
32873 else
32876 ac_ext=cpp
32877 ac_cpp='$CXXCPP $CPPFLAGS'
32878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32883 /* end confdefs.h. */
32884 #include <math.h>
32886 main ()
32888 _atan2l(0, 0);
32890 return 0;
32892 _ACEOF
32893 if ac_fn_cxx_try_compile "$LINENO"; then :
32894 glibcxx_cv_func__atan2l_use=yes
32895 else
32896 glibcxx_cv_func__atan2l_use=no
32898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32899 ac_ext=c
32900 ac_cpp='$CPP $CPPFLAGS'
32901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32910 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32912 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32913 for ac_func in _atan2l
32914 do :
32915 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32916 if test "x$ac_cv_func__atan2l" = x""yes; then :
32917 cat >>confdefs.h <<_ACEOF
32918 #define HAVE__ATAN2L 1
32919 _ACEOF
32922 done
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32932 $as_echo_n "checking for expl declaration... " >&6; }
32933 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32934 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32935 $as_echo_n "(cached) " >&6
32936 else
32939 ac_ext=cpp
32940 ac_cpp='$CXXCPP $CPPFLAGS'
32941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32946 /* end confdefs.h. */
32947 #include <math.h>
32948 #ifdef HAVE_IEEEFP_H
32949 #include <ieeefp.h>
32950 #endif
32953 main ()
32955 expl(0);
32957 return 0;
32959 _ACEOF
32960 if ac_fn_cxx_try_compile "$LINENO"; then :
32961 glibcxx_cv_func_expl_use=yes
32962 else
32963 glibcxx_cv_func_expl_use=no
32965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32966 ac_ext=c
32967 ac_cpp='$CPP $CPPFLAGS'
32968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32977 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32979 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32980 for ac_func in expl
32981 do :
32982 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32983 if test "x$ac_cv_func_expl" = x""yes; then :
32984 cat >>confdefs.h <<_ACEOF
32985 #define HAVE_EXPL 1
32986 _ACEOF
32989 done
32991 else
32993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32994 $as_echo_n "checking for _expl declaration... " >&6; }
32995 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32996 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32997 $as_echo_n "(cached) " >&6
32998 else
33001 ac_ext=cpp
33002 ac_cpp='$CXXCPP $CPPFLAGS'
33003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33008 /* end confdefs.h. */
33009 #include <math.h>
33010 #ifdef HAVE_IEEEFP_H
33011 #include <ieeefp.h>
33012 #endif
33015 main ()
33017 _expl(0);
33019 return 0;
33021 _ACEOF
33022 if ac_fn_cxx_try_compile "$LINENO"; then :
33023 glibcxx_cv_func__expl_use=yes
33024 else
33025 glibcxx_cv_func__expl_use=no
33027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 ac_ext=c
33029 ac_cpp='$CPP $CPPFLAGS'
33030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33039 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33041 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33042 for ac_func in _expl
33043 do :
33044 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33045 if test "x$ac_cv_func__expl" = x""yes; then :
33046 cat >>confdefs.h <<_ACEOF
33047 #define HAVE__EXPL 1
33048 _ACEOF
33051 done
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33061 $as_echo_n "checking for fabsl declaration... " >&6; }
33062 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33063 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33064 $as_echo_n "(cached) " >&6
33065 else
33068 ac_ext=cpp
33069 ac_cpp='$CXXCPP $CPPFLAGS'
33070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33075 /* end confdefs.h. */
33076 #include <math.h>
33077 #ifdef HAVE_IEEEFP_H
33078 #include <ieeefp.h>
33079 #endif
33082 main ()
33084 fabsl(0);
33086 return 0;
33088 _ACEOF
33089 if ac_fn_cxx_try_compile "$LINENO"; then :
33090 glibcxx_cv_func_fabsl_use=yes
33091 else
33092 glibcxx_cv_func_fabsl_use=no
33094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33095 ac_ext=c
33096 ac_cpp='$CPP $CPPFLAGS'
33097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33106 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33108 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33109 for ac_func in fabsl
33110 do :
33111 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33112 if test "x$ac_cv_func_fabsl" = x""yes; then :
33113 cat >>confdefs.h <<_ACEOF
33114 #define HAVE_FABSL 1
33115 _ACEOF
33118 done
33120 else
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33123 $as_echo_n "checking for _fabsl declaration... " >&6; }
33124 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33125 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33126 $as_echo_n "(cached) " >&6
33127 else
33130 ac_ext=cpp
33131 ac_cpp='$CXXCPP $CPPFLAGS'
33132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33137 /* end confdefs.h. */
33138 #include <math.h>
33139 #ifdef HAVE_IEEEFP_H
33140 #include <ieeefp.h>
33141 #endif
33144 main ()
33146 _fabsl(0);
33148 return 0;
33150 _ACEOF
33151 if ac_fn_cxx_try_compile "$LINENO"; then :
33152 glibcxx_cv_func__fabsl_use=yes
33153 else
33154 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
33168 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33170 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33171 for ac_func in _fabsl
33172 do :
33173 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33174 if test "x$ac_cv_func__fabsl" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE__FABSL 1
33177 _ACEOF
33180 done
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33190 $as_echo_n "checking for fmodl declaration... " >&6; }
33191 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33192 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
33211 return 0;
33213 _ACEOF
33214 if ac_fn_cxx_try_compile "$LINENO"; then :
33215 glibcxx_cv_func_fmodl_use=yes
33216 else
33217 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
33231 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33233 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33234 for ac_func in fmodl
33235 do :
33236 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33237 if test "x$ac_cv_func_fmodl" = x""yes; then :
33238 cat >>confdefs.h <<_ACEOF
33239 #define HAVE_FMODL 1
33240 _ACEOF
33243 done
33245 else
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33248 $as_echo_n "checking for _fmodl declaration... " >&6; }
33249 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33250 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
33269 return 0;
33271 _ACEOF
33272 if ac_fn_cxx_try_compile "$LINENO"; then :
33273 glibcxx_cv_func__fmodl_use=yes
33274 else
33275 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
33289 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33291 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33292 for ac_func in _fmodl
33293 do :
33294 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33295 if test "x$ac_cv_func__fmodl" = x""yes; then :
33296 cat >>confdefs.h <<_ACEOF
33297 #define HAVE__FMODL 1
33298 _ACEOF
33301 done
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33311 $as_echo_n "checking for frexpl declaration... " >&6; }
33312 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33313 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
33332 return 0;
33334 _ACEOF
33335 if ac_fn_cxx_try_compile "$LINENO"; then :
33336 glibcxx_cv_func_frexpl_use=yes
33337 else
33338 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
33352 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33354 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33355 for ac_func in frexpl
33356 do :
33357 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33358 if test "x$ac_cv_func_frexpl" = x""yes; then :
33359 cat >>confdefs.h <<_ACEOF
33360 #define HAVE_FREXPL 1
33361 _ACEOF
33364 done
33366 else
33368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33369 $as_echo_n "checking for _frexpl declaration... " >&6; }
33370 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33371 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
33390 return 0;
33392 _ACEOF
33393 if ac_fn_cxx_try_compile "$LINENO"; then :
33394 glibcxx_cv_func__frexpl_use=yes
33395 else
33396 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
33410 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33412 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33413 for ac_func in _frexpl
33414 do :
33415 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33416 if test "x$ac_cv_func__frexpl" = x""yes; then :
33417 cat >>confdefs.h <<_ACEOF
33418 #define HAVE__FREXPL 1
33419 _ACEOF
33422 done
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33432 $as_echo_n "checking for hypotl declaration... " >&6; }
33433 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33434 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
33453 return 0;
33455 _ACEOF
33456 if ac_fn_cxx_try_compile "$LINENO"; then :
33457 glibcxx_cv_func_hypotl_use=yes
33458 else
33459 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
33473 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33475 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33476 for ac_func in hypotl
33477 do :
33478 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33479 if test "x$ac_cv_func_hypotl" = x""yes; then :
33480 cat >>confdefs.h <<_ACEOF
33481 #define HAVE_HYPOTL 1
33482 _ACEOF
33485 done
33487 else
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33490 $as_echo_n "checking for _hypotl declaration... " >&6; }
33491 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33492 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
33511 return 0;
33513 _ACEOF
33514 if ac_fn_cxx_try_compile "$LINENO"; then :
33515 glibcxx_cv_func__hypotl_use=yes
33516 else
33517 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
33531 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33533 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33534 for ac_func in _hypotl
33535 do :
33536 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33537 if test "x$ac_cv_func__hypotl" = x""yes; then :
33538 cat >>confdefs.h <<_ACEOF
33539 #define HAVE__HYPOTL 1
33540 _ACEOF
33543 done
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33553 $as_echo_n "checking for ldexpl declaration... " >&6; }
33554 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33555 if test "${glibcxx_cv_func_ldexpl_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>
33570 main ()
33572 ldexpl(0, 0);
33574 return 0;
33576 _ACEOF
33577 if ac_fn_cxx_try_compile "$LINENO"; then :
33578 glibcxx_cv_func_ldexpl_use=yes
33579 else
33580 glibcxx_cv_func_ldexpl_use=no
33582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33594 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33596 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33597 for ac_func in ldexpl
33598 do :
33599 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33600 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33601 cat >>confdefs.h <<_ACEOF
33602 #define HAVE_LDEXPL 1
33603 _ACEOF
33606 done
33608 else
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33611 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33612 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33613 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33614 $as_echo_n "(cached) " >&6
33615 else
33618 ac_ext=cpp
33619 ac_cpp='$CXXCPP $CPPFLAGS'
33620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626 #include <math.h>
33628 main ()
33630 _ldexpl(0, 0);
33632 return 0;
33634 _ACEOF
33635 if ac_fn_cxx_try_compile "$LINENO"; then :
33636 glibcxx_cv_func__ldexpl_use=yes
33637 else
33638 glibcxx_cv_func__ldexpl_use=no
33640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33641 ac_ext=c
33642 ac_cpp='$CPP $CPPFLAGS'
33643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33652 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33654 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33655 for ac_func in _ldexpl
33656 do :
33657 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33658 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33659 cat >>confdefs.h <<_ACEOF
33660 #define HAVE__LDEXPL 1
33661 _ACEOF
33664 done
33673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33674 $as_echo_n "checking for logl declaration... " >&6; }
33675 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33676 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33677 $as_echo_n "(cached) " >&6
33678 else
33681 ac_ext=cpp
33682 ac_cpp='$CXXCPP $CPPFLAGS'
33683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33688 /* end confdefs.h. */
33689 #include <math.h>
33690 #ifdef HAVE_IEEEFP_H
33691 #include <ieeefp.h>
33692 #endif
33695 main ()
33697 logl(0);
33699 return 0;
33701 _ACEOF
33702 if ac_fn_cxx_try_compile "$LINENO"; then :
33703 glibcxx_cv_func_logl_use=yes
33704 else
33705 glibcxx_cv_func_logl_use=no
33707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33708 ac_ext=c
33709 ac_cpp='$CPP $CPPFLAGS'
33710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33719 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33721 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33722 for ac_func in logl
33723 do :
33724 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33725 if test "x$ac_cv_func_logl" = x""yes; then :
33726 cat >>confdefs.h <<_ACEOF
33727 #define HAVE_LOGL 1
33728 _ACEOF
33731 done
33733 else
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33736 $as_echo_n "checking for _logl declaration... " >&6; }
33737 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33738 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33739 $as_echo_n "(cached) " >&6
33740 else
33743 ac_ext=cpp
33744 ac_cpp='$CXXCPP $CPPFLAGS'
33745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33750 /* end confdefs.h. */
33751 #include <math.h>
33752 #ifdef HAVE_IEEEFP_H
33753 #include <ieeefp.h>
33754 #endif
33757 main ()
33759 _logl(0);
33761 return 0;
33763 _ACEOF
33764 if ac_fn_cxx_try_compile "$LINENO"; then :
33765 glibcxx_cv_func__logl_use=yes
33766 else
33767 glibcxx_cv_func__logl_use=no
33769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33770 ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33781 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33783 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33784 for ac_func in _logl
33785 do :
33786 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33787 if test "x$ac_cv_func__logl" = x""yes; then :
33788 cat >>confdefs.h <<_ACEOF
33789 #define HAVE__LOGL 1
33790 _ACEOF
33793 done
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33803 $as_echo_n "checking for log10l declaration... " >&6; }
33804 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33805 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33806 $as_echo_n "(cached) " >&6
33807 else
33810 ac_ext=cpp
33811 ac_cpp='$CXXCPP $CPPFLAGS'
33812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33817 /* end confdefs.h. */
33818 #include <math.h>
33819 #ifdef HAVE_IEEEFP_H
33820 #include <ieeefp.h>
33821 #endif
33824 main ()
33826 log10l(0);
33828 return 0;
33830 _ACEOF
33831 if ac_fn_cxx_try_compile "$LINENO"; then :
33832 glibcxx_cv_func_log10l_use=yes
33833 else
33834 glibcxx_cv_func_log10l_use=no
33836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33837 ac_ext=c
33838 ac_cpp='$CPP $CPPFLAGS'
33839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33848 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33850 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33851 for ac_func in log10l
33852 do :
33853 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33854 if test "x$ac_cv_func_log10l" = x""yes; then :
33855 cat >>confdefs.h <<_ACEOF
33856 #define HAVE_LOG10L 1
33857 _ACEOF
33860 done
33862 else
33864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33865 $as_echo_n "checking for _log10l declaration... " >&6; }
33866 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33867 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33868 $as_echo_n "(cached) " >&6
33869 else
33872 ac_ext=cpp
33873 ac_cpp='$CXXCPP $CPPFLAGS'
33874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33879 /* end confdefs.h. */
33880 #include <math.h>
33881 #ifdef HAVE_IEEEFP_H
33882 #include <ieeefp.h>
33883 #endif
33886 main ()
33888 _log10l(0);
33890 return 0;
33892 _ACEOF
33893 if ac_fn_cxx_try_compile "$LINENO"; then :
33894 glibcxx_cv_func__log10l_use=yes
33895 else
33896 glibcxx_cv_func__log10l_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__log10l_use" >&5
33910 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33912 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33913 for ac_func in _log10l
33914 do :
33915 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33916 if test "x$ac_cv_func__log10l" = x""yes; then :
33917 cat >>confdefs.h <<_ACEOF
33918 #define HAVE__LOG10L 1
33919 _ACEOF
33922 done
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33932 $as_echo_n "checking for modfl declaration... " >&6; }
33933 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33934 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
33953 return 0;
33955 _ACEOF
33956 if ac_fn_cxx_try_compile "$LINENO"; then :
33957 glibcxx_cv_func_modfl_use=yes
33958 else
33959 glibcxx_cv_func_modfl_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_modfl_use" >&5
33973 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33975 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33976 for ac_func in modfl
33977 do :
33978 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33979 if test "x$ac_cv_func_modfl" = x""yes; then :
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE_MODFL 1
33982 _ACEOF
33985 done
33987 else
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33990 $as_echo_n "checking for _modfl declaration... " >&6; }
33991 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33992 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
34011 return 0;
34013 _ACEOF
34014 if ac_fn_cxx_try_compile "$LINENO"; then :
34015 glibcxx_cv_func__modfl_use=yes
34016 else
34017 glibcxx_cv_func__modfl_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__modfl_use" >&5
34031 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34033 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34034 for ac_func in _modfl
34035 do :
34036 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34037 if test "x$ac_cv_func__modfl" = x""yes; then :
34038 cat >>confdefs.h <<_ACEOF
34039 #define HAVE__MODFL 1
34040 _ACEOF
34043 done
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34053 $as_echo_n "checking for powl declaration... " >&6; }
34054 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34055 if test "${glibcxx_cv_func_powl_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>
34070 main ()
34072 powl(0, 0);
34074 return 0;
34076 _ACEOF
34077 if ac_fn_cxx_try_compile "$LINENO"; then :
34078 glibcxx_cv_func_powl_use=yes
34079 else
34080 glibcxx_cv_func_powl_use=no
34082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34083 ac_ext=c
34084 ac_cpp='$CPP $CPPFLAGS'
34085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34094 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34096 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34097 for ac_func in powl
34098 do :
34099 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34100 if test "x$ac_cv_func_powl" = x""yes; then :
34101 cat >>confdefs.h <<_ACEOF
34102 #define HAVE_POWL 1
34103 _ACEOF
34106 done
34108 else
34110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34111 $as_echo_n "checking for _powl declaration... " >&6; }
34112 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34113 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34114 $as_echo_n "(cached) " >&6
34115 else
34118 ac_ext=cpp
34119 ac_cpp='$CXXCPP $CPPFLAGS'
34120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34125 /* end confdefs.h. */
34126 #include <math.h>
34128 main ()
34130 _powl(0, 0);
34132 return 0;
34134 _ACEOF
34135 if ac_fn_cxx_try_compile "$LINENO"; then :
34136 glibcxx_cv_func__powl_use=yes
34137 else
34138 glibcxx_cv_func__powl_use=no
34140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34141 ac_ext=c
34142 ac_cpp='$CPP $CPPFLAGS'
34143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34152 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34154 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34155 for ac_func in _powl
34156 do :
34157 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34158 if test "x$ac_cv_func__powl" = x""yes; then :
34159 cat >>confdefs.h <<_ACEOF
34160 #define HAVE__POWL 1
34161 _ACEOF
34164 done
34173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34174 $as_echo_n "checking for sqrtl declaration... " >&6; }
34175 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34176 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34177 $as_echo_n "(cached) " >&6
34178 else
34181 ac_ext=cpp
34182 ac_cpp='$CXXCPP $CPPFLAGS'
34183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34188 /* end confdefs.h. */
34189 #include <math.h>
34190 #ifdef HAVE_IEEEFP_H
34191 #include <ieeefp.h>
34192 #endif
34195 main ()
34197 sqrtl(0);
34199 return 0;
34201 _ACEOF
34202 if ac_fn_cxx_try_compile "$LINENO"; then :
34203 glibcxx_cv_func_sqrtl_use=yes
34204 else
34205 glibcxx_cv_func_sqrtl_use=no
34207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208 ac_ext=c
34209 ac_cpp='$CPP $CPPFLAGS'
34210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34219 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34221 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34222 for ac_func in sqrtl
34223 do :
34224 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34225 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34226 cat >>confdefs.h <<_ACEOF
34227 #define HAVE_SQRTL 1
34228 _ACEOF
34231 done
34233 else
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34236 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34237 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34238 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34239 $as_echo_n "(cached) " >&6
34240 else
34243 ac_ext=cpp
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34250 /* end confdefs.h. */
34251 #include <math.h>
34252 #ifdef HAVE_IEEEFP_H
34253 #include <ieeefp.h>
34254 #endif
34257 main ()
34259 _sqrtl(0);
34261 return 0;
34263 _ACEOF
34264 if ac_fn_cxx_try_compile "$LINENO"; then :
34265 glibcxx_cv_func__sqrtl_use=yes
34266 else
34267 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
34281 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34283 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34284 for ac_func in _sqrtl
34285 do :
34286 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34287 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34288 cat >>confdefs.h <<_ACEOF
34289 #define HAVE__SQRTL 1
34290 _ACEOF
34293 done
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34303 $as_echo_n "checking for sincosl declaration... " >&6; }
34304 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34305 if test "${glibcxx_cv_func_sincosl_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>
34320 main ()
34322 sincosl(0, 0, 0);
34324 return 0;
34326 _ACEOF
34327 if ac_fn_cxx_try_compile "$LINENO"; then :
34328 glibcxx_cv_func_sincosl_use=yes
34329 else
34330 glibcxx_cv_func_sincosl_use=no
34332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34333 ac_ext=c
34334 ac_cpp='$CPP $CPPFLAGS'
34335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34344 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34346 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34347 for ac_func in sincosl
34348 do :
34349 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34350 if test "x$ac_cv_func_sincosl" = x""yes; then :
34351 cat >>confdefs.h <<_ACEOF
34352 #define HAVE_SINCOSL 1
34353 _ACEOF
34356 done
34358 else
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34361 $as_echo_n "checking for _sincosl declaration... " >&6; }
34362 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34363 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34364 $as_echo_n "(cached) " >&6
34365 else
34368 ac_ext=cpp
34369 ac_cpp='$CXXCPP $CPPFLAGS'
34370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34375 /* end confdefs.h. */
34376 #include <math.h>
34378 main ()
34380 _sincosl(0, 0, 0);
34382 return 0;
34384 _ACEOF
34385 if ac_fn_cxx_try_compile "$LINENO"; then :
34386 glibcxx_cv_func__sincosl_use=yes
34387 else
34388 glibcxx_cv_func__sincosl_use=no
34390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34391 ac_ext=c
34392 ac_cpp='$CPP $CPPFLAGS'
34393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34402 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34404 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34405 for ac_func in _sincosl
34406 do :
34407 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34408 if test "x$ac_cv_func__sincosl" = x""yes; then :
34409 cat >>confdefs.h <<_ACEOF
34410 #define HAVE__SINCOSL 1
34411 _ACEOF
34414 done
34423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34424 $as_echo_n "checking for finitel declaration... " >&6; }
34425 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34426 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34427 $as_echo_n "(cached) " >&6
34428 else
34431 ac_ext=cpp
34432 ac_cpp='$CXXCPP $CPPFLAGS'
34433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34438 /* end confdefs.h. */
34439 #include <math.h>
34440 #ifdef HAVE_IEEEFP_H
34441 #include <ieeefp.h>
34442 #endif
34445 main ()
34447 finitel(0);
34449 return 0;
34451 _ACEOF
34452 if ac_fn_cxx_try_compile "$LINENO"; then :
34453 glibcxx_cv_func_finitel_use=yes
34454 else
34455 glibcxx_cv_func_finitel_use=no
34457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458 ac_ext=c
34459 ac_cpp='$CPP $CPPFLAGS'
34460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34469 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34471 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34472 for ac_func in finitel
34473 do :
34474 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34475 if test "x$ac_cv_func_finitel" = x""yes; then :
34476 cat >>confdefs.h <<_ACEOF
34477 #define HAVE_FINITEL 1
34478 _ACEOF
34481 done
34483 else
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34486 $as_echo_n "checking for _finitel declaration... " >&6; }
34487 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34488 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34489 $as_echo_n "(cached) " >&6
34490 else
34493 ac_ext=cpp
34494 ac_cpp='$CXXCPP $CPPFLAGS'
34495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34500 /* end confdefs.h. */
34501 #include <math.h>
34502 #ifdef HAVE_IEEEFP_H
34503 #include <ieeefp.h>
34504 #endif
34507 main ()
34509 _finitel(0);
34511 return 0;
34513 _ACEOF
34514 if ac_fn_cxx_try_compile "$LINENO"; then :
34515 glibcxx_cv_func__finitel_use=yes
34516 else
34517 glibcxx_cv_func__finitel_use=no
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520 ac_ext=c
34521 ac_cpp='$CPP $CPPFLAGS'
34522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34531 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34533 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34534 for ac_func in _finitel
34535 do :
34536 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34537 if test "x$ac_cv_func__finitel" = x""yes; then :
34538 cat >>confdefs.h <<_ACEOF
34539 #define HAVE__FINITEL 1
34540 _ACEOF
34543 done
34551 LIBS="$ac_save_LIBS"
34552 CXXFLAGS="$ac_save_CXXFLAGS"
34555 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34556 ac_save_CXXFLAGS="$CXXFLAGS"
34557 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34561 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34562 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34563 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34564 $as_echo_n "(cached) " >&6
34565 else
34568 ac_ext=cpp
34569 ac_cpp='$CXXCPP $CPPFLAGS'
34570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34575 /* end confdefs.h. */
34576 #include <stdlib.h>
34578 main ()
34580 at_quick_exit(0);
34582 return 0;
34584 _ACEOF
34585 if ac_fn_cxx_try_compile "$LINENO"; then :
34586 glibcxx_cv_func_at_quick_exit_use=yes
34587 else
34588 glibcxx_cv_func_at_quick_exit_use=no
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_ext=c
34592 ac_cpp='$CPP $CPPFLAGS'
34593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34602 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34603 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34604 for ac_func in at_quick_exit
34605 do :
34606 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34607 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34608 cat >>confdefs.h <<_ACEOF
34609 #define HAVE_AT_QUICK_EXIT 1
34610 _ACEOF
34613 done
34618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34619 $as_echo_n "checking for quick_exit declaration... " >&6; }
34620 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34621 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34622 $as_echo_n "(cached) " >&6
34623 else
34626 ac_ext=cpp
34627 ac_cpp='$CXXCPP $CPPFLAGS'
34628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34633 /* end confdefs.h. */
34634 #include <stdlib.h>
34636 main ()
34638 quick_exit(0);
34640 return 0;
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644 glibcxx_cv_func_quick_exit_use=yes
34645 else
34646 glibcxx_cv_func_quick_exit_use=no
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34660 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34661 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34662 for ac_func in quick_exit
34663 do :
34664 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34665 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34666 cat >>confdefs.h <<_ACEOF
34667 #define HAVE_QUICK_EXIT 1
34668 _ACEOF
34671 done
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34677 $as_echo_n "checking for strtold declaration... " >&6; }
34678 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34679 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34680 $as_echo_n "(cached) " >&6
34681 else
34684 ac_ext=cpp
34685 ac_cpp='$CXXCPP $CPPFLAGS'
34686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34691 /* end confdefs.h. */
34692 #include <stdlib.h>
34694 main ()
34696 strtold(0, 0);
34698 return 0;
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702 glibcxx_cv_func_strtold_use=yes
34703 else
34704 glibcxx_cv_func_strtold_use=no
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34718 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34719 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34720 for ac_func in strtold
34721 do :
34722 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34723 if test "x$ac_cv_func_strtold" = x""yes; then :
34724 cat >>confdefs.h <<_ACEOF
34725 #define HAVE_STRTOLD 1
34726 _ACEOF
34729 done
34736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34737 $as_echo_n "checking for strtof declaration... " >&6; }
34738 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34739 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34740 $as_echo_n "(cached) " >&6
34741 else
34744 ac_ext=cpp
34745 ac_cpp='$CXXCPP $CPPFLAGS'
34746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34751 /* end confdefs.h. */
34752 #include <stdlib.h>
34754 main ()
34756 strtof(0, 0);
34758 return 0;
34760 _ACEOF
34761 if ac_fn_cxx_try_compile "$LINENO"; then :
34762 glibcxx_cv_func_strtof_use=yes
34763 else
34764 glibcxx_cv_func_strtof_use=no
34766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34767 ac_ext=c
34768 ac_cpp='$CPP $CPPFLAGS'
34769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34778 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34779 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34780 for ac_func in strtof
34781 do :
34782 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34783 if test "x$ac_cv_func_strtof" = x""yes; then :
34784 cat >>confdefs.h <<_ACEOF
34785 #define HAVE_STRTOF 1
34786 _ACEOF
34789 done
34796 CXXFLAGS="$ac_save_CXXFLAGS"
34799 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34801 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34803 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34805 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34808 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34810 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34812 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34816 spu-*-elf*)
34818 # All these tests are for C++; save the language and the compiler flags.
34819 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34820 # found in GLIBCXX_CONFIGURE.
34822 ac_ext=cpp
34823 ac_cpp='$CXXCPP $CPPFLAGS'
34824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34829 ac_save_CXXFLAGS="$CXXFLAGS"
34831 # Check for maintainer-mode bits.
34832 if test x"$USE_MAINTAINER_MODE" = xno; then
34833 WERROR=''
34834 else
34835 WERROR='-Werror'
34838 # Check for -ffunction-sections -fdata-sections
34839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34840 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34841 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34843 /* end confdefs.h. */
34844 int foo; void bar() { };
34846 main ()
34850 return 0;
34852 _ACEOF
34853 if ac_fn_cxx_try_compile "$LINENO"; then :
34854 ac_fdsections=yes
34855 else
34856 ac_fdsections=no
34858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34859 if test "$ac_test_CXXFLAGS" = set; then
34860 CXXFLAGS="$ac_save_CXXFLAGS"
34861 else
34862 # this is the suspicious part
34863 CXXFLAGS=''
34865 if test x"$ac_fdsections" = x"yes"; then
34866 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34869 $as_echo "$ac_fdsections" >&6; }
34871 ac_ext=c
34872 ac_cpp='$CPP $CPPFLAGS'
34873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34881 # If we're not using GNU ld, then there's no point in even trying these
34882 # tests. Check for that first. We should have already tested for gld
34883 # by now (in libtool), but require it now just to be safe...
34884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34889 # The name set by libtool depends on the version of libtool. Shame on us
34890 # for depending on an impl detail, but c'est la vie. Older versions used
34891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34894 # set (hence we're using an older libtool), then set it.
34895 if test x${with_gnu_ld+set} != xset; then
34896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34898 with_gnu_ld=no
34899 else
34900 with_gnu_ld=$ac_cv_prog_gnu_ld
34904 # Start by getting the version number. I think the libtool test already
34905 # does some of this, but throws away the result.
34906 glibcxx_ld_is_gold=no
34907 if test x"$with_gnu_ld" = x"yes"; then
34908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34909 $as_echo_n "checking for ld version... " >&6; }
34911 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34912 glibcxx_ld_is_gold=yes
34914 ldver=`$LD --version 2>/dev/null |
34915 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'`
34917 glibcxx_gnu_ld_version=`echo $ldver | \
34918 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34920 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34923 # Set --gc-sections.
34924 glibcxx_have_gc_sections=no
34925 if test "$glibcxx_ld_is_gold" = "yes"; then
34926 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34927 glibcxx_have_gc_sections=yes
34929 else
34930 glibcxx_gcsections_min_ld=21602
34931 if test x"$with_gnu_ld" = x"yes" &&
34932 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34933 glibcxx_have_gc_sections=yes
34936 if test "$glibcxx_have_gc_sections" = "yes"; then
34937 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34938 # NB: This flag only works reliably after 2.16.1. Configure tests
34939 # for this are difficult, so hard wire a value that should work.
34941 ac_test_CFLAGS="${CFLAGS+set}"
34942 ac_save_CFLAGS="$CFLAGS"
34943 CFLAGS='-Wl,--gc-sections'
34945 # Check for -Wl,--gc-sections
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34947 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34948 if test x$gcc_no_link = xyes; then
34949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34952 /* end confdefs.h. */
34953 int one(void) { return 1; }
34954 int two(void) { return 2; }
34957 main ()
34959 two();
34961 return 0;
34963 _ACEOF
34964 if ac_fn_c_try_link "$LINENO"; then :
34965 ac_gcsections=yes
34966 else
34967 ac_gcsections=no
34969 rm -f core conftest.err conftest.$ac_objext \
34970 conftest$ac_exeext conftest.$ac_ext
34971 if test "$ac_gcsections" = "yes"; then
34972 rm -f conftest.c
34973 touch conftest.c
34974 if $CC -c conftest.c; then
34975 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34976 grep "Warning: gc-sections option ignored" > /dev/null; then
34977 ac_gcsections=no
34980 rm -f conftest.c conftest.o conftest
34982 if test "$ac_gcsections" = "yes"; then
34983 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34986 $as_echo "$ac_gcsections" >&6; }
34988 if test "$ac_test_CFLAGS" = set; then
34989 CFLAGS="$ac_save_CFLAGS"
34990 else
34991 # this is the suspicious part
34992 CFLAGS=''
34996 # Set -z,relro.
34997 # Note this is only for shared objects.
34998 ac_ld_relro=no
34999 if test x"$with_gnu_ld" = x"yes"; then
35000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35002 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35003 if test -n "$cxx_z_relo"; then
35004 OPT_LDFLAGS="-Wl,-z,relro"
35005 ac_ld_relro=yes
35007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35008 $as_echo "$ac_ld_relro" >&6; }
35011 # Set linker optimization flags.
35012 if test x"$with_gnu_ld" = x"yes"; then
35013 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35020 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35021 ac_save_CXXFLAGS="$CXXFLAGS"
35022 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35025 $as_echo_n "checking for sin in -lm... " >&6; }
35026 if test "${ac_cv_lib_m_sin+set}" = set; then :
35027 $as_echo_n "(cached) " >&6
35028 else
35029 ac_check_lib_save_LIBS=$LIBS
35030 LIBS="-lm $LIBS"
35031 if test x$gcc_no_link = xyes; then
35032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h. */
35037 /* Override any GCC internal prototype to avoid an error.
35038 Use char because int might match the return type of a GCC
35039 builtin and then its argument prototype would still apply. */
35040 #ifdef __cplusplus
35041 extern "C"
35042 #endif
35043 char sin ();
35045 main ()
35047 return sin ();
35049 return 0;
35051 _ACEOF
35052 if ac_fn_c_try_link "$LINENO"; then :
35053 ac_cv_lib_m_sin=yes
35054 else
35055 ac_cv_lib_m_sin=no
35057 rm -f core conftest.err conftest.$ac_objext \
35058 conftest$ac_exeext conftest.$ac_ext
35059 LIBS=$ac_check_lib_save_LIBS
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35062 $as_echo "$ac_cv_lib_m_sin" >&6; }
35063 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35064 libm="-lm"
35067 ac_save_LIBS="$LIBS"
35068 LIBS="$LIBS $libm"
35072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35073 $as_echo_n "checking for isinf declaration... " >&6; }
35074 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35075 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35076 $as_echo_n "(cached) " >&6
35077 else
35080 ac_ext=cpp
35081 ac_cpp='$CXXCPP $CPPFLAGS'
35082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35087 /* end confdefs.h. */
35088 #include <math.h>
35089 #ifdef HAVE_IEEEFP_H
35090 #include <ieeefp.h>
35091 #endif
35094 main ()
35096 isinf(0);
35098 return 0;
35100 _ACEOF
35101 if ac_fn_cxx_try_compile "$LINENO"; then :
35102 glibcxx_cv_func_isinf_use=yes
35103 else
35104 glibcxx_cv_func_isinf_use=no
35106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35107 ac_ext=c
35108 ac_cpp='$CPP $CPPFLAGS'
35109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35118 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35120 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35121 for ac_func in isinf
35122 do :
35123 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35124 if test "x$ac_cv_func_isinf" = x""yes; then :
35125 cat >>confdefs.h <<_ACEOF
35126 #define HAVE_ISINF 1
35127 _ACEOF
35130 done
35132 else
35134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35135 $as_echo_n "checking for _isinf declaration... " >&6; }
35136 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35137 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35138 $as_echo_n "(cached) " >&6
35139 else
35142 ac_ext=cpp
35143 ac_cpp='$CXXCPP $CPPFLAGS'
35144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35149 /* end confdefs.h. */
35150 #include <math.h>
35151 #ifdef HAVE_IEEEFP_H
35152 #include <ieeefp.h>
35153 #endif
35156 main ()
35158 _isinf(0);
35160 return 0;
35162 _ACEOF
35163 if ac_fn_cxx_try_compile "$LINENO"; then :
35164 glibcxx_cv_func__isinf_use=yes
35165 else
35166 glibcxx_cv_func__isinf_use=no
35168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35169 ac_ext=c
35170 ac_cpp='$CPP $CPPFLAGS'
35171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35180 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35182 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35183 for ac_func in _isinf
35184 do :
35185 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35186 if test "x$ac_cv_func__isinf" = x""yes; then :
35187 cat >>confdefs.h <<_ACEOF
35188 #define HAVE__ISINF 1
35189 _ACEOF
35192 done
35201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35202 $as_echo_n "checking for isnan declaration... " >&6; }
35203 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35204 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35205 $as_echo_n "(cached) " >&6
35206 else
35209 ac_ext=cpp
35210 ac_cpp='$CXXCPP $CPPFLAGS'
35211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35216 /* end confdefs.h. */
35217 #include <math.h>
35218 #ifdef HAVE_IEEEFP_H
35219 #include <ieeefp.h>
35220 #endif
35223 main ()
35225 isnan(0);
35227 return 0;
35229 _ACEOF
35230 if ac_fn_cxx_try_compile "$LINENO"; then :
35231 glibcxx_cv_func_isnan_use=yes
35232 else
35233 glibcxx_cv_func_isnan_use=no
35235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35236 ac_ext=c
35237 ac_cpp='$CPP $CPPFLAGS'
35238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35247 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35249 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35250 for ac_func in isnan
35251 do :
35252 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35253 if test "x$ac_cv_func_isnan" = x""yes; then :
35254 cat >>confdefs.h <<_ACEOF
35255 #define HAVE_ISNAN 1
35256 _ACEOF
35259 done
35261 else
35263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35264 $as_echo_n "checking for _isnan declaration... " >&6; }
35265 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35266 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35267 $as_echo_n "(cached) " >&6
35268 else
35271 ac_ext=cpp
35272 ac_cpp='$CXXCPP $CPPFLAGS'
35273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35278 /* end confdefs.h. */
35279 #include <math.h>
35280 #ifdef HAVE_IEEEFP_H
35281 #include <ieeefp.h>
35282 #endif
35285 main ()
35287 _isnan(0);
35289 return 0;
35291 _ACEOF
35292 if ac_fn_cxx_try_compile "$LINENO"; then :
35293 glibcxx_cv_func__isnan_use=yes
35294 else
35295 glibcxx_cv_func__isnan_use=no
35297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35298 ac_ext=c
35299 ac_cpp='$CPP $CPPFLAGS'
35300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35309 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35311 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35312 for ac_func in _isnan
35313 do :
35314 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35315 if test "x$ac_cv_func__isnan" = x""yes; then :
35316 cat >>confdefs.h <<_ACEOF
35317 #define HAVE__ISNAN 1
35318 _ACEOF
35321 done
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35331 $as_echo_n "checking for finite declaration... " >&6; }
35332 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35333 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35334 $as_echo_n "(cached) " >&6
35335 else
35338 ac_ext=cpp
35339 ac_cpp='$CXXCPP $CPPFLAGS'
35340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35345 /* end confdefs.h. */
35346 #include <math.h>
35347 #ifdef HAVE_IEEEFP_H
35348 #include <ieeefp.h>
35349 #endif
35352 main ()
35354 finite(0);
35356 return 0;
35358 _ACEOF
35359 if ac_fn_cxx_try_compile "$LINENO"; then :
35360 glibcxx_cv_func_finite_use=yes
35361 else
35362 glibcxx_cv_func_finite_use=no
35364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35365 ac_ext=c
35366 ac_cpp='$CPP $CPPFLAGS'
35367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35376 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35378 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35379 for ac_func in finite
35380 do :
35381 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35382 if test "x$ac_cv_func_finite" = x""yes; then :
35383 cat >>confdefs.h <<_ACEOF
35384 #define HAVE_FINITE 1
35385 _ACEOF
35388 done
35390 else
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35393 $as_echo_n "checking for _finite declaration... " >&6; }
35394 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35395 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35396 $as_echo_n "(cached) " >&6
35397 else
35400 ac_ext=cpp
35401 ac_cpp='$CXXCPP $CPPFLAGS'
35402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35407 /* end confdefs.h. */
35408 #include <math.h>
35409 #ifdef HAVE_IEEEFP_H
35410 #include <ieeefp.h>
35411 #endif
35414 main ()
35416 _finite(0);
35418 return 0;
35420 _ACEOF
35421 if ac_fn_cxx_try_compile "$LINENO"; then :
35422 glibcxx_cv_func__finite_use=yes
35423 else
35424 glibcxx_cv_func__finite_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__finite_use" >&5
35438 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35440 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35441 for ac_func in _finite
35442 do :
35443 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35444 if test "x$ac_cv_func__finite" = x""yes; then :
35445 cat >>confdefs.h <<_ACEOF
35446 #define HAVE__FINITE 1
35447 _ACEOF
35450 done
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35460 $as_echo_n "checking for sincos declaration... " >&6; }
35461 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35462 if test "${glibcxx_cv_func_sincos_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>
35477 main ()
35479 sincos(0, 0, 0);
35481 return 0;
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485 glibcxx_cv_func_sincos_use=yes
35486 else
35487 glibcxx_cv_func_sincos_use=no
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 ac_ext=c
35491 ac_cpp='$CPP $CPPFLAGS'
35492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35501 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35503 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35504 for ac_func in sincos
35505 do :
35506 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35507 if test "x$ac_cv_func_sincos" = x""yes; then :
35508 cat >>confdefs.h <<_ACEOF
35509 #define HAVE_SINCOS 1
35510 _ACEOF
35513 done
35515 else
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35518 $as_echo_n "checking for _sincos declaration... " >&6; }
35519 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35520 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35521 $as_echo_n "(cached) " >&6
35522 else
35525 ac_ext=cpp
35526 ac_cpp='$CXXCPP $CPPFLAGS'
35527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35532 /* end confdefs.h. */
35533 #include <math.h>
35535 main ()
35537 _sincos(0, 0, 0);
35539 return 0;
35541 _ACEOF
35542 if ac_fn_cxx_try_compile "$LINENO"; then :
35543 glibcxx_cv_func__sincos_use=yes
35544 else
35545 glibcxx_cv_func__sincos_use=no
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548 ac_ext=c
35549 ac_cpp='$CPP $CPPFLAGS'
35550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35559 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35561 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35562 for ac_func in _sincos
35563 do :
35564 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35565 if test "x$ac_cv_func__sincos" = x""yes; then :
35566 cat >>confdefs.h <<_ACEOF
35567 #define HAVE__SINCOS 1
35568 _ACEOF
35571 done
35580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35581 $as_echo_n "checking for fpclass declaration... " >&6; }
35582 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35583 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35584 $as_echo_n "(cached) " >&6
35585 else
35588 ac_ext=cpp
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35595 /* end confdefs.h. */
35596 #include <math.h>
35597 #ifdef HAVE_IEEEFP_H
35598 #include <ieeefp.h>
35599 #endif
35602 main ()
35604 fpclass(0);
35606 return 0;
35608 _ACEOF
35609 if ac_fn_cxx_try_compile "$LINENO"; then :
35610 glibcxx_cv_func_fpclass_use=yes
35611 else
35612 glibcxx_cv_func_fpclass_use=no
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 ac_ext=c
35616 ac_cpp='$CPP $CPPFLAGS'
35617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35626 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35628 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35629 for ac_func in fpclass
35630 do :
35631 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35632 if test "x$ac_cv_func_fpclass" = x""yes; then :
35633 cat >>confdefs.h <<_ACEOF
35634 #define HAVE_FPCLASS 1
35635 _ACEOF
35638 done
35640 else
35642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35643 $as_echo_n "checking for _fpclass declaration... " >&6; }
35644 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35645 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35646 $as_echo_n "(cached) " >&6
35647 else
35650 ac_ext=cpp
35651 ac_cpp='$CXXCPP $CPPFLAGS'
35652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35658 #include <math.h>
35659 #ifdef HAVE_IEEEFP_H
35660 #include <ieeefp.h>
35661 #endif
35664 main ()
35666 _fpclass(0);
35668 return 0;
35670 _ACEOF
35671 if ac_fn_cxx_try_compile "$LINENO"; then :
35672 glibcxx_cv_func__fpclass_use=yes
35673 else
35674 glibcxx_cv_func__fpclass_use=no
35676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35677 ac_ext=c
35678 ac_cpp='$CPP $CPPFLAGS'
35679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35688 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35690 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35691 for ac_func in _fpclass
35692 do :
35693 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35694 if test "x$ac_cv_func__fpclass" = x""yes; then :
35695 cat >>confdefs.h <<_ACEOF
35696 #define HAVE__FPCLASS 1
35697 _ACEOF
35700 done
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35710 $as_echo_n "checking for qfpclass declaration... " >&6; }
35711 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35712 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35713 $as_echo_n "(cached) " >&6
35714 else
35717 ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h. */
35725 #include <math.h>
35726 #ifdef HAVE_IEEEFP_H
35727 #include <ieeefp.h>
35728 #endif
35731 main ()
35733 qfpclass(0);
35735 return 0;
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739 glibcxx_cv_func_qfpclass_use=yes
35740 else
35741 glibcxx_cv_func_qfpclass_use=no
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35755 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35757 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35758 for ac_func in qfpclass
35759 do :
35760 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35761 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35762 cat >>confdefs.h <<_ACEOF
35763 #define HAVE_QFPCLASS 1
35764 _ACEOF
35767 done
35769 else
35771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35772 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35773 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35774 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35775 $as_echo_n "(cached) " >&6
35776 else
35779 ac_ext=cpp
35780 ac_cpp='$CXXCPP $CPPFLAGS'
35781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35786 /* end confdefs.h. */
35787 #include <math.h>
35788 #ifdef HAVE_IEEEFP_H
35789 #include <ieeefp.h>
35790 #endif
35793 main ()
35795 _qfpclass(0);
35797 return 0;
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801 glibcxx_cv_func__qfpclass_use=yes
35802 else
35803 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
35817 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35819 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35820 for ac_func in _qfpclass
35821 do :
35822 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35823 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35824 cat >>confdefs.h <<_ACEOF
35825 #define HAVE__QFPCLASS 1
35826 _ACEOF
35829 done
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35839 $as_echo_n "checking for hypot declaration... " >&6; }
35840 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35841 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35842 $as_echo_n "(cached) " >&6
35843 else
35846 ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <math.h>
35856 main ()
35858 hypot(0, 0);
35860 return 0;
35862 _ACEOF
35863 if ac_fn_cxx_try_compile "$LINENO"; then :
35864 glibcxx_cv_func_hypot_use=yes
35865 else
35866 glibcxx_cv_func_hypot_use=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869 ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35880 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35882 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35883 for ac_func in hypot
35884 do :
35885 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35886 if test "x$ac_cv_func_hypot" = x""yes; then :
35887 cat >>confdefs.h <<_ACEOF
35888 #define HAVE_HYPOT 1
35889 _ACEOF
35892 done
35894 else
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35897 $as_echo_n "checking for _hypot declaration... " >&6; }
35898 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35899 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35900 $as_echo_n "(cached) " >&6
35901 else
35904 ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 _hypot(0, 0);
35918 return 0;
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922 glibcxx_cv_func__hypot_use=yes
35923 else
35924 glibcxx_cv_func__hypot_use=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35938 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35940 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35941 for ac_func in _hypot
35942 do :
35943 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35944 if test "x$ac_cv_func__hypot" = x""yes; then :
35945 cat >>confdefs.h <<_ACEOF
35946 #define HAVE__HYPOT 1
35947 _ACEOF
35950 done
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35960 $as_echo_n "checking for float trig functions... " >&6; }
35961 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35962 $as_echo_n "(cached) " >&6
35963 else
35966 ac_ext=cpp
35967 ac_cpp='$CXXCPP $CPPFLAGS'
35968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35973 /* end confdefs.h. */
35974 #include <math.h>
35976 main ()
35978 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35980 return 0;
35982 _ACEOF
35983 if ac_fn_cxx_try_compile "$LINENO"; then :
35984 glibcxx_cv_func_float_trig_use=yes
35985 else
35986 glibcxx_cv_func_float_trig_use=no
35988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35989 ac_ext=c
35990 ac_cpp='$CPP $CPPFLAGS'
35991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35998 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35999 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36000 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36001 do :
36002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36004 eval as_val=\$$as_ac_var
36005 if test "x$as_val" = x""yes; then :
36006 cat >>confdefs.h <<_ACEOF
36007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36008 _ACEOF
36011 done
36013 else
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36015 $as_echo_n "checking for _float trig functions... " >&6; }
36016 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36017 $as_echo_n "(cached) " >&6
36018 else
36021 ac_ext=cpp
36022 ac_cpp='$CXXCPP $CPPFLAGS'
36023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36028 /* end confdefs.h. */
36029 #include <math.h>
36031 main ()
36033 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36035 return 0;
36037 _ACEOF
36038 if ac_fn_cxx_try_compile "$LINENO"; then :
36039 glibcxx_cv_func__float_trig_use=yes
36040 else
36041 glibcxx_cv_func__float_trig_use=no
36043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36044 ac_ext=c
36045 ac_cpp='$CPP $CPPFLAGS'
36046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36053 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36054 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36055 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36056 do :
36057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36059 eval as_val=\$$as_ac_var
36060 if test "x$as_val" = x""yes; then :
36061 cat >>confdefs.h <<_ACEOF
36062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36063 _ACEOF
36066 done
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36076 $as_echo_n "checking for float round functions... " >&6; }
36077 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36078 $as_echo_n "(cached) " >&6
36079 else
36082 ac_ext=cpp
36083 ac_cpp='$CXXCPP $CPPFLAGS'
36084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36089 /* end confdefs.h. */
36090 #include <math.h>
36092 main ()
36094 ceilf (0); floorf (0);
36096 return 0;
36098 _ACEOF
36099 if ac_fn_cxx_try_compile "$LINENO"; then :
36100 glibcxx_cv_func_float_round_use=yes
36101 else
36102 glibcxx_cv_func_float_round_use=no
36104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36105 ac_ext=c
36106 ac_cpp='$CPP $CPPFLAGS'
36107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36114 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36115 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36116 for ac_func in ceilf floorf
36117 do :
36118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36120 eval as_val=\$$as_ac_var
36121 if test "x$as_val" = x""yes; then :
36122 cat >>confdefs.h <<_ACEOF
36123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36124 _ACEOF
36127 done
36129 else
36130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36131 $as_echo_n "checking for _float round functions... " >&6; }
36132 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36133 $as_echo_n "(cached) " >&6
36134 else
36137 ac_ext=cpp
36138 ac_cpp='$CXXCPP $CPPFLAGS'
36139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36144 /* end confdefs.h. */
36145 #include <math.h>
36147 main ()
36149 _ceilf (0); _floorf (0);
36151 return 0;
36153 _ACEOF
36154 if ac_fn_cxx_try_compile "$LINENO"; then :
36155 glibcxx_cv_func__float_round_use=yes
36156 else
36157 glibcxx_cv_func__float_round_use=no
36159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36160 ac_ext=c
36161 ac_cpp='$CPP $CPPFLAGS'
36162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36169 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36170 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36171 for ac_func in _ceilf _floorf
36172 do :
36173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36175 eval as_val=\$$as_ac_var
36176 if test "x$as_val" = x""yes; then :
36177 cat >>confdefs.h <<_ACEOF
36178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36179 _ACEOF
36182 done
36192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36193 $as_echo_n "checking for expf declaration... " >&6; }
36194 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36195 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36196 $as_echo_n "(cached) " >&6
36197 else
36200 ac_ext=cpp
36201 ac_cpp='$CXXCPP $CPPFLAGS'
36202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36207 /* end confdefs.h. */
36208 #include <math.h>
36209 #ifdef HAVE_IEEEFP_H
36210 #include <ieeefp.h>
36211 #endif
36214 main ()
36216 expf(0);
36218 return 0;
36220 _ACEOF
36221 if ac_fn_cxx_try_compile "$LINENO"; then :
36222 glibcxx_cv_func_expf_use=yes
36223 else
36224 glibcxx_cv_func_expf_use=no
36226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36227 ac_ext=c
36228 ac_cpp='$CPP $CPPFLAGS'
36229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36238 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36240 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36241 for ac_func in expf
36242 do :
36243 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36244 if test "x$ac_cv_func_expf" = x""yes; then :
36245 cat >>confdefs.h <<_ACEOF
36246 #define HAVE_EXPF 1
36247 _ACEOF
36250 done
36252 else
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36255 $as_echo_n "checking for _expf declaration... " >&6; }
36256 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36257 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36258 $as_echo_n "(cached) " >&6
36259 else
36262 ac_ext=cpp
36263 ac_cpp='$CXXCPP $CPPFLAGS'
36264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36269 /* end confdefs.h. */
36270 #include <math.h>
36271 #ifdef HAVE_IEEEFP_H
36272 #include <ieeefp.h>
36273 #endif
36276 main ()
36278 _expf(0);
36280 return 0;
36282 _ACEOF
36283 if ac_fn_cxx_try_compile "$LINENO"; then :
36284 glibcxx_cv_func__expf_use=yes
36285 else
36286 glibcxx_cv_func__expf_use=no
36288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36289 ac_ext=c
36290 ac_cpp='$CPP $CPPFLAGS'
36291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36300 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36302 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36303 for ac_func in _expf
36304 do :
36305 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36306 if test "x$ac_cv_func__expf" = x""yes; then :
36307 cat >>confdefs.h <<_ACEOF
36308 #define HAVE__EXPF 1
36309 _ACEOF
36312 done
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36322 $as_echo_n "checking for isnanf declaration... " >&6; }
36323 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36324 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36325 $as_echo_n "(cached) " >&6
36326 else
36329 ac_ext=cpp
36330 ac_cpp='$CXXCPP $CPPFLAGS'
36331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36336 /* end confdefs.h. */
36337 #include <math.h>
36338 #ifdef HAVE_IEEEFP_H
36339 #include <ieeefp.h>
36340 #endif
36343 main ()
36345 isnanf(0);
36347 return 0;
36349 _ACEOF
36350 if ac_fn_cxx_try_compile "$LINENO"; then :
36351 glibcxx_cv_func_isnanf_use=yes
36352 else
36353 glibcxx_cv_func_isnanf_use=no
36355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356 ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36367 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36369 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36370 for ac_func in isnanf
36371 do :
36372 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36373 if test "x$ac_cv_func_isnanf" = x""yes; then :
36374 cat >>confdefs.h <<_ACEOF
36375 #define HAVE_ISNANF 1
36376 _ACEOF
36379 done
36381 else
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36384 $as_echo_n "checking for _isnanf declaration... " >&6; }
36385 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36386 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36387 $as_echo_n "(cached) " >&6
36388 else
36391 ac_ext=cpp
36392 ac_cpp='$CXXCPP $CPPFLAGS'
36393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36398 /* end confdefs.h. */
36399 #include <math.h>
36400 #ifdef HAVE_IEEEFP_H
36401 #include <ieeefp.h>
36402 #endif
36405 main ()
36407 _isnanf(0);
36409 return 0;
36411 _ACEOF
36412 if ac_fn_cxx_try_compile "$LINENO"; then :
36413 glibcxx_cv_func__isnanf_use=yes
36414 else
36415 glibcxx_cv_func__isnanf_use=no
36417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36418 ac_ext=c
36419 ac_cpp='$CPP $CPPFLAGS'
36420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36429 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36431 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36432 for ac_func in _isnanf
36433 do :
36434 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36435 if test "x$ac_cv_func__isnanf" = x""yes; then :
36436 cat >>confdefs.h <<_ACEOF
36437 #define HAVE__ISNANF 1
36438 _ACEOF
36441 done
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36451 $as_echo_n "checking for isinff declaration... " >&6; }
36452 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36453 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36454 $as_echo_n "(cached) " >&6
36455 else
36458 ac_ext=cpp
36459 ac_cpp='$CXXCPP $CPPFLAGS'
36460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36465 /* end confdefs.h. */
36466 #include <math.h>
36467 #ifdef HAVE_IEEEFP_H
36468 #include <ieeefp.h>
36469 #endif
36472 main ()
36474 isinff(0);
36476 return 0;
36478 _ACEOF
36479 if ac_fn_cxx_try_compile "$LINENO"; then :
36480 glibcxx_cv_func_isinff_use=yes
36481 else
36482 glibcxx_cv_func_isinff_use=no
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485 ac_ext=c
36486 ac_cpp='$CPP $CPPFLAGS'
36487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36496 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36498 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36499 for ac_func in isinff
36500 do :
36501 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36502 if test "x$ac_cv_func_isinff" = x""yes; then :
36503 cat >>confdefs.h <<_ACEOF
36504 #define HAVE_ISINFF 1
36505 _ACEOF
36508 done
36510 else
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36513 $as_echo_n "checking for _isinff declaration... " >&6; }
36514 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36515 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36516 $as_echo_n "(cached) " >&6
36517 else
36520 ac_ext=cpp
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36527 /* end confdefs.h. */
36528 #include <math.h>
36529 #ifdef HAVE_IEEEFP_H
36530 #include <ieeefp.h>
36531 #endif
36534 main ()
36536 _isinff(0);
36538 return 0;
36540 _ACEOF
36541 if ac_fn_cxx_try_compile "$LINENO"; then :
36542 glibcxx_cv_func__isinff_use=yes
36543 else
36544 glibcxx_cv_func__isinff_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__isinff_use" >&5
36558 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36560 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36561 for ac_func in _isinff
36562 do :
36563 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36564 if test "x$ac_cv_func__isinff" = x""yes; then :
36565 cat >>confdefs.h <<_ACEOF
36566 #define HAVE__ISINFF 1
36567 _ACEOF
36570 done
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36580 $as_echo_n "checking for atan2f declaration... " >&6; }
36581 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36582 if test "${glibcxx_cv_func_atan2f_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>
36597 main ()
36599 atan2f(0, 0);
36601 return 0;
36603 _ACEOF
36604 if ac_fn_cxx_try_compile "$LINENO"; then :
36605 glibcxx_cv_func_atan2f_use=yes
36606 else
36607 glibcxx_cv_func_atan2f_use=no
36609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36610 ac_ext=c
36611 ac_cpp='$CPP $CPPFLAGS'
36612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36621 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36623 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36624 for ac_func in atan2f
36625 do :
36626 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36627 if test "x$ac_cv_func_atan2f" = x""yes; then :
36628 cat >>confdefs.h <<_ACEOF
36629 #define HAVE_ATAN2F 1
36630 _ACEOF
36633 done
36635 else
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36638 $as_echo_n "checking for _atan2f declaration... " >&6; }
36639 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36640 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36641 $as_echo_n "(cached) " >&6
36642 else
36645 ac_ext=cpp
36646 ac_cpp='$CXXCPP $CPPFLAGS'
36647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36652 /* end confdefs.h. */
36653 #include <math.h>
36655 main ()
36657 _atan2f(0, 0);
36659 return 0;
36661 _ACEOF
36662 if ac_fn_cxx_try_compile "$LINENO"; then :
36663 glibcxx_cv_func__atan2f_use=yes
36664 else
36665 glibcxx_cv_func__atan2f_use=no
36667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36668 ac_ext=c
36669 ac_cpp='$CPP $CPPFLAGS'
36670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36679 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36681 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36682 for ac_func in _atan2f
36683 do :
36684 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36685 if test "x$ac_cv_func__atan2f" = x""yes; then :
36686 cat >>confdefs.h <<_ACEOF
36687 #define HAVE__ATAN2F 1
36688 _ACEOF
36691 done
36700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36701 $as_echo_n "checking for fabsf declaration... " >&6; }
36702 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36703 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36704 $as_echo_n "(cached) " >&6
36705 else
36708 ac_ext=cpp
36709 ac_cpp='$CXXCPP $CPPFLAGS'
36710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36715 /* end confdefs.h. */
36716 #include <math.h>
36717 #ifdef HAVE_IEEEFP_H
36718 #include <ieeefp.h>
36719 #endif
36722 main ()
36724 fabsf(0);
36726 return 0;
36728 _ACEOF
36729 if ac_fn_cxx_try_compile "$LINENO"; then :
36730 glibcxx_cv_func_fabsf_use=yes
36731 else
36732 glibcxx_cv_func_fabsf_use=no
36734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36735 ac_ext=c
36736 ac_cpp='$CPP $CPPFLAGS'
36737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36746 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36748 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36749 for ac_func in fabsf
36750 do :
36751 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36752 if test "x$ac_cv_func_fabsf" = x""yes; then :
36753 cat >>confdefs.h <<_ACEOF
36754 #define HAVE_FABSF 1
36755 _ACEOF
36758 done
36760 else
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36763 $as_echo_n "checking for _fabsf declaration... " >&6; }
36764 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36765 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36766 $as_echo_n "(cached) " >&6
36767 else
36770 ac_ext=cpp
36771 ac_cpp='$CXXCPP $CPPFLAGS'
36772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36777 /* end confdefs.h. */
36778 #include <math.h>
36779 #ifdef HAVE_IEEEFP_H
36780 #include <ieeefp.h>
36781 #endif
36784 main ()
36786 _fabsf(0);
36788 return 0;
36790 _ACEOF
36791 if ac_fn_cxx_try_compile "$LINENO"; then :
36792 glibcxx_cv_func__fabsf_use=yes
36793 else
36794 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
36808 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36810 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36811 for ac_func in _fabsf
36812 do :
36813 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36814 if test "x$ac_cv_func__fabsf" = x""yes; then :
36815 cat >>confdefs.h <<_ACEOF
36816 #define HAVE__FABSF 1
36817 _ACEOF
36820 done
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36830 $as_echo_n "checking for fmodf declaration... " >&6; }
36831 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36832 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
36851 return 0;
36853 _ACEOF
36854 if ac_fn_cxx_try_compile "$LINENO"; then :
36855 glibcxx_cv_func_fmodf_use=yes
36856 else
36857 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
36871 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36873 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36874 for ac_func in fmodf
36875 do :
36876 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36877 if test "x$ac_cv_func_fmodf" = x""yes; then :
36878 cat >>confdefs.h <<_ACEOF
36879 #define HAVE_FMODF 1
36880 _ACEOF
36883 done
36885 else
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36888 $as_echo_n "checking for _fmodf declaration... " >&6; }
36889 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36890 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
36909 return 0;
36911 _ACEOF
36912 if ac_fn_cxx_try_compile "$LINENO"; then :
36913 glibcxx_cv_func__fmodf_use=yes
36914 else
36915 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
36929 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36931 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36932 for ac_func in _fmodf
36933 do :
36934 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36935 if test "x$ac_cv_func__fmodf" = x""yes; then :
36936 cat >>confdefs.h <<_ACEOF
36937 #define HAVE__FMODF 1
36938 _ACEOF
36941 done
36950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36951 $as_echo_n "checking for frexpf declaration... " >&6; }
36952 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36953 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
36972 return 0;
36974 _ACEOF
36975 if ac_fn_cxx_try_compile "$LINENO"; then :
36976 glibcxx_cv_func_frexpf_use=yes
36977 else
36978 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
36992 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36994 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36995 for ac_func in frexpf
36996 do :
36997 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36998 if test "x$ac_cv_func_frexpf" = x""yes; then :
36999 cat >>confdefs.h <<_ACEOF
37000 #define HAVE_FREXPF 1
37001 _ACEOF
37004 done
37006 else
37008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37009 $as_echo_n "checking for _frexpf declaration... " >&6; }
37010 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37011 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
37030 return 0;
37032 _ACEOF
37033 if ac_fn_cxx_try_compile "$LINENO"; then :
37034 glibcxx_cv_func__frexpf_use=yes
37035 else
37036 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
37050 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37052 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37053 for ac_func in _frexpf
37054 do :
37055 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37056 if test "x$ac_cv_func__frexpf" = x""yes; then :
37057 cat >>confdefs.h <<_ACEOF
37058 #define HAVE__FREXPF 1
37059 _ACEOF
37062 done
37071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37072 $as_echo_n "checking for hypotf declaration... " >&6; }
37073 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37074 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
37093 return 0;
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097 glibcxx_cv_func_hypotf_use=yes
37098 else
37099 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
37113 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37115 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37116 for ac_func in hypotf
37117 do :
37118 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37119 if test "x$ac_cv_func_hypotf" = x""yes; then :
37120 cat >>confdefs.h <<_ACEOF
37121 #define HAVE_HYPOTF 1
37122 _ACEOF
37125 done
37127 else
37129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37130 $as_echo_n "checking for _hypotf declaration... " >&6; }
37131 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37132 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
37151 return 0;
37153 _ACEOF
37154 if ac_fn_cxx_try_compile "$LINENO"; then :
37155 glibcxx_cv_func__hypotf_use=yes
37156 else
37157 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
37171 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37173 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37174 for ac_func in _hypotf
37175 do :
37176 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37177 if test "x$ac_cv_func__hypotf" = x""yes; then :
37178 cat >>confdefs.h <<_ACEOF
37179 #define HAVE__HYPOTF 1
37180 _ACEOF
37183 done
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37193 $as_echo_n "checking for ldexpf declaration... " >&6; }
37194 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37195 if test "${glibcxx_cv_func_ldexpf_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>
37210 main ()
37212 ldexpf(0, 0);
37214 return 0;
37216 _ACEOF
37217 if ac_fn_cxx_try_compile "$LINENO"; then :
37218 glibcxx_cv_func_ldexpf_use=yes
37219 else
37220 glibcxx_cv_func_ldexpf_use=no
37222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37223 ac_ext=c
37224 ac_cpp='$CPP $CPPFLAGS'
37225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37234 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37236 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37237 for ac_func in ldexpf
37238 do :
37239 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37240 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37241 cat >>confdefs.h <<_ACEOF
37242 #define HAVE_LDEXPF 1
37243 _ACEOF
37246 done
37248 else
37250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37251 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37252 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37253 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37254 $as_echo_n "(cached) " >&6
37255 else
37258 ac_ext=cpp
37259 ac_cpp='$CXXCPP $CPPFLAGS'
37260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37265 /* end confdefs.h. */
37266 #include <math.h>
37268 main ()
37270 _ldexpf(0, 0);
37272 return 0;
37274 _ACEOF
37275 if ac_fn_cxx_try_compile "$LINENO"; then :
37276 glibcxx_cv_func__ldexpf_use=yes
37277 else
37278 glibcxx_cv_func__ldexpf_use=no
37280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37281 ac_ext=c
37282 ac_cpp='$CPP $CPPFLAGS'
37283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37292 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37294 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37295 for ac_func in _ldexpf
37296 do :
37297 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37298 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37299 cat >>confdefs.h <<_ACEOF
37300 #define HAVE__LDEXPF 1
37301 _ACEOF
37304 done
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37314 $as_echo_n "checking for logf declaration... " >&6; }
37315 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37316 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37321 ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h. */
37329 #include <math.h>
37330 #ifdef HAVE_IEEEFP_H
37331 #include <ieeefp.h>
37332 #endif
37335 main ()
37337 logf(0);
37339 return 0;
37341 _ACEOF
37342 if ac_fn_cxx_try_compile "$LINENO"; then :
37343 glibcxx_cv_func_logf_use=yes
37344 else
37345 glibcxx_cv_func_logf_use=no
37347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37348 ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37359 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37361 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37362 for ac_func in logf
37363 do :
37364 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37365 if test "x$ac_cv_func_logf" = x""yes; then :
37366 cat >>confdefs.h <<_ACEOF
37367 #define HAVE_LOGF 1
37368 _ACEOF
37371 done
37373 else
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37376 $as_echo_n "checking for _logf declaration... " >&6; }
37377 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37378 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37379 $as_echo_n "(cached) " >&6
37380 else
37383 ac_ext=cpp
37384 ac_cpp='$CXXCPP $CPPFLAGS'
37385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37390 /* end confdefs.h. */
37391 #include <math.h>
37392 #ifdef HAVE_IEEEFP_H
37393 #include <ieeefp.h>
37394 #endif
37397 main ()
37399 _logf(0);
37401 return 0;
37403 _ACEOF
37404 if ac_fn_cxx_try_compile "$LINENO"; then :
37405 glibcxx_cv_func__logf_use=yes
37406 else
37407 glibcxx_cv_func__logf_use=no
37409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37410 ac_ext=c
37411 ac_cpp='$CPP $CPPFLAGS'
37412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37421 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37423 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37424 for ac_func in _logf
37425 do :
37426 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37427 if test "x$ac_cv_func__logf" = x""yes; then :
37428 cat >>confdefs.h <<_ACEOF
37429 #define HAVE__LOGF 1
37430 _ACEOF
37433 done
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37443 $as_echo_n "checking for log10f declaration... " >&6; }
37444 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37445 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37446 $as_echo_n "(cached) " >&6
37447 else
37450 ac_ext=cpp
37451 ac_cpp='$CXXCPP $CPPFLAGS'
37452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37457 /* end confdefs.h. */
37458 #include <math.h>
37459 #ifdef HAVE_IEEEFP_H
37460 #include <ieeefp.h>
37461 #endif
37464 main ()
37466 log10f(0);
37468 return 0;
37470 _ACEOF
37471 if ac_fn_cxx_try_compile "$LINENO"; then :
37472 glibcxx_cv_func_log10f_use=yes
37473 else
37474 glibcxx_cv_func_log10f_use=no
37476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37477 ac_ext=c
37478 ac_cpp='$CPP $CPPFLAGS'
37479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37488 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37490 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37491 for ac_func in log10f
37492 do :
37493 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37494 if test "x$ac_cv_func_log10f" = x""yes; then :
37495 cat >>confdefs.h <<_ACEOF
37496 #define HAVE_LOG10F 1
37497 _ACEOF
37500 done
37502 else
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37505 $as_echo_n "checking for _log10f declaration... " >&6; }
37506 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37507 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37508 $as_echo_n "(cached) " >&6
37509 else
37512 ac_ext=cpp
37513 ac_cpp='$CXXCPP $CPPFLAGS'
37514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37519 /* end confdefs.h. */
37520 #include <math.h>
37521 #ifdef HAVE_IEEEFP_H
37522 #include <ieeefp.h>
37523 #endif
37526 main ()
37528 _log10f(0);
37530 return 0;
37532 _ACEOF
37533 if ac_fn_cxx_try_compile "$LINENO"; then :
37534 glibcxx_cv_func__log10f_use=yes
37535 else
37536 glibcxx_cv_func__log10f_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__log10f_use" >&5
37550 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37552 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37553 for ac_func in _log10f
37554 do :
37555 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37556 if test "x$ac_cv_func__log10f" = x""yes; then :
37557 cat >>confdefs.h <<_ACEOF
37558 #define HAVE__LOG10F 1
37559 _ACEOF
37562 done
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37572 $as_echo_n "checking for modff declaration... " >&6; }
37573 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37574 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
37593 return 0;
37595 _ACEOF
37596 if ac_fn_cxx_try_compile "$LINENO"; then :
37597 glibcxx_cv_func_modff_use=yes
37598 else
37599 glibcxx_cv_func_modff_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_modff_use" >&5
37613 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37615 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37616 for ac_func in modff
37617 do :
37618 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37619 if test "x$ac_cv_func_modff" = x""yes; then :
37620 cat >>confdefs.h <<_ACEOF
37621 #define HAVE_MODFF 1
37622 _ACEOF
37625 done
37627 else
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37630 $as_echo_n "checking for _modff declaration... " >&6; }
37631 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37632 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
37651 return 0;
37653 _ACEOF
37654 if ac_fn_cxx_try_compile "$LINENO"; then :
37655 glibcxx_cv_func__modff_use=yes
37656 else
37657 glibcxx_cv_func__modff_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__modff_use" >&5
37671 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37673 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37674 for ac_func in _modff
37675 do :
37676 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37677 if test "x$ac_cv_func__modff" = x""yes; then :
37678 cat >>confdefs.h <<_ACEOF
37679 #define HAVE__MODFF 1
37680 _ACEOF
37683 done
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37693 $as_echo_n "checking for modf declaration... " >&6; }
37694 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37695 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
37714 return 0;
37716 _ACEOF
37717 if ac_fn_cxx_try_compile "$LINENO"; then :
37718 glibcxx_cv_func_modf_use=yes
37719 else
37720 glibcxx_cv_func_modf_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_modf_use" >&5
37734 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37736 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37737 for ac_func in modf
37738 do :
37739 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37740 if test "x$ac_cv_func_modf" = x""yes; then :
37741 cat >>confdefs.h <<_ACEOF
37742 #define HAVE_MODF 1
37743 _ACEOF
37746 done
37748 else
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37751 $as_echo_n "checking for _modf declaration... " >&6; }
37752 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37753 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
37772 return 0;
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776 glibcxx_cv_func__modf_use=yes
37777 else
37778 glibcxx_cv_func__modf_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__modf_use" >&5
37792 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37794 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37795 for ac_func in _modf
37796 do :
37797 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37798 if test "x$ac_cv_func__modf" = x""yes; then :
37799 cat >>confdefs.h <<_ACEOF
37800 #define HAVE__MODF 1
37801 _ACEOF
37804 done
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37814 $as_echo_n "checking for powf declaration... " >&6; }
37815 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37816 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37817 $as_echo_n "(cached) " >&6
37818 else
37821 ac_ext=cpp
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828 /* end confdefs.h. */
37829 #include <math.h>
37831 main ()
37833 powf(0, 0);
37835 return 0;
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839 glibcxx_cv_func_powf_use=yes
37840 else
37841 glibcxx_cv_func_powf_use=no
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37855 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37857 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37858 for ac_func in powf
37859 do :
37860 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37861 if test "x$ac_cv_func_powf" = x""yes; then :
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE_POWF 1
37864 _ACEOF
37867 done
37869 else
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37872 $as_echo_n "checking for _powf declaration... " >&6; }
37873 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37874 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37875 $as_echo_n "(cached) " >&6
37876 else
37879 ac_ext=cpp
37880 ac_cpp='$CXXCPP $CPPFLAGS'
37881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 /* end confdefs.h. */
37887 #include <math.h>
37889 main ()
37891 _powf(0, 0);
37893 return 0;
37895 _ACEOF
37896 if ac_fn_cxx_try_compile "$LINENO"; then :
37897 glibcxx_cv_func__powf_use=yes
37898 else
37899 glibcxx_cv_func__powf_use=no
37901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37902 ac_ext=c
37903 ac_cpp='$CPP $CPPFLAGS'
37904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37913 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37915 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37916 for ac_func in _powf
37917 do :
37918 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37919 if test "x$ac_cv_func__powf" = x""yes; then :
37920 cat >>confdefs.h <<_ACEOF
37921 #define HAVE__POWF 1
37922 _ACEOF
37925 done
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37935 $as_echo_n "checking for sqrtf declaration... " >&6; }
37936 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37937 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37938 $as_echo_n "(cached) " >&6
37939 else
37942 ac_ext=cpp
37943 ac_cpp='$CXXCPP $CPPFLAGS'
37944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949 /* end confdefs.h. */
37950 #include <math.h>
37951 #ifdef HAVE_IEEEFP_H
37952 #include <ieeefp.h>
37953 #endif
37956 main ()
37958 sqrtf(0);
37960 return 0;
37962 _ACEOF
37963 if ac_fn_cxx_try_compile "$LINENO"; then :
37964 glibcxx_cv_func_sqrtf_use=yes
37965 else
37966 glibcxx_cv_func_sqrtf_use=no
37968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37969 ac_ext=c
37970 ac_cpp='$CPP $CPPFLAGS'
37971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37980 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37982 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37983 for ac_func in sqrtf
37984 do :
37985 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37986 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37987 cat >>confdefs.h <<_ACEOF
37988 #define HAVE_SQRTF 1
37989 _ACEOF
37992 done
37994 else
37996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37997 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37998 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37999 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38000 $as_echo_n "(cached) " >&6
38001 else
38004 ac_ext=cpp
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38011 /* end confdefs.h. */
38012 #include <math.h>
38013 #ifdef HAVE_IEEEFP_H
38014 #include <ieeefp.h>
38015 #endif
38018 main ()
38020 _sqrtf(0);
38022 return 0;
38024 _ACEOF
38025 if ac_fn_cxx_try_compile "$LINENO"; then :
38026 glibcxx_cv_func__sqrtf_use=yes
38027 else
38028 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
38042 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38044 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38045 for ac_func in _sqrtf
38046 do :
38047 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38048 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38049 cat >>confdefs.h <<_ACEOF
38050 #define HAVE__SQRTF 1
38051 _ACEOF
38054 done
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38064 $as_echo_n "checking for sincosf declaration... " >&6; }
38065 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38066 if test "${glibcxx_cv_func_sincosf_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>
38081 main ()
38083 sincosf(0, 0, 0);
38085 return 0;
38087 _ACEOF
38088 if ac_fn_cxx_try_compile "$LINENO"; then :
38089 glibcxx_cv_func_sincosf_use=yes
38090 else
38091 glibcxx_cv_func_sincosf_use=no
38093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38105 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38107 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38108 for ac_func in sincosf
38109 do :
38110 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38111 if test "x$ac_cv_func_sincosf" = x""yes; then :
38112 cat >>confdefs.h <<_ACEOF
38113 #define HAVE_SINCOSF 1
38114 _ACEOF
38117 done
38119 else
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38122 $as_echo_n "checking for _sincosf declaration... " >&6; }
38123 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38124 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38125 $as_echo_n "(cached) " >&6
38126 else
38129 ac_ext=cpp
38130 ac_cpp='$CXXCPP $CPPFLAGS'
38131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38136 /* end confdefs.h. */
38137 #include <math.h>
38139 main ()
38141 _sincosf(0, 0, 0);
38143 return 0;
38145 _ACEOF
38146 if ac_fn_cxx_try_compile "$LINENO"; then :
38147 glibcxx_cv_func__sincosf_use=yes
38148 else
38149 glibcxx_cv_func__sincosf_use=no
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152 ac_ext=c
38153 ac_cpp='$CPP $CPPFLAGS'
38154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38163 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38165 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38166 for ac_func in _sincosf
38167 do :
38168 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38169 if test "x$ac_cv_func__sincosf" = x""yes; then :
38170 cat >>confdefs.h <<_ACEOF
38171 #define HAVE__SINCOSF 1
38172 _ACEOF
38175 done
38184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38185 $as_echo_n "checking for finitef declaration... " >&6; }
38186 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38187 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38188 $as_echo_n "(cached) " >&6
38189 else
38192 ac_ext=cpp
38193 ac_cpp='$CXXCPP $CPPFLAGS'
38194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38199 /* end confdefs.h. */
38200 #include <math.h>
38201 #ifdef HAVE_IEEEFP_H
38202 #include <ieeefp.h>
38203 #endif
38206 main ()
38208 finitef(0);
38210 return 0;
38212 _ACEOF
38213 if ac_fn_cxx_try_compile "$LINENO"; then :
38214 glibcxx_cv_func_finitef_use=yes
38215 else
38216 glibcxx_cv_func_finitef_use=no
38218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38219 ac_ext=c
38220 ac_cpp='$CPP $CPPFLAGS'
38221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38230 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38232 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38233 for ac_func in finitef
38234 do :
38235 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38236 if test "x$ac_cv_func_finitef" = x""yes; then :
38237 cat >>confdefs.h <<_ACEOF
38238 #define HAVE_FINITEF 1
38239 _ACEOF
38242 done
38244 else
38246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38247 $as_echo_n "checking for _finitef declaration... " >&6; }
38248 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38249 if test "${glibcxx_cv_func__finitef_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>
38263 #ifdef HAVE_IEEEFP_H
38264 #include <ieeefp.h>
38265 #endif
38268 main ()
38270 _finitef(0);
38272 return 0;
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276 glibcxx_cv_func__finitef_use=yes
38277 else
38278 glibcxx_cv_func__finitef_use=no
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38292 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38294 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38295 for ac_func in _finitef
38296 do :
38297 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38298 if test "x$ac_cv_func__finitef" = x""yes; then :
38299 cat >>confdefs.h <<_ACEOF
38300 #define HAVE__FINITEF 1
38301 _ACEOF
38304 done
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38314 $as_echo_n "checking for long double trig functions... " >&6; }
38315 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38316 $as_echo_n "(cached) " >&6
38317 else
38320 ac_ext=cpp
38321 ac_cpp='$CXXCPP $CPPFLAGS'
38322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38327 /* end confdefs.h. */
38328 #include <math.h>
38330 main ()
38332 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38334 return 0;
38336 _ACEOF
38337 if ac_fn_cxx_try_compile "$LINENO"; then :
38338 glibcxx_cv_func_long_double_trig_use=yes
38339 else
38340 glibcxx_cv_func_long_double_trig_use=no
38342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38343 ac_ext=c
38344 ac_cpp='$CPP $CPPFLAGS'
38345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38352 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38353 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38354 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38355 do :
38356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38358 eval as_val=\$$as_ac_var
38359 if test "x$as_val" = x""yes; then :
38360 cat >>confdefs.h <<_ACEOF
38361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38362 _ACEOF
38365 done
38367 else
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38369 $as_echo_n "checking for _long double trig functions... " >&6; }
38370 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38371 $as_echo_n "(cached) " >&6
38372 else
38375 ac_ext=cpp
38376 ac_cpp='$CXXCPP $CPPFLAGS'
38377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38382 /* end confdefs.h. */
38383 #include <math.h>
38385 main ()
38387 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38389 return 0;
38391 _ACEOF
38392 if ac_fn_cxx_try_compile "$LINENO"; then :
38393 glibcxx_cv_func__long_double_trig_use=yes
38394 else
38395 glibcxx_cv_func__long_double_trig_use=no
38397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38398 ac_ext=c
38399 ac_cpp='$CPP $CPPFLAGS'
38400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38407 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38408 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38409 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38410 do :
38411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38413 eval as_val=\$$as_ac_var
38414 if test "x$as_val" = x""yes; then :
38415 cat >>confdefs.h <<_ACEOF
38416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38417 _ACEOF
38420 done
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38430 $as_echo_n "checking for long double round functions... " >&6; }
38431 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38432 $as_echo_n "(cached) " >&6
38433 else
38436 ac_ext=cpp
38437 ac_cpp='$CXXCPP $CPPFLAGS'
38438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38443 /* end confdefs.h. */
38444 #include <math.h>
38446 main ()
38448 ceill (0); floorl (0);
38450 return 0;
38452 _ACEOF
38453 if ac_fn_cxx_try_compile "$LINENO"; then :
38454 glibcxx_cv_func_long_double_round_use=yes
38455 else
38456 glibcxx_cv_func_long_double_round_use=no
38458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38459 ac_ext=c
38460 ac_cpp='$CPP $CPPFLAGS'
38461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38468 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38469 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38470 for ac_func in ceill floorl
38471 do :
38472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38474 eval as_val=\$$as_ac_var
38475 if test "x$as_val" = x""yes; then :
38476 cat >>confdefs.h <<_ACEOF
38477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38478 _ACEOF
38481 done
38483 else
38484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38485 $as_echo_n "checking for _long double round functions... " >&6; }
38486 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38487 $as_echo_n "(cached) " >&6
38488 else
38491 ac_ext=cpp
38492 ac_cpp='$CXXCPP $CPPFLAGS'
38493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38498 /* end confdefs.h. */
38499 #include <math.h>
38501 main ()
38503 _ceill (0); _floorl (0);
38505 return 0;
38507 _ACEOF
38508 if ac_fn_cxx_try_compile "$LINENO"; then :
38509 glibcxx_cv_func__long_double_round_use=yes
38510 else
38511 glibcxx_cv_func__long_double_round_use=no
38513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38514 ac_ext=c
38515 ac_cpp='$CPP $CPPFLAGS'
38516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38523 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38524 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38525 for ac_func in _ceill _floorl
38526 do :
38527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38529 eval as_val=\$$as_ac_var
38530 if test "x$as_val" = x""yes; then :
38531 cat >>confdefs.h <<_ACEOF
38532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38533 _ACEOF
38536 done
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38547 $as_echo_n "checking for isnanl declaration... " >&6; }
38548 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38549 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38550 $as_echo_n "(cached) " >&6
38551 else
38554 ac_ext=cpp
38555 ac_cpp='$CXXCPP $CPPFLAGS'
38556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38561 /* end confdefs.h. */
38562 #include <math.h>
38563 #ifdef HAVE_IEEEFP_H
38564 #include <ieeefp.h>
38565 #endif
38568 main ()
38570 isnanl(0);
38572 return 0;
38574 _ACEOF
38575 if ac_fn_cxx_try_compile "$LINENO"; then :
38576 glibcxx_cv_func_isnanl_use=yes
38577 else
38578 glibcxx_cv_func_isnanl_use=no
38580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38581 ac_ext=c
38582 ac_cpp='$CPP $CPPFLAGS'
38583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38592 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38594 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38595 for ac_func in isnanl
38596 do :
38597 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38598 if test "x$ac_cv_func_isnanl" = x""yes; then :
38599 cat >>confdefs.h <<_ACEOF
38600 #define HAVE_ISNANL 1
38601 _ACEOF
38604 done
38606 else
38608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38609 $as_echo_n "checking for _isnanl declaration... " >&6; }
38610 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38611 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38612 $as_echo_n "(cached) " >&6
38613 else
38616 ac_ext=cpp
38617 ac_cpp='$CXXCPP $CPPFLAGS'
38618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38623 /* end confdefs.h. */
38624 #include <math.h>
38625 #ifdef HAVE_IEEEFP_H
38626 #include <ieeefp.h>
38627 #endif
38630 main ()
38632 _isnanl(0);
38634 return 0;
38636 _ACEOF
38637 if ac_fn_cxx_try_compile "$LINENO"; then :
38638 glibcxx_cv_func__isnanl_use=yes
38639 else
38640 glibcxx_cv_func__isnanl_use=no
38642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38643 ac_ext=c
38644 ac_cpp='$CPP $CPPFLAGS'
38645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38654 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38656 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38657 for ac_func in _isnanl
38658 do :
38659 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38660 if test "x$ac_cv_func__isnanl" = x""yes; then :
38661 cat >>confdefs.h <<_ACEOF
38662 #define HAVE__ISNANL 1
38663 _ACEOF
38666 done
38675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38676 $as_echo_n "checking for isinfl declaration... " >&6; }
38677 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38678 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38679 $as_echo_n "(cached) " >&6
38680 else
38683 ac_ext=cpp
38684 ac_cpp='$CXXCPP $CPPFLAGS'
38685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38690 /* end confdefs.h. */
38691 #include <math.h>
38692 #ifdef HAVE_IEEEFP_H
38693 #include <ieeefp.h>
38694 #endif
38697 main ()
38699 isinfl(0);
38701 return 0;
38703 _ACEOF
38704 if ac_fn_cxx_try_compile "$LINENO"; then :
38705 glibcxx_cv_func_isinfl_use=yes
38706 else
38707 glibcxx_cv_func_isinfl_use=no
38709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38710 ac_ext=c
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38721 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38723 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38724 for ac_func in isinfl
38725 do :
38726 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38727 if test "x$ac_cv_func_isinfl" = x""yes; then :
38728 cat >>confdefs.h <<_ACEOF
38729 #define HAVE_ISINFL 1
38730 _ACEOF
38733 done
38735 else
38737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38738 $as_echo_n "checking for _isinfl declaration... " >&6; }
38739 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38740 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38741 $as_echo_n "(cached) " >&6
38742 else
38745 ac_ext=cpp
38746 ac_cpp='$CXXCPP $CPPFLAGS'
38747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38752 /* end confdefs.h. */
38753 #include <math.h>
38754 #ifdef HAVE_IEEEFP_H
38755 #include <ieeefp.h>
38756 #endif
38759 main ()
38761 _isinfl(0);
38763 return 0;
38765 _ACEOF
38766 if ac_fn_cxx_try_compile "$LINENO"; then :
38767 glibcxx_cv_func__isinfl_use=yes
38768 else
38769 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
38783 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38785 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38786 for ac_func in _isinfl
38787 do :
38788 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38789 if test "x$ac_cv_func__isinfl" = x""yes; then :
38790 cat >>confdefs.h <<_ACEOF
38791 #define HAVE__ISINFL 1
38792 _ACEOF
38795 done
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38805 $as_echo_n "checking for atan2l declaration... " >&6; }
38806 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38807 if test "${glibcxx_cv_func_atan2l_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>
38822 main ()
38824 atan2l(0, 0);
38826 return 0;
38828 _ACEOF
38829 if ac_fn_cxx_try_compile "$LINENO"; then :
38830 glibcxx_cv_func_atan2l_use=yes
38831 else
38832 glibcxx_cv_func_atan2l_use=no
38834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38835 ac_ext=c
38836 ac_cpp='$CPP $CPPFLAGS'
38837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38846 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38848 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38849 for ac_func in atan2l
38850 do :
38851 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38852 if test "x$ac_cv_func_atan2l" = x""yes; then :
38853 cat >>confdefs.h <<_ACEOF
38854 #define HAVE_ATAN2L 1
38855 _ACEOF
38858 done
38860 else
38862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38863 $as_echo_n "checking for _atan2l declaration... " >&6; }
38864 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38865 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38866 $as_echo_n "(cached) " >&6
38867 else
38870 ac_ext=cpp
38871 ac_cpp='$CXXCPP $CPPFLAGS'
38872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38877 /* end confdefs.h. */
38878 #include <math.h>
38880 main ()
38882 _atan2l(0, 0);
38884 return 0;
38886 _ACEOF
38887 if ac_fn_cxx_try_compile "$LINENO"; then :
38888 glibcxx_cv_func__atan2l_use=yes
38889 else
38890 glibcxx_cv_func__atan2l_use=no
38892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38893 ac_ext=c
38894 ac_cpp='$CPP $CPPFLAGS'
38895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38904 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38906 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38907 for ac_func in _atan2l
38908 do :
38909 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38910 if test "x$ac_cv_func__atan2l" = x""yes; then :
38911 cat >>confdefs.h <<_ACEOF
38912 #define HAVE__ATAN2L 1
38913 _ACEOF
38916 done
38925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38926 $as_echo_n "checking for expl declaration... " >&6; }
38927 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38928 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38929 $as_echo_n "(cached) " >&6
38930 else
38933 ac_ext=cpp
38934 ac_cpp='$CXXCPP $CPPFLAGS'
38935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38940 /* end confdefs.h. */
38941 #include <math.h>
38942 #ifdef HAVE_IEEEFP_H
38943 #include <ieeefp.h>
38944 #endif
38947 main ()
38949 expl(0);
38951 return 0;
38953 _ACEOF
38954 if ac_fn_cxx_try_compile "$LINENO"; then :
38955 glibcxx_cv_func_expl_use=yes
38956 else
38957 glibcxx_cv_func_expl_use=no
38959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38960 ac_ext=c
38961 ac_cpp='$CPP $CPPFLAGS'
38962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38971 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38973 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38974 for ac_func in expl
38975 do :
38976 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38977 if test "x$ac_cv_func_expl" = x""yes; then :
38978 cat >>confdefs.h <<_ACEOF
38979 #define HAVE_EXPL 1
38980 _ACEOF
38983 done
38985 else
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38988 $as_echo_n "checking for _expl declaration... " >&6; }
38989 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38990 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38991 $as_echo_n "(cached) " >&6
38992 else
38995 ac_ext=cpp
38996 ac_cpp='$CXXCPP $CPPFLAGS'
38997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39002 /* end confdefs.h. */
39003 #include <math.h>
39004 #ifdef HAVE_IEEEFP_H
39005 #include <ieeefp.h>
39006 #endif
39009 main ()
39011 _expl(0);
39013 return 0;
39015 _ACEOF
39016 if ac_fn_cxx_try_compile "$LINENO"; then :
39017 glibcxx_cv_func__expl_use=yes
39018 else
39019 glibcxx_cv_func__expl_use=no
39021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39022 ac_ext=c
39023 ac_cpp='$CPP $CPPFLAGS'
39024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39033 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39035 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39036 for ac_func in _expl
39037 do :
39038 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39039 if test "x$ac_cv_func__expl" = x""yes; then :
39040 cat >>confdefs.h <<_ACEOF
39041 #define HAVE__EXPL 1
39042 _ACEOF
39045 done
39054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39055 $as_echo_n "checking for fabsl declaration... " >&6; }
39056 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39057 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39058 $as_echo_n "(cached) " >&6
39059 else
39062 ac_ext=cpp
39063 ac_cpp='$CXXCPP $CPPFLAGS'
39064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39069 /* end confdefs.h. */
39070 #include <math.h>
39071 #ifdef HAVE_IEEEFP_H
39072 #include <ieeefp.h>
39073 #endif
39076 main ()
39078 fabsl(0);
39080 return 0;
39082 _ACEOF
39083 if ac_fn_cxx_try_compile "$LINENO"; then :
39084 glibcxx_cv_func_fabsl_use=yes
39085 else
39086 glibcxx_cv_func_fabsl_use=no
39088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39089 ac_ext=c
39090 ac_cpp='$CPP $CPPFLAGS'
39091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39100 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39102 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39103 for ac_func in fabsl
39104 do :
39105 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39106 if test "x$ac_cv_func_fabsl" = x""yes; then :
39107 cat >>confdefs.h <<_ACEOF
39108 #define HAVE_FABSL 1
39109 _ACEOF
39112 done
39114 else
39116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39117 $as_echo_n "checking for _fabsl declaration... " >&6; }
39118 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39119 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39120 $as_echo_n "(cached) " >&6
39121 else
39124 ac_ext=cpp
39125 ac_cpp='$CXXCPP $CPPFLAGS'
39126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39131 /* end confdefs.h. */
39132 #include <math.h>
39133 #ifdef HAVE_IEEEFP_H
39134 #include <ieeefp.h>
39135 #endif
39138 main ()
39140 _fabsl(0);
39142 return 0;
39144 _ACEOF
39145 if ac_fn_cxx_try_compile "$LINENO"; then :
39146 glibcxx_cv_func__fabsl_use=yes
39147 else
39148 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
39162 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39164 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39165 for ac_func in _fabsl
39166 do :
39167 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39168 if test "x$ac_cv_func__fabsl" = x""yes; then :
39169 cat >>confdefs.h <<_ACEOF
39170 #define HAVE__FABSL 1
39171 _ACEOF
39174 done
39183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39184 $as_echo_n "checking for fmodl declaration... " >&6; }
39185 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39186 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
39205 return 0;
39207 _ACEOF
39208 if ac_fn_cxx_try_compile "$LINENO"; then :
39209 glibcxx_cv_func_fmodl_use=yes
39210 else
39211 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
39225 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39227 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39228 for ac_func in fmodl
39229 do :
39230 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39231 if test "x$ac_cv_func_fmodl" = x""yes; then :
39232 cat >>confdefs.h <<_ACEOF
39233 #define HAVE_FMODL 1
39234 _ACEOF
39237 done
39239 else
39241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39242 $as_echo_n "checking for _fmodl declaration... " >&6; }
39243 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39244 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
39263 return 0;
39265 _ACEOF
39266 if ac_fn_cxx_try_compile "$LINENO"; then :
39267 glibcxx_cv_func__fmodl_use=yes
39268 else
39269 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
39283 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39285 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39286 for ac_func in _fmodl
39287 do :
39288 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39289 if test "x$ac_cv_func__fmodl" = x""yes; then :
39290 cat >>confdefs.h <<_ACEOF
39291 #define HAVE__FMODL 1
39292 _ACEOF
39295 done
39304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39305 $as_echo_n "checking for frexpl declaration... " >&6; }
39306 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39307 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
39326 return 0;
39328 _ACEOF
39329 if ac_fn_cxx_try_compile "$LINENO"; then :
39330 glibcxx_cv_func_frexpl_use=yes
39331 else
39332 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
39346 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39348 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39349 for ac_func in frexpl
39350 do :
39351 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39352 if test "x$ac_cv_func_frexpl" = x""yes; then :
39353 cat >>confdefs.h <<_ACEOF
39354 #define HAVE_FREXPL 1
39355 _ACEOF
39358 done
39360 else
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39363 $as_echo_n "checking for _frexpl declaration... " >&6; }
39364 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39365 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
39384 return 0;
39386 _ACEOF
39387 if ac_fn_cxx_try_compile "$LINENO"; then :
39388 glibcxx_cv_func__frexpl_use=yes
39389 else
39390 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
39404 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39406 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39407 for ac_func in _frexpl
39408 do :
39409 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39410 if test "x$ac_cv_func__frexpl" = x""yes; then :
39411 cat >>confdefs.h <<_ACEOF
39412 #define HAVE__FREXPL 1
39413 _ACEOF
39416 done
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39426 $as_echo_n "checking for hypotl declaration... " >&6; }
39427 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39428 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
39447 return 0;
39449 _ACEOF
39450 if ac_fn_cxx_try_compile "$LINENO"; then :
39451 glibcxx_cv_func_hypotl_use=yes
39452 else
39453 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
39467 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39469 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39470 for ac_func in hypotl
39471 do :
39472 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39473 if test "x$ac_cv_func_hypotl" = x""yes; then :
39474 cat >>confdefs.h <<_ACEOF
39475 #define HAVE_HYPOTL 1
39476 _ACEOF
39479 done
39481 else
39483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39484 $as_echo_n "checking for _hypotl declaration... " >&6; }
39485 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39486 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
39505 return 0;
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509 glibcxx_cv_func__hypotl_use=yes
39510 else
39511 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
39525 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39527 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39528 for ac_func in _hypotl
39529 do :
39530 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39531 if test "x$ac_cv_func__hypotl" = x""yes; then :
39532 cat >>confdefs.h <<_ACEOF
39533 #define HAVE__HYPOTL 1
39534 _ACEOF
39537 done
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39547 $as_echo_n "checking for ldexpl declaration... " >&6; }
39548 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39549 if test "${glibcxx_cv_func_ldexpl_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>
39564 main ()
39566 ldexpl(0, 0);
39568 return 0;
39570 _ACEOF
39571 if ac_fn_cxx_try_compile "$LINENO"; then :
39572 glibcxx_cv_func_ldexpl_use=yes
39573 else
39574 glibcxx_cv_func_ldexpl_use=no
39576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39577 ac_ext=c
39578 ac_cpp='$CPP $CPPFLAGS'
39579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39588 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39590 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39591 for ac_func in ldexpl
39592 do :
39593 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39594 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39595 cat >>confdefs.h <<_ACEOF
39596 #define HAVE_LDEXPL 1
39597 _ACEOF
39600 done
39602 else
39604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39605 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39606 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39607 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39608 $as_echo_n "(cached) " >&6
39609 else
39612 ac_ext=cpp
39613 ac_cpp='$CXXCPP $CPPFLAGS'
39614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39619 /* end confdefs.h. */
39620 #include <math.h>
39622 main ()
39624 _ldexpl(0, 0);
39626 return 0;
39628 _ACEOF
39629 if ac_fn_cxx_try_compile "$LINENO"; then :
39630 glibcxx_cv_func__ldexpl_use=yes
39631 else
39632 glibcxx_cv_func__ldexpl_use=no
39634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39635 ac_ext=c
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39646 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39648 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39649 for ac_func in _ldexpl
39650 do :
39651 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39652 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39653 cat >>confdefs.h <<_ACEOF
39654 #define HAVE__LDEXPL 1
39655 _ACEOF
39658 done
39667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39668 $as_echo_n "checking for logl declaration... " >&6; }
39669 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39670 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39671 $as_echo_n "(cached) " >&6
39672 else
39675 ac_ext=cpp
39676 ac_cpp='$CXXCPP $CPPFLAGS'
39677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39682 /* end confdefs.h. */
39683 #include <math.h>
39684 #ifdef HAVE_IEEEFP_H
39685 #include <ieeefp.h>
39686 #endif
39689 main ()
39691 logl(0);
39693 return 0;
39695 _ACEOF
39696 if ac_fn_cxx_try_compile "$LINENO"; then :
39697 glibcxx_cv_func_logl_use=yes
39698 else
39699 glibcxx_cv_func_logl_use=no
39701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39702 ac_ext=c
39703 ac_cpp='$CPP $CPPFLAGS'
39704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39713 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39715 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39716 for ac_func in logl
39717 do :
39718 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39719 if test "x$ac_cv_func_logl" = x""yes; then :
39720 cat >>confdefs.h <<_ACEOF
39721 #define HAVE_LOGL 1
39722 _ACEOF
39725 done
39727 else
39729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39730 $as_echo_n "checking for _logl declaration... " >&6; }
39731 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39732 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39733 $as_echo_n "(cached) " >&6
39734 else
39737 ac_ext=cpp
39738 ac_cpp='$CXXCPP $CPPFLAGS'
39739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39744 /* end confdefs.h. */
39745 #include <math.h>
39746 #ifdef HAVE_IEEEFP_H
39747 #include <ieeefp.h>
39748 #endif
39751 main ()
39753 _logl(0);
39755 return 0;
39757 _ACEOF
39758 if ac_fn_cxx_try_compile "$LINENO"; then :
39759 glibcxx_cv_func__logl_use=yes
39760 else
39761 glibcxx_cv_func__logl_use=no
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764 ac_ext=c
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39775 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39777 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39778 for ac_func in _logl
39779 do :
39780 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39781 if test "x$ac_cv_func__logl" = x""yes; then :
39782 cat >>confdefs.h <<_ACEOF
39783 #define HAVE__LOGL 1
39784 _ACEOF
39787 done
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39797 $as_echo_n "checking for log10l declaration... " >&6; }
39798 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39799 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39800 $as_echo_n "(cached) " >&6
39801 else
39804 ac_ext=cpp
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h. */
39812 #include <math.h>
39813 #ifdef HAVE_IEEEFP_H
39814 #include <ieeefp.h>
39815 #endif
39818 main ()
39820 log10l(0);
39822 return 0;
39824 _ACEOF
39825 if ac_fn_cxx_try_compile "$LINENO"; then :
39826 glibcxx_cv_func_log10l_use=yes
39827 else
39828 glibcxx_cv_func_log10l_use=no
39830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39831 ac_ext=c
39832 ac_cpp='$CPP $CPPFLAGS'
39833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39842 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39844 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39845 for ac_func in log10l
39846 do :
39847 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39848 if test "x$ac_cv_func_log10l" = x""yes; then :
39849 cat >>confdefs.h <<_ACEOF
39850 #define HAVE_LOG10L 1
39851 _ACEOF
39854 done
39856 else
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39859 $as_echo_n "checking for _log10l declaration... " >&6; }
39860 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39861 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39862 $as_echo_n "(cached) " >&6
39863 else
39866 ac_ext=cpp
39867 ac_cpp='$CXXCPP $CPPFLAGS'
39868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39873 /* end confdefs.h. */
39874 #include <math.h>
39875 #ifdef HAVE_IEEEFP_H
39876 #include <ieeefp.h>
39877 #endif
39880 main ()
39882 _log10l(0);
39884 return 0;
39886 _ACEOF
39887 if ac_fn_cxx_try_compile "$LINENO"; then :
39888 glibcxx_cv_func__log10l_use=yes
39889 else
39890 glibcxx_cv_func__log10l_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__log10l_use" >&5
39904 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39906 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39907 for ac_func in _log10l
39908 do :
39909 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39910 if test "x$ac_cv_func__log10l" = x""yes; then :
39911 cat >>confdefs.h <<_ACEOF
39912 #define HAVE__LOG10L 1
39913 _ACEOF
39916 done
39925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39926 $as_echo_n "checking for modfl declaration... " >&6; }
39927 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39928 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
39947 return 0;
39949 _ACEOF
39950 if ac_fn_cxx_try_compile "$LINENO"; then :
39951 glibcxx_cv_func_modfl_use=yes
39952 else
39953 glibcxx_cv_func_modfl_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_modfl_use" >&5
39967 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39969 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39970 for ac_func in modfl
39971 do :
39972 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39973 if test "x$ac_cv_func_modfl" = x""yes; then :
39974 cat >>confdefs.h <<_ACEOF
39975 #define HAVE_MODFL 1
39976 _ACEOF
39979 done
39981 else
39983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39984 $as_echo_n "checking for _modfl declaration... " >&6; }
39985 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39986 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
40005 return 0;
40007 _ACEOF
40008 if ac_fn_cxx_try_compile "$LINENO"; then :
40009 glibcxx_cv_func__modfl_use=yes
40010 else
40011 glibcxx_cv_func__modfl_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__modfl_use" >&5
40025 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40027 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40028 for ac_func in _modfl
40029 do :
40030 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40031 if test "x$ac_cv_func__modfl" = x""yes; then :
40032 cat >>confdefs.h <<_ACEOF
40033 #define HAVE__MODFL 1
40034 _ACEOF
40037 done
40046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40047 $as_echo_n "checking for powl declaration... " >&6; }
40048 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40049 if test "${glibcxx_cv_func_powl_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>
40064 main ()
40066 powl(0, 0);
40068 return 0;
40070 _ACEOF
40071 if ac_fn_cxx_try_compile "$LINENO"; then :
40072 glibcxx_cv_func_powl_use=yes
40073 else
40074 glibcxx_cv_func_powl_use=no
40076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40077 ac_ext=c
40078 ac_cpp='$CPP $CPPFLAGS'
40079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40088 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40090 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40091 for ac_func in powl
40092 do :
40093 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40094 if test "x$ac_cv_func_powl" = x""yes; then :
40095 cat >>confdefs.h <<_ACEOF
40096 #define HAVE_POWL 1
40097 _ACEOF
40100 done
40102 else
40104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40105 $as_echo_n "checking for _powl declaration... " >&6; }
40106 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40107 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40108 $as_echo_n "(cached) " >&6
40109 else
40112 ac_ext=cpp
40113 ac_cpp='$CXXCPP $CPPFLAGS'
40114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40119 /* end confdefs.h. */
40120 #include <math.h>
40122 main ()
40124 _powl(0, 0);
40126 return 0;
40128 _ACEOF
40129 if ac_fn_cxx_try_compile "$LINENO"; then :
40130 glibcxx_cv_func__powl_use=yes
40131 else
40132 glibcxx_cv_func__powl_use=no
40134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40135 ac_ext=c
40136 ac_cpp='$CPP $CPPFLAGS'
40137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40146 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40148 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40149 for ac_func in _powl
40150 do :
40151 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40152 if test "x$ac_cv_func__powl" = x""yes; then :
40153 cat >>confdefs.h <<_ACEOF
40154 #define HAVE__POWL 1
40155 _ACEOF
40158 done
40167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40168 $as_echo_n "checking for sqrtl declaration... " >&6; }
40169 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40170 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40171 $as_echo_n "(cached) " >&6
40172 else
40175 ac_ext=cpp
40176 ac_cpp='$CXXCPP $CPPFLAGS'
40177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40182 /* end confdefs.h. */
40183 #include <math.h>
40184 #ifdef HAVE_IEEEFP_H
40185 #include <ieeefp.h>
40186 #endif
40189 main ()
40191 sqrtl(0);
40193 return 0;
40195 _ACEOF
40196 if ac_fn_cxx_try_compile "$LINENO"; then :
40197 glibcxx_cv_func_sqrtl_use=yes
40198 else
40199 glibcxx_cv_func_sqrtl_use=no
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202 ac_ext=c
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40213 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40215 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40216 for ac_func in sqrtl
40217 do :
40218 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40219 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40220 cat >>confdefs.h <<_ACEOF
40221 #define HAVE_SQRTL 1
40222 _ACEOF
40225 done
40227 else
40229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40230 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40231 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40232 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40233 $as_echo_n "(cached) " >&6
40234 else
40237 ac_ext=cpp
40238 ac_cpp='$CXXCPP $CPPFLAGS'
40239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40244 /* end confdefs.h. */
40245 #include <math.h>
40246 #ifdef HAVE_IEEEFP_H
40247 #include <ieeefp.h>
40248 #endif
40251 main ()
40253 _sqrtl(0);
40255 return 0;
40257 _ACEOF
40258 if ac_fn_cxx_try_compile "$LINENO"; then :
40259 glibcxx_cv_func__sqrtl_use=yes
40260 else
40261 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
40275 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40277 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40278 for ac_func in _sqrtl
40279 do :
40280 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40281 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40282 cat >>confdefs.h <<_ACEOF
40283 #define HAVE__SQRTL 1
40284 _ACEOF
40287 done
40296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40297 $as_echo_n "checking for sincosl declaration... " >&6; }
40298 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40299 if test "${glibcxx_cv_func_sincosl_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>
40314 main ()
40316 sincosl(0, 0, 0);
40318 return 0;
40320 _ACEOF
40321 if ac_fn_cxx_try_compile "$LINENO"; then :
40322 glibcxx_cv_func_sincosl_use=yes
40323 else
40324 glibcxx_cv_func_sincosl_use=no
40326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40327 ac_ext=c
40328 ac_cpp='$CPP $CPPFLAGS'
40329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40338 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40340 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40341 for ac_func in sincosl
40342 do :
40343 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40344 if test "x$ac_cv_func_sincosl" = x""yes; then :
40345 cat >>confdefs.h <<_ACEOF
40346 #define HAVE_SINCOSL 1
40347 _ACEOF
40350 done
40352 else
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40355 $as_echo_n "checking for _sincosl declaration... " >&6; }
40356 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40357 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40358 $as_echo_n "(cached) " >&6
40359 else
40362 ac_ext=cpp
40363 ac_cpp='$CXXCPP $CPPFLAGS'
40364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40369 /* end confdefs.h. */
40370 #include <math.h>
40372 main ()
40374 _sincosl(0, 0, 0);
40376 return 0;
40378 _ACEOF
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func__sincosl_use=yes
40381 else
40382 glibcxx_cv_func__sincosl_use=no
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40385 ac_ext=c
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40396 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40398 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40399 for ac_func in _sincosl
40400 do :
40401 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40402 if test "x$ac_cv_func__sincosl" = x""yes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE__SINCOSL 1
40405 _ACEOF
40408 done
40417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40418 $as_echo_n "checking for finitel declaration... " >&6; }
40419 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40420 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40421 $as_echo_n "(cached) " >&6
40422 else
40425 ac_ext=cpp
40426 ac_cpp='$CXXCPP $CPPFLAGS'
40427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40432 /* end confdefs.h. */
40433 #include <math.h>
40434 #ifdef HAVE_IEEEFP_H
40435 #include <ieeefp.h>
40436 #endif
40439 main ()
40441 finitel(0);
40443 return 0;
40445 _ACEOF
40446 if ac_fn_cxx_try_compile "$LINENO"; then :
40447 glibcxx_cv_func_finitel_use=yes
40448 else
40449 glibcxx_cv_func_finitel_use=no
40451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452 ac_ext=c
40453 ac_cpp='$CPP $CPPFLAGS'
40454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40463 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40465 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40466 for ac_func in finitel
40467 do :
40468 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40469 if test "x$ac_cv_func_finitel" = x""yes; then :
40470 cat >>confdefs.h <<_ACEOF
40471 #define HAVE_FINITEL 1
40472 _ACEOF
40475 done
40477 else
40479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40480 $as_echo_n "checking for _finitel declaration... " >&6; }
40481 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40482 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40483 $as_echo_n "(cached) " >&6
40484 else
40487 ac_ext=cpp
40488 ac_cpp='$CXXCPP $CPPFLAGS'
40489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40494 /* end confdefs.h. */
40495 #include <math.h>
40496 #ifdef HAVE_IEEEFP_H
40497 #include <ieeefp.h>
40498 #endif
40501 main ()
40503 _finitel(0);
40505 return 0;
40507 _ACEOF
40508 if ac_fn_cxx_try_compile "$LINENO"; then :
40509 glibcxx_cv_func__finitel_use=yes
40510 else
40511 glibcxx_cv_func__finitel_use=no
40513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40514 ac_ext=c
40515 ac_cpp='$CPP $CPPFLAGS'
40516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40525 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40527 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40528 for ac_func in _finitel
40529 do :
40530 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40531 if test "x$ac_cv_func__finitel" = x""yes; then :
40532 cat >>confdefs.h <<_ACEOF
40533 #define HAVE__FINITEL 1
40534 _ACEOF
40537 done
40545 LIBS="$ac_save_LIBS"
40546 CXXFLAGS="$ac_save_CXXFLAGS"
40549 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40550 ac_save_CXXFLAGS="$CXXFLAGS"
40551 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40555 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40556 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40557 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40558 $as_echo_n "(cached) " >&6
40559 else
40562 ac_ext=cpp
40563 ac_cpp='$CXXCPP $CPPFLAGS'
40564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40569 /* end confdefs.h. */
40570 #include <stdlib.h>
40572 main ()
40574 at_quick_exit(0);
40576 return 0;
40578 _ACEOF
40579 if ac_fn_cxx_try_compile "$LINENO"; then :
40580 glibcxx_cv_func_at_quick_exit_use=yes
40581 else
40582 glibcxx_cv_func_at_quick_exit_use=no
40584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40585 ac_ext=c
40586 ac_cpp='$CPP $CPPFLAGS'
40587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40596 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40597 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40598 for ac_func in at_quick_exit
40599 do :
40600 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40601 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40602 cat >>confdefs.h <<_ACEOF
40603 #define HAVE_AT_QUICK_EXIT 1
40604 _ACEOF
40607 done
40612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40613 $as_echo_n "checking for quick_exit declaration... " >&6; }
40614 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40615 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40616 $as_echo_n "(cached) " >&6
40617 else
40620 ac_ext=cpp
40621 ac_cpp='$CXXCPP $CPPFLAGS'
40622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40627 /* end confdefs.h. */
40628 #include <stdlib.h>
40630 main ()
40632 quick_exit(0);
40634 return 0;
40636 _ACEOF
40637 if ac_fn_cxx_try_compile "$LINENO"; then :
40638 glibcxx_cv_func_quick_exit_use=yes
40639 else
40640 glibcxx_cv_func_quick_exit_use=no
40642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40643 ac_ext=c
40644 ac_cpp='$CPP $CPPFLAGS'
40645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40654 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40655 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40656 for ac_func in quick_exit
40657 do :
40658 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40659 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40660 cat >>confdefs.h <<_ACEOF
40661 #define HAVE_QUICK_EXIT 1
40662 _ACEOF
40665 done
40670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40671 $as_echo_n "checking for strtold declaration... " >&6; }
40672 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40673 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40674 $as_echo_n "(cached) " >&6
40675 else
40678 ac_ext=cpp
40679 ac_cpp='$CXXCPP $CPPFLAGS'
40680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40685 /* end confdefs.h. */
40686 #include <stdlib.h>
40688 main ()
40690 strtold(0, 0);
40692 return 0;
40694 _ACEOF
40695 if ac_fn_cxx_try_compile "$LINENO"; then :
40696 glibcxx_cv_func_strtold_use=yes
40697 else
40698 glibcxx_cv_func_strtold_use=no
40700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40701 ac_ext=c
40702 ac_cpp='$CPP $CPPFLAGS'
40703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40712 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40713 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40714 for ac_func in strtold
40715 do :
40716 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40717 if test "x$ac_cv_func_strtold" = x""yes; then :
40718 cat >>confdefs.h <<_ACEOF
40719 #define HAVE_STRTOLD 1
40720 _ACEOF
40723 done
40730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40731 $as_echo_n "checking for strtof declaration... " >&6; }
40732 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40733 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40734 $as_echo_n "(cached) " >&6
40735 else
40738 ac_ext=cpp
40739 ac_cpp='$CXXCPP $CPPFLAGS'
40740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40745 /* end confdefs.h. */
40746 #include <stdlib.h>
40748 main ()
40750 strtof(0, 0);
40752 return 0;
40754 _ACEOF
40755 if ac_fn_cxx_try_compile "$LINENO"; then :
40756 glibcxx_cv_func_strtof_use=yes
40757 else
40758 glibcxx_cv_func_strtof_use=no
40760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40761 ac_ext=c
40762 ac_cpp='$CPP $CPPFLAGS'
40763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40772 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40773 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40774 for ac_func in strtof
40775 do :
40776 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40777 if test "x$ac_cv_func_strtof" = x""yes; then :
40778 cat >>confdefs.h <<_ACEOF
40779 #define HAVE_STRTOF 1
40780 _ACEOF
40783 done
40790 CXXFLAGS="$ac_save_CXXFLAGS"
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40798 $as_echo_n "checking for iconv... " >&6; }
40799 if test "${am_cv_func_iconv+set}" = set; then :
40800 $as_echo_n "(cached) " >&6
40801 else
40803 am_cv_func_iconv="no, consider installing GNU libiconv"
40804 am_cv_lib_iconv=no
40805 am_save_CPPFLAGS="$CPPFLAGS"
40806 CPPFLAGS="$CPPFLAGS $INCICONV"
40807 if test x$gcc_no_link = xyes; then
40808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40811 /* end confdefs.h. */
40812 #include <stdlib.h>
40813 #include <iconv.h>
40815 main ()
40817 iconv_t cd = iconv_open("","");
40818 iconv(cd,NULL,NULL,NULL,NULL);
40819 iconv_close(cd);
40821 return 0;
40823 _ACEOF
40824 if ac_fn_c_try_link "$LINENO"; then :
40825 am_cv_func_iconv=yes
40827 rm -f core conftest.err conftest.$ac_objext \
40828 conftest$ac_exeext conftest.$ac_ext
40829 CPPFLAGS="$am_save_CPPFLAGS"
40831 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40832 for _libs in .libs _libs; do
40833 am_save_CPPFLAGS="$CPPFLAGS"
40834 am_save_LIBS="$LIBS"
40835 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40836 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40837 if test x$gcc_no_link = xyes; then
40838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40841 /* end confdefs.h. */
40842 #include <stdlib.h>
40843 #include <iconv.h>
40845 main ()
40847 iconv_t cd = iconv_open("","");
40848 iconv(cd,NULL,NULL,NULL,NULL);
40849 iconv_close(cd);
40851 return 0;
40853 _ACEOF
40854 if ac_fn_c_try_link "$LINENO"; then :
40855 INCICONV="-I../libiconv/include"
40856 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40857 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40858 am_cv_lib_iconv=yes
40859 am_cv_func_iconv=yes
40861 rm -f core conftest.err conftest.$ac_objext \
40862 conftest$ac_exeext conftest.$ac_ext
40863 CPPFLAGS="$am_save_CPPFLAGS"
40864 LIBS="$am_save_LIBS"
40865 if test "$am_cv_func_iconv" = "yes"; then
40866 break
40868 done
40871 if test "$am_cv_func_iconv" != yes; then
40872 am_save_CPPFLAGS="$CPPFLAGS"
40873 am_save_LIBS="$LIBS"
40874 CPPFLAGS="$LIBS $INCICONV"
40875 LIBS="$LIBS $LIBICONV"
40876 if test x$gcc_no_link = xyes; then
40877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40880 /* end confdefs.h. */
40881 #include <stdlib.h>
40882 #include <iconv.h>
40884 main ()
40886 iconv_t cd = iconv_open("","");
40887 iconv(cd,NULL,NULL,NULL,NULL);
40888 iconv_close(cd);
40890 return 0;
40892 _ACEOF
40893 if ac_fn_c_try_link "$LINENO"; then :
40894 am_cv_lib_iconv=yes
40895 am_cv_func_iconv=yes
40897 rm -f core conftest.err conftest.$ac_objext \
40898 conftest$ac_exeext conftest.$ac_ext
40899 CPPFLAGS="$am_save_CPPFLAGS"
40900 LIBS="$am_save_LIBS"
40904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40905 $as_echo "$am_cv_func_iconv" >&6; }
40906 if test "$am_cv_func_iconv" = yes; then
40908 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40911 if test "$am_cv_lib_iconv" = yes; then
40913 for element in $INCICONV; do
40914 haveit=
40915 for x in $CPPFLAGS; do
40917 acl_save_prefix="$prefix"
40918 prefix="$acl_final_prefix"
40919 acl_save_exec_prefix="$exec_prefix"
40920 exec_prefix="$acl_final_exec_prefix"
40921 eval x=\"$x\"
40922 exec_prefix="$acl_save_exec_prefix"
40923 prefix="$acl_save_prefix"
40925 if test "X$x" = "X$element"; then
40926 haveit=yes
40927 break
40929 done
40930 if test -z "$haveit"; then
40931 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40933 done
40935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40936 $as_echo_n "checking how to link with libiconv... " >&6; }
40937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40938 $as_echo "$LIBICONV" >&6; }
40939 else
40940 LIBICONV=
40941 LTLIBICONV=
40946 if test "$am_cv_func_iconv" = yes; then
40947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40948 $as_echo_n "checking for iconv declaration... " >&6; }
40949 if test "${am_cv_proto_iconv+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40954 /* end confdefs.h. */
40956 #include <stdlib.h>
40957 #include <iconv.h>
40958 extern
40959 #ifdef __cplusplus
40961 #endif
40962 #if defined(__STDC__) || defined(__cplusplus)
40963 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40964 #else
40965 size_t iconv();
40966 #endif
40969 main ()
40973 return 0;
40975 _ACEOF
40976 if ac_fn_c_try_compile "$LINENO"; then :
40977 am_cv_proto_iconv_arg1=""
40978 else
40979 am_cv_proto_iconv_arg1="const"
40981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982 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);"
40985 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40987 }$am_cv_proto_iconv" >&5
40988 $as_echo "${ac_t:-
40989 }$am_cv_proto_iconv" >&6; }
40991 cat >>confdefs.h <<_ACEOF
40992 #define ICONV_CONST $am_cv_proto_iconv_arg1
40993 _ACEOF
40999 *-aix*)
41001 # If we're not using GNU ld, then there's no point in even trying these
41002 # tests. Check for that first. We should have already tested for gld
41003 # by now (in libtool), but require it now just to be safe...
41004 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41005 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41009 # The name set by libtool depends on the version of libtool. Shame on us
41010 # for depending on an impl detail, but c'est la vie. Older versions used
41011 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41012 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41013 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41014 # set (hence we're using an older libtool), then set it.
41015 if test x${with_gnu_ld+set} != xset; then
41016 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41017 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41018 with_gnu_ld=no
41019 else
41020 with_gnu_ld=$ac_cv_prog_gnu_ld
41024 # Start by getting the version number. I think the libtool test already
41025 # does some of this, but throws away the result.
41026 glibcxx_ld_is_gold=no
41027 if test x"$with_gnu_ld" = x"yes"; then
41028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41029 $as_echo_n "checking for ld version... " >&6; }
41031 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41032 glibcxx_ld_is_gold=yes
41034 ldver=`$LD --version 2>/dev/null |
41035 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'`
41037 glibcxx_gnu_ld_version=`echo $ldver | \
41038 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41040 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41043 # Set --gc-sections.
41044 glibcxx_have_gc_sections=no
41045 if test "$glibcxx_ld_is_gold" = "yes"; then
41046 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41047 glibcxx_have_gc_sections=yes
41049 else
41050 glibcxx_gcsections_min_ld=21602
41051 if test x"$with_gnu_ld" = x"yes" &&
41052 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41053 glibcxx_have_gc_sections=yes
41056 if test "$glibcxx_have_gc_sections" = "yes"; then
41057 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41058 # NB: This flag only works reliably after 2.16.1. Configure tests
41059 # for this are difficult, so hard wire a value that should work.
41061 ac_test_CFLAGS="${CFLAGS+set}"
41062 ac_save_CFLAGS="$CFLAGS"
41063 CFLAGS='-Wl,--gc-sections'
41065 # Check for -Wl,--gc-sections
41066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41067 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41068 if test x$gcc_no_link = xyes; then
41069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41072 /* end confdefs.h. */
41073 int one(void) { return 1; }
41074 int two(void) { return 2; }
41077 main ()
41079 two();
41081 return 0;
41083 _ACEOF
41084 if ac_fn_c_try_link "$LINENO"; then :
41085 ac_gcsections=yes
41086 else
41087 ac_gcsections=no
41089 rm -f core conftest.err conftest.$ac_objext \
41090 conftest$ac_exeext conftest.$ac_ext
41091 if test "$ac_gcsections" = "yes"; then
41092 rm -f conftest.c
41093 touch conftest.c
41094 if $CC -c conftest.c; then
41095 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41096 grep "Warning: gc-sections option ignored" > /dev/null; then
41097 ac_gcsections=no
41100 rm -f conftest.c conftest.o conftest
41102 if test "$ac_gcsections" = "yes"; then
41103 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41106 $as_echo "$ac_gcsections" >&6; }
41108 if test "$ac_test_CFLAGS" = set; then
41109 CFLAGS="$ac_save_CFLAGS"
41110 else
41111 # this is the suspicious part
41112 CFLAGS=''
41116 # Set -z,relro.
41117 # Note this is only for shared objects.
41118 ac_ld_relro=no
41119 if test x"$with_gnu_ld" = x"yes"; then
41120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41121 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41122 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41123 if test -n "$cxx_z_relo"; then
41124 OPT_LDFLAGS="-Wl,-z,relro"
41125 ac_ld_relro=yes
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41128 $as_echo "$ac_ld_relro" >&6; }
41131 # Set linker optimization flags.
41132 if test x"$with_gnu_ld" = x"yes"; then
41133 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41141 ac_save_CXXFLAGS="$CXXFLAGS"
41142 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41145 $as_echo_n "checking for sin in -lm... " >&6; }
41146 if test "${ac_cv_lib_m_sin+set}" = set; then :
41147 $as_echo_n "(cached) " >&6
41148 else
41149 ac_check_lib_save_LIBS=$LIBS
41150 LIBS="-lm $LIBS"
41151 if test x$gcc_no_link = xyes; then
41152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h. */
41157 /* Override any GCC internal prototype to avoid an error.
41158 Use char because int might match the return type of a GCC
41159 builtin and then its argument prototype would still apply. */
41160 #ifdef __cplusplus
41161 extern "C"
41162 #endif
41163 char sin ();
41165 main ()
41167 return sin ();
41169 return 0;
41171 _ACEOF
41172 if ac_fn_c_try_link "$LINENO"; then :
41173 ac_cv_lib_m_sin=yes
41174 else
41175 ac_cv_lib_m_sin=no
41177 rm -f core conftest.err conftest.$ac_objext \
41178 conftest$ac_exeext conftest.$ac_ext
41179 LIBS=$ac_check_lib_save_LIBS
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41182 $as_echo "$ac_cv_lib_m_sin" >&6; }
41183 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41184 libm="-lm"
41187 ac_save_LIBS="$LIBS"
41188 LIBS="$LIBS $libm"
41192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41193 $as_echo_n "checking for isinf declaration... " >&6; }
41194 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41195 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41196 $as_echo_n "(cached) " >&6
41197 else
41200 ac_ext=cpp
41201 ac_cpp='$CXXCPP $CPPFLAGS'
41202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41207 /* end confdefs.h. */
41208 #include <math.h>
41209 #ifdef HAVE_IEEEFP_H
41210 #include <ieeefp.h>
41211 #endif
41214 main ()
41216 isinf(0);
41218 return 0;
41220 _ACEOF
41221 if ac_fn_cxx_try_compile "$LINENO"; then :
41222 glibcxx_cv_func_isinf_use=yes
41223 else
41224 glibcxx_cv_func_isinf_use=no
41226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41227 ac_ext=c
41228 ac_cpp='$CPP $CPPFLAGS'
41229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41238 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41240 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41241 for ac_func in isinf
41242 do :
41243 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41244 if test "x$ac_cv_func_isinf" = x""yes; then :
41245 cat >>confdefs.h <<_ACEOF
41246 #define HAVE_ISINF 1
41247 _ACEOF
41250 done
41252 else
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41255 $as_echo_n "checking for _isinf declaration... " >&6; }
41256 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41257 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41258 $as_echo_n "(cached) " >&6
41259 else
41262 ac_ext=cpp
41263 ac_cpp='$CXXCPP $CPPFLAGS'
41264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41269 /* end confdefs.h. */
41270 #include <math.h>
41271 #ifdef HAVE_IEEEFP_H
41272 #include <ieeefp.h>
41273 #endif
41276 main ()
41278 _isinf(0);
41280 return 0;
41282 _ACEOF
41283 if ac_fn_cxx_try_compile "$LINENO"; then :
41284 glibcxx_cv_func__isinf_use=yes
41285 else
41286 glibcxx_cv_func__isinf_use=no
41288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41289 ac_ext=c
41290 ac_cpp='$CPP $CPPFLAGS'
41291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41300 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41302 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41303 for ac_func in _isinf
41304 do :
41305 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41306 if test "x$ac_cv_func__isinf" = x""yes; then :
41307 cat >>confdefs.h <<_ACEOF
41308 #define HAVE__ISINF 1
41309 _ACEOF
41312 done
41321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41322 $as_echo_n "checking for isnan declaration... " >&6; }
41323 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41324 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41325 $as_echo_n "(cached) " >&6
41326 else
41329 ac_ext=cpp
41330 ac_cpp='$CXXCPP $CPPFLAGS'
41331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41336 /* end confdefs.h. */
41337 #include <math.h>
41338 #ifdef HAVE_IEEEFP_H
41339 #include <ieeefp.h>
41340 #endif
41343 main ()
41345 isnan(0);
41347 return 0;
41349 _ACEOF
41350 if ac_fn_cxx_try_compile "$LINENO"; then :
41351 glibcxx_cv_func_isnan_use=yes
41352 else
41353 glibcxx_cv_func_isnan_use=no
41355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41356 ac_ext=c
41357 ac_cpp='$CPP $CPPFLAGS'
41358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41367 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41369 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41370 for ac_func in isnan
41371 do :
41372 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41373 if test "x$ac_cv_func_isnan" = x""yes; then :
41374 cat >>confdefs.h <<_ACEOF
41375 #define HAVE_ISNAN 1
41376 _ACEOF
41379 done
41381 else
41383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41384 $as_echo_n "checking for _isnan declaration... " >&6; }
41385 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41386 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41387 $as_echo_n "(cached) " >&6
41388 else
41391 ac_ext=cpp
41392 ac_cpp='$CXXCPP $CPPFLAGS'
41393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41398 /* end confdefs.h. */
41399 #include <math.h>
41400 #ifdef HAVE_IEEEFP_H
41401 #include <ieeefp.h>
41402 #endif
41405 main ()
41407 _isnan(0);
41409 return 0;
41411 _ACEOF
41412 if ac_fn_cxx_try_compile "$LINENO"; then :
41413 glibcxx_cv_func__isnan_use=yes
41414 else
41415 glibcxx_cv_func__isnan_use=no
41417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41418 ac_ext=c
41419 ac_cpp='$CPP $CPPFLAGS'
41420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41429 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41431 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41432 for ac_func in _isnan
41433 do :
41434 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41435 if test "x$ac_cv_func__isnan" = x""yes; then :
41436 cat >>confdefs.h <<_ACEOF
41437 #define HAVE__ISNAN 1
41438 _ACEOF
41441 done
41450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41451 $as_echo_n "checking for finite declaration... " >&6; }
41452 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41453 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41454 $as_echo_n "(cached) " >&6
41455 else
41458 ac_ext=cpp
41459 ac_cpp='$CXXCPP $CPPFLAGS'
41460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41465 /* end confdefs.h. */
41466 #include <math.h>
41467 #ifdef HAVE_IEEEFP_H
41468 #include <ieeefp.h>
41469 #endif
41472 main ()
41474 finite(0);
41476 return 0;
41478 _ACEOF
41479 if ac_fn_cxx_try_compile "$LINENO"; then :
41480 glibcxx_cv_func_finite_use=yes
41481 else
41482 glibcxx_cv_func_finite_use=no
41484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41485 ac_ext=c
41486 ac_cpp='$CPP $CPPFLAGS'
41487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41496 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41498 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41499 for ac_func in finite
41500 do :
41501 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41502 if test "x$ac_cv_func_finite" = x""yes; then :
41503 cat >>confdefs.h <<_ACEOF
41504 #define HAVE_FINITE 1
41505 _ACEOF
41508 done
41510 else
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41513 $as_echo_n "checking for _finite declaration... " >&6; }
41514 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41515 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41516 $as_echo_n "(cached) " >&6
41517 else
41520 ac_ext=cpp
41521 ac_cpp='$CXXCPP $CPPFLAGS'
41522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41527 /* end confdefs.h. */
41528 #include <math.h>
41529 #ifdef HAVE_IEEEFP_H
41530 #include <ieeefp.h>
41531 #endif
41534 main ()
41536 _finite(0);
41538 return 0;
41540 _ACEOF
41541 if ac_fn_cxx_try_compile "$LINENO"; then :
41542 glibcxx_cv_func__finite_use=yes
41543 else
41544 glibcxx_cv_func__finite_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__finite_use" >&5
41558 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41560 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41561 for ac_func in _finite
41562 do :
41563 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41564 if test "x$ac_cv_func__finite" = x""yes; then :
41565 cat >>confdefs.h <<_ACEOF
41566 #define HAVE__FINITE 1
41567 _ACEOF
41570 done
41579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41580 $as_echo_n "checking for sincos declaration... " >&6; }
41581 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41582 if test "${glibcxx_cv_func_sincos_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>
41597 main ()
41599 sincos(0, 0, 0);
41601 return 0;
41603 _ACEOF
41604 if ac_fn_cxx_try_compile "$LINENO"; then :
41605 glibcxx_cv_func_sincos_use=yes
41606 else
41607 glibcxx_cv_func_sincos_use=no
41609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41610 ac_ext=c
41611 ac_cpp='$CPP $CPPFLAGS'
41612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41621 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41623 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41624 for ac_func in sincos
41625 do :
41626 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41627 if test "x$ac_cv_func_sincos" = x""yes; then :
41628 cat >>confdefs.h <<_ACEOF
41629 #define HAVE_SINCOS 1
41630 _ACEOF
41633 done
41635 else
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41638 $as_echo_n "checking for _sincos declaration... " >&6; }
41639 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41640 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41641 $as_echo_n "(cached) " >&6
41642 else
41645 ac_ext=cpp
41646 ac_cpp='$CXXCPP $CPPFLAGS'
41647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41652 /* end confdefs.h. */
41653 #include <math.h>
41655 main ()
41657 _sincos(0, 0, 0);
41659 return 0;
41661 _ACEOF
41662 if ac_fn_cxx_try_compile "$LINENO"; then :
41663 glibcxx_cv_func__sincos_use=yes
41664 else
41665 glibcxx_cv_func__sincos_use=no
41667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41668 ac_ext=c
41669 ac_cpp='$CPP $CPPFLAGS'
41670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41679 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41681 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41682 for ac_func in _sincos
41683 do :
41684 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41685 if test "x$ac_cv_func__sincos" = x""yes; then :
41686 cat >>confdefs.h <<_ACEOF
41687 #define HAVE__SINCOS 1
41688 _ACEOF
41691 done
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41701 $as_echo_n "checking for fpclass declaration... " >&6; }
41702 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41703 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41704 $as_echo_n "(cached) " >&6
41705 else
41708 ac_ext=cpp
41709 ac_cpp='$CXXCPP $CPPFLAGS'
41710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41715 /* end confdefs.h. */
41716 #include <math.h>
41717 #ifdef HAVE_IEEEFP_H
41718 #include <ieeefp.h>
41719 #endif
41722 main ()
41724 fpclass(0);
41726 return 0;
41728 _ACEOF
41729 if ac_fn_cxx_try_compile "$LINENO"; then :
41730 glibcxx_cv_func_fpclass_use=yes
41731 else
41732 glibcxx_cv_func_fpclass_use=no
41734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41735 ac_ext=c
41736 ac_cpp='$CPP $CPPFLAGS'
41737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41746 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41748 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41749 for ac_func in fpclass
41750 do :
41751 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41752 if test "x$ac_cv_func_fpclass" = x""yes; then :
41753 cat >>confdefs.h <<_ACEOF
41754 #define HAVE_FPCLASS 1
41755 _ACEOF
41758 done
41760 else
41762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41763 $as_echo_n "checking for _fpclass declaration... " >&6; }
41764 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41765 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41766 $as_echo_n "(cached) " >&6
41767 else
41770 ac_ext=cpp
41771 ac_cpp='$CXXCPP $CPPFLAGS'
41772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41777 /* end confdefs.h. */
41778 #include <math.h>
41779 #ifdef HAVE_IEEEFP_H
41780 #include <ieeefp.h>
41781 #endif
41784 main ()
41786 _fpclass(0);
41788 return 0;
41790 _ACEOF
41791 if ac_fn_cxx_try_compile "$LINENO"; then :
41792 glibcxx_cv_func__fpclass_use=yes
41793 else
41794 glibcxx_cv_func__fpclass_use=no
41796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41797 ac_ext=c
41798 ac_cpp='$CPP $CPPFLAGS'
41799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41808 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41810 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41811 for ac_func in _fpclass
41812 do :
41813 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41814 if test "x$ac_cv_func__fpclass" = x""yes; then :
41815 cat >>confdefs.h <<_ACEOF
41816 #define HAVE__FPCLASS 1
41817 _ACEOF
41820 done
41829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41830 $as_echo_n "checking for qfpclass declaration... " >&6; }
41831 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41832 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41833 $as_echo_n "(cached) " >&6
41834 else
41837 ac_ext=cpp
41838 ac_cpp='$CXXCPP $CPPFLAGS'
41839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41844 /* end confdefs.h. */
41845 #include <math.h>
41846 #ifdef HAVE_IEEEFP_H
41847 #include <ieeefp.h>
41848 #endif
41851 main ()
41853 qfpclass(0);
41855 return 0;
41857 _ACEOF
41858 if ac_fn_cxx_try_compile "$LINENO"; then :
41859 glibcxx_cv_func_qfpclass_use=yes
41860 else
41861 glibcxx_cv_func_qfpclass_use=no
41863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41864 ac_ext=c
41865 ac_cpp='$CPP $CPPFLAGS'
41866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41875 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41877 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41878 for ac_func in qfpclass
41879 do :
41880 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41881 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41882 cat >>confdefs.h <<_ACEOF
41883 #define HAVE_QFPCLASS 1
41884 _ACEOF
41887 done
41889 else
41891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41892 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41893 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41894 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41895 $as_echo_n "(cached) " >&6
41896 else
41899 ac_ext=cpp
41900 ac_cpp='$CXXCPP $CPPFLAGS'
41901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41906 /* end confdefs.h. */
41907 #include <math.h>
41908 #ifdef HAVE_IEEEFP_H
41909 #include <ieeefp.h>
41910 #endif
41913 main ()
41915 _qfpclass(0);
41917 return 0;
41919 _ACEOF
41920 if ac_fn_cxx_try_compile "$LINENO"; then :
41921 glibcxx_cv_func__qfpclass_use=yes
41922 else
41923 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
41937 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41939 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41940 for ac_func in _qfpclass
41941 do :
41942 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41943 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41944 cat >>confdefs.h <<_ACEOF
41945 #define HAVE__QFPCLASS 1
41946 _ACEOF
41949 done
41958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41959 $as_echo_n "checking for hypot declaration... " >&6; }
41960 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41961 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41962 $as_echo_n "(cached) " >&6
41963 else
41966 ac_ext=cpp
41967 ac_cpp='$CXXCPP $CPPFLAGS'
41968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41973 /* end confdefs.h. */
41974 #include <math.h>
41976 main ()
41978 hypot(0, 0);
41980 return 0;
41982 _ACEOF
41983 if ac_fn_cxx_try_compile "$LINENO"; then :
41984 glibcxx_cv_func_hypot_use=yes
41985 else
41986 glibcxx_cv_func_hypot_use=no
41988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41989 ac_ext=c
41990 ac_cpp='$CPP $CPPFLAGS'
41991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42000 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42002 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42003 for ac_func in hypot
42004 do :
42005 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42006 if test "x$ac_cv_func_hypot" = x""yes; then :
42007 cat >>confdefs.h <<_ACEOF
42008 #define HAVE_HYPOT 1
42009 _ACEOF
42012 done
42014 else
42016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42017 $as_echo_n "checking for _hypot declaration... " >&6; }
42018 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42019 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42020 $as_echo_n "(cached) " >&6
42021 else
42024 ac_ext=cpp
42025 ac_cpp='$CXXCPP $CPPFLAGS'
42026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42031 /* end confdefs.h. */
42032 #include <math.h>
42034 main ()
42036 _hypot(0, 0);
42038 return 0;
42040 _ACEOF
42041 if ac_fn_cxx_try_compile "$LINENO"; then :
42042 glibcxx_cv_func__hypot_use=yes
42043 else
42044 glibcxx_cv_func__hypot_use=no
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047 ac_ext=c
42048 ac_cpp='$CPP $CPPFLAGS'
42049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42058 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42060 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42061 for ac_func in _hypot
42062 do :
42063 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42064 if test "x$ac_cv_func__hypot" = x""yes; then :
42065 cat >>confdefs.h <<_ACEOF
42066 #define HAVE__HYPOT 1
42067 _ACEOF
42070 done
42079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42080 $as_echo_n "checking for float trig functions... " >&6; }
42081 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42082 $as_echo_n "(cached) " >&6
42083 else
42086 ac_ext=cpp
42087 ac_cpp='$CXXCPP $CPPFLAGS'
42088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42093 /* end confdefs.h. */
42094 #include <math.h>
42096 main ()
42098 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42100 return 0;
42102 _ACEOF
42103 if ac_fn_cxx_try_compile "$LINENO"; then :
42104 glibcxx_cv_func_float_trig_use=yes
42105 else
42106 glibcxx_cv_func_float_trig_use=no
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42109 ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42118 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42119 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42120 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42121 do :
42122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42124 eval as_val=\$$as_ac_var
42125 if test "x$as_val" = x""yes; then :
42126 cat >>confdefs.h <<_ACEOF
42127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42128 _ACEOF
42131 done
42133 else
42134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42135 $as_echo_n "checking for _float trig functions... " >&6; }
42136 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42137 $as_echo_n "(cached) " >&6
42138 else
42141 ac_ext=cpp
42142 ac_cpp='$CXXCPP $CPPFLAGS'
42143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42148 /* end confdefs.h. */
42149 #include <math.h>
42151 main ()
42153 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42155 return 0;
42157 _ACEOF
42158 if ac_fn_cxx_try_compile "$LINENO"; then :
42159 glibcxx_cv_func__float_trig_use=yes
42160 else
42161 glibcxx_cv_func__float_trig_use=no
42163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42164 ac_ext=c
42165 ac_cpp='$CPP $CPPFLAGS'
42166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42173 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42174 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42175 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42176 do :
42177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42179 eval as_val=\$$as_ac_var
42180 if test "x$as_val" = x""yes; then :
42181 cat >>confdefs.h <<_ACEOF
42182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42183 _ACEOF
42186 done
42195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42196 $as_echo_n "checking for float round functions... " >&6; }
42197 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42198 $as_echo_n "(cached) " >&6
42199 else
42202 ac_ext=cpp
42203 ac_cpp='$CXXCPP $CPPFLAGS'
42204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42209 /* end confdefs.h. */
42210 #include <math.h>
42212 main ()
42214 ceilf (0); floorf (0);
42216 return 0;
42218 _ACEOF
42219 if ac_fn_cxx_try_compile "$LINENO"; then :
42220 glibcxx_cv_func_float_round_use=yes
42221 else
42222 glibcxx_cv_func_float_round_use=no
42224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42225 ac_ext=c
42226 ac_cpp='$CPP $CPPFLAGS'
42227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42234 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42235 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42236 for ac_func in ceilf floorf
42237 do :
42238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42240 eval as_val=\$$as_ac_var
42241 if test "x$as_val" = x""yes; then :
42242 cat >>confdefs.h <<_ACEOF
42243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42244 _ACEOF
42247 done
42249 else
42250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42251 $as_echo_n "checking for _float round functions... " >&6; }
42252 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42253 $as_echo_n "(cached) " >&6
42254 else
42257 ac_ext=cpp
42258 ac_cpp='$CXXCPP $CPPFLAGS'
42259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42264 /* end confdefs.h. */
42265 #include <math.h>
42267 main ()
42269 _ceilf (0); _floorf (0);
42271 return 0;
42273 _ACEOF
42274 if ac_fn_cxx_try_compile "$LINENO"; then :
42275 glibcxx_cv_func__float_round_use=yes
42276 else
42277 glibcxx_cv_func__float_round_use=no
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42289 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42290 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42291 for ac_func in _ceilf _floorf
42292 do :
42293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42295 eval as_val=\$$as_ac_var
42296 if test "x$as_val" = x""yes; then :
42297 cat >>confdefs.h <<_ACEOF
42298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42299 _ACEOF
42302 done
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42313 $as_echo_n "checking for expf declaration... " >&6; }
42314 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42315 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42316 $as_echo_n "(cached) " >&6
42317 else
42320 ac_ext=cpp
42321 ac_cpp='$CXXCPP $CPPFLAGS'
42322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42327 /* end confdefs.h. */
42328 #include <math.h>
42329 #ifdef HAVE_IEEEFP_H
42330 #include <ieeefp.h>
42331 #endif
42334 main ()
42336 expf(0);
42338 return 0;
42340 _ACEOF
42341 if ac_fn_cxx_try_compile "$LINENO"; then :
42342 glibcxx_cv_func_expf_use=yes
42343 else
42344 glibcxx_cv_func_expf_use=no
42346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42347 ac_ext=c
42348 ac_cpp='$CPP $CPPFLAGS'
42349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42358 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42360 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42361 for ac_func in expf
42362 do :
42363 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42364 if test "x$ac_cv_func_expf" = x""yes; then :
42365 cat >>confdefs.h <<_ACEOF
42366 #define HAVE_EXPF 1
42367 _ACEOF
42370 done
42372 else
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42375 $as_echo_n "checking for _expf declaration... " >&6; }
42376 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42377 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42378 $as_echo_n "(cached) " >&6
42379 else
42382 ac_ext=cpp
42383 ac_cpp='$CXXCPP $CPPFLAGS'
42384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 /* end confdefs.h. */
42390 #include <math.h>
42391 #ifdef HAVE_IEEEFP_H
42392 #include <ieeefp.h>
42393 #endif
42396 main ()
42398 _expf(0);
42400 return 0;
42402 _ACEOF
42403 if ac_fn_cxx_try_compile "$LINENO"; then :
42404 glibcxx_cv_func__expf_use=yes
42405 else
42406 glibcxx_cv_func__expf_use=no
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409 ac_ext=c
42410 ac_cpp='$CPP $CPPFLAGS'
42411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42420 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42422 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42423 for ac_func in _expf
42424 do :
42425 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42426 if test "x$ac_cv_func__expf" = x""yes; then :
42427 cat >>confdefs.h <<_ACEOF
42428 #define HAVE__EXPF 1
42429 _ACEOF
42432 done
42441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42442 $as_echo_n "checking for isnanf declaration... " >&6; }
42443 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42444 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42445 $as_echo_n "(cached) " >&6
42446 else
42449 ac_ext=cpp
42450 ac_cpp='$CXXCPP $CPPFLAGS'
42451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42456 /* end confdefs.h. */
42457 #include <math.h>
42458 #ifdef HAVE_IEEEFP_H
42459 #include <ieeefp.h>
42460 #endif
42463 main ()
42465 isnanf(0);
42467 return 0;
42469 _ACEOF
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471 glibcxx_cv_func_isnanf_use=yes
42472 else
42473 glibcxx_cv_func_isnanf_use=no
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476 ac_ext=c
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42487 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42489 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42490 for ac_func in isnanf
42491 do :
42492 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42493 if test "x$ac_cv_func_isnanf" = x""yes; then :
42494 cat >>confdefs.h <<_ACEOF
42495 #define HAVE_ISNANF 1
42496 _ACEOF
42499 done
42501 else
42503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42504 $as_echo_n "checking for _isnanf declaration... " >&6; }
42505 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42506 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42507 $as_echo_n "(cached) " >&6
42508 else
42511 ac_ext=cpp
42512 ac_cpp='$CXXCPP $CPPFLAGS'
42513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42518 /* end confdefs.h. */
42519 #include <math.h>
42520 #ifdef HAVE_IEEEFP_H
42521 #include <ieeefp.h>
42522 #endif
42525 main ()
42527 _isnanf(0);
42529 return 0;
42531 _ACEOF
42532 if ac_fn_cxx_try_compile "$LINENO"; then :
42533 glibcxx_cv_func__isnanf_use=yes
42534 else
42535 glibcxx_cv_func__isnanf_use=no
42537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42538 ac_ext=c
42539 ac_cpp='$CPP $CPPFLAGS'
42540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42549 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42551 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42552 for ac_func in _isnanf
42553 do :
42554 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42555 if test "x$ac_cv_func__isnanf" = x""yes; then :
42556 cat >>confdefs.h <<_ACEOF
42557 #define HAVE__ISNANF 1
42558 _ACEOF
42561 done
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42571 $as_echo_n "checking for isinff declaration... " >&6; }
42572 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42573 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42587 #ifdef HAVE_IEEEFP_H
42588 #include <ieeefp.h>
42589 #endif
42592 main ()
42594 isinff(0);
42596 return 0;
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600 glibcxx_cv_func_isinff_use=yes
42601 else
42602 glibcxx_cv_func_isinff_use=no
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605 ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42616 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42618 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42619 for ac_func in isinff
42620 do :
42621 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42622 if test "x$ac_cv_func_isinff" = x""yes; then :
42623 cat >>confdefs.h <<_ACEOF
42624 #define HAVE_ISINFF 1
42625 _ACEOF
42628 done
42630 else
42632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42633 $as_echo_n "checking for _isinff declaration... " >&6; }
42634 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42635 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42636 $as_echo_n "(cached) " >&6
42637 else
42640 ac_ext=cpp
42641 ac_cpp='$CXXCPP $CPPFLAGS'
42642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42647 /* end confdefs.h. */
42648 #include <math.h>
42649 #ifdef HAVE_IEEEFP_H
42650 #include <ieeefp.h>
42651 #endif
42654 main ()
42656 _isinff(0);
42658 return 0;
42660 _ACEOF
42661 if ac_fn_cxx_try_compile "$LINENO"; then :
42662 glibcxx_cv_func__isinff_use=yes
42663 else
42664 glibcxx_cv_func__isinff_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__isinff_use" >&5
42678 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42680 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42681 for ac_func in _isinff
42682 do :
42683 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42684 if test "x$ac_cv_func__isinff" = x""yes; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define HAVE__ISINFF 1
42687 _ACEOF
42690 done
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42700 $as_echo_n "checking for atan2f declaration... " >&6; }
42701 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42702 if test "${glibcxx_cv_func_atan2f_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>
42717 main ()
42719 atan2f(0, 0);
42721 return 0;
42723 _ACEOF
42724 if ac_fn_cxx_try_compile "$LINENO"; then :
42725 glibcxx_cv_func_atan2f_use=yes
42726 else
42727 glibcxx_cv_func_atan2f_use=no
42729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42730 ac_ext=c
42731 ac_cpp='$CPP $CPPFLAGS'
42732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42741 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42743 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42744 for ac_func in atan2f
42745 do :
42746 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42747 if test "x$ac_cv_func_atan2f" = x""yes; then :
42748 cat >>confdefs.h <<_ACEOF
42749 #define HAVE_ATAN2F 1
42750 _ACEOF
42753 done
42755 else
42757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42758 $as_echo_n "checking for _atan2f declaration... " >&6; }
42759 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42760 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42761 $as_echo_n "(cached) " >&6
42762 else
42765 ac_ext=cpp
42766 ac_cpp='$CXXCPP $CPPFLAGS'
42767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42772 /* end confdefs.h. */
42773 #include <math.h>
42775 main ()
42777 _atan2f(0, 0);
42779 return 0;
42781 _ACEOF
42782 if ac_fn_cxx_try_compile "$LINENO"; then :
42783 glibcxx_cv_func__atan2f_use=yes
42784 else
42785 glibcxx_cv_func__atan2f_use=no
42787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42788 ac_ext=c
42789 ac_cpp='$CPP $CPPFLAGS'
42790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42799 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42801 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42802 for ac_func in _atan2f
42803 do :
42804 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42805 if test "x$ac_cv_func__atan2f" = x""yes; then :
42806 cat >>confdefs.h <<_ACEOF
42807 #define HAVE__ATAN2F 1
42808 _ACEOF
42811 done
42820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42821 $as_echo_n "checking for fabsf declaration... " >&6; }
42822 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42823 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42824 $as_echo_n "(cached) " >&6
42825 else
42828 ac_ext=cpp
42829 ac_cpp='$CXXCPP $CPPFLAGS'
42830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42835 /* end confdefs.h. */
42836 #include <math.h>
42837 #ifdef HAVE_IEEEFP_H
42838 #include <ieeefp.h>
42839 #endif
42842 main ()
42844 fabsf(0);
42846 return 0;
42848 _ACEOF
42849 if ac_fn_cxx_try_compile "$LINENO"; then :
42850 glibcxx_cv_func_fabsf_use=yes
42851 else
42852 glibcxx_cv_func_fabsf_use=no
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42855 ac_ext=c
42856 ac_cpp='$CPP $CPPFLAGS'
42857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42866 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42868 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42869 for ac_func in fabsf
42870 do :
42871 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42872 if test "x$ac_cv_func_fabsf" = x""yes; then :
42873 cat >>confdefs.h <<_ACEOF
42874 #define HAVE_FABSF 1
42875 _ACEOF
42878 done
42880 else
42882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42883 $as_echo_n "checking for _fabsf declaration... " >&6; }
42884 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42885 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42886 $as_echo_n "(cached) " >&6
42887 else
42890 ac_ext=cpp
42891 ac_cpp='$CXXCPP $CPPFLAGS'
42892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42897 /* end confdefs.h. */
42898 #include <math.h>
42899 #ifdef HAVE_IEEEFP_H
42900 #include <ieeefp.h>
42901 #endif
42904 main ()
42906 _fabsf(0);
42908 return 0;
42910 _ACEOF
42911 if ac_fn_cxx_try_compile "$LINENO"; then :
42912 glibcxx_cv_func__fabsf_use=yes
42913 else
42914 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
42928 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42930 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42931 for ac_func in _fabsf
42932 do :
42933 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42934 if test "x$ac_cv_func__fabsf" = x""yes; then :
42935 cat >>confdefs.h <<_ACEOF
42936 #define HAVE__FABSF 1
42937 _ACEOF
42940 done
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42950 $as_echo_n "checking for fmodf declaration... " >&6; }
42951 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42952 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
42971 return 0;
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975 glibcxx_cv_func_fmodf_use=yes
42976 else
42977 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
42991 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42993 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42994 for ac_func in fmodf
42995 do :
42996 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42997 if test "x$ac_cv_func_fmodf" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define HAVE_FMODF 1
43000 _ACEOF
43003 done
43005 else
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43008 $as_echo_n "checking for _fmodf declaration... " >&6; }
43009 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43010 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
43029 return 0;
43031 _ACEOF
43032 if ac_fn_cxx_try_compile "$LINENO"; then :
43033 glibcxx_cv_func__fmodf_use=yes
43034 else
43035 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
43049 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43051 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43052 for ac_func in _fmodf
43053 do :
43054 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43055 if test "x$ac_cv_func__fmodf" = x""yes; then :
43056 cat >>confdefs.h <<_ACEOF
43057 #define HAVE__FMODF 1
43058 _ACEOF
43061 done
43070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43071 $as_echo_n "checking for frexpf declaration... " >&6; }
43072 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43073 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
43092 return 0;
43094 _ACEOF
43095 if ac_fn_cxx_try_compile "$LINENO"; then :
43096 glibcxx_cv_func_frexpf_use=yes
43097 else
43098 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
43112 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43114 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43115 for ac_func in frexpf
43116 do :
43117 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43118 if test "x$ac_cv_func_frexpf" = x""yes; then :
43119 cat >>confdefs.h <<_ACEOF
43120 #define HAVE_FREXPF 1
43121 _ACEOF
43124 done
43126 else
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43129 $as_echo_n "checking for _frexpf declaration... " >&6; }
43130 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43131 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
43150 return 0;
43152 _ACEOF
43153 if ac_fn_cxx_try_compile "$LINENO"; then :
43154 glibcxx_cv_func__frexpf_use=yes
43155 else
43156 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
43170 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43172 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43173 for ac_func in _frexpf
43174 do :
43175 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43176 if test "x$ac_cv_func__frexpf" = x""yes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define HAVE__FREXPF 1
43179 _ACEOF
43182 done
43191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43192 $as_echo_n "checking for hypotf declaration... " >&6; }
43193 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43194 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
43213 return 0;
43215 _ACEOF
43216 if ac_fn_cxx_try_compile "$LINENO"; then :
43217 glibcxx_cv_func_hypotf_use=yes
43218 else
43219 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
43233 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43235 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43236 for ac_func in hypotf
43237 do :
43238 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43239 if test "x$ac_cv_func_hypotf" = x""yes; then :
43240 cat >>confdefs.h <<_ACEOF
43241 #define HAVE_HYPOTF 1
43242 _ACEOF
43245 done
43247 else
43249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43250 $as_echo_n "checking for _hypotf declaration... " >&6; }
43251 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43252 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
43271 return 0;
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275 glibcxx_cv_func__hypotf_use=yes
43276 else
43277 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
43291 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43293 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43294 for ac_func in _hypotf
43295 do :
43296 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43297 if test "x$ac_cv_func__hypotf" = x""yes; then :
43298 cat >>confdefs.h <<_ACEOF
43299 #define HAVE__HYPOTF 1
43300 _ACEOF
43303 done
43312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43313 $as_echo_n "checking for ldexpf declaration... " >&6; }
43314 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43315 if test "${glibcxx_cv_func_ldexpf_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>
43330 main ()
43332 ldexpf(0, 0);
43334 return 0;
43336 _ACEOF
43337 if ac_fn_cxx_try_compile "$LINENO"; then :
43338 glibcxx_cv_func_ldexpf_use=yes
43339 else
43340 glibcxx_cv_func_ldexpf_use=no
43342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343 ac_ext=c
43344 ac_cpp='$CPP $CPPFLAGS'
43345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43354 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43356 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43357 for ac_func in ldexpf
43358 do :
43359 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43360 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43361 cat >>confdefs.h <<_ACEOF
43362 #define HAVE_LDEXPF 1
43363 _ACEOF
43366 done
43368 else
43370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43371 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43372 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43373 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43374 $as_echo_n "(cached) " >&6
43375 else
43378 ac_ext=cpp
43379 ac_cpp='$CXXCPP $CPPFLAGS'
43380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43385 /* end confdefs.h. */
43386 #include <math.h>
43388 main ()
43390 _ldexpf(0, 0);
43392 return 0;
43394 _ACEOF
43395 if ac_fn_cxx_try_compile "$LINENO"; then :
43396 glibcxx_cv_func__ldexpf_use=yes
43397 else
43398 glibcxx_cv_func__ldexpf_use=no
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401 ac_ext=c
43402 ac_cpp='$CPP $CPPFLAGS'
43403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43412 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43414 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43415 for ac_func in _ldexpf
43416 do :
43417 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43418 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43419 cat >>confdefs.h <<_ACEOF
43420 #define HAVE__LDEXPF 1
43421 _ACEOF
43424 done
43433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43434 $as_echo_n "checking for logf declaration... " >&6; }
43435 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43436 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43437 $as_echo_n "(cached) " >&6
43438 else
43441 ac_ext=cpp
43442 ac_cpp='$CXXCPP $CPPFLAGS'
43443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43448 /* end confdefs.h. */
43449 #include <math.h>
43450 #ifdef HAVE_IEEEFP_H
43451 #include <ieeefp.h>
43452 #endif
43455 main ()
43457 logf(0);
43459 return 0;
43461 _ACEOF
43462 if ac_fn_cxx_try_compile "$LINENO"; then :
43463 glibcxx_cv_func_logf_use=yes
43464 else
43465 glibcxx_cv_func_logf_use=no
43467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43468 ac_ext=c
43469 ac_cpp='$CPP $CPPFLAGS'
43470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43479 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43481 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43482 for ac_func in logf
43483 do :
43484 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43485 if test "x$ac_cv_func_logf" = x""yes; then :
43486 cat >>confdefs.h <<_ACEOF
43487 #define HAVE_LOGF 1
43488 _ACEOF
43491 done
43493 else
43495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43496 $as_echo_n "checking for _logf declaration... " >&6; }
43497 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43498 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43499 $as_echo_n "(cached) " >&6
43500 else
43503 ac_ext=cpp
43504 ac_cpp='$CXXCPP $CPPFLAGS'
43505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43510 /* end confdefs.h. */
43511 #include <math.h>
43512 #ifdef HAVE_IEEEFP_H
43513 #include <ieeefp.h>
43514 #endif
43517 main ()
43519 _logf(0);
43521 return 0;
43523 _ACEOF
43524 if ac_fn_cxx_try_compile "$LINENO"; then :
43525 glibcxx_cv_func__logf_use=yes
43526 else
43527 glibcxx_cv_func__logf_use=no
43529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43530 ac_ext=c
43531 ac_cpp='$CPP $CPPFLAGS'
43532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43541 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43543 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43544 for ac_func in _logf
43545 do :
43546 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43547 if test "x$ac_cv_func__logf" = x""yes; then :
43548 cat >>confdefs.h <<_ACEOF
43549 #define HAVE__LOGF 1
43550 _ACEOF
43553 done
43562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43563 $as_echo_n "checking for log10f declaration... " >&6; }
43564 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43565 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43566 $as_echo_n "(cached) " >&6
43567 else
43570 ac_ext=cpp
43571 ac_cpp='$CXXCPP $CPPFLAGS'
43572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43577 /* end confdefs.h. */
43578 #include <math.h>
43579 #ifdef HAVE_IEEEFP_H
43580 #include <ieeefp.h>
43581 #endif
43584 main ()
43586 log10f(0);
43588 return 0;
43590 _ACEOF
43591 if ac_fn_cxx_try_compile "$LINENO"; then :
43592 glibcxx_cv_func_log10f_use=yes
43593 else
43594 glibcxx_cv_func_log10f_use=no
43596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43597 ac_ext=c
43598 ac_cpp='$CPP $CPPFLAGS'
43599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43608 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43610 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43611 for ac_func in log10f
43612 do :
43613 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43614 if test "x$ac_cv_func_log10f" = x""yes; then :
43615 cat >>confdefs.h <<_ACEOF
43616 #define HAVE_LOG10F 1
43617 _ACEOF
43620 done
43622 else
43624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43625 $as_echo_n "checking for _log10f declaration... " >&6; }
43626 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43627 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43628 $as_echo_n "(cached) " >&6
43629 else
43632 ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h. */
43640 #include <math.h>
43641 #ifdef HAVE_IEEEFP_H
43642 #include <ieeefp.h>
43643 #endif
43646 main ()
43648 _log10f(0);
43650 return 0;
43652 _ACEOF
43653 if ac_fn_cxx_try_compile "$LINENO"; then :
43654 glibcxx_cv_func__log10f_use=yes
43655 else
43656 glibcxx_cv_func__log10f_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__log10f_use" >&5
43670 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43672 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43673 for ac_func in _log10f
43674 do :
43675 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43676 if test "x$ac_cv_func__log10f" = x""yes; then :
43677 cat >>confdefs.h <<_ACEOF
43678 #define HAVE__LOG10F 1
43679 _ACEOF
43682 done
43691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43692 $as_echo_n "checking for modff declaration... " >&6; }
43693 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43694 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
43713 return 0;
43715 _ACEOF
43716 if ac_fn_cxx_try_compile "$LINENO"; then :
43717 glibcxx_cv_func_modff_use=yes
43718 else
43719 glibcxx_cv_func_modff_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_modff_use" >&5
43733 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43735 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43736 for ac_func in modff
43737 do :
43738 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43739 if test "x$ac_cv_func_modff" = x""yes; then :
43740 cat >>confdefs.h <<_ACEOF
43741 #define HAVE_MODFF 1
43742 _ACEOF
43745 done
43747 else
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43750 $as_echo_n "checking for _modff declaration... " >&6; }
43751 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43752 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
43771 return 0;
43773 _ACEOF
43774 if ac_fn_cxx_try_compile "$LINENO"; then :
43775 glibcxx_cv_func__modff_use=yes
43776 else
43777 glibcxx_cv_func__modff_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__modff_use" >&5
43791 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43793 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43794 for ac_func in _modff
43795 do :
43796 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43797 if test "x$ac_cv_func__modff" = x""yes; then :
43798 cat >>confdefs.h <<_ACEOF
43799 #define HAVE__MODFF 1
43800 _ACEOF
43803 done
43812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43813 $as_echo_n "checking for modf declaration... " >&6; }
43814 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43815 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
43834 return 0;
43836 _ACEOF
43837 if ac_fn_cxx_try_compile "$LINENO"; then :
43838 glibcxx_cv_func_modf_use=yes
43839 else
43840 glibcxx_cv_func_modf_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_modf_use" >&5
43854 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43856 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43857 for ac_func in modf
43858 do :
43859 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43860 if test "x$ac_cv_func_modf" = x""yes; then :
43861 cat >>confdefs.h <<_ACEOF
43862 #define HAVE_MODF 1
43863 _ACEOF
43866 done
43868 else
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43871 $as_echo_n "checking for _modf declaration... " >&6; }
43872 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43873 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
43892 return 0;
43894 _ACEOF
43895 if ac_fn_cxx_try_compile "$LINENO"; then :
43896 glibcxx_cv_func__modf_use=yes
43897 else
43898 glibcxx_cv_func__modf_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__modf_use" >&5
43912 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43914 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43915 for ac_func in _modf
43916 do :
43917 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43918 if test "x$ac_cv_func__modf" = x""yes; then :
43919 cat >>confdefs.h <<_ACEOF
43920 #define HAVE__MODF 1
43921 _ACEOF
43924 done
43933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43934 $as_echo_n "checking for powf declaration... " >&6; }
43935 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43936 if test "${glibcxx_cv_func_powf_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>
43951 main ()
43953 powf(0, 0);
43955 return 0;
43957 _ACEOF
43958 if ac_fn_cxx_try_compile "$LINENO"; then :
43959 glibcxx_cv_func_powf_use=yes
43960 else
43961 glibcxx_cv_func_powf_use=no
43963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43964 ac_ext=c
43965 ac_cpp='$CPP $CPPFLAGS'
43966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43975 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43977 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43978 for ac_func in powf
43979 do :
43980 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43981 if test "x$ac_cv_func_powf" = x""yes; then :
43982 cat >>confdefs.h <<_ACEOF
43983 #define HAVE_POWF 1
43984 _ACEOF
43987 done
43989 else
43991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43992 $as_echo_n "checking for _powf declaration... " >&6; }
43993 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43994 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43995 $as_echo_n "(cached) " >&6
43996 else
43999 ac_ext=cpp
44000 ac_cpp='$CXXCPP $CPPFLAGS'
44001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44006 /* end confdefs.h. */
44007 #include <math.h>
44009 main ()
44011 _powf(0, 0);
44013 return 0;
44015 _ACEOF
44016 if ac_fn_cxx_try_compile "$LINENO"; then :
44017 glibcxx_cv_func__powf_use=yes
44018 else
44019 glibcxx_cv_func__powf_use=no
44021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44022 ac_ext=c
44023 ac_cpp='$CPP $CPPFLAGS'
44024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44033 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44035 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44036 for ac_func in _powf
44037 do :
44038 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44039 if test "x$ac_cv_func__powf" = x""yes; then :
44040 cat >>confdefs.h <<_ACEOF
44041 #define HAVE__POWF 1
44042 _ACEOF
44045 done
44054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44055 $as_echo_n "checking for sqrtf declaration... " >&6; }
44056 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44057 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44058 $as_echo_n "(cached) " >&6
44059 else
44062 ac_ext=cpp
44063 ac_cpp='$CXXCPP $CPPFLAGS'
44064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44069 /* end confdefs.h. */
44070 #include <math.h>
44071 #ifdef HAVE_IEEEFP_H
44072 #include <ieeefp.h>
44073 #endif
44076 main ()
44078 sqrtf(0);
44080 return 0;
44082 _ACEOF
44083 if ac_fn_cxx_try_compile "$LINENO"; then :
44084 glibcxx_cv_func_sqrtf_use=yes
44085 else
44086 glibcxx_cv_func_sqrtf_use=no
44088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44089 ac_ext=c
44090 ac_cpp='$CPP $CPPFLAGS'
44091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44100 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44102 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44103 for ac_func in sqrtf
44104 do :
44105 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44106 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44107 cat >>confdefs.h <<_ACEOF
44108 #define HAVE_SQRTF 1
44109 _ACEOF
44112 done
44114 else
44116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44117 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44118 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44119 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44120 $as_echo_n "(cached) " >&6
44121 else
44124 ac_ext=cpp
44125 ac_cpp='$CXXCPP $CPPFLAGS'
44126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44131 /* end confdefs.h. */
44132 #include <math.h>
44133 #ifdef HAVE_IEEEFP_H
44134 #include <ieeefp.h>
44135 #endif
44138 main ()
44140 _sqrtf(0);
44142 return 0;
44144 _ACEOF
44145 if ac_fn_cxx_try_compile "$LINENO"; then :
44146 glibcxx_cv_func__sqrtf_use=yes
44147 else
44148 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
44162 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44164 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44165 for ac_func in _sqrtf
44166 do :
44167 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44168 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44169 cat >>confdefs.h <<_ACEOF
44170 #define HAVE__SQRTF 1
44171 _ACEOF
44174 done
44183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44184 $as_echo_n "checking for sincosf declaration... " >&6; }
44185 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44186 if test "${glibcxx_cv_func_sincosf_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>
44201 main ()
44203 sincosf(0, 0, 0);
44205 return 0;
44207 _ACEOF
44208 if ac_fn_cxx_try_compile "$LINENO"; then :
44209 glibcxx_cv_func_sincosf_use=yes
44210 else
44211 glibcxx_cv_func_sincosf_use=no
44213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44214 ac_ext=c
44215 ac_cpp='$CPP $CPPFLAGS'
44216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44225 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44227 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44228 for ac_func in sincosf
44229 do :
44230 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44231 if test "x$ac_cv_func_sincosf" = x""yes; then :
44232 cat >>confdefs.h <<_ACEOF
44233 #define HAVE_SINCOSF 1
44234 _ACEOF
44237 done
44239 else
44241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44242 $as_echo_n "checking for _sincosf declaration... " >&6; }
44243 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44244 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44245 $as_echo_n "(cached) " >&6
44246 else
44249 ac_ext=cpp
44250 ac_cpp='$CXXCPP $CPPFLAGS'
44251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44256 /* end confdefs.h. */
44257 #include <math.h>
44259 main ()
44261 _sincosf(0, 0, 0);
44263 return 0;
44265 _ACEOF
44266 if ac_fn_cxx_try_compile "$LINENO"; then :
44267 glibcxx_cv_func__sincosf_use=yes
44268 else
44269 glibcxx_cv_func__sincosf_use=no
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44272 ac_ext=c
44273 ac_cpp='$CPP $CPPFLAGS'
44274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44283 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44285 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44286 for ac_func in _sincosf
44287 do :
44288 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44289 if test "x$ac_cv_func__sincosf" = x""yes; then :
44290 cat >>confdefs.h <<_ACEOF
44291 #define HAVE__SINCOSF 1
44292 _ACEOF
44295 done
44304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44305 $as_echo_n "checking for finitef declaration... " >&6; }
44306 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44307 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44308 $as_echo_n "(cached) " >&6
44309 else
44312 ac_ext=cpp
44313 ac_cpp='$CXXCPP $CPPFLAGS'
44314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44319 /* end confdefs.h. */
44320 #include <math.h>
44321 #ifdef HAVE_IEEEFP_H
44322 #include <ieeefp.h>
44323 #endif
44326 main ()
44328 finitef(0);
44330 return 0;
44332 _ACEOF
44333 if ac_fn_cxx_try_compile "$LINENO"; then :
44334 glibcxx_cv_func_finitef_use=yes
44335 else
44336 glibcxx_cv_func_finitef_use=no
44338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44339 ac_ext=c
44340 ac_cpp='$CPP $CPPFLAGS'
44341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44350 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44352 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44353 for ac_func in finitef
44354 do :
44355 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44356 if test "x$ac_cv_func_finitef" = x""yes; then :
44357 cat >>confdefs.h <<_ACEOF
44358 #define HAVE_FINITEF 1
44359 _ACEOF
44362 done
44364 else
44366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44367 $as_echo_n "checking for _finitef declaration... " >&6; }
44368 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44369 if test "${glibcxx_cv_func__finitef_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>
44383 #ifdef HAVE_IEEEFP_H
44384 #include <ieeefp.h>
44385 #endif
44388 main ()
44390 _finitef(0);
44392 return 0;
44394 _ACEOF
44395 if ac_fn_cxx_try_compile "$LINENO"; then :
44396 glibcxx_cv_func__finitef_use=yes
44397 else
44398 glibcxx_cv_func__finitef_use=no
44400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44401 ac_ext=c
44402 ac_cpp='$CPP $CPPFLAGS'
44403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44412 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44414 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44415 for ac_func in _finitef
44416 do :
44417 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44418 if test "x$ac_cv_func__finitef" = x""yes; then :
44419 cat >>confdefs.h <<_ACEOF
44420 #define HAVE__FINITEF 1
44421 _ACEOF
44424 done
44433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44434 $as_echo_n "checking for long double trig functions... " >&6; }
44435 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44436 $as_echo_n "(cached) " >&6
44437 else
44440 ac_ext=cpp
44441 ac_cpp='$CXXCPP $CPPFLAGS'
44442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44447 /* end confdefs.h. */
44448 #include <math.h>
44450 main ()
44452 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44454 return 0;
44456 _ACEOF
44457 if ac_fn_cxx_try_compile "$LINENO"; then :
44458 glibcxx_cv_func_long_double_trig_use=yes
44459 else
44460 glibcxx_cv_func_long_double_trig_use=no
44462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44463 ac_ext=c
44464 ac_cpp='$CPP $CPPFLAGS'
44465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44472 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44473 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44474 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44475 do :
44476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44478 eval as_val=\$$as_ac_var
44479 if test "x$as_val" = x""yes; then :
44480 cat >>confdefs.h <<_ACEOF
44481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44482 _ACEOF
44485 done
44487 else
44488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44489 $as_echo_n "checking for _long double trig functions... " >&6; }
44490 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44491 $as_echo_n "(cached) " >&6
44492 else
44495 ac_ext=cpp
44496 ac_cpp='$CXXCPP $CPPFLAGS'
44497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44502 /* end confdefs.h. */
44503 #include <math.h>
44505 main ()
44507 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44509 return 0;
44511 _ACEOF
44512 if ac_fn_cxx_try_compile "$LINENO"; then :
44513 glibcxx_cv_func__long_double_trig_use=yes
44514 else
44515 glibcxx_cv_func__long_double_trig_use=no
44517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44518 ac_ext=c
44519 ac_cpp='$CPP $CPPFLAGS'
44520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44527 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44528 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44529 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44530 do :
44531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44533 eval as_val=\$$as_ac_var
44534 if test "x$as_val" = x""yes; then :
44535 cat >>confdefs.h <<_ACEOF
44536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44537 _ACEOF
44540 done
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44550 $as_echo_n "checking for long double round functions... " >&6; }
44551 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44552 $as_echo_n "(cached) " >&6
44553 else
44556 ac_ext=cpp
44557 ac_cpp='$CXXCPP $CPPFLAGS'
44558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44563 /* end confdefs.h. */
44564 #include <math.h>
44566 main ()
44568 ceill (0); floorl (0);
44570 return 0;
44572 _ACEOF
44573 if ac_fn_cxx_try_compile "$LINENO"; then :
44574 glibcxx_cv_func_long_double_round_use=yes
44575 else
44576 glibcxx_cv_func_long_double_round_use=no
44578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44579 ac_ext=c
44580 ac_cpp='$CPP $CPPFLAGS'
44581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44588 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44589 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44590 for ac_func in ceill floorl
44591 do :
44592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44594 eval as_val=\$$as_ac_var
44595 if test "x$as_val" = x""yes; then :
44596 cat >>confdefs.h <<_ACEOF
44597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44598 _ACEOF
44601 done
44603 else
44604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44605 $as_echo_n "checking for _long double round functions... " >&6; }
44606 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44607 $as_echo_n "(cached) " >&6
44608 else
44611 ac_ext=cpp
44612 ac_cpp='$CXXCPP $CPPFLAGS'
44613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44618 /* end confdefs.h. */
44619 #include <math.h>
44621 main ()
44623 _ceill (0); _floorl (0);
44625 return 0;
44627 _ACEOF
44628 if ac_fn_cxx_try_compile "$LINENO"; then :
44629 glibcxx_cv_func__long_double_round_use=yes
44630 else
44631 glibcxx_cv_func__long_double_round_use=no
44633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634 ac_ext=c
44635 ac_cpp='$CPP $CPPFLAGS'
44636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44643 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44644 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44645 for ac_func in _ceill _floorl
44646 do :
44647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44649 eval as_val=\$$as_ac_var
44650 if test "x$as_val" = x""yes; then :
44651 cat >>confdefs.h <<_ACEOF
44652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44653 _ACEOF
44656 done
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44667 $as_echo_n "checking for isnanl declaration... " >&6; }
44668 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44669 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44670 $as_echo_n "(cached) " >&6
44671 else
44674 ac_ext=cpp
44675 ac_cpp='$CXXCPP $CPPFLAGS'
44676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44681 /* end confdefs.h. */
44682 #include <math.h>
44683 #ifdef HAVE_IEEEFP_H
44684 #include <ieeefp.h>
44685 #endif
44688 main ()
44690 isnanl(0);
44692 return 0;
44694 _ACEOF
44695 if ac_fn_cxx_try_compile "$LINENO"; then :
44696 glibcxx_cv_func_isnanl_use=yes
44697 else
44698 glibcxx_cv_func_isnanl_use=no
44700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44701 ac_ext=c
44702 ac_cpp='$CPP $CPPFLAGS'
44703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44712 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44714 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44715 for ac_func in isnanl
44716 do :
44717 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44718 if test "x$ac_cv_func_isnanl" = x""yes; then :
44719 cat >>confdefs.h <<_ACEOF
44720 #define HAVE_ISNANL 1
44721 _ACEOF
44724 done
44726 else
44728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44729 $as_echo_n "checking for _isnanl declaration... " >&6; }
44730 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44731 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44732 $as_echo_n "(cached) " >&6
44733 else
44736 ac_ext=cpp
44737 ac_cpp='$CXXCPP $CPPFLAGS'
44738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44743 /* end confdefs.h. */
44744 #include <math.h>
44745 #ifdef HAVE_IEEEFP_H
44746 #include <ieeefp.h>
44747 #endif
44750 main ()
44752 _isnanl(0);
44754 return 0;
44756 _ACEOF
44757 if ac_fn_cxx_try_compile "$LINENO"; then :
44758 glibcxx_cv_func__isnanl_use=yes
44759 else
44760 glibcxx_cv_func__isnanl_use=no
44762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44763 ac_ext=c
44764 ac_cpp='$CPP $CPPFLAGS'
44765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44774 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44776 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44777 for ac_func in _isnanl
44778 do :
44779 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44780 if test "x$ac_cv_func__isnanl" = x""yes; then :
44781 cat >>confdefs.h <<_ACEOF
44782 #define HAVE__ISNANL 1
44783 _ACEOF
44786 done
44795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44796 $as_echo_n "checking for isinfl declaration... " >&6; }
44797 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44798 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44799 $as_echo_n "(cached) " >&6
44800 else
44803 ac_ext=cpp
44804 ac_cpp='$CXXCPP $CPPFLAGS'
44805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44810 /* end confdefs.h. */
44811 #include <math.h>
44812 #ifdef HAVE_IEEEFP_H
44813 #include <ieeefp.h>
44814 #endif
44817 main ()
44819 isinfl(0);
44821 return 0;
44823 _ACEOF
44824 if ac_fn_cxx_try_compile "$LINENO"; then :
44825 glibcxx_cv_func_isinfl_use=yes
44826 else
44827 glibcxx_cv_func_isinfl_use=no
44829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44830 ac_ext=c
44831 ac_cpp='$CPP $CPPFLAGS'
44832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44841 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44843 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44844 for ac_func in isinfl
44845 do :
44846 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44847 if test "x$ac_cv_func_isinfl" = x""yes; then :
44848 cat >>confdefs.h <<_ACEOF
44849 #define HAVE_ISINFL 1
44850 _ACEOF
44853 done
44855 else
44857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44858 $as_echo_n "checking for _isinfl declaration... " >&6; }
44859 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44860 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44861 $as_echo_n "(cached) " >&6
44862 else
44865 ac_ext=cpp
44866 ac_cpp='$CXXCPP $CPPFLAGS'
44867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44872 /* end confdefs.h. */
44873 #include <math.h>
44874 #ifdef HAVE_IEEEFP_H
44875 #include <ieeefp.h>
44876 #endif
44879 main ()
44881 _isinfl(0);
44883 return 0;
44885 _ACEOF
44886 if ac_fn_cxx_try_compile "$LINENO"; then :
44887 glibcxx_cv_func__isinfl_use=yes
44888 else
44889 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
44903 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44905 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44906 for ac_func in _isinfl
44907 do :
44908 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44909 if test "x$ac_cv_func__isinfl" = x""yes; then :
44910 cat >>confdefs.h <<_ACEOF
44911 #define HAVE__ISINFL 1
44912 _ACEOF
44915 done
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44925 $as_echo_n "checking for atan2l declaration... " >&6; }
44926 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44927 if test "${glibcxx_cv_func_atan2l_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>
44942 main ()
44944 atan2l(0, 0);
44946 return 0;
44948 _ACEOF
44949 if ac_fn_cxx_try_compile "$LINENO"; then :
44950 glibcxx_cv_func_atan2l_use=yes
44951 else
44952 glibcxx_cv_func_atan2l_use=no
44954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44955 ac_ext=c
44956 ac_cpp='$CPP $CPPFLAGS'
44957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44966 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44968 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44969 for ac_func in atan2l
44970 do :
44971 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44972 if test "x$ac_cv_func_atan2l" = x""yes; then :
44973 cat >>confdefs.h <<_ACEOF
44974 #define HAVE_ATAN2L 1
44975 _ACEOF
44978 done
44980 else
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44983 $as_echo_n "checking for _atan2l declaration... " >&6; }
44984 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44985 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44986 $as_echo_n "(cached) " >&6
44987 else
44990 ac_ext=cpp
44991 ac_cpp='$CXXCPP $CPPFLAGS'
44992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44997 /* end confdefs.h. */
44998 #include <math.h>
45000 main ()
45002 _atan2l(0, 0);
45004 return 0;
45006 _ACEOF
45007 if ac_fn_cxx_try_compile "$LINENO"; then :
45008 glibcxx_cv_func__atan2l_use=yes
45009 else
45010 glibcxx_cv_func__atan2l_use=no
45012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45013 ac_ext=c
45014 ac_cpp='$CPP $CPPFLAGS'
45015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45024 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45026 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45027 for ac_func in _atan2l
45028 do :
45029 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45030 if test "x$ac_cv_func__atan2l" = x""yes; then :
45031 cat >>confdefs.h <<_ACEOF
45032 #define HAVE__ATAN2L 1
45033 _ACEOF
45036 done
45045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45046 $as_echo_n "checking for expl declaration... " >&6; }
45047 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45048 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45049 $as_echo_n "(cached) " >&6
45050 else
45053 ac_ext=cpp
45054 ac_cpp='$CXXCPP $CPPFLAGS'
45055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45060 /* end confdefs.h. */
45061 #include <math.h>
45062 #ifdef HAVE_IEEEFP_H
45063 #include <ieeefp.h>
45064 #endif
45067 main ()
45069 expl(0);
45071 return 0;
45073 _ACEOF
45074 if ac_fn_cxx_try_compile "$LINENO"; then :
45075 glibcxx_cv_func_expl_use=yes
45076 else
45077 glibcxx_cv_func_expl_use=no
45079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45080 ac_ext=c
45081 ac_cpp='$CPP $CPPFLAGS'
45082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45091 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45093 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45094 for ac_func in expl
45095 do :
45096 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45097 if test "x$ac_cv_func_expl" = x""yes; then :
45098 cat >>confdefs.h <<_ACEOF
45099 #define HAVE_EXPL 1
45100 _ACEOF
45103 done
45105 else
45107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45108 $as_echo_n "checking for _expl declaration... " >&6; }
45109 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45110 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45111 $as_echo_n "(cached) " >&6
45112 else
45115 ac_ext=cpp
45116 ac_cpp='$CXXCPP $CPPFLAGS'
45117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45122 /* end confdefs.h. */
45123 #include <math.h>
45124 #ifdef HAVE_IEEEFP_H
45125 #include <ieeefp.h>
45126 #endif
45129 main ()
45131 _expl(0);
45133 return 0;
45135 _ACEOF
45136 if ac_fn_cxx_try_compile "$LINENO"; then :
45137 glibcxx_cv_func__expl_use=yes
45138 else
45139 glibcxx_cv_func__expl_use=no
45141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45142 ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45153 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45155 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45156 for ac_func in _expl
45157 do :
45158 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45159 if test "x$ac_cv_func__expl" = x""yes; then :
45160 cat >>confdefs.h <<_ACEOF
45161 #define HAVE__EXPL 1
45162 _ACEOF
45165 done
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45175 $as_echo_n "checking for fabsl declaration... " >&6; }
45176 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45177 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45178 $as_echo_n "(cached) " >&6
45179 else
45182 ac_ext=cpp
45183 ac_cpp='$CXXCPP $CPPFLAGS'
45184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45189 /* end confdefs.h. */
45190 #include <math.h>
45191 #ifdef HAVE_IEEEFP_H
45192 #include <ieeefp.h>
45193 #endif
45196 main ()
45198 fabsl(0);
45200 return 0;
45202 _ACEOF
45203 if ac_fn_cxx_try_compile "$LINENO"; then :
45204 glibcxx_cv_func_fabsl_use=yes
45205 else
45206 glibcxx_cv_func_fabsl_use=no
45208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45209 ac_ext=c
45210 ac_cpp='$CPP $CPPFLAGS'
45211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45220 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45222 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45223 for ac_func in fabsl
45224 do :
45225 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45226 if test "x$ac_cv_func_fabsl" = x""yes; then :
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE_FABSL 1
45229 _ACEOF
45232 done
45234 else
45236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45237 $as_echo_n "checking for _fabsl declaration... " >&6; }
45238 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45239 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45240 $as_echo_n "(cached) " >&6
45241 else
45244 ac_ext=cpp
45245 ac_cpp='$CXXCPP $CPPFLAGS'
45246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45251 /* end confdefs.h. */
45252 #include <math.h>
45253 #ifdef HAVE_IEEEFP_H
45254 #include <ieeefp.h>
45255 #endif
45258 main ()
45260 _fabsl(0);
45262 return 0;
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func__fabsl_use=yes
45267 else
45268 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
45282 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45284 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45285 for ac_func in _fabsl
45286 do :
45287 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45288 if test "x$ac_cv_func__fabsl" = x""yes; then :
45289 cat >>confdefs.h <<_ACEOF
45290 #define HAVE__FABSL 1
45291 _ACEOF
45294 done
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45304 $as_echo_n "checking for fmodl declaration... " >&6; }
45305 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45306 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
45325 return 0;
45327 _ACEOF
45328 if ac_fn_cxx_try_compile "$LINENO"; then :
45329 glibcxx_cv_func_fmodl_use=yes
45330 else
45331 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
45345 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45347 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45348 for ac_func in fmodl
45349 do :
45350 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45351 if test "x$ac_cv_func_fmodl" = x""yes; then :
45352 cat >>confdefs.h <<_ACEOF
45353 #define HAVE_FMODL 1
45354 _ACEOF
45357 done
45359 else
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45362 $as_echo_n "checking for _fmodl declaration... " >&6; }
45363 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45364 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
45383 return 0;
45385 _ACEOF
45386 if ac_fn_cxx_try_compile "$LINENO"; then :
45387 glibcxx_cv_func__fmodl_use=yes
45388 else
45389 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
45403 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45405 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45406 for ac_func in _fmodl
45407 do :
45408 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45409 if test "x$ac_cv_func__fmodl" = x""yes; then :
45410 cat >>confdefs.h <<_ACEOF
45411 #define HAVE__FMODL 1
45412 _ACEOF
45415 done
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45425 $as_echo_n "checking for frexpl declaration... " >&6; }
45426 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45427 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
45446 return 0;
45448 _ACEOF
45449 if ac_fn_cxx_try_compile "$LINENO"; then :
45450 glibcxx_cv_func_frexpl_use=yes
45451 else
45452 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
45466 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45468 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45469 for ac_func in frexpl
45470 do :
45471 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45472 if test "x$ac_cv_func_frexpl" = x""yes; then :
45473 cat >>confdefs.h <<_ACEOF
45474 #define HAVE_FREXPL 1
45475 _ACEOF
45478 done
45480 else
45482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45483 $as_echo_n "checking for _frexpl declaration... " >&6; }
45484 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45485 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
45504 return 0;
45506 _ACEOF
45507 if ac_fn_cxx_try_compile "$LINENO"; then :
45508 glibcxx_cv_func__frexpl_use=yes
45509 else
45510 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
45524 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45526 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45527 for ac_func in _frexpl
45528 do :
45529 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45530 if test "x$ac_cv_func__frexpl" = x""yes; then :
45531 cat >>confdefs.h <<_ACEOF
45532 #define HAVE__FREXPL 1
45533 _ACEOF
45536 done
45545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45546 $as_echo_n "checking for hypotl declaration... " >&6; }
45547 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45548 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
45567 return 0;
45569 _ACEOF
45570 if ac_fn_cxx_try_compile "$LINENO"; then :
45571 glibcxx_cv_func_hypotl_use=yes
45572 else
45573 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
45587 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45589 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45590 for ac_func in hypotl
45591 do :
45592 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45593 if test "x$ac_cv_func_hypotl" = x""yes; then :
45594 cat >>confdefs.h <<_ACEOF
45595 #define HAVE_HYPOTL 1
45596 _ACEOF
45599 done
45601 else
45603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45604 $as_echo_n "checking for _hypotl declaration... " >&6; }
45605 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45606 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
45625 return 0;
45627 _ACEOF
45628 if ac_fn_cxx_try_compile "$LINENO"; then :
45629 glibcxx_cv_func__hypotl_use=yes
45630 else
45631 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
45645 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45647 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45648 for ac_func in _hypotl
45649 do :
45650 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45651 if test "x$ac_cv_func__hypotl" = x""yes; then :
45652 cat >>confdefs.h <<_ACEOF
45653 #define HAVE__HYPOTL 1
45654 _ACEOF
45657 done
45666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45667 $as_echo_n "checking for ldexpl declaration... " >&6; }
45668 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45669 if test "${glibcxx_cv_func_ldexpl_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>
45684 main ()
45686 ldexpl(0, 0);
45688 return 0;
45690 _ACEOF
45691 if ac_fn_cxx_try_compile "$LINENO"; then :
45692 glibcxx_cv_func_ldexpl_use=yes
45693 else
45694 glibcxx_cv_func_ldexpl_use=no
45696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45697 ac_ext=c
45698 ac_cpp='$CPP $CPPFLAGS'
45699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45708 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45710 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45711 for ac_func in ldexpl
45712 do :
45713 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45714 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45715 cat >>confdefs.h <<_ACEOF
45716 #define HAVE_LDEXPL 1
45717 _ACEOF
45720 done
45722 else
45724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45725 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45726 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45727 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45728 $as_echo_n "(cached) " >&6
45729 else
45732 ac_ext=cpp
45733 ac_cpp='$CXXCPP $CPPFLAGS'
45734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45739 /* end confdefs.h. */
45740 #include <math.h>
45742 main ()
45744 _ldexpl(0, 0);
45746 return 0;
45748 _ACEOF
45749 if ac_fn_cxx_try_compile "$LINENO"; then :
45750 glibcxx_cv_func__ldexpl_use=yes
45751 else
45752 glibcxx_cv_func__ldexpl_use=no
45754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45755 ac_ext=c
45756 ac_cpp='$CPP $CPPFLAGS'
45757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45766 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45768 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45769 for ac_func in _ldexpl
45770 do :
45771 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45772 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45773 cat >>confdefs.h <<_ACEOF
45774 #define HAVE__LDEXPL 1
45775 _ACEOF
45778 done
45787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45788 $as_echo_n "checking for logl declaration... " >&6; }
45789 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45790 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45791 $as_echo_n "(cached) " >&6
45792 else
45795 ac_ext=cpp
45796 ac_cpp='$CXXCPP $CPPFLAGS'
45797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45802 /* end confdefs.h. */
45803 #include <math.h>
45804 #ifdef HAVE_IEEEFP_H
45805 #include <ieeefp.h>
45806 #endif
45809 main ()
45811 logl(0);
45813 return 0;
45815 _ACEOF
45816 if ac_fn_cxx_try_compile "$LINENO"; then :
45817 glibcxx_cv_func_logl_use=yes
45818 else
45819 glibcxx_cv_func_logl_use=no
45821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45822 ac_ext=c
45823 ac_cpp='$CPP $CPPFLAGS'
45824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45833 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45835 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45836 for ac_func in logl
45837 do :
45838 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45839 if test "x$ac_cv_func_logl" = x""yes; then :
45840 cat >>confdefs.h <<_ACEOF
45841 #define HAVE_LOGL 1
45842 _ACEOF
45845 done
45847 else
45849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45850 $as_echo_n "checking for _logl declaration... " >&6; }
45851 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45852 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45853 $as_echo_n "(cached) " >&6
45854 else
45857 ac_ext=cpp
45858 ac_cpp='$CXXCPP $CPPFLAGS'
45859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45864 /* end confdefs.h. */
45865 #include <math.h>
45866 #ifdef HAVE_IEEEFP_H
45867 #include <ieeefp.h>
45868 #endif
45871 main ()
45873 _logl(0);
45875 return 0;
45877 _ACEOF
45878 if ac_fn_cxx_try_compile "$LINENO"; then :
45879 glibcxx_cv_func__logl_use=yes
45880 else
45881 glibcxx_cv_func__logl_use=no
45883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45884 ac_ext=c
45885 ac_cpp='$CPP $CPPFLAGS'
45886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45895 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45897 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45898 for ac_func in _logl
45899 do :
45900 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45901 if test "x$ac_cv_func__logl" = x""yes; then :
45902 cat >>confdefs.h <<_ACEOF
45903 #define HAVE__LOGL 1
45904 _ACEOF
45907 done
45916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45917 $as_echo_n "checking for log10l declaration... " >&6; }
45918 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45919 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45920 $as_echo_n "(cached) " >&6
45921 else
45924 ac_ext=cpp
45925 ac_cpp='$CXXCPP $CPPFLAGS'
45926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45931 /* end confdefs.h. */
45932 #include <math.h>
45933 #ifdef HAVE_IEEEFP_H
45934 #include <ieeefp.h>
45935 #endif
45938 main ()
45940 log10l(0);
45942 return 0;
45944 _ACEOF
45945 if ac_fn_cxx_try_compile "$LINENO"; then :
45946 glibcxx_cv_func_log10l_use=yes
45947 else
45948 glibcxx_cv_func_log10l_use=no
45950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45951 ac_ext=c
45952 ac_cpp='$CPP $CPPFLAGS'
45953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45962 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45964 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45965 for ac_func in log10l
45966 do :
45967 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45968 if test "x$ac_cv_func_log10l" = x""yes; then :
45969 cat >>confdefs.h <<_ACEOF
45970 #define HAVE_LOG10L 1
45971 _ACEOF
45974 done
45976 else
45978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45979 $as_echo_n "checking for _log10l declaration... " >&6; }
45980 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45981 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45982 $as_echo_n "(cached) " >&6
45983 else
45986 ac_ext=cpp
45987 ac_cpp='$CXXCPP $CPPFLAGS'
45988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45993 /* end confdefs.h. */
45994 #include <math.h>
45995 #ifdef HAVE_IEEEFP_H
45996 #include <ieeefp.h>
45997 #endif
46000 main ()
46002 _log10l(0);
46004 return 0;
46006 _ACEOF
46007 if ac_fn_cxx_try_compile "$LINENO"; then :
46008 glibcxx_cv_func__log10l_use=yes
46009 else
46010 glibcxx_cv_func__log10l_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__log10l_use" >&5
46024 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46026 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46027 for ac_func in _log10l
46028 do :
46029 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46030 if test "x$ac_cv_func__log10l" = x""yes; then :
46031 cat >>confdefs.h <<_ACEOF
46032 #define HAVE__LOG10L 1
46033 _ACEOF
46036 done
46045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46046 $as_echo_n "checking for modfl declaration... " >&6; }
46047 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46048 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
46067 return 0;
46069 _ACEOF
46070 if ac_fn_cxx_try_compile "$LINENO"; then :
46071 glibcxx_cv_func_modfl_use=yes
46072 else
46073 glibcxx_cv_func_modfl_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_modfl_use" >&5
46087 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46089 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46090 for ac_func in modfl
46091 do :
46092 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46093 if test "x$ac_cv_func_modfl" = x""yes; then :
46094 cat >>confdefs.h <<_ACEOF
46095 #define HAVE_MODFL 1
46096 _ACEOF
46099 done
46101 else
46103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46104 $as_echo_n "checking for _modfl declaration... " >&6; }
46105 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46106 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
46125 return 0;
46127 _ACEOF
46128 if ac_fn_cxx_try_compile "$LINENO"; then :
46129 glibcxx_cv_func__modfl_use=yes
46130 else
46131 glibcxx_cv_func__modfl_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__modfl_use" >&5
46145 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46147 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46148 for ac_func in _modfl
46149 do :
46150 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46151 if test "x$ac_cv_func__modfl" = x""yes; then :
46152 cat >>confdefs.h <<_ACEOF
46153 #define HAVE__MODFL 1
46154 _ACEOF
46157 done
46166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46167 $as_echo_n "checking for powl declaration... " >&6; }
46168 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46169 if test "${glibcxx_cv_func_powl_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>
46184 main ()
46186 powl(0, 0);
46188 return 0;
46190 _ACEOF
46191 if ac_fn_cxx_try_compile "$LINENO"; then :
46192 glibcxx_cv_func_powl_use=yes
46193 else
46194 glibcxx_cv_func_powl_use=no
46196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46197 ac_ext=c
46198 ac_cpp='$CPP $CPPFLAGS'
46199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46208 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46210 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46211 for ac_func in powl
46212 do :
46213 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46214 if test "x$ac_cv_func_powl" = x""yes; then :
46215 cat >>confdefs.h <<_ACEOF
46216 #define HAVE_POWL 1
46217 _ACEOF
46220 done
46222 else
46224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46225 $as_echo_n "checking for _powl declaration... " >&6; }
46226 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46227 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46228 $as_echo_n "(cached) " >&6
46229 else
46232 ac_ext=cpp
46233 ac_cpp='$CXXCPP $CPPFLAGS'
46234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46239 /* end confdefs.h. */
46240 #include <math.h>
46242 main ()
46244 _powl(0, 0);
46246 return 0;
46248 _ACEOF
46249 if ac_fn_cxx_try_compile "$LINENO"; then :
46250 glibcxx_cv_func__powl_use=yes
46251 else
46252 glibcxx_cv_func__powl_use=no
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46266 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46268 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46269 for ac_func in _powl
46270 do :
46271 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46272 if test "x$ac_cv_func__powl" = x""yes; then :
46273 cat >>confdefs.h <<_ACEOF
46274 #define HAVE__POWL 1
46275 _ACEOF
46278 done
46287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46288 $as_echo_n "checking for sqrtl declaration... " >&6; }
46289 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46290 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46291 $as_echo_n "(cached) " >&6
46292 else
46295 ac_ext=cpp
46296 ac_cpp='$CXXCPP $CPPFLAGS'
46297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46302 /* end confdefs.h. */
46303 #include <math.h>
46304 #ifdef HAVE_IEEEFP_H
46305 #include <ieeefp.h>
46306 #endif
46309 main ()
46311 sqrtl(0);
46313 return 0;
46315 _ACEOF
46316 if ac_fn_cxx_try_compile "$LINENO"; then :
46317 glibcxx_cv_func_sqrtl_use=yes
46318 else
46319 glibcxx_cv_func_sqrtl_use=no
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46322 ac_ext=c
46323 ac_cpp='$CPP $CPPFLAGS'
46324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46333 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46335 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46336 for ac_func in sqrtl
46337 do :
46338 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46339 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46340 cat >>confdefs.h <<_ACEOF
46341 #define HAVE_SQRTL 1
46342 _ACEOF
46345 done
46347 else
46349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46350 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46351 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46352 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46353 $as_echo_n "(cached) " >&6
46354 else
46357 ac_ext=cpp
46358 ac_cpp='$CXXCPP $CPPFLAGS'
46359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46364 /* end confdefs.h. */
46365 #include <math.h>
46366 #ifdef HAVE_IEEEFP_H
46367 #include <ieeefp.h>
46368 #endif
46371 main ()
46373 _sqrtl(0);
46375 return 0;
46377 _ACEOF
46378 if ac_fn_cxx_try_compile "$LINENO"; then :
46379 glibcxx_cv_func__sqrtl_use=yes
46380 else
46381 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
46395 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46397 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46398 for ac_func in _sqrtl
46399 do :
46400 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46401 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46402 cat >>confdefs.h <<_ACEOF
46403 #define HAVE__SQRTL 1
46404 _ACEOF
46407 done
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46417 $as_echo_n "checking for sincosl declaration... " >&6; }
46418 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46419 if test "${glibcxx_cv_func_sincosl_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>
46434 main ()
46436 sincosl(0, 0, 0);
46438 return 0;
46440 _ACEOF
46441 if ac_fn_cxx_try_compile "$LINENO"; then :
46442 glibcxx_cv_func_sincosl_use=yes
46443 else
46444 glibcxx_cv_func_sincosl_use=no
46446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46447 ac_ext=c
46448 ac_cpp='$CPP $CPPFLAGS'
46449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46458 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46460 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46461 for ac_func in sincosl
46462 do :
46463 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46464 if test "x$ac_cv_func_sincosl" = x""yes; then :
46465 cat >>confdefs.h <<_ACEOF
46466 #define HAVE_SINCOSL 1
46467 _ACEOF
46470 done
46472 else
46474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46475 $as_echo_n "checking for _sincosl declaration... " >&6; }
46476 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46477 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46478 $as_echo_n "(cached) " >&6
46479 else
46482 ac_ext=cpp
46483 ac_cpp='$CXXCPP $CPPFLAGS'
46484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46489 /* end confdefs.h. */
46490 #include <math.h>
46492 main ()
46494 _sincosl(0, 0, 0);
46496 return 0;
46498 _ACEOF
46499 if ac_fn_cxx_try_compile "$LINENO"; then :
46500 glibcxx_cv_func__sincosl_use=yes
46501 else
46502 glibcxx_cv_func__sincosl_use=no
46504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46505 ac_ext=c
46506 ac_cpp='$CPP $CPPFLAGS'
46507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46516 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46518 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46519 for ac_func in _sincosl
46520 do :
46521 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46522 if test "x$ac_cv_func__sincosl" = x""yes; then :
46523 cat >>confdefs.h <<_ACEOF
46524 #define HAVE__SINCOSL 1
46525 _ACEOF
46528 done
46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46538 $as_echo_n "checking for finitel declaration... " >&6; }
46539 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46540 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46541 $as_echo_n "(cached) " >&6
46542 else
46545 ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h. */
46553 #include <math.h>
46554 #ifdef HAVE_IEEEFP_H
46555 #include <ieeefp.h>
46556 #endif
46559 main ()
46561 finitel(0);
46563 return 0;
46565 _ACEOF
46566 if ac_fn_cxx_try_compile "$LINENO"; then :
46567 glibcxx_cv_func_finitel_use=yes
46568 else
46569 glibcxx_cv_func_finitel_use=no
46571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572 ac_ext=c
46573 ac_cpp='$CPP $CPPFLAGS'
46574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46583 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46585 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46586 for ac_func in finitel
46587 do :
46588 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46589 if test "x$ac_cv_func_finitel" = x""yes; then :
46590 cat >>confdefs.h <<_ACEOF
46591 #define HAVE_FINITEL 1
46592 _ACEOF
46595 done
46597 else
46599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46600 $as_echo_n "checking for _finitel declaration... " >&6; }
46601 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46602 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46603 $as_echo_n "(cached) " >&6
46604 else
46607 ac_ext=cpp
46608 ac_cpp='$CXXCPP $CPPFLAGS'
46609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46614 /* end confdefs.h. */
46615 #include <math.h>
46616 #ifdef HAVE_IEEEFP_H
46617 #include <ieeefp.h>
46618 #endif
46621 main ()
46623 _finitel(0);
46625 return 0;
46627 _ACEOF
46628 if ac_fn_cxx_try_compile "$LINENO"; then :
46629 glibcxx_cv_func__finitel_use=yes
46630 else
46631 glibcxx_cv_func__finitel_use=no
46633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46634 ac_ext=c
46635 ac_cpp='$CPP $CPPFLAGS'
46636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46645 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46647 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46648 for ac_func in _finitel
46649 do :
46650 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46651 if test "x$ac_cv_func__finitel" = x""yes; then :
46652 cat >>confdefs.h <<_ACEOF
46653 #define HAVE__FINITEL 1
46654 _ACEOF
46657 done
46665 LIBS="$ac_save_LIBS"
46666 CXXFLAGS="$ac_save_CXXFLAGS"
46669 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46670 ac_save_CXXFLAGS="$CXXFLAGS"
46671 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46675 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46676 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46677 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46678 $as_echo_n "(cached) " >&6
46679 else
46682 ac_ext=cpp
46683 ac_cpp='$CXXCPP $CPPFLAGS'
46684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46689 /* end confdefs.h. */
46690 #include <stdlib.h>
46692 main ()
46694 at_quick_exit(0);
46696 return 0;
46698 _ACEOF
46699 if ac_fn_cxx_try_compile "$LINENO"; then :
46700 glibcxx_cv_func_at_quick_exit_use=yes
46701 else
46702 glibcxx_cv_func_at_quick_exit_use=no
46704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46705 ac_ext=c
46706 ac_cpp='$CPP $CPPFLAGS'
46707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46716 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46717 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46718 for ac_func in at_quick_exit
46719 do :
46720 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46721 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46722 cat >>confdefs.h <<_ACEOF
46723 #define HAVE_AT_QUICK_EXIT 1
46724 _ACEOF
46727 done
46732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46733 $as_echo_n "checking for quick_exit declaration... " >&6; }
46734 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46735 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46736 $as_echo_n "(cached) " >&6
46737 else
46740 ac_ext=cpp
46741 ac_cpp='$CXXCPP $CPPFLAGS'
46742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46747 /* end confdefs.h. */
46748 #include <stdlib.h>
46750 main ()
46752 quick_exit(0);
46754 return 0;
46756 _ACEOF
46757 if ac_fn_cxx_try_compile "$LINENO"; then :
46758 glibcxx_cv_func_quick_exit_use=yes
46759 else
46760 glibcxx_cv_func_quick_exit_use=no
46762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46763 ac_ext=c
46764 ac_cpp='$CPP $CPPFLAGS'
46765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46774 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46775 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46776 for ac_func in quick_exit
46777 do :
46778 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46779 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46780 cat >>confdefs.h <<_ACEOF
46781 #define HAVE_QUICK_EXIT 1
46782 _ACEOF
46785 done
46790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46791 $as_echo_n "checking for strtold declaration... " >&6; }
46792 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46793 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46794 $as_echo_n "(cached) " >&6
46795 else
46798 ac_ext=cpp
46799 ac_cpp='$CXXCPP $CPPFLAGS'
46800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46805 /* end confdefs.h. */
46806 #include <stdlib.h>
46808 main ()
46810 strtold(0, 0);
46812 return 0;
46814 _ACEOF
46815 if ac_fn_cxx_try_compile "$LINENO"; then :
46816 glibcxx_cv_func_strtold_use=yes
46817 else
46818 glibcxx_cv_func_strtold_use=no
46820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46821 ac_ext=c
46822 ac_cpp='$CPP $CPPFLAGS'
46823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46832 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46833 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46834 for ac_func in strtold
46835 do :
46836 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46837 if test "x$ac_cv_func_strtold" = x""yes; then :
46838 cat >>confdefs.h <<_ACEOF
46839 #define HAVE_STRTOLD 1
46840 _ACEOF
46843 done
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46851 $as_echo_n "checking for strtof declaration... " >&6; }
46852 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46853 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46854 $as_echo_n "(cached) " >&6
46855 else
46858 ac_ext=cpp
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46865 /* end confdefs.h. */
46866 #include <stdlib.h>
46868 main ()
46870 strtof(0, 0);
46872 return 0;
46874 _ACEOF
46875 if ac_fn_cxx_try_compile "$LINENO"; then :
46876 glibcxx_cv_func_strtof_use=yes
46877 else
46878 glibcxx_cv_func_strtof_use=no
46880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46881 ac_ext=c
46882 ac_cpp='$CPP $CPPFLAGS'
46883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46892 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46893 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46894 for ac_func in strtof
46895 do :
46896 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46897 if test "x$ac_cv_func_strtof" = x""yes; then :
46898 cat >>confdefs.h <<_ACEOF
46899 #define HAVE_STRTOF 1
46900 _ACEOF
46903 done
46910 CXXFLAGS="$ac_save_CXXFLAGS"
46912 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46914 # We don't yet support AIX's TLS ABI.
46915 #GCC_CHECK_TLS
46921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46922 $as_echo_n "checking for iconv... " >&6; }
46923 if test "${am_cv_func_iconv+set}" = set; then :
46924 $as_echo_n "(cached) " >&6
46925 else
46927 am_cv_func_iconv="no, consider installing GNU libiconv"
46928 am_cv_lib_iconv=no
46929 am_save_CPPFLAGS="$CPPFLAGS"
46930 CPPFLAGS="$CPPFLAGS $INCICONV"
46931 if test x$gcc_no_link = xyes; then
46932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46935 /* end confdefs.h. */
46936 #include <stdlib.h>
46937 #include <iconv.h>
46939 main ()
46941 iconv_t cd = iconv_open("","");
46942 iconv(cd,NULL,NULL,NULL,NULL);
46943 iconv_close(cd);
46945 return 0;
46947 _ACEOF
46948 if ac_fn_c_try_link "$LINENO"; then :
46949 am_cv_func_iconv=yes
46951 rm -f core conftest.err conftest.$ac_objext \
46952 conftest$ac_exeext conftest.$ac_ext
46953 CPPFLAGS="$am_save_CPPFLAGS"
46955 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46956 for _libs in .libs _libs; do
46957 am_save_CPPFLAGS="$CPPFLAGS"
46958 am_save_LIBS="$LIBS"
46959 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46960 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46961 if test x$gcc_no_link = xyes; then
46962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46965 /* end confdefs.h. */
46966 #include <stdlib.h>
46967 #include <iconv.h>
46969 main ()
46971 iconv_t cd = iconv_open("","");
46972 iconv(cd,NULL,NULL,NULL,NULL);
46973 iconv_close(cd);
46975 return 0;
46977 _ACEOF
46978 if ac_fn_c_try_link "$LINENO"; then :
46979 INCICONV="-I../libiconv/include"
46980 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46981 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46982 am_cv_lib_iconv=yes
46983 am_cv_func_iconv=yes
46985 rm -f core conftest.err conftest.$ac_objext \
46986 conftest$ac_exeext conftest.$ac_ext
46987 CPPFLAGS="$am_save_CPPFLAGS"
46988 LIBS="$am_save_LIBS"
46989 if test "$am_cv_func_iconv" = "yes"; then
46990 break
46992 done
46995 if test "$am_cv_func_iconv" != yes; then
46996 am_save_CPPFLAGS="$CPPFLAGS"
46997 am_save_LIBS="$LIBS"
46998 CPPFLAGS="$LIBS $INCICONV"
46999 LIBS="$LIBS $LIBICONV"
47000 if test x$gcc_no_link = xyes; then
47001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <stdlib.h>
47006 #include <iconv.h>
47008 main ()
47010 iconv_t cd = iconv_open("","");
47011 iconv(cd,NULL,NULL,NULL,NULL);
47012 iconv_close(cd);
47014 return 0;
47016 _ACEOF
47017 if ac_fn_c_try_link "$LINENO"; then :
47018 am_cv_lib_iconv=yes
47019 am_cv_func_iconv=yes
47021 rm -f core conftest.err conftest.$ac_objext \
47022 conftest$ac_exeext conftest.$ac_ext
47023 CPPFLAGS="$am_save_CPPFLAGS"
47024 LIBS="$am_save_LIBS"
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47029 $as_echo "$am_cv_func_iconv" >&6; }
47030 if test "$am_cv_func_iconv" = yes; then
47032 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47035 if test "$am_cv_lib_iconv" = yes; then
47037 for element in $INCICONV; do
47038 haveit=
47039 for x in $CPPFLAGS; do
47041 acl_save_prefix="$prefix"
47042 prefix="$acl_final_prefix"
47043 acl_save_exec_prefix="$exec_prefix"
47044 exec_prefix="$acl_final_exec_prefix"
47045 eval x=\"$x\"
47046 exec_prefix="$acl_save_exec_prefix"
47047 prefix="$acl_save_prefix"
47049 if test "X$x" = "X$element"; then
47050 haveit=yes
47051 break
47053 done
47054 if test -z "$haveit"; then
47055 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47057 done
47059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47060 $as_echo_n "checking how to link with libiconv... " >&6; }
47061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47062 $as_echo "$LIBICONV" >&6; }
47063 else
47064 LIBICONV=
47065 LTLIBICONV=
47070 if test "$am_cv_func_iconv" = yes; then
47071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47072 $as_echo_n "checking for iconv declaration... " >&6; }
47073 if test "${am_cv_proto_iconv+set}" = set; then :
47074 $as_echo_n "(cached) " >&6
47075 else
47077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47078 /* end confdefs.h. */
47080 #include <stdlib.h>
47081 #include <iconv.h>
47082 extern
47083 #ifdef __cplusplus
47085 #endif
47086 #if defined(__STDC__) || defined(__cplusplus)
47087 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47088 #else
47089 size_t iconv();
47090 #endif
47093 main ()
47097 return 0;
47099 _ACEOF
47100 if ac_fn_c_try_compile "$LINENO"; then :
47101 am_cv_proto_iconv_arg1=""
47102 else
47103 am_cv_proto_iconv_arg1="const"
47105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47106 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);"
47109 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47111 }$am_cv_proto_iconv" >&5
47112 $as_echo "${ac_t:-
47113 }$am_cv_proto_iconv" >&6; }
47115 cat >>confdefs.h <<_ACEOF
47116 #define ICONV_CONST $am_cv_proto_iconv_arg1
47117 _ACEOF
47123 *-darwin*)
47124 # Darwin versions vary, but the linker should work in a cross environment,
47125 # so we just check for all the features here.
47126 # Check for available headers.
47128 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47130 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47131 ac_save_CXXFLAGS="$CXXFLAGS"
47132 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47135 $as_echo_n "checking for sin in -lm... " >&6; }
47136 if test "${ac_cv_lib_m_sin+set}" = set; then :
47137 $as_echo_n "(cached) " >&6
47138 else
47139 ac_check_lib_save_LIBS=$LIBS
47140 LIBS="-lm $LIBS"
47141 if test x$gcc_no_link = xyes; then
47142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47147 /* Override any GCC internal prototype to avoid an error.
47148 Use char because int might match the return type of a GCC
47149 builtin and then its argument prototype would still apply. */
47150 #ifdef __cplusplus
47151 extern "C"
47152 #endif
47153 char sin ();
47155 main ()
47157 return sin ();
47159 return 0;
47161 _ACEOF
47162 if ac_fn_c_try_link "$LINENO"; then :
47163 ac_cv_lib_m_sin=yes
47164 else
47165 ac_cv_lib_m_sin=no
47167 rm -f core conftest.err conftest.$ac_objext \
47168 conftest$ac_exeext conftest.$ac_ext
47169 LIBS=$ac_check_lib_save_LIBS
47171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47172 $as_echo "$ac_cv_lib_m_sin" >&6; }
47173 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47174 libm="-lm"
47177 ac_save_LIBS="$LIBS"
47178 LIBS="$LIBS $libm"
47182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47183 $as_echo_n "checking for isinf declaration... " >&6; }
47184 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47185 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47186 $as_echo_n "(cached) " >&6
47187 else
47190 ac_ext=cpp
47191 ac_cpp='$CXXCPP $CPPFLAGS'
47192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47197 /* end confdefs.h. */
47198 #include <math.h>
47199 #ifdef HAVE_IEEEFP_H
47200 #include <ieeefp.h>
47201 #endif
47204 main ()
47206 isinf(0);
47208 return 0;
47210 _ACEOF
47211 if ac_fn_cxx_try_compile "$LINENO"; then :
47212 glibcxx_cv_func_isinf_use=yes
47213 else
47214 glibcxx_cv_func_isinf_use=no
47216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47217 ac_ext=c
47218 ac_cpp='$CPP $CPPFLAGS'
47219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47228 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47230 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47231 for ac_func in isinf
47232 do :
47233 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47234 if test "x$ac_cv_func_isinf" = x""yes; then :
47235 cat >>confdefs.h <<_ACEOF
47236 #define HAVE_ISINF 1
47237 _ACEOF
47240 done
47242 else
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47245 $as_echo_n "checking for _isinf declaration... " >&6; }
47246 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47247 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47248 $as_echo_n "(cached) " >&6
47249 else
47252 ac_ext=cpp
47253 ac_cpp='$CXXCPP $CPPFLAGS'
47254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47259 /* end confdefs.h. */
47260 #include <math.h>
47261 #ifdef HAVE_IEEEFP_H
47262 #include <ieeefp.h>
47263 #endif
47266 main ()
47268 _isinf(0);
47270 return 0;
47272 _ACEOF
47273 if ac_fn_cxx_try_compile "$LINENO"; then :
47274 glibcxx_cv_func__isinf_use=yes
47275 else
47276 glibcxx_cv_func__isinf_use=no
47278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 ac_ext=c
47280 ac_cpp='$CPP $CPPFLAGS'
47281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47290 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47292 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47293 for ac_func in _isinf
47294 do :
47295 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47296 if test "x$ac_cv_func__isinf" = x""yes; then :
47297 cat >>confdefs.h <<_ACEOF
47298 #define HAVE__ISINF 1
47299 _ACEOF
47302 done
47311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47312 $as_echo_n "checking for isnan declaration... " >&6; }
47313 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47314 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47315 $as_echo_n "(cached) " >&6
47316 else
47319 ac_ext=cpp
47320 ac_cpp='$CXXCPP $CPPFLAGS'
47321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47326 /* end confdefs.h. */
47327 #include <math.h>
47328 #ifdef HAVE_IEEEFP_H
47329 #include <ieeefp.h>
47330 #endif
47333 main ()
47335 isnan(0);
47337 return 0;
47339 _ACEOF
47340 if ac_fn_cxx_try_compile "$LINENO"; then :
47341 glibcxx_cv_func_isnan_use=yes
47342 else
47343 glibcxx_cv_func_isnan_use=no
47345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47346 ac_ext=c
47347 ac_cpp='$CPP $CPPFLAGS'
47348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47357 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47359 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47360 for ac_func in isnan
47361 do :
47362 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47363 if test "x$ac_cv_func_isnan" = x""yes; then :
47364 cat >>confdefs.h <<_ACEOF
47365 #define HAVE_ISNAN 1
47366 _ACEOF
47369 done
47371 else
47373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47374 $as_echo_n "checking for _isnan declaration... " >&6; }
47375 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47376 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47377 $as_echo_n "(cached) " >&6
47378 else
47381 ac_ext=cpp
47382 ac_cpp='$CXXCPP $CPPFLAGS'
47383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47388 /* end confdefs.h. */
47389 #include <math.h>
47390 #ifdef HAVE_IEEEFP_H
47391 #include <ieeefp.h>
47392 #endif
47395 main ()
47397 _isnan(0);
47399 return 0;
47401 _ACEOF
47402 if ac_fn_cxx_try_compile "$LINENO"; then :
47403 glibcxx_cv_func__isnan_use=yes
47404 else
47405 glibcxx_cv_func__isnan_use=no
47407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47408 ac_ext=c
47409 ac_cpp='$CPP $CPPFLAGS'
47410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47419 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47421 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47422 for ac_func in _isnan
47423 do :
47424 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47425 if test "x$ac_cv_func__isnan" = x""yes; then :
47426 cat >>confdefs.h <<_ACEOF
47427 #define HAVE__ISNAN 1
47428 _ACEOF
47431 done
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47441 $as_echo_n "checking for finite declaration... " >&6; }
47442 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47443 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47444 $as_echo_n "(cached) " >&6
47445 else
47448 ac_ext=cpp
47449 ac_cpp='$CXXCPP $CPPFLAGS'
47450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47455 /* end confdefs.h. */
47456 #include <math.h>
47457 #ifdef HAVE_IEEEFP_H
47458 #include <ieeefp.h>
47459 #endif
47462 main ()
47464 finite(0);
47466 return 0;
47468 _ACEOF
47469 if ac_fn_cxx_try_compile "$LINENO"; then :
47470 glibcxx_cv_func_finite_use=yes
47471 else
47472 glibcxx_cv_func_finite_use=no
47474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47475 ac_ext=c
47476 ac_cpp='$CPP $CPPFLAGS'
47477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47486 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47488 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47489 for ac_func in finite
47490 do :
47491 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47492 if test "x$ac_cv_func_finite" = x""yes; then :
47493 cat >>confdefs.h <<_ACEOF
47494 #define HAVE_FINITE 1
47495 _ACEOF
47498 done
47500 else
47502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47503 $as_echo_n "checking for _finite declaration... " >&6; }
47504 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47505 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47506 $as_echo_n "(cached) " >&6
47507 else
47510 ac_ext=cpp
47511 ac_cpp='$CXXCPP $CPPFLAGS'
47512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47517 /* end confdefs.h. */
47518 #include <math.h>
47519 #ifdef HAVE_IEEEFP_H
47520 #include <ieeefp.h>
47521 #endif
47524 main ()
47526 _finite(0);
47528 return 0;
47530 _ACEOF
47531 if ac_fn_cxx_try_compile "$LINENO"; then :
47532 glibcxx_cv_func__finite_use=yes
47533 else
47534 glibcxx_cv_func__finite_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__finite_use" >&5
47548 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47550 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47551 for ac_func in _finite
47552 do :
47553 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47554 if test "x$ac_cv_func__finite" = x""yes; then :
47555 cat >>confdefs.h <<_ACEOF
47556 #define HAVE__FINITE 1
47557 _ACEOF
47560 done
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47570 $as_echo_n "checking for sincos declaration... " >&6; }
47571 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47572 if test "${glibcxx_cv_func_sincos_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>
47587 main ()
47589 sincos(0, 0, 0);
47591 return 0;
47593 _ACEOF
47594 if ac_fn_cxx_try_compile "$LINENO"; then :
47595 glibcxx_cv_func_sincos_use=yes
47596 else
47597 glibcxx_cv_func_sincos_use=no
47599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47600 ac_ext=c
47601 ac_cpp='$CPP $CPPFLAGS'
47602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47611 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47613 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47614 for ac_func in sincos
47615 do :
47616 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47617 if test "x$ac_cv_func_sincos" = x""yes; then :
47618 cat >>confdefs.h <<_ACEOF
47619 #define HAVE_SINCOS 1
47620 _ACEOF
47623 done
47625 else
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47628 $as_echo_n "checking for _sincos declaration... " >&6; }
47629 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47630 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47645 main ()
47647 _sincos(0, 0, 0);
47649 return 0;
47651 _ACEOF
47652 if ac_fn_cxx_try_compile "$LINENO"; then :
47653 glibcxx_cv_func__sincos_use=yes
47654 else
47655 glibcxx_cv_func__sincos_use=no
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47669 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47671 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47672 for ac_func in _sincos
47673 do :
47674 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47675 if test "x$ac_cv_func__sincos" = x""yes; then :
47676 cat >>confdefs.h <<_ACEOF
47677 #define HAVE__SINCOS 1
47678 _ACEOF
47681 done
47690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47691 $as_echo_n "checking for fpclass declaration... " >&6; }
47692 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47693 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47694 $as_echo_n "(cached) " >&6
47695 else
47698 ac_ext=cpp
47699 ac_cpp='$CXXCPP $CPPFLAGS'
47700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47705 /* end confdefs.h. */
47706 #include <math.h>
47707 #ifdef HAVE_IEEEFP_H
47708 #include <ieeefp.h>
47709 #endif
47712 main ()
47714 fpclass(0);
47716 return 0;
47718 _ACEOF
47719 if ac_fn_cxx_try_compile "$LINENO"; then :
47720 glibcxx_cv_func_fpclass_use=yes
47721 else
47722 glibcxx_cv_func_fpclass_use=no
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 ac_ext=c
47726 ac_cpp='$CPP $CPPFLAGS'
47727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47736 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47738 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47739 for ac_func in fpclass
47740 do :
47741 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47742 if test "x$ac_cv_func_fpclass" = x""yes; then :
47743 cat >>confdefs.h <<_ACEOF
47744 #define HAVE_FPCLASS 1
47745 _ACEOF
47748 done
47750 else
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47753 $as_echo_n "checking for _fpclass declaration... " >&6; }
47754 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47755 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47756 $as_echo_n "(cached) " >&6
47757 else
47760 ac_ext=cpp
47761 ac_cpp='$CXXCPP $CPPFLAGS'
47762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47767 /* end confdefs.h. */
47768 #include <math.h>
47769 #ifdef HAVE_IEEEFP_H
47770 #include <ieeefp.h>
47771 #endif
47774 main ()
47776 _fpclass(0);
47778 return 0;
47780 _ACEOF
47781 if ac_fn_cxx_try_compile "$LINENO"; then :
47782 glibcxx_cv_func__fpclass_use=yes
47783 else
47784 glibcxx_cv_func__fpclass_use=no
47786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47787 ac_ext=c
47788 ac_cpp='$CPP $CPPFLAGS'
47789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47798 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47800 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47801 for ac_func in _fpclass
47802 do :
47803 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47804 if test "x$ac_cv_func__fpclass" = x""yes; then :
47805 cat >>confdefs.h <<_ACEOF
47806 #define HAVE__FPCLASS 1
47807 _ACEOF
47810 done
47819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47820 $as_echo_n "checking for qfpclass declaration... " >&6; }
47821 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47822 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47823 $as_echo_n "(cached) " >&6
47824 else
47827 ac_ext=cpp
47828 ac_cpp='$CXXCPP $CPPFLAGS'
47829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47834 /* end confdefs.h. */
47835 #include <math.h>
47836 #ifdef HAVE_IEEEFP_H
47837 #include <ieeefp.h>
47838 #endif
47841 main ()
47843 qfpclass(0);
47845 return 0;
47847 _ACEOF
47848 if ac_fn_cxx_try_compile "$LINENO"; then :
47849 glibcxx_cv_func_qfpclass_use=yes
47850 else
47851 glibcxx_cv_func_qfpclass_use=no
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854 ac_ext=c
47855 ac_cpp='$CPP $CPPFLAGS'
47856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47865 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47867 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47868 for ac_func in qfpclass
47869 do :
47870 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47871 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47872 cat >>confdefs.h <<_ACEOF
47873 #define HAVE_QFPCLASS 1
47874 _ACEOF
47877 done
47879 else
47881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47882 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47883 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47884 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47885 $as_echo_n "(cached) " >&6
47886 else
47889 ac_ext=cpp
47890 ac_cpp='$CXXCPP $CPPFLAGS'
47891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47896 /* end confdefs.h. */
47897 #include <math.h>
47898 #ifdef HAVE_IEEEFP_H
47899 #include <ieeefp.h>
47900 #endif
47903 main ()
47905 _qfpclass(0);
47907 return 0;
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func__qfpclass_use=yes
47912 else
47913 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
47927 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47929 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47930 for ac_func in _qfpclass
47931 do :
47932 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47933 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE__QFPCLASS 1
47936 _ACEOF
47939 done
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47949 $as_echo_n "checking for hypot declaration... " >&6; }
47950 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47951 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47952 $as_echo_n "(cached) " >&6
47953 else
47956 ac_ext=cpp
47957 ac_cpp='$CXXCPP $CPPFLAGS'
47958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47963 /* end confdefs.h. */
47964 #include <math.h>
47966 main ()
47968 hypot(0, 0);
47970 return 0;
47972 _ACEOF
47973 if ac_fn_cxx_try_compile "$LINENO"; then :
47974 glibcxx_cv_func_hypot_use=yes
47975 else
47976 glibcxx_cv_func_hypot_use=no
47978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47979 ac_ext=c
47980 ac_cpp='$CPP $CPPFLAGS'
47981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47990 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47992 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47993 for ac_func in hypot
47994 do :
47995 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47996 if test "x$ac_cv_func_hypot" = x""yes; then :
47997 cat >>confdefs.h <<_ACEOF
47998 #define HAVE_HYPOT 1
47999 _ACEOF
48002 done
48004 else
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48007 $as_echo_n "checking for _hypot declaration... " >&6; }
48008 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48009 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48010 $as_echo_n "(cached) " >&6
48011 else
48014 ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h. */
48022 #include <math.h>
48024 main ()
48026 _hypot(0, 0);
48028 return 0;
48030 _ACEOF
48031 if ac_fn_cxx_try_compile "$LINENO"; then :
48032 glibcxx_cv_func__hypot_use=yes
48033 else
48034 glibcxx_cv_func__hypot_use=no
48036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48037 ac_ext=c
48038 ac_cpp='$CPP $CPPFLAGS'
48039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48048 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48050 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48051 for ac_func in _hypot
48052 do :
48053 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48054 if test "x$ac_cv_func__hypot" = x""yes; then :
48055 cat >>confdefs.h <<_ACEOF
48056 #define HAVE__HYPOT 1
48057 _ACEOF
48060 done
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48070 $as_echo_n "checking for float trig functions... " >&6; }
48071 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48072 $as_echo_n "(cached) " >&6
48073 else
48076 ac_ext=cpp
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48083 /* end confdefs.h. */
48084 #include <math.h>
48086 main ()
48088 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48090 return 0;
48092 _ACEOF
48093 if ac_fn_cxx_try_compile "$LINENO"; then :
48094 glibcxx_cv_func_float_trig_use=yes
48095 else
48096 glibcxx_cv_func_float_trig_use=no
48098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48099 ac_ext=c
48100 ac_cpp='$CPP $CPPFLAGS'
48101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48108 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48109 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48110 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48111 do :
48112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48114 eval as_val=\$$as_ac_var
48115 if test "x$as_val" = x""yes; then :
48116 cat >>confdefs.h <<_ACEOF
48117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48118 _ACEOF
48121 done
48123 else
48124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48125 $as_echo_n "checking for _float trig functions... " >&6; }
48126 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48127 $as_echo_n "(cached) " >&6
48128 else
48131 ac_ext=cpp
48132 ac_cpp='$CXXCPP $CPPFLAGS'
48133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48138 /* end confdefs.h. */
48139 #include <math.h>
48141 main ()
48143 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48145 return 0;
48147 _ACEOF
48148 if ac_fn_cxx_try_compile "$LINENO"; then :
48149 glibcxx_cv_func__float_trig_use=yes
48150 else
48151 glibcxx_cv_func__float_trig_use=no
48153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48154 ac_ext=c
48155 ac_cpp='$CPP $CPPFLAGS'
48156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48163 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48164 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48165 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48166 do :
48167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48169 eval as_val=\$$as_ac_var
48170 if test "x$as_val" = x""yes; then :
48171 cat >>confdefs.h <<_ACEOF
48172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48173 _ACEOF
48176 done
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48186 $as_echo_n "checking for float round functions... " >&6; }
48187 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48188 $as_echo_n "(cached) " >&6
48189 else
48192 ac_ext=cpp
48193 ac_cpp='$CXXCPP $CPPFLAGS'
48194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48199 /* end confdefs.h. */
48200 #include <math.h>
48202 main ()
48204 ceilf (0); floorf (0);
48206 return 0;
48208 _ACEOF
48209 if ac_fn_cxx_try_compile "$LINENO"; then :
48210 glibcxx_cv_func_float_round_use=yes
48211 else
48212 glibcxx_cv_func_float_round_use=no
48214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48215 ac_ext=c
48216 ac_cpp='$CPP $CPPFLAGS'
48217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48224 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48225 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48226 for ac_func in ceilf floorf
48227 do :
48228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48230 eval as_val=\$$as_ac_var
48231 if test "x$as_val" = x""yes; then :
48232 cat >>confdefs.h <<_ACEOF
48233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48234 _ACEOF
48237 done
48239 else
48240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48241 $as_echo_n "checking for _float round functions... " >&6; }
48242 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48257 main ()
48259 _ceilf (0); _floorf (0);
48261 return 0;
48263 _ACEOF
48264 if ac_fn_cxx_try_compile "$LINENO"; then :
48265 glibcxx_cv_func__float_round_use=yes
48266 else
48267 glibcxx_cv_func__float_round_use=no
48269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48270 ac_ext=c
48271 ac_cpp='$CPP $CPPFLAGS'
48272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48279 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48280 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48281 for ac_func in _ceilf _floorf
48282 do :
48283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48285 eval as_val=\$$as_ac_var
48286 if test "x$as_val" = x""yes; then :
48287 cat >>confdefs.h <<_ACEOF
48288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48289 _ACEOF
48292 done
48302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48303 $as_echo_n "checking for expf declaration... " >&6; }
48304 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48305 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48306 $as_echo_n "(cached) " >&6
48307 else
48310 ac_ext=cpp
48311 ac_cpp='$CXXCPP $CPPFLAGS'
48312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48317 /* end confdefs.h. */
48318 #include <math.h>
48319 #ifdef HAVE_IEEEFP_H
48320 #include <ieeefp.h>
48321 #endif
48324 main ()
48326 expf(0);
48328 return 0;
48330 _ACEOF
48331 if ac_fn_cxx_try_compile "$LINENO"; then :
48332 glibcxx_cv_func_expf_use=yes
48333 else
48334 glibcxx_cv_func_expf_use=no
48336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48337 ac_ext=c
48338 ac_cpp='$CPP $CPPFLAGS'
48339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48348 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48350 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48351 for ac_func in expf
48352 do :
48353 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48354 if test "x$ac_cv_func_expf" = x""yes; then :
48355 cat >>confdefs.h <<_ACEOF
48356 #define HAVE_EXPF 1
48357 _ACEOF
48360 done
48362 else
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48365 $as_echo_n "checking for _expf declaration... " >&6; }
48366 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48367 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48368 $as_echo_n "(cached) " >&6
48369 else
48372 ac_ext=cpp
48373 ac_cpp='$CXXCPP $CPPFLAGS'
48374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48379 /* end confdefs.h. */
48380 #include <math.h>
48381 #ifdef HAVE_IEEEFP_H
48382 #include <ieeefp.h>
48383 #endif
48386 main ()
48388 _expf(0);
48390 return 0;
48392 _ACEOF
48393 if ac_fn_cxx_try_compile "$LINENO"; then :
48394 glibcxx_cv_func__expf_use=yes
48395 else
48396 glibcxx_cv_func__expf_use=no
48398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48399 ac_ext=c
48400 ac_cpp='$CPP $CPPFLAGS'
48401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48410 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48412 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48413 for ac_func in _expf
48414 do :
48415 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48416 if test "x$ac_cv_func__expf" = x""yes; then :
48417 cat >>confdefs.h <<_ACEOF
48418 #define HAVE__EXPF 1
48419 _ACEOF
48422 done
48431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48432 $as_echo_n "checking for isnanf declaration... " >&6; }
48433 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48434 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48435 $as_echo_n "(cached) " >&6
48436 else
48439 ac_ext=cpp
48440 ac_cpp='$CXXCPP $CPPFLAGS'
48441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48446 /* end confdefs.h. */
48447 #include <math.h>
48448 #ifdef HAVE_IEEEFP_H
48449 #include <ieeefp.h>
48450 #endif
48453 main ()
48455 isnanf(0);
48457 return 0;
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func_isnanf_use=yes
48462 else
48463 glibcxx_cv_func_isnanf_use=no
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48477 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48479 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48480 for ac_func in isnanf
48481 do :
48482 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48483 if test "x$ac_cv_func_isnanf" = x""yes; then :
48484 cat >>confdefs.h <<_ACEOF
48485 #define HAVE_ISNANF 1
48486 _ACEOF
48489 done
48491 else
48493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48494 $as_echo_n "checking for _isnanf declaration... " >&6; }
48495 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48496 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48497 $as_echo_n "(cached) " >&6
48498 else
48501 ac_ext=cpp
48502 ac_cpp='$CXXCPP $CPPFLAGS'
48503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48508 /* end confdefs.h. */
48509 #include <math.h>
48510 #ifdef HAVE_IEEEFP_H
48511 #include <ieeefp.h>
48512 #endif
48515 main ()
48517 _isnanf(0);
48519 return 0;
48521 _ACEOF
48522 if ac_fn_cxx_try_compile "$LINENO"; then :
48523 glibcxx_cv_func__isnanf_use=yes
48524 else
48525 glibcxx_cv_func__isnanf_use=no
48527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48528 ac_ext=c
48529 ac_cpp='$CPP $CPPFLAGS'
48530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48539 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48541 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48542 for ac_func in _isnanf
48543 do :
48544 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48545 if test "x$ac_cv_func__isnanf" = x""yes; then :
48546 cat >>confdefs.h <<_ACEOF
48547 #define HAVE__ISNANF 1
48548 _ACEOF
48551 done
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48561 $as_echo_n "checking for isinff declaration... " >&6; }
48562 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48563 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48564 $as_echo_n "(cached) " >&6
48565 else
48568 ac_ext=cpp
48569 ac_cpp='$CXXCPP $CPPFLAGS'
48570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48575 /* end confdefs.h. */
48576 #include <math.h>
48577 #ifdef HAVE_IEEEFP_H
48578 #include <ieeefp.h>
48579 #endif
48582 main ()
48584 isinff(0);
48586 return 0;
48588 _ACEOF
48589 if ac_fn_cxx_try_compile "$LINENO"; then :
48590 glibcxx_cv_func_isinff_use=yes
48591 else
48592 glibcxx_cv_func_isinff_use=no
48594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48595 ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48606 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48608 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48609 for ac_func in isinff
48610 do :
48611 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48612 if test "x$ac_cv_func_isinff" = x""yes; then :
48613 cat >>confdefs.h <<_ACEOF
48614 #define HAVE_ISINFF 1
48615 _ACEOF
48618 done
48620 else
48622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48623 $as_echo_n "checking for _isinff declaration... " >&6; }
48624 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48625 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48626 $as_echo_n "(cached) " >&6
48627 else
48630 ac_ext=cpp
48631 ac_cpp='$CXXCPP $CPPFLAGS'
48632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48637 /* end confdefs.h. */
48638 #include <math.h>
48639 #ifdef HAVE_IEEEFP_H
48640 #include <ieeefp.h>
48641 #endif
48644 main ()
48646 _isinff(0);
48648 return 0;
48650 _ACEOF
48651 if ac_fn_cxx_try_compile "$LINENO"; then :
48652 glibcxx_cv_func__isinff_use=yes
48653 else
48654 glibcxx_cv_func__isinff_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__isinff_use" >&5
48668 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48670 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48671 for ac_func in _isinff
48672 do :
48673 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48674 if test "x$ac_cv_func__isinff" = x""yes; then :
48675 cat >>confdefs.h <<_ACEOF
48676 #define HAVE__ISINFF 1
48677 _ACEOF
48680 done
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48690 $as_echo_n "checking for atan2f declaration... " >&6; }
48691 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48692 if test "${glibcxx_cv_func_atan2f_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>
48707 main ()
48709 atan2f(0, 0);
48711 return 0;
48713 _ACEOF
48714 if ac_fn_cxx_try_compile "$LINENO"; then :
48715 glibcxx_cv_func_atan2f_use=yes
48716 else
48717 glibcxx_cv_func_atan2f_use=no
48719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48720 ac_ext=c
48721 ac_cpp='$CPP $CPPFLAGS'
48722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48731 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48733 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48734 for ac_func in atan2f
48735 do :
48736 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48737 if test "x$ac_cv_func_atan2f" = x""yes; then :
48738 cat >>confdefs.h <<_ACEOF
48739 #define HAVE_ATAN2F 1
48740 _ACEOF
48743 done
48745 else
48747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48748 $as_echo_n "checking for _atan2f declaration... " >&6; }
48749 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48750 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48751 $as_echo_n "(cached) " >&6
48752 else
48755 ac_ext=cpp
48756 ac_cpp='$CXXCPP $CPPFLAGS'
48757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48762 /* end confdefs.h. */
48763 #include <math.h>
48765 main ()
48767 _atan2f(0, 0);
48769 return 0;
48771 _ACEOF
48772 if ac_fn_cxx_try_compile "$LINENO"; then :
48773 glibcxx_cv_func__atan2f_use=yes
48774 else
48775 glibcxx_cv_func__atan2f_use=no
48777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48778 ac_ext=c
48779 ac_cpp='$CPP $CPPFLAGS'
48780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48789 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48791 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48792 for ac_func in _atan2f
48793 do :
48794 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48795 if test "x$ac_cv_func__atan2f" = x""yes; then :
48796 cat >>confdefs.h <<_ACEOF
48797 #define HAVE__ATAN2F 1
48798 _ACEOF
48801 done
48810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48811 $as_echo_n "checking for fabsf declaration... " >&6; }
48812 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48813 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48814 $as_echo_n "(cached) " >&6
48815 else
48818 ac_ext=cpp
48819 ac_cpp='$CXXCPP $CPPFLAGS'
48820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48825 /* end confdefs.h. */
48826 #include <math.h>
48827 #ifdef HAVE_IEEEFP_H
48828 #include <ieeefp.h>
48829 #endif
48832 main ()
48834 fabsf(0);
48836 return 0;
48838 _ACEOF
48839 if ac_fn_cxx_try_compile "$LINENO"; then :
48840 glibcxx_cv_func_fabsf_use=yes
48841 else
48842 glibcxx_cv_func_fabsf_use=no
48844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48845 ac_ext=c
48846 ac_cpp='$CPP $CPPFLAGS'
48847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48856 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48858 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48859 for ac_func in fabsf
48860 do :
48861 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48862 if test "x$ac_cv_func_fabsf" = x""yes; then :
48863 cat >>confdefs.h <<_ACEOF
48864 #define HAVE_FABSF 1
48865 _ACEOF
48868 done
48870 else
48872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48873 $as_echo_n "checking for _fabsf declaration... " >&6; }
48874 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48875 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48876 $as_echo_n "(cached) " >&6
48877 else
48880 ac_ext=cpp
48881 ac_cpp='$CXXCPP $CPPFLAGS'
48882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48887 /* end confdefs.h. */
48888 #include <math.h>
48889 #ifdef HAVE_IEEEFP_H
48890 #include <ieeefp.h>
48891 #endif
48894 main ()
48896 _fabsf(0);
48898 return 0;
48900 _ACEOF
48901 if ac_fn_cxx_try_compile "$LINENO"; then :
48902 glibcxx_cv_func__fabsf_use=yes
48903 else
48904 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
48918 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48920 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48921 for ac_func in _fabsf
48922 do :
48923 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48924 if test "x$ac_cv_func__fabsf" = x""yes; then :
48925 cat >>confdefs.h <<_ACEOF
48926 #define HAVE__FABSF 1
48927 _ACEOF
48930 done
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48940 $as_echo_n "checking for fmodf declaration... " >&6; }
48941 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48942 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
48961 return 0;
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func_fmodf_use=yes
48966 else
48967 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
48981 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48983 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48984 for ac_func in fmodf
48985 do :
48986 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48987 if test "x$ac_cv_func_fmodf" = x""yes; then :
48988 cat >>confdefs.h <<_ACEOF
48989 #define HAVE_FMODF 1
48990 _ACEOF
48993 done
48995 else
48997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48998 $as_echo_n "checking for _fmodf declaration... " >&6; }
48999 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49000 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
49019 return 0;
49021 _ACEOF
49022 if ac_fn_cxx_try_compile "$LINENO"; then :
49023 glibcxx_cv_func__fmodf_use=yes
49024 else
49025 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
49039 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49041 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49042 for ac_func in _fmodf
49043 do :
49044 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49045 if test "x$ac_cv_func__fmodf" = x""yes; then :
49046 cat >>confdefs.h <<_ACEOF
49047 #define HAVE__FMODF 1
49048 _ACEOF
49051 done
49060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49061 $as_echo_n "checking for frexpf declaration... " >&6; }
49062 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49063 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
49082 return 0;
49084 _ACEOF
49085 if ac_fn_cxx_try_compile "$LINENO"; then :
49086 glibcxx_cv_func_frexpf_use=yes
49087 else
49088 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
49102 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49104 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49105 for ac_func in frexpf
49106 do :
49107 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49108 if test "x$ac_cv_func_frexpf" = x""yes; then :
49109 cat >>confdefs.h <<_ACEOF
49110 #define HAVE_FREXPF 1
49111 _ACEOF
49114 done
49116 else
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49119 $as_echo_n "checking for _frexpf declaration... " >&6; }
49120 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49121 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
49140 return 0;
49142 _ACEOF
49143 if ac_fn_cxx_try_compile "$LINENO"; then :
49144 glibcxx_cv_func__frexpf_use=yes
49145 else
49146 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
49160 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49162 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49163 for ac_func in _frexpf
49164 do :
49165 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49166 if test "x$ac_cv_func__frexpf" = x""yes; then :
49167 cat >>confdefs.h <<_ACEOF
49168 #define HAVE__FREXPF 1
49169 _ACEOF
49172 done
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49182 $as_echo_n "checking for hypotf declaration... " >&6; }
49183 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49184 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
49203 return 0;
49205 _ACEOF
49206 if ac_fn_cxx_try_compile "$LINENO"; then :
49207 glibcxx_cv_func_hypotf_use=yes
49208 else
49209 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
49223 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49225 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49226 for ac_func in hypotf
49227 do :
49228 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49229 if test "x$ac_cv_func_hypotf" = x""yes; then :
49230 cat >>confdefs.h <<_ACEOF
49231 #define HAVE_HYPOTF 1
49232 _ACEOF
49235 done
49237 else
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49240 $as_echo_n "checking for _hypotf declaration... " >&6; }
49241 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49242 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
49261 return 0;
49263 _ACEOF
49264 if ac_fn_cxx_try_compile "$LINENO"; then :
49265 glibcxx_cv_func__hypotf_use=yes
49266 else
49267 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
49281 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49283 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49284 for ac_func in _hypotf
49285 do :
49286 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49287 if test "x$ac_cv_func__hypotf" = x""yes; then :
49288 cat >>confdefs.h <<_ACEOF
49289 #define HAVE__HYPOTF 1
49290 _ACEOF
49293 done
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49303 $as_echo_n "checking for ldexpf declaration... " >&6; }
49304 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49305 if test "${glibcxx_cv_func_ldexpf_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>
49320 main ()
49322 ldexpf(0, 0);
49324 return 0;
49326 _ACEOF
49327 if ac_fn_cxx_try_compile "$LINENO"; then :
49328 glibcxx_cv_func_ldexpf_use=yes
49329 else
49330 glibcxx_cv_func_ldexpf_use=no
49332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49333 ac_ext=c
49334 ac_cpp='$CPP $CPPFLAGS'
49335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49344 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49346 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49347 for ac_func in ldexpf
49348 do :
49349 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49350 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49351 cat >>confdefs.h <<_ACEOF
49352 #define HAVE_LDEXPF 1
49353 _ACEOF
49356 done
49358 else
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49361 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49362 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49363 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49364 $as_echo_n "(cached) " >&6
49365 else
49368 ac_ext=cpp
49369 ac_cpp='$CXXCPP $CPPFLAGS'
49370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375 /* end confdefs.h. */
49376 #include <math.h>
49378 main ()
49380 _ldexpf(0, 0);
49382 return 0;
49384 _ACEOF
49385 if ac_fn_cxx_try_compile "$LINENO"; then :
49386 glibcxx_cv_func__ldexpf_use=yes
49387 else
49388 glibcxx_cv_func__ldexpf_use=no
49390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49391 ac_ext=c
49392 ac_cpp='$CPP $CPPFLAGS'
49393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49402 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49404 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49405 for ac_func in _ldexpf
49406 do :
49407 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49408 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49409 cat >>confdefs.h <<_ACEOF
49410 #define HAVE__LDEXPF 1
49411 _ACEOF
49414 done
49423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49424 $as_echo_n "checking for logf declaration... " >&6; }
49425 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49426 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49427 $as_echo_n "(cached) " >&6
49428 else
49431 ac_ext=cpp
49432 ac_cpp='$CXXCPP $CPPFLAGS'
49433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49438 /* end confdefs.h. */
49439 #include <math.h>
49440 #ifdef HAVE_IEEEFP_H
49441 #include <ieeefp.h>
49442 #endif
49445 main ()
49447 logf(0);
49449 return 0;
49451 _ACEOF
49452 if ac_fn_cxx_try_compile "$LINENO"; then :
49453 glibcxx_cv_func_logf_use=yes
49454 else
49455 glibcxx_cv_func_logf_use=no
49457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49458 ac_ext=c
49459 ac_cpp='$CPP $CPPFLAGS'
49460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49469 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49471 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49472 for ac_func in logf
49473 do :
49474 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49475 if test "x$ac_cv_func_logf" = x""yes; then :
49476 cat >>confdefs.h <<_ACEOF
49477 #define HAVE_LOGF 1
49478 _ACEOF
49481 done
49483 else
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49486 $as_echo_n "checking for _logf declaration... " >&6; }
49487 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49488 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49489 $as_echo_n "(cached) " >&6
49490 else
49493 ac_ext=cpp
49494 ac_cpp='$CXXCPP $CPPFLAGS'
49495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49500 /* end confdefs.h. */
49501 #include <math.h>
49502 #ifdef HAVE_IEEEFP_H
49503 #include <ieeefp.h>
49504 #endif
49507 main ()
49509 _logf(0);
49511 return 0;
49513 _ACEOF
49514 if ac_fn_cxx_try_compile "$LINENO"; then :
49515 glibcxx_cv_func__logf_use=yes
49516 else
49517 glibcxx_cv_func__logf_use=no
49519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49520 ac_ext=c
49521 ac_cpp='$CPP $CPPFLAGS'
49522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49531 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49533 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49534 for ac_func in _logf
49535 do :
49536 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49537 if test "x$ac_cv_func__logf" = x""yes; then :
49538 cat >>confdefs.h <<_ACEOF
49539 #define HAVE__LOGF 1
49540 _ACEOF
49543 done
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49553 $as_echo_n "checking for log10f declaration... " >&6; }
49554 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49555 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49556 $as_echo_n "(cached) " >&6
49557 else
49560 ac_ext=cpp
49561 ac_cpp='$CXXCPP $CPPFLAGS'
49562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49567 /* end confdefs.h. */
49568 #include <math.h>
49569 #ifdef HAVE_IEEEFP_H
49570 #include <ieeefp.h>
49571 #endif
49574 main ()
49576 log10f(0);
49578 return 0;
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582 glibcxx_cv_func_log10f_use=yes
49583 else
49584 glibcxx_cv_func_log10f_use=no
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587 ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49598 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49600 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49601 for ac_func in log10f
49602 do :
49603 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49604 if test "x$ac_cv_func_log10f" = x""yes; then :
49605 cat >>confdefs.h <<_ACEOF
49606 #define HAVE_LOG10F 1
49607 _ACEOF
49610 done
49612 else
49614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49615 $as_echo_n "checking for _log10f declaration... " >&6; }
49616 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49617 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49618 $as_echo_n "(cached) " >&6
49619 else
49622 ac_ext=cpp
49623 ac_cpp='$CXXCPP $CPPFLAGS'
49624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49629 /* end confdefs.h. */
49630 #include <math.h>
49631 #ifdef HAVE_IEEEFP_H
49632 #include <ieeefp.h>
49633 #endif
49636 main ()
49638 _log10f(0);
49640 return 0;
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644 glibcxx_cv_func__log10f_use=yes
49645 else
49646 glibcxx_cv_func__log10f_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__log10f_use" >&5
49660 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49662 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49663 for ac_func in _log10f
49664 do :
49665 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49666 if test "x$ac_cv_func__log10f" = x""yes; then :
49667 cat >>confdefs.h <<_ACEOF
49668 #define HAVE__LOG10F 1
49669 _ACEOF
49672 done
49681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49682 $as_echo_n "checking for modff declaration... " >&6; }
49683 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49684 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
49703 return 0;
49705 _ACEOF
49706 if ac_fn_cxx_try_compile "$LINENO"; then :
49707 glibcxx_cv_func_modff_use=yes
49708 else
49709 glibcxx_cv_func_modff_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_modff_use" >&5
49723 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49725 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49726 for ac_func in modff
49727 do :
49728 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49729 if test "x$ac_cv_func_modff" = x""yes; then :
49730 cat >>confdefs.h <<_ACEOF
49731 #define HAVE_MODFF 1
49732 _ACEOF
49735 done
49737 else
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49740 $as_echo_n "checking for _modff declaration... " >&6; }
49741 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49742 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
49761 return 0;
49763 _ACEOF
49764 if ac_fn_cxx_try_compile "$LINENO"; then :
49765 glibcxx_cv_func__modff_use=yes
49766 else
49767 glibcxx_cv_func__modff_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__modff_use" >&5
49781 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49783 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49784 for ac_func in _modff
49785 do :
49786 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49787 if test "x$ac_cv_func__modff" = x""yes; then :
49788 cat >>confdefs.h <<_ACEOF
49789 #define HAVE__MODFF 1
49790 _ACEOF
49793 done
49802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49803 $as_echo_n "checking for modf declaration... " >&6; }
49804 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49805 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
49824 return 0;
49826 _ACEOF
49827 if ac_fn_cxx_try_compile "$LINENO"; then :
49828 glibcxx_cv_func_modf_use=yes
49829 else
49830 glibcxx_cv_func_modf_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_modf_use" >&5
49844 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49846 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49847 for ac_func in modf
49848 do :
49849 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49850 if test "x$ac_cv_func_modf" = x""yes; then :
49851 cat >>confdefs.h <<_ACEOF
49852 #define HAVE_MODF 1
49853 _ACEOF
49856 done
49858 else
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49861 $as_echo_n "checking for _modf declaration... " >&6; }
49862 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49863 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
49882 return 0;
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func__modf_use=yes
49887 else
49888 glibcxx_cv_func__modf_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__modf_use" >&5
49902 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49904 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49905 for ac_func in _modf
49906 do :
49907 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49908 if test "x$ac_cv_func__modf" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE__MODF 1
49911 _ACEOF
49914 done
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49924 $as_echo_n "checking for powf declaration... " >&6; }
49925 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49926 if test "${glibcxx_cv_func_powf_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>
49941 main ()
49943 powf(0, 0);
49945 return 0;
49947 _ACEOF
49948 if ac_fn_cxx_try_compile "$LINENO"; then :
49949 glibcxx_cv_func_powf_use=yes
49950 else
49951 glibcxx_cv_func_powf_use=no
49953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49954 ac_ext=c
49955 ac_cpp='$CPP $CPPFLAGS'
49956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49965 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49967 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49968 for ac_func in powf
49969 do :
49970 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49971 if test "x$ac_cv_func_powf" = x""yes; then :
49972 cat >>confdefs.h <<_ACEOF
49973 #define HAVE_POWF 1
49974 _ACEOF
49977 done
49979 else
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49982 $as_echo_n "checking for _powf declaration... " >&6; }
49983 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49984 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49999 main ()
50001 _powf(0, 0);
50003 return 0;
50005 _ACEOF
50006 if ac_fn_cxx_try_compile "$LINENO"; then :
50007 glibcxx_cv_func__powf_use=yes
50008 else
50009 glibcxx_cv_func__powf_use=no
50011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50012 ac_ext=c
50013 ac_cpp='$CPP $CPPFLAGS'
50014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50023 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50025 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50026 for ac_func in _powf
50027 do :
50028 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50029 if test "x$ac_cv_func__powf" = x""yes; then :
50030 cat >>confdefs.h <<_ACEOF
50031 #define HAVE__POWF 1
50032 _ACEOF
50035 done
50044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50045 $as_echo_n "checking for sqrtf declaration... " >&6; }
50046 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50047 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50048 $as_echo_n "(cached) " >&6
50049 else
50052 ac_ext=cpp
50053 ac_cpp='$CXXCPP $CPPFLAGS'
50054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50059 /* end confdefs.h. */
50060 #include <math.h>
50061 #ifdef HAVE_IEEEFP_H
50062 #include <ieeefp.h>
50063 #endif
50066 main ()
50068 sqrtf(0);
50070 return 0;
50072 _ACEOF
50073 if ac_fn_cxx_try_compile "$LINENO"; then :
50074 glibcxx_cv_func_sqrtf_use=yes
50075 else
50076 glibcxx_cv_func_sqrtf_use=no
50078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50079 ac_ext=c
50080 ac_cpp='$CPP $CPPFLAGS'
50081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50090 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50092 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50093 for ac_func in sqrtf
50094 do :
50095 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50096 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50097 cat >>confdefs.h <<_ACEOF
50098 #define HAVE_SQRTF 1
50099 _ACEOF
50102 done
50104 else
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50107 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50108 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50109 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50110 $as_echo_n "(cached) " >&6
50111 else
50114 ac_ext=cpp
50115 ac_cpp='$CXXCPP $CPPFLAGS'
50116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50121 /* end confdefs.h. */
50122 #include <math.h>
50123 #ifdef HAVE_IEEEFP_H
50124 #include <ieeefp.h>
50125 #endif
50128 main ()
50130 _sqrtf(0);
50132 return 0;
50134 _ACEOF
50135 if ac_fn_cxx_try_compile "$LINENO"; then :
50136 glibcxx_cv_func__sqrtf_use=yes
50137 else
50138 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
50152 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50154 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50155 for ac_func in _sqrtf
50156 do :
50157 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50158 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50159 cat >>confdefs.h <<_ACEOF
50160 #define HAVE__SQRTF 1
50161 _ACEOF
50164 done
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50174 $as_echo_n "checking for sincosf declaration... " >&6; }
50175 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50176 if test "${glibcxx_cv_func_sincosf_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>
50191 main ()
50193 sincosf(0, 0, 0);
50195 return 0;
50197 _ACEOF
50198 if ac_fn_cxx_try_compile "$LINENO"; then :
50199 glibcxx_cv_func_sincosf_use=yes
50200 else
50201 glibcxx_cv_func_sincosf_use=no
50203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50204 ac_ext=c
50205 ac_cpp='$CPP $CPPFLAGS'
50206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50215 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50217 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50218 for ac_func in sincosf
50219 do :
50220 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50221 if test "x$ac_cv_func_sincosf" = x""yes; then :
50222 cat >>confdefs.h <<_ACEOF
50223 #define HAVE_SINCOSF 1
50224 _ACEOF
50227 done
50229 else
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50232 $as_echo_n "checking for _sincosf declaration... " >&6; }
50233 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50234 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50235 $as_echo_n "(cached) " >&6
50236 else
50239 ac_ext=cpp
50240 ac_cpp='$CXXCPP $CPPFLAGS'
50241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50246 /* end confdefs.h. */
50247 #include <math.h>
50249 main ()
50251 _sincosf(0, 0, 0);
50253 return 0;
50255 _ACEOF
50256 if ac_fn_cxx_try_compile "$LINENO"; then :
50257 glibcxx_cv_func__sincosf_use=yes
50258 else
50259 glibcxx_cv_func__sincosf_use=no
50261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50262 ac_ext=c
50263 ac_cpp='$CPP $CPPFLAGS'
50264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50273 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50275 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50276 for ac_func in _sincosf
50277 do :
50278 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50279 if test "x$ac_cv_func__sincosf" = x""yes; then :
50280 cat >>confdefs.h <<_ACEOF
50281 #define HAVE__SINCOSF 1
50282 _ACEOF
50285 done
50294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50295 $as_echo_n "checking for finitef declaration... " >&6; }
50296 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50297 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50298 $as_echo_n "(cached) " >&6
50299 else
50302 ac_ext=cpp
50303 ac_cpp='$CXXCPP $CPPFLAGS'
50304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50309 /* end confdefs.h. */
50310 #include <math.h>
50311 #ifdef HAVE_IEEEFP_H
50312 #include <ieeefp.h>
50313 #endif
50316 main ()
50318 finitef(0);
50320 return 0;
50322 _ACEOF
50323 if ac_fn_cxx_try_compile "$LINENO"; then :
50324 glibcxx_cv_func_finitef_use=yes
50325 else
50326 glibcxx_cv_func_finitef_use=no
50328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50329 ac_ext=c
50330 ac_cpp='$CPP $CPPFLAGS'
50331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50340 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50342 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50343 for ac_func in finitef
50344 do :
50345 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50346 if test "x$ac_cv_func_finitef" = x""yes; then :
50347 cat >>confdefs.h <<_ACEOF
50348 #define HAVE_FINITEF 1
50349 _ACEOF
50352 done
50354 else
50356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50357 $as_echo_n "checking for _finitef declaration... " >&6; }
50358 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50359 if test "${glibcxx_cv_func__finitef_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>
50373 #ifdef HAVE_IEEEFP_H
50374 #include <ieeefp.h>
50375 #endif
50378 main ()
50380 _finitef(0);
50382 return 0;
50384 _ACEOF
50385 if ac_fn_cxx_try_compile "$LINENO"; then :
50386 glibcxx_cv_func__finitef_use=yes
50387 else
50388 glibcxx_cv_func__finitef_use=no
50390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50391 ac_ext=c
50392 ac_cpp='$CPP $CPPFLAGS'
50393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50402 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50404 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50405 for ac_func in _finitef
50406 do :
50407 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50408 if test "x$ac_cv_func__finitef" = x""yes; then :
50409 cat >>confdefs.h <<_ACEOF
50410 #define HAVE__FINITEF 1
50411 _ACEOF
50414 done
50423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50424 $as_echo_n "checking for long double trig functions... " >&6; }
50425 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50426 $as_echo_n "(cached) " >&6
50427 else
50430 ac_ext=cpp
50431 ac_cpp='$CXXCPP $CPPFLAGS'
50432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50437 /* end confdefs.h. */
50438 #include <math.h>
50440 main ()
50442 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50444 return 0;
50446 _ACEOF
50447 if ac_fn_cxx_try_compile "$LINENO"; then :
50448 glibcxx_cv_func_long_double_trig_use=yes
50449 else
50450 glibcxx_cv_func_long_double_trig_use=no
50452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50453 ac_ext=c
50454 ac_cpp='$CPP $CPPFLAGS'
50455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50462 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50463 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50464 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50465 do :
50466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50468 eval as_val=\$$as_ac_var
50469 if test "x$as_val" = x""yes; then :
50470 cat >>confdefs.h <<_ACEOF
50471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50472 _ACEOF
50475 done
50477 else
50478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50479 $as_echo_n "checking for _long double trig functions... " >&6; }
50480 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50481 $as_echo_n "(cached) " >&6
50482 else
50485 ac_ext=cpp
50486 ac_cpp='$CXXCPP $CPPFLAGS'
50487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <math.h>
50495 main ()
50497 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50499 return 0;
50501 _ACEOF
50502 if ac_fn_cxx_try_compile "$LINENO"; then :
50503 glibcxx_cv_func__long_double_trig_use=yes
50504 else
50505 glibcxx_cv_func__long_double_trig_use=no
50507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50508 ac_ext=c
50509 ac_cpp='$CPP $CPPFLAGS'
50510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50517 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50518 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50519 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50520 do :
50521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50523 eval as_val=\$$as_ac_var
50524 if test "x$as_val" = x""yes; then :
50525 cat >>confdefs.h <<_ACEOF
50526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50527 _ACEOF
50530 done
50539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50540 $as_echo_n "checking for long double round functions... " >&6; }
50541 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50542 $as_echo_n "(cached) " >&6
50543 else
50546 ac_ext=cpp
50547 ac_cpp='$CXXCPP $CPPFLAGS'
50548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50553 /* end confdefs.h. */
50554 #include <math.h>
50556 main ()
50558 ceill (0); floorl (0);
50560 return 0;
50562 _ACEOF
50563 if ac_fn_cxx_try_compile "$LINENO"; then :
50564 glibcxx_cv_func_long_double_round_use=yes
50565 else
50566 glibcxx_cv_func_long_double_round_use=no
50568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50569 ac_ext=c
50570 ac_cpp='$CPP $CPPFLAGS'
50571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50578 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50579 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50580 for ac_func in ceill floorl
50581 do :
50582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50584 eval as_val=\$$as_ac_var
50585 if test "x$as_val" = x""yes; then :
50586 cat >>confdefs.h <<_ACEOF
50587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50588 _ACEOF
50591 done
50593 else
50594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50595 $as_echo_n "checking for _long double round functions... " >&6; }
50596 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50597 $as_echo_n "(cached) " >&6
50598 else
50601 ac_ext=cpp
50602 ac_cpp='$CXXCPP $CPPFLAGS'
50603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50608 /* end confdefs.h. */
50609 #include <math.h>
50611 main ()
50613 _ceill (0); _floorl (0);
50615 return 0;
50617 _ACEOF
50618 if ac_fn_cxx_try_compile "$LINENO"; then :
50619 glibcxx_cv_func__long_double_round_use=yes
50620 else
50621 glibcxx_cv_func__long_double_round_use=no
50623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50624 ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50633 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50634 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50635 for ac_func in _ceill _floorl
50636 do :
50637 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50638 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50639 eval as_val=\$$as_ac_var
50640 if test "x$as_val" = x""yes; then :
50641 cat >>confdefs.h <<_ACEOF
50642 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50643 _ACEOF
50646 done
50656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50657 $as_echo_n "checking for isnanl declaration... " >&6; }
50658 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50659 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50660 $as_echo_n "(cached) " >&6
50661 else
50664 ac_ext=cpp
50665 ac_cpp='$CXXCPP $CPPFLAGS'
50666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50671 /* end confdefs.h. */
50672 #include <math.h>
50673 #ifdef HAVE_IEEEFP_H
50674 #include <ieeefp.h>
50675 #endif
50678 main ()
50680 isnanl(0);
50682 return 0;
50684 _ACEOF
50685 if ac_fn_cxx_try_compile "$LINENO"; then :
50686 glibcxx_cv_func_isnanl_use=yes
50687 else
50688 glibcxx_cv_func_isnanl_use=no
50690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50691 ac_ext=c
50692 ac_cpp='$CPP $CPPFLAGS'
50693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50702 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50704 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50705 for ac_func in isnanl
50706 do :
50707 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50708 if test "x$ac_cv_func_isnanl" = x""yes; then :
50709 cat >>confdefs.h <<_ACEOF
50710 #define HAVE_ISNANL 1
50711 _ACEOF
50714 done
50716 else
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50719 $as_echo_n "checking for _isnanl declaration... " >&6; }
50720 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50721 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50722 $as_echo_n "(cached) " >&6
50723 else
50726 ac_ext=cpp
50727 ac_cpp='$CXXCPP $CPPFLAGS'
50728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50733 /* end confdefs.h. */
50734 #include <math.h>
50735 #ifdef HAVE_IEEEFP_H
50736 #include <ieeefp.h>
50737 #endif
50740 main ()
50742 _isnanl(0);
50744 return 0;
50746 _ACEOF
50747 if ac_fn_cxx_try_compile "$LINENO"; then :
50748 glibcxx_cv_func__isnanl_use=yes
50749 else
50750 glibcxx_cv_func__isnanl_use=no
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753 ac_ext=c
50754 ac_cpp='$CPP $CPPFLAGS'
50755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50764 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50766 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50767 for ac_func in _isnanl
50768 do :
50769 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50770 if test "x$ac_cv_func__isnanl" = x""yes; then :
50771 cat >>confdefs.h <<_ACEOF
50772 #define HAVE__ISNANL 1
50773 _ACEOF
50776 done
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50786 $as_echo_n "checking for isinfl declaration... " >&6; }
50787 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50788 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50789 $as_echo_n "(cached) " >&6
50790 else
50793 ac_ext=cpp
50794 ac_cpp='$CXXCPP $CPPFLAGS'
50795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50800 /* end confdefs.h. */
50801 #include <math.h>
50802 #ifdef HAVE_IEEEFP_H
50803 #include <ieeefp.h>
50804 #endif
50807 main ()
50809 isinfl(0);
50811 return 0;
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func_isinfl_use=yes
50816 else
50817 glibcxx_cv_func_isinfl_use=no
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50831 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50833 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50834 for ac_func in isinfl
50835 do :
50836 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50837 if test "x$ac_cv_func_isinfl" = x""yes; then :
50838 cat >>confdefs.h <<_ACEOF
50839 #define HAVE_ISINFL 1
50840 _ACEOF
50843 done
50845 else
50847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50848 $as_echo_n "checking for _isinfl declaration... " >&6; }
50849 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50850 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50851 $as_echo_n "(cached) " >&6
50852 else
50855 ac_ext=cpp
50856 ac_cpp='$CXXCPP $CPPFLAGS'
50857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50862 /* end confdefs.h. */
50863 #include <math.h>
50864 #ifdef HAVE_IEEEFP_H
50865 #include <ieeefp.h>
50866 #endif
50869 main ()
50871 _isinfl(0);
50873 return 0;
50875 _ACEOF
50876 if ac_fn_cxx_try_compile "$LINENO"; then :
50877 glibcxx_cv_func__isinfl_use=yes
50878 else
50879 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
50893 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50895 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50896 for ac_func in _isinfl
50897 do :
50898 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50899 if test "x$ac_cv_func__isinfl" = x""yes; then :
50900 cat >>confdefs.h <<_ACEOF
50901 #define HAVE__ISINFL 1
50902 _ACEOF
50905 done
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50915 $as_echo_n "checking for atan2l declaration... " >&6; }
50916 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50917 if test "${glibcxx_cv_func_atan2l_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>
50932 main ()
50934 atan2l(0, 0);
50936 return 0;
50938 _ACEOF
50939 if ac_fn_cxx_try_compile "$LINENO"; then :
50940 glibcxx_cv_func_atan2l_use=yes
50941 else
50942 glibcxx_cv_func_atan2l_use=no
50944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50945 ac_ext=c
50946 ac_cpp='$CPP $CPPFLAGS'
50947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50956 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50958 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50959 for ac_func in atan2l
50960 do :
50961 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50962 if test "x$ac_cv_func_atan2l" = x""yes; then :
50963 cat >>confdefs.h <<_ACEOF
50964 #define HAVE_ATAN2L 1
50965 _ACEOF
50968 done
50970 else
50972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50973 $as_echo_n "checking for _atan2l declaration... " >&6; }
50974 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50975 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50976 $as_echo_n "(cached) " >&6
50977 else
50980 ac_ext=cpp
50981 ac_cpp='$CXXCPP $CPPFLAGS'
50982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50987 /* end confdefs.h. */
50988 #include <math.h>
50990 main ()
50992 _atan2l(0, 0);
50994 return 0;
50996 _ACEOF
50997 if ac_fn_cxx_try_compile "$LINENO"; then :
50998 glibcxx_cv_func__atan2l_use=yes
50999 else
51000 glibcxx_cv_func__atan2l_use=no
51002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51003 ac_ext=c
51004 ac_cpp='$CPP $CPPFLAGS'
51005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51014 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51016 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51017 for ac_func in _atan2l
51018 do :
51019 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51020 if test "x$ac_cv_func__atan2l" = x""yes; then :
51021 cat >>confdefs.h <<_ACEOF
51022 #define HAVE__ATAN2L 1
51023 _ACEOF
51026 done
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51036 $as_echo_n "checking for expl declaration... " >&6; }
51037 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51038 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51039 $as_echo_n "(cached) " >&6
51040 else
51043 ac_ext=cpp
51044 ac_cpp='$CXXCPP $CPPFLAGS'
51045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h. */
51051 #include <math.h>
51052 #ifdef HAVE_IEEEFP_H
51053 #include <ieeefp.h>
51054 #endif
51057 main ()
51059 expl(0);
51061 return 0;
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func_expl_use=yes
51066 else
51067 glibcxx_cv_func_expl_use=no
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51081 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51083 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51084 for ac_func in expl
51085 do :
51086 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51087 if test "x$ac_cv_func_expl" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE_EXPL 1
51090 _ACEOF
51093 done
51095 else
51097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51098 $as_echo_n "checking for _expl declaration... " >&6; }
51099 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51100 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51101 $as_echo_n "(cached) " >&6
51102 else
51105 ac_ext=cpp
51106 ac_cpp='$CXXCPP $CPPFLAGS'
51107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51112 /* end confdefs.h. */
51113 #include <math.h>
51114 #ifdef HAVE_IEEEFP_H
51115 #include <ieeefp.h>
51116 #endif
51119 main ()
51121 _expl(0);
51123 return 0;
51125 _ACEOF
51126 if ac_fn_cxx_try_compile "$LINENO"; then :
51127 glibcxx_cv_func__expl_use=yes
51128 else
51129 glibcxx_cv_func__expl_use=no
51131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51132 ac_ext=c
51133 ac_cpp='$CPP $CPPFLAGS'
51134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51143 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51145 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51146 for ac_func in _expl
51147 do :
51148 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51149 if test "x$ac_cv_func__expl" = x""yes; then :
51150 cat >>confdefs.h <<_ACEOF
51151 #define HAVE__EXPL 1
51152 _ACEOF
51155 done
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51165 $as_echo_n "checking for fabsl declaration... " >&6; }
51166 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51167 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51168 $as_echo_n "(cached) " >&6
51169 else
51172 ac_ext=cpp
51173 ac_cpp='$CXXCPP $CPPFLAGS'
51174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51179 /* end confdefs.h. */
51180 #include <math.h>
51181 #ifdef HAVE_IEEEFP_H
51182 #include <ieeefp.h>
51183 #endif
51186 main ()
51188 fabsl(0);
51190 return 0;
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194 glibcxx_cv_func_fabsl_use=yes
51195 else
51196 glibcxx_cv_func_fabsl_use=no
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199 ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51210 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51212 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51213 for ac_func in fabsl
51214 do :
51215 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51216 if test "x$ac_cv_func_fabsl" = x""yes; then :
51217 cat >>confdefs.h <<_ACEOF
51218 #define HAVE_FABSL 1
51219 _ACEOF
51222 done
51224 else
51226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51227 $as_echo_n "checking for _fabsl declaration... " >&6; }
51228 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51229 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51230 $as_echo_n "(cached) " >&6
51231 else
51234 ac_ext=cpp
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51241 /* end confdefs.h. */
51242 #include <math.h>
51243 #ifdef HAVE_IEEEFP_H
51244 #include <ieeefp.h>
51245 #endif
51248 main ()
51250 _fabsl(0);
51252 return 0;
51254 _ACEOF
51255 if ac_fn_cxx_try_compile "$LINENO"; then :
51256 glibcxx_cv_func__fabsl_use=yes
51257 else
51258 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
51272 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51274 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51275 for ac_func in _fabsl
51276 do :
51277 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51278 if test "x$ac_cv_func__fabsl" = x""yes; then :
51279 cat >>confdefs.h <<_ACEOF
51280 #define HAVE__FABSL 1
51281 _ACEOF
51284 done
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51294 $as_echo_n "checking for fmodl declaration... " >&6; }
51295 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51296 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
51315 return 0;
51317 _ACEOF
51318 if ac_fn_cxx_try_compile "$LINENO"; then :
51319 glibcxx_cv_func_fmodl_use=yes
51320 else
51321 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
51335 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51337 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51338 for ac_func in fmodl
51339 do :
51340 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51341 if test "x$ac_cv_func_fmodl" = x""yes; then :
51342 cat >>confdefs.h <<_ACEOF
51343 #define HAVE_FMODL 1
51344 _ACEOF
51347 done
51349 else
51351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51352 $as_echo_n "checking for _fmodl declaration... " >&6; }
51353 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51354 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
51373 return 0;
51375 _ACEOF
51376 if ac_fn_cxx_try_compile "$LINENO"; then :
51377 glibcxx_cv_func__fmodl_use=yes
51378 else
51379 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
51393 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51395 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51396 for ac_func in _fmodl
51397 do :
51398 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51399 if test "x$ac_cv_func__fmodl" = x""yes; then :
51400 cat >>confdefs.h <<_ACEOF
51401 #define HAVE__FMODL 1
51402 _ACEOF
51405 done
51414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51415 $as_echo_n "checking for frexpl declaration... " >&6; }
51416 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51417 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
51436 return 0;
51438 _ACEOF
51439 if ac_fn_cxx_try_compile "$LINENO"; then :
51440 glibcxx_cv_func_frexpl_use=yes
51441 else
51442 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
51456 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51458 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51459 for ac_func in frexpl
51460 do :
51461 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51462 if test "x$ac_cv_func_frexpl" = x""yes; then :
51463 cat >>confdefs.h <<_ACEOF
51464 #define HAVE_FREXPL 1
51465 _ACEOF
51468 done
51470 else
51472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51473 $as_echo_n "checking for _frexpl declaration... " >&6; }
51474 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51475 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
51494 return 0;
51496 _ACEOF
51497 if ac_fn_cxx_try_compile "$LINENO"; then :
51498 glibcxx_cv_func__frexpl_use=yes
51499 else
51500 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
51514 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51516 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51517 for ac_func in _frexpl
51518 do :
51519 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51520 if test "x$ac_cv_func__frexpl" = x""yes; then :
51521 cat >>confdefs.h <<_ACEOF
51522 #define HAVE__FREXPL 1
51523 _ACEOF
51526 done
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51536 $as_echo_n "checking for hypotl declaration... " >&6; }
51537 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51538 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
51557 return 0;
51559 _ACEOF
51560 if ac_fn_cxx_try_compile "$LINENO"; then :
51561 glibcxx_cv_func_hypotl_use=yes
51562 else
51563 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
51577 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51579 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51580 for ac_func in hypotl
51581 do :
51582 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51583 if test "x$ac_cv_func_hypotl" = x""yes; then :
51584 cat >>confdefs.h <<_ACEOF
51585 #define HAVE_HYPOTL 1
51586 _ACEOF
51589 done
51591 else
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51594 $as_echo_n "checking for _hypotl declaration... " >&6; }
51595 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51596 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
51615 return 0;
51617 _ACEOF
51618 if ac_fn_cxx_try_compile "$LINENO"; then :
51619 glibcxx_cv_func__hypotl_use=yes
51620 else
51621 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
51635 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51637 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51638 for ac_func in _hypotl
51639 do :
51640 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51641 if test "x$ac_cv_func__hypotl" = x""yes; then :
51642 cat >>confdefs.h <<_ACEOF
51643 #define HAVE__HYPOTL 1
51644 _ACEOF
51647 done
51656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51657 $as_echo_n "checking for ldexpl declaration... " >&6; }
51658 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51659 if test "${glibcxx_cv_func_ldexpl_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>
51674 main ()
51676 ldexpl(0, 0);
51678 return 0;
51680 _ACEOF
51681 if ac_fn_cxx_try_compile "$LINENO"; then :
51682 glibcxx_cv_func_ldexpl_use=yes
51683 else
51684 glibcxx_cv_func_ldexpl_use=no
51686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51687 ac_ext=c
51688 ac_cpp='$CPP $CPPFLAGS'
51689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51698 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51700 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51701 for ac_func in ldexpl
51702 do :
51703 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51704 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51705 cat >>confdefs.h <<_ACEOF
51706 #define HAVE_LDEXPL 1
51707 _ACEOF
51710 done
51712 else
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51715 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51716 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51717 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51718 $as_echo_n "(cached) " >&6
51719 else
51722 ac_ext=cpp
51723 ac_cpp='$CXXCPP $CPPFLAGS'
51724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51729 /* end confdefs.h. */
51730 #include <math.h>
51732 main ()
51734 _ldexpl(0, 0);
51736 return 0;
51738 _ACEOF
51739 if ac_fn_cxx_try_compile "$LINENO"; then :
51740 glibcxx_cv_func__ldexpl_use=yes
51741 else
51742 glibcxx_cv_func__ldexpl_use=no
51744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51745 ac_ext=c
51746 ac_cpp='$CPP $CPPFLAGS'
51747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51756 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51758 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51759 for ac_func in _ldexpl
51760 do :
51761 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51762 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51763 cat >>confdefs.h <<_ACEOF
51764 #define HAVE__LDEXPL 1
51765 _ACEOF
51768 done
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51778 $as_echo_n "checking for logl declaration... " >&6; }
51779 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51780 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51781 $as_echo_n "(cached) " >&6
51782 else
51785 ac_ext=cpp
51786 ac_cpp='$CXXCPP $CPPFLAGS'
51787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51792 /* end confdefs.h. */
51793 #include <math.h>
51794 #ifdef HAVE_IEEEFP_H
51795 #include <ieeefp.h>
51796 #endif
51799 main ()
51801 logl(0);
51803 return 0;
51805 _ACEOF
51806 if ac_fn_cxx_try_compile "$LINENO"; then :
51807 glibcxx_cv_func_logl_use=yes
51808 else
51809 glibcxx_cv_func_logl_use=no
51811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51812 ac_ext=c
51813 ac_cpp='$CPP $CPPFLAGS'
51814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51823 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51825 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51826 for ac_func in logl
51827 do :
51828 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51829 if test "x$ac_cv_func_logl" = x""yes; then :
51830 cat >>confdefs.h <<_ACEOF
51831 #define HAVE_LOGL 1
51832 _ACEOF
51835 done
51837 else
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51840 $as_echo_n "checking for _logl declaration... " >&6; }
51841 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51842 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51843 $as_echo_n "(cached) " >&6
51844 else
51847 ac_ext=cpp
51848 ac_cpp='$CXXCPP $CPPFLAGS'
51849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51854 /* end confdefs.h. */
51855 #include <math.h>
51856 #ifdef HAVE_IEEEFP_H
51857 #include <ieeefp.h>
51858 #endif
51861 main ()
51863 _logl(0);
51865 return 0;
51867 _ACEOF
51868 if ac_fn_cxx_try_compile "$LINENO"; then :
51869 glibcxx_cv_func__logl_use=yes
51870 else
51871 glibcxx_cv_func__logl_use=no
51873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51874 ac_ext=c
51875 ac_cpp='$CPP $CPPFLAGS'
51876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51885 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51887 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51888 for ac_func in _logl
51889 do :
51890 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51891 if test "x$ac_cv_func__logl" = x""yes; then :
51892 cat >>confdefs.h <<_ACEOF
51893 #define HAVE__LOGL 1
51894 _ACEOF
51897 done
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51907 $as_echo_n "checking for log10l declaration... " >&6; }
51908 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51909 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51910 $as_echo_n "(cached) " >&6
51911 else
51914 ac_ext=cpp
51915 ac_cpp='$CXXCPP $CPPFLAGS'
51916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51921 /* end confdefs.h. */
51922 #include <math.h>
51923 #ifdef HAVE_IEEEFP_H
51924 #include <ieeefp.h>
51925 #endif
51928 main ()
51930 log10l(0);
51932 return 0;
51934 _ACEOF
51935 if ac_fn_cxx_try_compile "$LINENO"; then :
51936 glibcxx_cv_func_log10l_use=yes
51937 else
51938 glibcxx_cv_func_log10l_use=no
51940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51941 ac_ext=c
51942 ac_cpp='$CPP $CPPFLAGS'
51943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51952 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51954 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51955 for ac_func in log10l
51956 do :
51957 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51958 if test "x$ac_cv_func_log10l" = x""yes; then :
51959 cat >>confdefs.h <<_ACEOF
51960 #define HAVE_LOG10L 1
51961 _ACEOF
51964 done
51966 else
51968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51969 $as_echo_n "checking for _log10l declaration... " >&6; }
51970 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51971 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51972 $as_echo_n "(cached) " >&6
51973 else
51976 ac_ext=cpp
51977 ac_cpp='$CXXCPP $CPPFLAGS'
51978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51983 /* end confdefs.h. */
51984 #include <math.h>
51985 #ifdef HAVE_IEEEFP_H
51986 #include <ieeefp.h>
51987 #endif
51990 main ()
51992 _log10l(0);
51994 return 0;
51996 _ACEOF
51997 if ac_fn_cxx_try_compile "$LINENO"; then :
51998 glibcxx_cv_func__log10l_use=yes
51999 else
52000 glibcxx_cv_func__log10l_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__log10l_use" >&5
52014 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52016 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52017 for ac_func in _log10l
52018 do :
52019 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52020 if test "x$ac_cv_func__log10l" = x""yes; then :
52021 cat >>confdefs.h <<_ACEOF
52022 #define HAVE__LOG10L 1
52023 _ACEOF
52026 done
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52036 $as_echo_n "checking for modfl declaration... " >&6; }
52037 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52038 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
52057 return 0;
52059 _ACEOF
52060 if ac_fn_cxx_try_compile "$LINENO"; then :
52061 glibcxx_cv_func_modfl_use=yes
52062 else
52063 glibcxx_cv_func_modfl_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_modfl_use" >&5
52077 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52079 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52080 for ac_func in modfl
52081 do :
52082 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52083 if test "x$ac_cv_func_modfl" = x""yes; then :
52084 cat >>confdefs.h <<_ACEOF
52085 #define HAVE_MODFL 1
52086 _ACEOF
52089 done
52091 else
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52094 $as_echo_n "checking for _modfl declaration... " >&6; }
52095 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52096 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
52115 return 0;
52117 _ACEOF
52118 if ac_fn_cxx_try_compile "$LINENO"; then :
52119 glibcxx_cv_func__modfl_use=yes
52120 else
52121 glibcxx_cv_func__modfl_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__modfl_use" >&5
52135 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52137 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52138 for ac_func in _modfl
52139 do :
52140 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52141 if test "x$ac_cv_func__modfl" = x""yes; then :
52142 cat >>confdefs.h <<_ACEOF
52143 #define HAVE__MODFL 1
52144 _ACEOF
52147 done
52156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52157 $as_echo_n "checking for powl declaration... " >&6; }
52158 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52159 if test "${glibcxx_cv_func_powl_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>
52174 main ()
52176 powl(0, 0);
52178 return 0;
52180 _ACEOF
52181 if ac_fn_cxx_try_compile "$LINENO"; then :
52182 glibcxx_cv_func_powl_use=yes
52183 else
52184 glibcxx_cv_func_powl_use=no
52186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52187 ac_ext=c
52188 ac_cpp='$CPP $CPPFLAGS'
52189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52198 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52200 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52201 for ac_func in powl
52202 do :
52203 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52204 if test "x$ac_cv_func_powl" = x""yes; then :
52205 cat >>confdefs.h <<_ACEOF
52206 #define HAVE_POWL 1
52207 _ACEOF
52210 done
52212 else
52214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52215 $as_echo_n "checking for _powl declaration... " >&6; }
52216 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52217 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52218 $as_echo_n "(cached) " >&6
52219 else
52222 ac_ext=cpp
52223 ac_cpp='$CXXCPP $CPPFLAGS'
52224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52229 /* end confdefs.h. */
52230 #include <math.h>
52232 main ()
52234 _powl(0, 0);
52236 return 0;
52238 _ACEOF
52239 if ac_fn_cxx_try_compile "$LINENO"; then :
52240 glibcxx_cv_func__powl_use=yes
52241 else
52242 glibcxx_cv_func__powl_use=no
52244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52245 ac_ext=c
52246 ac_cpp='$CPP $CPPFLAGS'
52247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52256 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52258 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52259 for ac_func in _powl
52260 do :
52261 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52262 if test "x$ac_cv_func__powl" = x""yes; then :
52263 cat >>confdefs.h <<_ACEOF
52264 #define HAVE__POWL 1
52265 _ACEOF
52268 done
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52278 $as_echo_n "checking for sqrtl declaration... " >&6; }
52279 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52280 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52281 $as_echo_n "(cached) " >&6
52282 else
52285 ac_ext=cpp
52286 ac_cpp='$CXXCPP $CPPFLAGS'
52287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52292 /* end confdefs.h. */
52293 #include <math.h>
52294 #ifdef HAVE_IEEEFP_H
52295 #include <ieeefp.h>
52296 #endif
52299 main ()
52301 sqrtl(0);
52303 return 0;
52305 _ACEOF
52306 if ac_fn_cxx_try_compile "$LINENO"; then :
52307 glibcxx_cv_func_sqrtl_use=yes
52308 else
52309 glibcxx_cv_func_sqrtl_use=no
52311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52312 ac_ext=c
52313 ac_cpp='$CPP $CPPFLAGS'
52314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52323 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52325 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52326 for ac_func in sqrtl
52327 do :
52328 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52329 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52330 cat >>confdefs.h <<_ACEOF
52331 #define HAVE_SQRTL 1
52332 _ACEOF
52335 done
52337 else
52339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52340 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52341 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52342 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52343 $as_echo_n "(cached) " >&6
52344 else
52347 ac_ext=cpp
52348 ac_cpp='$CXXCPP $CPPFLAGS'
52349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52354 /* end confdefs.h. */
52355 #include <math.h>
52356 #ifdef HAVE_IEEEFP_H
52357 #include <ieeefp.h>
52358 #endif
52361 main ()
52363 _sqrtl(0);
52365 return 0;
52367 _ACEOF
52368 if ac_fn_cxx_try_compile "$LINENO"; then :
52369 glibcxx_cv_func__sqrtl_use=yes
52370 else
52371 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
52385 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52387 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52388 for ac_func in _sqrtl
52389 do :
52390 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52391 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52392 cat >>confdefs.h <<_ACEOF
52393 #define HAVE__SQRTL 1
52394 _ACEOF
52397 done
52406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52407 $as_echo_n "checking for sincosl declaration... " >&6; }
52408 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52409 if test "${glibcxx_cv_func_sincosl_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>
52424 main ()
52426 sincosl(0, 0, 0);
52428 return 0;
52430 _ACEOF
52431 if ac_fn_cxx_try_compile "$LINENO"; then :
52432 glibcxx_cv_func_sincosl_use=yes
52433 else
52434 glibcxx_cv_func_sincosl_use=no
52436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52437 ac_ext=c
52438 ac_cpp='$CPP $CPPFLAGS'
52439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52448 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52450 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52451 for ac_func in sincosl
52452 do :
52453 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52454 if test "x$ac_cv_func_sincosl" = x""yes; then :
52455 cat >>confdefs.h <<_ACEOF
52456 #define HAVE_SINCOSL 1
52457 _ACEOF
52460 done
52462 else
52464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52465 $as_echo_n "checking for _sincosl declaration... " >&6; }
52466 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52467 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52468 $as_echo_n "(cached) " >&6
52469 else
52472 ac_ext=cpp
52473 ac_cpp='$CXXCPP $CPPFLAGS'
52474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52479 /* end confdefs.h. */
52480 #include <math.h>
52482 main ()
52484 _sincosl(0, 0, 0);
52486 return 0;
52488 _ACEOF
52489 if ac_fn_cxx_try_compile "$LINENO"; then :
52490 glibcxx_cv_func__sincosl_use=yes
52491 else
52492 glibcxx_cv_func__sincosl_use=no
52494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52495 ac_ext=c
52496 ac_cpp='$CPP $CPPFLAGS'
52497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52506 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52508 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52509 for ac_func in _sincosl
52510 do :
52511 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52512 if test "x$ac_cv_func__sincosl" = x""yes; then :
52513 cat >>confdefs.h <<_ACEOF
52514 #define HAVE__SINCOSL 1
52515 _ACEOF
52518 done
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52528 $as_echo_n "checking for finitel declaration... " >&6; }
52529 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52530 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52531 $as_echo_n "(cached) " >&6
52532 else
52535 ac_ext=cpp
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h. */
52543 #include <math.h>
52544 #ifdef HAVE_IEEEFP_H
52545 #include <ieeefp.h>
52546 #endif
52549 main ()
52551 finitel(0);
52553 return 0;
52555 _ACEOF
52556 if ac_fn_cxx_try_compile "$LINENO"; then :
52557 glibcxx_cv_func_finitel_use=yes
52558 else
52559 glibcxx_cv_func_finitel_use=no
52561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52562 ac_ext=c
52563 ac_cpp='$CPP $CPPFLAGS'
52564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52573 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52575 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52576 for ac_func in finitel
52577 do :
52578 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52579 if test "x$ac_cv_func_finitel" = x""yes; then :
52580 cat >>confdefs.h <<_ACEOF
52581 #define HAVE_FINITEL 1
52582 _ACEOF
52585 done
52587 else
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52590 $as_echo_n "checking for _finitel declaration... " >&6; }
52591 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52592 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52593 $as_echo_n "(cached) " >&6
52594 else
52597 ac_ext=cpp
52598 ac_cpp='$CXXCPP $CPPFLAGS'
52599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604 /* end confdefs.h. */
52605 #include <math.h>
52606 #ifdef HAVE_IEEEFP_H
52607 #include <ieeefp.h>
52608 #endif
52611 main ()
52613 _finitel(0);
52615 return 0;
52617 _ACEOF
52618 if ac_fn_cxx_try_compile "$LINENO"; then :
52619 glibcxx_cv_func__finitel_use=yes
52620 else
52621 glibcxx_cv_func__finitel_use=no
52623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52624 ac_ext=c
52625 ac_cpp='$CPP $CPPFLAGS'
52626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52635 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52637 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52638 for ac_func in _finitel
52639 do :
52640 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52641 if test "x$ac_cv_func__finitel" = x""yes; then :
52642 cat >>confdefs.h <<_ACEOF
52643 #define HAVE__FINITEL 1
52644 _ACEOF
52647 done
52655 LIBS="$ac_save_LIBS"
52656 CXXFLAGS="$ac_save_CXXFLAGS"
52659 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52660 ac_save_CXXFLAGS="$CXXFLAGS"
52661 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52665 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52666 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52667 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52668 $as_echo_n "(cached) " >&6
52669 else
52672 ac_ext=cpp
52673 ac_cpp='$CXXCPP $CPPFLAGS'
52674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52679 /* end confdefs.h. */
52680 #include <stdlib.h>
52682 main ()
52684 at_quick_exit(0);
52686 return 0;
52688 _ACEOF
52689 if ac_fn_cxx_try_compile "$LINENO"; then :
52690 glibcxx_cv_func_at_quick_exit_use=yes
52691 else
52692 glibcxx_cv_func_at_quick_exit_use=no
52694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52695 ac_ext=c
52696 ac_cpp='$CPP $CPPFLAGS'
52697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52706 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52707 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52708 for ac_func in at_quick_exit
52709 do :
52710 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52711 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52712 cat >>confdefs.h <<_ACEOF
52713 #define HAVE_AT_QUICK_EXIT 1
52714 _ACEOF
52717 done
52722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52723 $as_echo_n "checking for quick_exit declaration... " >&6; }
52724 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52725 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52726 $as_echo_n "(cached) " >&6
52727 else
52730 ac_ext=cpp
52731 ac_cpp='$CXXCPP $CPPFLAGS'
52732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52737 /* end confdefs.h. */
52738 #include <stdlib.h>
52740 main ()
52742 quick_exit(0);
52744 return 0;
52746 _ACEOF
52747 if ac_fn_cxx_try_compile "$LINENO"; then :
52748 glibcxx_cv_func_quick_exit_use=yes
52749 else
52750 glibcxx_cv_func_quick_exit_use=no
52752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52753 ac_ext=c
52754 ac_cpp='$CPP $CPPFLAGS'
52755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52764 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52765 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52766 for ac_func in quick_exit
52767 do :
52768 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52769 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52770 cat >>confdefs.h <<_ACEOF
52771 #define HAVE_QUICK_EXIT 1
52772 _ACEOF
52775 done
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52781 $as_echo_n "checking for strtold declaration... " >&6; }
52782 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52783 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52784 $as_echo_n "(cached) " >&6
52785 else
52788 ac_ext=cpp
52789 ac_cpp='$CXXCPP $CPPFLAGS'
52790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52795 /* end confdefs.h. */
52796 #include <stdlib.h>
52798 main ()
52800 strtold(0, 0);
52802 return 0;
52804 _ACEOF
52805 if ac_fn_cxx_try_compile "$LINENO"; then :
52806 glibcxx_cv_func_strtold_use=yes
52807 else
52808 glibcxx_cv_func_strtold_use=no
52810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52811 ac_ext=c
52812 ac_cpp='$CPP $CPPFLAGS'
52813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52822 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52823 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52824 for ac_func in strtold
52825 do :
52826 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52827 if test "x$ac_cv_func_strtold" = x""yes; then :
52828 cat >>confdefs.h <<_ACEOF
52829 #define HAVE_STRTOLD 1
52830 _ACEOF
52833 done
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52841 $as_echo_n "checking for strtof declaration... " >&6; }
52842 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52843 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52844 $as_echo_n "(cached) " >&6
52845 else
52848 ac_ext=cpp
52849 ac_cpp='$CXXCPP $CPPFLAGS'
52850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52855 /* end confdefs.h. */
52856 #include <stdlib.h>
52858 main ()
52860 strtof(0, 0);
52862 return 0;
52864 _ACEOF
52865 if ac_fn_cxx_try_compile "$LINENO"; then :
52866 glibcxx_cv_func_strtof_use=yes
52867 else
52868 glibcxx_cv_func_strtof_use=no
52870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52871 ac_ext=c
52872 ac_cpp='$CPP $CPPFLAGS'
52873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52882 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52883 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52884 for ac_func in strtof
52885 do :
52886 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52887 if test "x$ac_cv_func_strtof" = x""yes; then :
52888 cat >>confdefs.h <<_ACEOF
52889 #define HAVE_STRTOF 1
52890 _ACEOF
52893 done
52900 CXXFLAGS="$ac_save_CXXFLAGS"
52904 *djgpp)
52905 # GLIBCXX_CHECK_MATH_SUPPORT
52906 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52908 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52910 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52912 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52914 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52918 *-freebsd*)
52919 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52922 # If we're not using GNU ld, then there's no point in even trying these
52923 # tests. Check for that first. We should have already tested for gld
52924 # by now (in libtool), but require it now just to be safe...
52925 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52926 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52930 # The name set by libtool depends on the version of libtool. Shame on us
52931 # for depending on an impl detail, but c'est la vie. Older versions used
52932 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52933 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52934 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52935 # set (hence we're using an older libtool), then set it.
52936 if test x${with_gnu_ld+set} != xset; then
52937 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52938 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52939 with_gnu_ld=no
52940 else
52941 with_gnu_ld=$ac_cv_prog_gnu_ld
52945 # Start by getting the version number. I think the libtool test already
52946 # does some of this, but throws away the result.
52947 glibcxx_ld_is_gold=no
52948 if test x"$with_gnu_ld" = x"yes"; then
52949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52950 $as_echo_n "checking for ld version... " >&6; }
52952 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52953 glibcxx_ld_is_gold=yes
52955 ldver=`$LD --version 2>/dev/null |
52956 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'`
52958 glibcxx_gnu_ld_version=`echo $ldver | \
52959 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52961 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52964 # Set --gc-sections.
52965 glibcxx_have_gc_sections=no
52966 if test "$glibcxx_ld_is_gold" = "yes"; then
52967 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52968 glibcxx_have_gc_sections=yes
52970 else
52971 glibcxx_gcsections_min_ld=21602
52972 if test x"$with_gnu_ld" = x"yes" &&
52973 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52974 glibcxx_have_gc_sections=yes
52977 if test "$glibcxx_have_gc_sections" = "yes"; then
52978 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52979 # NB: This flag only works reliably after 2.16.1. Configure tests
52980 # for this are difficult, so hard wire a value that should work.
52982 ac_test_CFLAGS="${CFLAGS+set}"
52983 ac_save_CFLAGS="$CFLAGS"
52984 CFLAGS='-Wl,--gc-sections'
52986 # Check for -Wl,--gc-sections
52987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52988 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52989 if test x$gcc_no_link = xyes; then
52990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52993 /* end confdefs.h. */
52994 int one(void) { return 1; }
52995 int two(void) { return 2; }
52998 main ()
53000 two();
53002 return 0;
53004 _ACEOF
53005 if ac_fn_c_try_link "$LINENO"; then :
53006 ac_gcsections=yes
53007 else
53008 ac_gcsections=no
53010 rm -f core conftest.err conftest.$ac_objext \
53011 conftest$ac_exeext conftest.$ac_ext
53012 if test "$ac_gcsections" = "yes"; then
53013 rm -f conftest.c
53014 touch conftest.c
53015 if $CC -c conftest.c; then
53016 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53017 grep "Warning: gc-sections option ignored" > /dev/null; then
53018 ac_gcsections=no
53021 rm -f conftest.c conftest.o conftest
53023 if test "$ac_gcsections" = "yes"; then
53024 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53027 $as_echo "$ac_gcsections" >&6; }
53029 if test "$ac_test_CFLAGS" = set; then
53030 CFLAGS="$ac_save_CFLAGS"
53031 else
53032 # this is the suspicious part
53033 CFLAGS=''
53037 # Set -z,relro.
53038 # Note this is only for shared objects.
53039 ac_ld_relro=no
53040 if test x"$with_gnu_ld" = x"yes"; then
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53042 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53043 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53044 if test -n "$cxx_z_relo"; then
53045 OPT_LDFLAGS="-Wl,-z,relro"
53046 ac_ld_relro=yes
53048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53049 $as_echo "$ac_ld_relro" >&6; }
53052 # Set linker optimization flags.
53053 if test x"$with_gnu_ld" = x"yes"; then
53054 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53060 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53062 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53064 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53066 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53068 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53070 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53072 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53074 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53076 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53079 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53081 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53083 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53085 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53087 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53089 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53091 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53093 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53095 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53097 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53099 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53101 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53103 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53105 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53107 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53109 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53111 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53113 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53115 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53117 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53119 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53121 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53123 if test x"long_double_math_on_this_cpu" = x"yes"; then
53124 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53126 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53128 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53132 *-hpux*)
53133 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53136 # If we're not using GNU ld, then there's no point in even trying these
53137 # tests. Check for that first. We should have already tested for gld
53138 # by now (in libtool), but require it now just to be safe...
53139 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53140 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53144 # The name set by libtool depends on the version of libtool. Shame on us
53145 # for depending on an impl detail, but c'est la vie. Older versions used
53146 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53147 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53148 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53149 # set (hence we're using an older libtool), then set it.
53150 if test x${with_gnu_ld+set} != xset; then
53151 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53152 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53153 with_gnu_ld=no
53154 else
53155 with_gnu_ld=$ac_cv_prog_gnu_ld
53159 # Start by getting the version number. I think the libtool test already
53160 # does some of this, but throws away the result.
53161 glibcxx_ld_is_gold=no
53162 if test x"$with_gnu_ld" = x"yes"; then
53163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53164 $as_echo_n "checking for ld version... " >&6; }
53166 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53167 glibcxx_ld_is_gold=yes
53169 ldver=`$LD --version 2>/dev/null |
53170 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'`
53172 glibcxx_gnu_ld_version=`echo $ldver | \
53173 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53175 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53178 # Set --gc-sections.
53179 glibcxx_have_gc_sections=no
53180 if test "$glibcxx_ld_is_gold" = "yes"; then
53181 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53182 glibcxx_have_gc_sections=yes
53184 else
53185 glibcxx_gcsections_min_ld=21602
53186 if test x"$with_gnu_ld" = x"yes" &&
53187 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53188 glibcxx_have_gc_sections=yes
53191 if test "$glibcxx_have_gc_sections" = "yes"; then
53192 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53193 # NB: This flag only works reliably after 2.16.1. Configure tests
53194 # for this are difficult, so hard wire a value that should work.
53196 ac_test_CFLAGS="${CFLAGS+set}"
53197 ac_save_CFLAGS="$CFLAGS"
53198 CFLAGS='-Wl,--gc-sections'
53200 # Check for -Wl,--gc-sections
53201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53202 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53203 if test x$gcc_no_link = xyes; then
53204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53207 /* end confdefs.h. */
53208 int one(void) { return 1; }
53209 int two(void) { return 2; }
53212 main ()
53214 two();
53216 return 0;
53218 _ACEOF
53219 if ac_fn_c_try_link "$LINENO"; then :
53220 ac_gcsections=yes
53221 else
53222 ac_gcsections=no
53224 rm -f core conftest.err conftest.$ac_objext \
53225 conftest$ac_exeext conftest.$ac_ext
53226 if test "$ac_gcsections" = "yes"; then
53227 rm -f conftest.c
53228 touch conftest.c
53229 if $CC -c conftest.c; then
53230 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53231 grep "Warning: gc-sections option ignored" > /dev/null; then
53232 ac_gcsections=no
53235 rm -f conftest.c conftest.o conftest
53237 if test "$ac_gcsections" = "yes"; then
53238 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53241 $as_echo "$ac_gcsections" >&6; }
53243 if test "$ac_test_CFLAGS" = set; then
53244 CFLAGS="$ac_save_CFLAGS"
53245 else
53246 # this is the suspicious part
53247 CFLAGS=''
53251 # Set -z,relro.
53252 # Note this is only for shared objects.
53253 ac_ld_relro=no
53254 if test x"$with_gnu_ld" = x"yes"; then
53255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53256 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53257 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53258 if test -n "$cxx_z_relo"; then
53259 OPT_LDFLAGS="-Wl,-z,relro"
53260 ac_ld_relro=yes
53262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53263 $as_echo "$ac_ld_relro" >&6; }
53266 # Set linker optimization flags.
53267 if test x"$with_gnu_ld" = x"yes"; then
53268 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53275 # GLIBCXX_CHECK_MATH_SUPPORT
53276 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53278 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53280 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53282 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53284 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53286 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53288 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53290 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53292 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53294 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53296 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53298 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53300 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53302 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53304 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53306 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53308 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53310 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53312 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53314 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53316 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53319 # GLIBCXX_CHECK_STDLIB_SUPPORT
53320 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53325 # Check whether --enable-tls was given.
53326 if test "${enable_tls+set}" = set; then :
53327 enableval=$enable_tls;
53328 case "$enableval" in
53329 yes|no) ;;
53330 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53331 esac
53333 else
53334 enable_tls=yes
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53339 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53340 if test "${gcc_cv_have_tls+set}" = set; then :
53341 $as_echo_n "(cached) " >&6
53342 else
53344 if test "$cross_compiling" = yes; then :
53345 if test x$gcc_no_link = xyes; then
53346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53349 /* end confdefs.h. */
53350 __thread int a; int b; int main() { return a = b; }
53351 _ACEOF
53352 if ac_fn_c_try_link "$LINENO"; then :
53353 chktls_save_LDFLAGS="$LDFLAGS"
53354 case $host in
53355 *-*-linux*)
53356 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53358 esac
53359 chktls_save_CFLAGS="$CFLAGS"
53360 CFLAGS="-fPIC $CFLAGS"
53361 if test x$gcc_no_link = xyes; then
53362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53365 /* end confdefs.h. */
53366 int f() { return 0; }
53367 _ACEOF
53368 if ac_fn_c_try_link "$LINENO"; then :
53369 if test x$gcc_no_link = xyes; then
53370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53373 /* end confdefs.h. */
53374 __thread int a; int b; int f() { return a = b; }
53375 _ACEOF
53376 if ac_fn_c_try_link "$LINENO"; then :
53377 gcc_cv_have_tls=yes
53378 else
53379 gcc_cv_have_tls=no
53381 rm -f core conftest.err conftest.$ac_objext \
53382 conftest$ac_exeext conftest.$ac_ext
53383 else
53384 gcc_cv_have_tls=yes
53386 rm -f core conftest.err conftest.$ac_objext \
53387 conftest$ac_exeext conftest.$ac_ext
53388 CFLAGS="$chktls_save_CFLAGS"
53389 LDFLAGS="$chktls_save_LDFLAGS"
53390 else
53391 gcc_cv_have_tls=no
53393 rm -f core conftest.err conftest.$ac_objext \
53394 conftest$ac_exeext conftest.$ac_ext
53397 else
53398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53399 /* end confdefs.h. */
53400 __thread int a; int b; int main() { return a = b; }
53401 _ACEOF
53402 if ac_fn_c_try_run "$LINENO"; then :
53403 chktls_save_LDFLAGS="$LDFLAGS"
53404 LDFLAGS="-static $LDFLAGS"
53405 if test x$gcc_no_link = xyes; then
53406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53409 /* end confdefs.h. */
53410 int main() { return 0; }
53411 _ACEOF
53412 if ac_fn_c_try_link "$LINENO"; then :
53413 if test "$cross_compiling" = yes; then :
53414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53416 as_fn_error "cannot run test program while cross compiling
53417 See \`config.log' for more details." "$LINENO" 5; }
53418 else
53419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53420 /* end confdefs.h. */
53421 __thread int a; int b; int main() { return a = b; }
53422 _ACEOF
53423 if ac_fn_c_try_run "$LINENO"; then :
53424 gcc_cv_have_tls=yes
53425 else
53426 gcc_cv_have_tls=no
53428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53429 conftest.$ac_objext conftest.beam conftest.$ac_ext
53432 else
53433 gcc_cv_have_tls=yes
53435 rm -f core conftest.err conftest.$ac_objext \
53436 conftest$ac_exeext conftest.$ac_ext
53437 LDFLAGS="$chktls_save_LDFLAGS"
53438 if test $gcc_cv_have_tls = yes; then
53439 chktls_save_CFLAGS="$CFLAGS"
53440 thread_CFLAGS=failed
53441 for flag in '' '-pthread' '-lpthread'; do
53442 CFLAGS="$flag $chktls_save_CFLAGS"
53443 if test x$gcc_no_link = xyes; then
53444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53447 /* end confdefs.h. */
53448 #include <pthread.h>
53449 void *g(void *d) { return NULL; }
53451 main ()
53453 pthread_t t; pthread_create(&t,NULL,g,NULL);
53455 return 0;
53457 _ACEOF
53458 if ac_fn_c_try_link "$LINENO"; then :
53459 thread_CFLAGS="$flag"
53461 rm -f core conftest.err conftest.$ac_objext \
53462 conftest$ac_exeext conftest.$ac_ext
53463 if test "X$thread_CFLAGS" != Xfailed; then
53464 break
53466 done
53467 CFLAGS="$chktls_save_CFLAGS"
53468 if test "X$thread_CFLAGS" != Xfailed; then
53469 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53470 if test "$cross_compiling" = yes; then :
53471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53473 as_fn_error "cannot run test program while cross compiling
53474 See \`config.log' for more details." "$LINENO" 5; }
53475 else
53476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53477 /* end confdefs.h. */
53478 #include <pthread.h>
53479 __thread int a;
53480 static int *volatile a_in_other_thread;
53481 static void *
53482 thread_func (void *arg)
53484 a_in_other_thread = &a;
53485 return (void *)0;
53488 main ()
53490 pthread_t thread;
53491 void *thread_retval;
53492 int *volatile a_in_main_thread;
53493 a_in_main_thread = &a;
53494 if (pthread_create (&thread, (pthread_attr_t *)0,
53495 thread_func, (void *)0))
53496 return 0;
53497 if (pthread_join (thread, &thread_retval))
53498 return 0;
53499 return (a_in_other_thread == a_in_main_thread);
53501 return 0;
53503 _ACEOF
53504 if ac_fn_c_try_run "$LINENO"; then :
53505 gcc_cv_have_tls=yes
53506 else
53507 gcc_cv_have_tls=no
53509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53510 conftest.$ac_objext conftest.beam conftest.$ac_ext
53513 CFLAGS="$chktls_save_CFLAGS"
53516 else
53517 gcc_cv_have_tls=no
53519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53520 conftest.$ac_objext conftest.beam conftest.$ac_ext
53524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53525 $as_echo "$gcc_cv_have_tls" >&6; }
53526 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53528 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53531 case "$target" in
53532 *-hpux10*)
53533 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53535 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53537 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53539 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53541 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53544 esac
53546 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
53548 # All these tests are for C++; save the language and the compiler flags.
53549 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53550 # found in GLIBCXX_CONFIGURE.
53552 ac_ext=cpp
53553 ac_cpp='$CXXCPP $CPPFLAGS'
53554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53558 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53559 ac_save_CXXFLAGS="$CXXFLAGS"
53561 # Check for maintainer-mode bits.
53562 if test x"$USE_MAINTAINER_MODE" = xno; then
53563 WERROR=''
53564 else
53565 WERROR='-Werror'
53568 # Check for -ffunction-sections -fdata-sections
53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53570 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53571 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53573 /* end confdefs.h. */
53574 int foo; void bar() { };
53576 main ()
53580 return 0;
53582 _ACEOF
53583 if ac_fn_cxx_try_compile "$LINENO"; then :
53584 ac_fdsections=yes
53585 else
53586 ac_fdsections=no
53588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53589 if test "$ac_test_CXXFLAGS" = set; then
53590 CXXFLAGS="$ac_save_CXXFLAGS"
53591 else
53592 # this is the suspicious part
53593 CXXFLAGS=''
53595 if test x"$ac_fdsections" = x"yes"; then
53596 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53599 $as_echo "$ac_fdsections" >&6; }
53601 ac_ext=c
53602 ac_cpp='$CPP $CPPFLAGS'
53603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53611 # If we're not using GNU ld, then there's no point in even trying these
53612 # tests. Check for that first. We should have already tested for gld
53613 # by now (in libtool), but require it now just to be safe...
53614 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53615 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53619 # The name set by libtool depends on the version of libtool. Shame on us
53620 # for depending on an impl detail, but c'est la vie. Older versions used
53621 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53622 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53623 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53624 # set (hence we're using an older libtool), then set it.
53625 if test x${with_gnu_ld+set} != xset; then
53626 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53627 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53628 with_gnu_ld=no
53629 else
53630 with_gnu_ld=$ac_cv_prog_gnu_ld
53634 # Start by getting the version number. I think the libtool test already
53635 # does some of this, but throws away the result.
53636 glibcxx_ld_is_gold=no
53637 if test x"$with_gnu_ld" = x"yes"; then
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53639 $as_echo_n "checking for ld version... " >&6; }
53641 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53642 glibcxx_ld_is_gold=yes
53644 ldver=`$LD --version 2>/dev/null |
53645 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'`
53647 glibcxx_gnu_ld_version=`echo $ldver | \
53648 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53650 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53653 # Set --gc-sections.
53654 glibcxx_have_gc_sections=no
53655 if test "$glibcxx_ld_is_gold" = "yes"; then
53656 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53657 glibcxx_have_gc_sections=yes
53659 else
53660 glibcxx_gcsections_min_ld=21602
53661 if test x"$with_gnu_ld" = x"yes" &&
53662 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53663 glibcxx_have_gc_sections=yes
53666 if test "$glibcxx_have_gc_sections" = "yes"; then
53667 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53668 # NB: This flag only works reliably after 2.16.1. Configure tests
53669 # for this are difficult, so hard wire a value that should work.
53671 ac_test_CFLAGS="${CFLAGS+set}"
53672 ac_save_CFLAGS="$CFLAGS"
53673 CFLAGS='-Wl,--gc-sections'
53675 # Check for -Wl,--gc-sections
53676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53677 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53678 if test x$gcc_no_link = xyes; then
53679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53682 /* end confdefs.h. */
53683 int one(void) { return 1; }
53684 int two(void) { return 2; }
53687 main ()
53689 two();
53691 return 0;
53693 _ACEOF
53694 if ac_fn_c_try_link "$LINENO"; then :
53695 ac_gcsections=yes
53696 else
53697 ac_gcsections=no
53699 rm -f core conftest.err conftest.$ac_objext \
53700 conftest$ac_exeext conftest.$ac_ext
53701 if test "$ac_gcsections" = "yes"; then
53702 rm -f conftest.c
53703 touch conftest.c
53704 if $CC -c conftest.c; then
53705 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53706 grep "Warning: gc-sections option ignored" > /dev/null; then
53707 ac_gcsections=no
53710 rm -f conftest.c conftest.o conftest
53712 if test "$ac_gcsections" = "yes"; then
53713 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53716 $as_echo "$ac_gcsections" >&6; }
53718 if test "$ac_test_CFLAGS" = set; then
53719 CFLAGS="$ac_save_CFLAGS"
53720 else
53721 # this is the suspicious part
53722 CFLAGS=''
53726 # Set -z,relro.
53727 # Note this is only for shared objects.
53728 ac_ld_relro=no
53729 if test x"$with_gnu_ld" = x"yes"; then
53730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53731 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53732 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53733 if test -n "$cxx_z_relo"; then
53734 OPT_LDFLAGS="-Wl,-z,relro"
53735 ac_ld_relro=yes
53737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53738 $as_echo "$ac_ld_relro" >&6; }
53741 # Set linker optimization flags.
53742 if test x"$with_gnu_ld" = x"yes"; then
53743 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53750 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53751 ac_save_CXXFLAGS="$CXXFLAGS"
53752 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53755 $as_echo_n "checking for sin in -lm... " >&6; }
53756 if test "${ac_cv_lib_m_sin+set}" = set; then :
53757 $as_echo_n "(cached) " >&6
53758 else
53759 ac_check_lib_save_LIBS=$LIBS
53760 LIBS="-lm $LIBS"
53761 if test x$gcc_no_link = xyes; then
53762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53767 /* Override any GCC internal prototype to avoid an error.
53768 Use char because int might match the return type of a GCC
53769 builtin and then its argument prototype would still apply. */
53770 #ifdef __cplusplus
53771 extern "C"
53772 #endif
53773 char sin ();
53775 main ()
53777 return sin ();
53779 return 0;
53781 _ACEOF
53782 if ac_fn_c_try_link "$LINENO"; then :
53783 ac_cv_lib_m_sin=yes
53784 else
53785 ac_cv_lib_m_sin=no
53787 rm -f core conftest.err conftest.$ac_objext \
53788 conftest$ac_exeext conftest.$ac_ext
53789 LIBS=$ac_check_lib_save_LIBS
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53792 $as_echo "$ac_cv_lib_m_sin" >&6; }
53793 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53794 libm="-lm"
53797 ac_save_LIBS="$LIBS"
53798 LIBS="$LIBS $libm"
53802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53803 $as_echo_n "checking for isinf declaration... " >&6; }
53804 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53805 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53806 $as_echo_n "(cached) " >&6
53807 else
53810 ac_ext=cpp
53811 ac_cpp='$CXXCPP $CPPFLAGS'
53812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817 /* end confdefs.h. */
53818 #include <math.h>
53819 #ifdef HAVE_IEEEFP_H
53820 #include <ieeefp.h>
53821 #endif
53824 main ()
53826 isinf(0);
53828 return 0;
53830 _ACEOF
53831 if ac_fn_cxx_try_compile "$LINENO"; then :
53832 glibcxx_cv_func_isinf_use=yes
53833 else
53834 glibcxx_cv_func_isinf_use=no
53836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53837 ac_ext=c
53838 ac_cpp='$CPP $CPPFLAGS'
53839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53848 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53850 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53851 for ac_func in isinf
53852 do :
53853 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53854 if test "x$ac_cv_func_isinf" = x""yes; then :
53855 cat >>confdefs.h <<_ACEOF
53856 #define HAVE_ISINF 1
53857 _ACEOF
53860 done
53862 else
53864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53865 $as_echo_n "checking for _isinf declaration... " >&6; }
53866 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53867 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53868 $as_echo_n "(cached) " >&6
53869 else
53872 ac_ext=cpp
53873 ac_cpp='$CXXCPP $CPPFLAGS'
53874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53879 /* end confdefs.h. */
53880 #include <math.h>
53881 #ifdef HAVE_IEEEFP_H
53882 #include <ieeefp.h>
53883 #endif
53886 main ()
53888 _isinf(0);
53890 return 0;
53892 _ACEOF
53893 if ac_fn_cxx_try_compile "$LINENO"; then :
53894 glibcxx_cv_func__isinf_use=yes
53895 else
53896 glibcxx_cv_func__isinf_use=no
53898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53899 ac_ext=c
53900 ac_cpp='$CPP $CPPFLAGS'
53901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53910 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53912 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53913 for ac_func in _isinf
53914 do :
53915 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53916 if test "x$ac_cv_func__isinf" = x""yes; then :
53917 cat >>confdefs.h <<_ACEOF
53918 #define HAVE__ISINF 1
53919 _ACEOF
53922 done
53931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53932 $as_echo_n "checking for isnan declaration... " >&6; }
53933 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53934 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53935 $as_echo_n "(cached) " >&6
53936 else
53939 ac_ext=cpp
53940 ac_cpp='$CXXCPP $CPPFLAGS'
53941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53946 /* end confdefs.h. */
53947 #include <math.h>
53948 #ifdef HAVE_IEEEFP_H
53949 #include <ieeefp.h>
53950 #endif
53953 main ()
53955 isnan(0);
53957 return 0;
53959 _ACEOF
53960 if ac_fn_cxx_try_compile "$LINENO"; then :
53961 glibcxx_cv_func_isnan_use=yes
53962 else
53963 glibcxx_cv_func_isnan_use=no
53965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53966 ac_ext=c
53967 ac_cpp='$CPP $CPPFLAGS'
53968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53977 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53979 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53980 for ac_func in isnan
53981 do :
53982 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53983 if test "x$ac_cv_func_isnan" = x""yes; then :
53984 cat >>confdefs.h <<_ACEOF
53985 #define HAVE_ISNAN 1
53986 _ACEOF
53989 done
53991 else
53993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53994 $as_echo_n "checking for _isnan declaration... " >&6; }
53995 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53996 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53997 $as_echo_n "(cached) " >&6
53998 else
54001 ac_ext=cpp
54002 ac_cpp='$CXXCPP $CPPFLAGS'
54003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54008 /* end confdefs.h. */
54009 #include <math.h>
54010 #ifdef HAVE_IEEEFP_H
54011 #include <ieeefp.h>
54012 #endif
54015 main ()
54017 _isnan(0);
54019 return 0;
54021 _ACEOF
54022 if ac_fn_cxx_try_compile "$LINENO"; then :
54023 glibcxx_cv_func__isnan_use=yes
54024 else
54025 glibcxx_cv_func__isnan_use=no
54027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54028 ac_ext=c
54029 ac_cpp='$CPP $CPPFLAGS'
54030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54039 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54041 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54042 for ac_func in _isnan
54043 do :
54044 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54045 if test "x$ac_cv_func__isnan" = x""yes; then :
54046 cat >>confdefs.h <<_ACEOF
54047 #define HAVE__ISNAN 1
54048 _ACEOF
54051 done
54060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54061 $as_echo_n "checking for finite declaration... " >&6; }
54062 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54063 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54064 $as_echo_n "(cached) " >&6
54065 else
54068 ac_ext=cpp
54069 ac_cpp='$CXXCPP $CPPFLAGS'
54070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54075 /* end confdefs.h. */
54076 #include <math.h>
54077 #ifdef HAVE_IEEEFP_H
54078 #include <ieeefp.h>
54079 #endif
54082 main ()
54084 finite(0);
54086 return 0;
54088 _ACEOF
54089 if ac_fn_cxx_try_compile "$LINENO"; then :
54090 glibcxx_cv_func_finite_use=yes
54091 else
54092 glibcxx_cv_func_finite_use=no
54094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54095 ac_ext=c
54096 ac_cpp='$CPP $CPPFLAGS'
54097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54106 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54108 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54109 for ac_func in finite
54110 do :
54111 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54112 if test "x$ac_cv_func_finite" = x""yes; then :
54113 cat >>confdefs.h <<_ACEOF
54114 #define HAVE_FINITE 1
54115 _ACEOF
54118 done
54120 else
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54123 $as_echo_n "checking for _finite declaration... " >&6; }
54124 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54125 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54126 $as_echo_n "(cached) " >&6
54127 else
54130 ac_ext=cpp
54131 ac_cpp='$CXXCPP $CPPFLAGS'
54132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54137 /* end confdefs.h. */
54138 #include <math.h>
54139 #ifdef HAVE_IEEEFP_H
54140 #include <ieeefp.h>
54141 #endif
54144 main ()
54146 _finite(0);
54148 return 0;
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152 glibcxx_cv_func__finite_use=yes
54153 else
54154 glibcxx_cv_func__finite_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__finite_use" >&5
54168 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54170 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54171 for ac_func in _finite
54172 do :
54173 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54174 if test "x$ac_cv_func__finite" = x""yes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE__FINITE 1
54177 _ACEOF
54180 done
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54190 $as_echo_n "checking for sincos declaration... " >&6; }
54191 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54192 if test "${glibcxx_cv_func_sincos_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>
54207 main ()
54209 sincos(0, 0, 0);
54211 return 0;
54213 _ACEOF
54214 if ac_fn_cxx_try_compile "$LINENO"; then :
54215 glibcxx_cv_func_sincos_use=yes
54216 else
54217 glibcxx_cv_func_sincos_use=no
54219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54220 ac_ext=c
54221 ac_cpp='$CPP $CPPFLAGS'
54222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54231 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54233 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54234 for ac_func in sincos
54235 do :
54236 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54237 if test "x$ac_cv_func_sincos" = x""yes; then :
54238 cat >>confdefs.h <<_ACEOF
54239 #define HAVE_SINCOS 1
54240 _ACEOF
54243 done
54245 else
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54248 $as_echo_n "checking for _sincos declaration... " >&6; }
54249 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54250 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54251 $as_echo_n "(cached) " >&6
54252 else
54255 ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h. */
54263 #include <math.h>
54265 main ()
54267 _sincos(0, 0, 0);
54269 return 0;
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func__sincos_use=yes
54274 else
54275 glibcxx_cv_func__sincos_use=no
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278 ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54289 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54291 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54292 for ac_func in _sincos
54293 do :
54294 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54295 if test "x$ac_cv_func__sincos" = x""yes; then :
54296 cat >>confdefs.h <<_ACEOF
54297 #define HAVE__SINCOS 1
54298 _ACEOF
54301 done
54310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54311 $as_echo_n "checking for fpclass declaration... " >&6; }
54312 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54313 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54314 $as_echo_n "(cached) " >&6
54315 else
54318 ac_ext=cpp
54319 ac_cpp='$CXXCPP $CPPFLAGS'
54320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54325 /* end confdefs.h. */
54326 #include <math.h>
54327 #ifdef HAVE_IEEEFP_H
54328 #include <ieeefp.h>
54329 #endif
54332 main ()
54334 fpclass(0);
54336 return 0;
54338 _ACEOF
54339 if ac_fn_cxx_try_compile "$LINENO"; then :
54340 glibcxx_cv_func_fpclass_use=yes
54341 else
54342 glibcxx_cv_func_fpclass_use=no
54344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54345 ac_ext=c
54346 ac_cpp='$CPP $CPPFLAGS'
54347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54356 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54358 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54359 for ac_func in fpclass
54360 do :
54361 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54362 if test "x$ac_cv_func_fpclass" = x""yes; then :
54363 cat >>confdefs.h <<_ACEOF
54364 #define HAVE_FPCLASS 1
54365 _ACEOF
54368 done
54370 else
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54373 $as_echo_n "checking for _fpclass declaration... " >&6; }
54374 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54375 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54376 $as_echo_n "(cached) " >&6
54377 else
54380 ac_ext=cpp
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h. */
54388 #include <math.h>
54389 #ifdef HAVE_IEEEFP_H
54390 #include <ieeefp.h>
54391 #endif
54394 main ()
54396 _fpclass(0);
54398 return 0;
54400 _ACEOF
54401 if ac_fn_cxx_try_compile "$LINENO"; then :
54402 glibcxx_cv_func__fpclass_use=yes
54403 else
54404 glibcxx_cv_func__fpclass_use=no
54406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54407 ac_ext=c
54408 ac_cpp='$CPP $CPPFLAGS'
54409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54418 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54420 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54421 for ac_func in _fpclass
54422 do :
54423 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54424 if test "x$ac_cv_func__fpclass" = x""yes; then :
54425 cat >>confdefs.h <<_ACEOF
54426 #define HAVE__FPCLASS 1
54427 _ACEOF
54430 done
54439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54440 $as_echo_n "checking for qfpclass declaration... " >&6; }
54441 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54442 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54443 $as_echo_n "(cached) " >&6
54444 else
54447 ac_ext=cpp
54448 ac_cpp='$CXXCPP $CPPFLAGS'
54449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54454 /* end confdefs.h. */
54455 #include <math.h>
54456 #ifdef HAVE_IEEEFP_H
54457 #include <ieeefp.h>
54458 #endif
54461 main ()
54463 qfpclass(0);
54465 return 0;
54467 _ACEOF
54468 if ac_fn_cxx_try_compile "$LINENO"; then :
54469 glibcxx_cv_func_qfpclass_use=yes
54470 else
54471 glibcxx_cv_func_qfpclass_use=no
54473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54474 ac_ext=c
54475 ac_cpp='$CPP $CPPFLAGS'
54476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54485 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54487 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54488 for ac_func in qfpclass
54489 do :
54490 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54491 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54492 cat >>confdefs.h <<_ACEOF
54493 #define HAVE_QFPCLASS 1
54494 _ACEOF
54497 done
54499 else
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54502 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54503 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54504 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54505 $as_echo_n "(cached) " >&6
54506 else
54509 ac_ext=cpp
54510 ac_cpp='$CXXCPP $CPPFLAGS'
54511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54516 /* end confdefs.h. */
54517 #include <math.h>
54518 #ifdef HAVE_IEEEFP_H
54519 #include <ieeefp.h>
54520 #endif
54523 main ()
54525 _qfpclass(0);
54527 return 0;
54529 _ACEOF
54530 if ac_fn_cxx_try_compile "$LINENO"; then :
54531 glibcxx_cv_func__qfpclass_use=yes
54532 else
54533 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
54547 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54549 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54550 for ac_func in _qfpclass
54551 do :
54552 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54553 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54554 cat >>confdefs.h <<_ACEOF
54555 #define HAVE__QFPCLASS 1
54556 _ACEOF
54559 done
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54569 $as_echo_n "checking for hypot declaration... " >&6; }
54570 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54571 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54572 $as_echo_n "(cached) " >&6
54573 else
54576 ac_ext=cpp
54577 ac_cpp='$CXXCPP $CPPFLAGS'
54578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54583 /* end confdefs.h. */
54584 #include <math.h>
54586 main ()
54588 hypot(0, 0);
54590 return 0;
54592 _ACEOF
54593 if ac_fn_cxx_try_compile "$LINENO"; then :
54594 glibcxx_cv_func_hypot_use=yes
54595 else
54596 glibcxx_cv_func_hypot_use=no
54598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54599 ac_ext=c
54600 ac_cpp='$CPP $CPPFLAGS'
54601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54610 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54612 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54613 for ac_func in hypot
54614 do :
54615 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54616 if test "x$ac_cv_func_hypot" = x""yes; then :
54617 cat >>confdefs.h <<_ACEOF
54618 #define HAVE_HYPOT 1
54619 _ACEOF
54622 done
54624 else
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54627 $as_echo_n "checking for _hypot declaration... " >&6; }
54628 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54629 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54630 $as_echo_n "(cached) " >&6
54631 else
54634 ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h. */
54642 #include <math.h>
54644 main ()
54646 _hypot(0, 0);
54648 return 0;
54650 _ACEOF
54651 if ac_fn_cxx_try_compile "$LINENO"; then :
54652 glibcxx_cv_func__hypot_use=yes
54653 else
54654 glibcxx_cv_func__hypot_use=no
54656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54657 ac_ext=c
54658 ac_cpp='$CPP $CPPFLAGS'
54659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54668 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54670 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54671 for ac_func in _hypot
54672 do :
54673 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54674 if test "x$ac_cv_func__hypot" = x""yes; then :
54675 cat >>confdefs.h <<_ACEOF
54676 #define HAVE__HYPOT 1
54677 _ACEOF
54680 done
54689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54690 $as_echo_n "checking for float trig functions... " >&6; }
54691 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54692 $as_echo_n "(cached) " >&6
54693 else
54696 ac_ext=cpp
54697 ac_cpp='$CXXCPP $CPPFLAGS'
54698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54703 /* end confdefs.h. */
54704 #include <math.h>
54706 main ()
54708 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54710 return 0;
54712 _ACEOF
54713 if ac_fn_cxx_try_compile "$LINENO"; then :
54714 glibcxx_cv_func_float_trig_use=yes
54715 else
54716 glibcxx_cv_func_float_trig_use=no
54718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54719 ac_ext=c
54720 ac_cpp='$CPP $CPPFLAGS'
54721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54728 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54729 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54730 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54731 do :
54732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54734 eval as_val=\$$as_ac_var
54735 if test "x$as_val" = x""yes; then :
54736 cat >>confdefs.h <<_ACEOF
54737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54738 _ACEOF
54741 done
54743 else
54744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54745 $as_echo_n "checking for _float trig functions... " >&6; }
54746 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54747 $as_echo_n "(cached) " >&6
54748 else
54751 ac_ext=cpp
54752 ac_cpp='$CXXCPP $CPPFLAGS'
54753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54758 /* end confdefs.h. */
54759 #include <math.h>
54761 main ()
54763 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54765 return 0;
54767 _ACEOF
54768 if ac_fn_cxx_try_compile "$LINENO"; then :
54769 glibcxx_cv_func__float_trig_use=yes
54770 else
54771 glibcxx_cv_func__float_trig_use=no
54773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54774 ac_ext=c
54775 ac_cpp='$CPP $CPPFLAGS'
54776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54783 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54784 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54785 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54786 do :
54787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54789 eval as_val=\$$as_ac_var
54790 if test "x$as_val" = x""yes; then :
54791 cat >>confdefs.h <<_ACEOF
54792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54793 _ACEOF
54796 done
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54806 $as_echo_n "checking for float round functions... " >&6; }
54807 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54808 $as_echo_n "(cached) " >&6
54809 else
54812 ac_ext=cpp
54813 ac_cpp='$CXXCPP $CPPFLAGS'
54814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54819 /* end confdefs.h. */
54820 #include <math.h>
54822 main ()
54824 ceilf (0); floorf (0);
54826 return 0;
54828 _ACEOF
54829 if ac_fn_cxx_try_compile "$LINENO"; then :
54830 glibcxx_cv_func_float_round_use=yes
54831 else
54832 glibcxx_cv_func_float_round_use=no
54834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54835 ac_ext=c
54836 ac_cpp='$CPP $CPPFLAGS'
54837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54844 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54845 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54846 for ac_func in ceilf floorf
54847 do :
54848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54850 eval as_val=\$$as_ac_var
54851 if test "x$as_val" = x""yes; then :
54852 cat >>confdefs.h <<_ACEOF
54853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54854 _ACEOF
54857 done
54859 else
54860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54861 $as_echo_n "checking for _float round functions... " >&6; }
54862 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54863 $as_echo_n "(cached) " >&6
54864 else
54867 ac_ext=cpp
54868 ac_cpp='$CXXCPP $CPPFLAGS'
54869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54874 /* end confdefs.h. */
54875 #include <math.h>
54877 main ()
54879 _ceilf (0); _floorf (0);
54881 return 0;
54883 _ACEOF
54884 if ac_fn_cxx_try_compile "$LINENO"; then :
54885 glibcxx_cv_func__float_round_use=yes
54886 else
54887 glibcxx_cv_func__float_round_use=no
54889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54890 ac_ext=c
54891 ac_cpp='$CPP $CPPFLAGS'
54892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54899 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54900 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54901 for ac_func in _ceilf _floorf
54902 do :
54903 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54904 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54905 eval as_val=\$$as_ac_var
54906 if test "x$as_val" = x""yes; then :
54907 cat >>confdefs.h <<_ACEOF
54908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54909 _ACEOF
54912 done
54922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54923 $as_echo_n "checking for expf declaration... " >&6; }
54924 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54925 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54926 $as_echo_n "(cached) " >&6
54927 else
54930 ac_ext=cpp
54931 ac_cpp='$CXXCPP $CPPFLAGS'
54932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54937 /* end confdefs.h. */
54938 #include <math.h>
54939 #ifdef HAVE_IEEEFP_H
54940 #include <ieeefp.h>
54941 #endif
54944 main ()
54946 expf(0);
54948 return 0;
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952 glibcxx_cv_func_expf_use=yes
54953 else
54954 glibcxx_cv_func_expf_use=no
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54968 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54970 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54971 for ac_func in expf
54972 do :
54973 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54974 if test "x$ac_cv_func_expf" = x""yes; then :
54975 cat >>confdefs.h <<_ACEOF
54976 #define HAVE_EXPF 1
54977 _ACEOF
54980 done
54982 else
54984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54985 $as_echo_n "checking for _expf declaration... " >&6; }
54986 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54987 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54988 $as_echo_n "(cached) " >&6
54989 else
54992 ac_ext=cpp
54993 ac_cpp='$CXXCPP $CPPFLAGS'
54994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54999 /* end confdefs.h. */
55000 #include <math.h>
55001 #ifdef HAVE_IEEEFP_H
55002 #include <ieeefp.h>
55003 #endif
55006 main ()
55008 _expf(0);
55010 return 0;
55012 _ACEOF
55013 if ac_fn_cxx_try_compile "$LINENO"; then :
55014 glibcxx_cv_func__expf_use=yes
55015 else
55016 glibcxx_cv_func__expf_use=no
55018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55019 ac_ext=c
55020 ac_cpp='$CPP $CPPFLAGS'
55021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55030 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55032 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55033 for ac_func in _expf
55034 do :
55035 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55036 if test "x$ac_cv_func__expf" = x""yes; then :
55037 cat >>confdefs.h <<_ACEOF
55038 #define HAVE__EXPF 1
55039 _ACEOF
55042 done
55051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55052 $as_echo_n "checking for isnanf declaration... " >&6; }
55053 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55054 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55055 $as_echo_n "(cached) " >&6
55056 else
55059 ac_ext=cpp
55060 ac_cpp='$CXXCPP $CPPFLAGS'
55061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55066 /* end confdefs.h. */
55067 #include <math.h>
55068 #ifdef HAVE_IEEEFP_H
55069 #include <ieeefp.h>
55070 #endif
55073 main ()
55075 isnanf(0);
55077 return 0;
55079 _ACEOF
55080 if ac_fn_cxx_try_compile "$LINENO"; then :
55081 glibcxx_cv_func_isnanf_use=yes
55082 else
55083 glibcxx_cv_func_isnanf_use=no
55085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55086 ac_ext=c
55087 ac_cpp='$CPP $CPPFLAGS'
55088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55097 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55099 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55100 for ac_func in isnanf
55101 do :
55102 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55103 if test "x$ac_cv_func_isnanf" = x""yes; then :
55104 cat >>confdefs.h <<_ACEOF
55105 #define HAVE_ISNANF 1
55106 _ACEOF
55109 done
55111 else
55113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55114 $as_echo_n "checking for _isnanf declaration... " >&6; }
55115 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55116 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55117 $as_echo_n "(cached) " >&6
55118 else
55121 ac_ext=cpp
55122 ac_cpp='$CXXCPP $CPPFLAGS'
55123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55128 /* end confdefs.h. */
55129 #include <math.h>
55130 #ifdef HAVE_IEEEFP_H
55131 #include <ieeefp.h>
55132 #endif
55135 main ()
55137 _isnanf(0);
55139 return 0;
55141 _ACEOF
55142 if ac_fn_cxx_try_compile "$LINENO"; then :
55143 glibcxx_cv_func__isnanf_use=yes
55144 else
55145 glibcxx_cv_func__isnanf_use=no
55147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55148 ac_ext=c
55149 ac_cpp='$CPP $CPPFLAGS'
55150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55159 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55161 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55162 for ac_func in _isnanf
55163 do :
55164 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55165 if test "x$ac_cv_func__isnanf" = x""yes; then :
55166 cat >>confdefs.h <<_ACEOF
55167 #define HAVE__ISNANF 1
55168 _ACEOF
55171 done
55180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55181 $as_echo_n "checking for isinff declaration... " >&6; }
55182 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55183 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55184 $as_echo_n "(cached) " >&6
55185 else
55188 ac_ext=cpp
55189 ac_cpp='$CXXCPP $CPPFLAGS'
55190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55195 /* end confdefs.h. */
55196 #include <math.h>
55197 #ifdef HAVE_IEEEFP_H
55198 #include <ieeefp.h>
55199 #endif
55202 main ()
55204 isinff(0);
55206 return 0;
55208 _ACEOF
55209 if ac_fn_cxx_try_compile "$LINENO"; then :
55210 glibcxx_cv_func_isinff_use=yes
55211 else
55212 glibcxx_cv_func_isinff_use=no
55214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55215 ac_ext=c
55216 ac_cpp='$CPP $CPPFLAGS'
55217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55226 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55228 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55229 for ac_func in isinff
55230 do :
55231 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55232 if test "x$ac_cv_func_isinff" = x""yes; then :
55233 cat >>confdefs.h <<_ACEOF
55234 #define HAVE_ISINFF 1
55235 _ACEOF
55238 done
55240 else
55242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55243 $as_echo_n "checking for _isinff declaration... " >&6; }
55244 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55245 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55246 $as_echo_n "(cached) " >&6
55247 else
55250 ac_ext=cpp
55251 ac_cpp='$CXXCPP $CPPFLAGS'
55252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55257 /* end confdefs.h. */
55258 #include <math.h>
55259 #ifdef HAVE_IEEEFP_H
55260 #include <ieeefp.h>
55261 #endif
55264 main ()
55266 _isinff(0);
55268 return 0;
55270 _ACEOF
55271 if ac_fn_cxx_try_compile "$LINENO"; then :
55272 glibcxx_cv_func__isinff_use=yes
55273 else
55274 glibcxx_cv_func__isinff_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__isinff_use" >&5
55288 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55290 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55291 for ac_func in _isinff
55292 do :
55293 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55294 if test "x$ac_cv_func__isinff" = x""yes; then :
55295 cat >>confdefs.h <<_ACEOF
55296 #define HAVE__ISINFF 1
55297 _ACEOF
55300 done
55309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55310 $as_echo_n "checking for atan2f declaration... " >&6; }
55311 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55312 if test "${glibcxx_cv_func_atan2f_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>
55327 main ()
55329 atan2f(0, 0);
55331 return 0;
55333 _ACEOF
55334 if ac_fn_cxx_try_compile "$LINENO"; then :
55335 glibcxx_cv_func_atan2f_use=yes
55336 else
55337 glibcxx_cv_func_atan2f_use=no
55339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55340 ac_ext=c
55341 ac_cpp='$CPP $CPPFLAGS'
55342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55351 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55353 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55354 for ac_func in atan2f
55355 do :
55356 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55357 if test "x$ac_cv_func_atan2f" = x""yes; then :
55358 cat >>confdefs.h <<_ACEOF
55359 #define HAVE_ATAN2F 1
55360 _ACEOF
55363 done
55365 else
55367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55368 $as_echo_n "checking for _atan2f declaration... " >&6; }
55369 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55370 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55371 $as_echo_n "(cached) " >&6
55372 else
55375 ac_ext=cpp
55376 ac_cpp='$CXXCPP $CPPFLAGS'
55377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55382 /* end confdefs.h. */
55383 #include <math.h>
55385 main ()
55387 _atan2f(0, 0);
55389 return 0;
55391 _ACEOF
55392 if ac_fn_cxx_try_compile "$LINENO"; then :
55393 glibcxx_cv_func__atan2f_use=yes
55394 else
55395 glibcxx_cv_func__atan2f_use=no
55397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55398 ac_ext=c
55399 ac_cpp='$CPP $CPPFLAGS'
55400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55409 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55411 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55412 for ac_func in _atan2f
55413 do :
55414 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55415 if test "x$ac_cv_func__atan2f" = x""yes; then :
55416 cat >>confdefs.h <<_ACEOF
55417 #define HAVE__ATAN2F 1
55418 _ACEOF
55421 done
55430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55431 $as_echo_n "checking for fabsf declaration... " >&6; }
55432 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55433 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55434 $as_echo_n "(cached) " >&6
55435 else
55438 ac_ext=cpp
55439 ac_cpp='$CXXCPP $CPPFLAGS'
55440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55445 /* end confdefs.h. */
55446 #include <math.h>
55447 #ifdef HAVE_IEEEFP_H
55448 #include <ieeefp.h>
55449 #endif
55452 main ()
55454 fabsf(0);
55456 return 0;
55458 _ACEOF
55459 if ac_fn_cxx_try_compile "$LINENO"; then :
55460 glibcxx_cv_func_fabsf_use=yes
55461 else
55462 glibcxx_cv_func_fabsf_use=no
55464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55465 ac_ext=c
55466 ac_cpp='$CPP $CPPFLAGS'
55467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55476 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55478 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55479 for ac_func in fabsf
55480 do :
55481 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55482 if test "x$ac_cv_func_fabsf" = x""yes; then :
55483 cat >>confdefs.h <<_ACEOF
55484 #define HAVE_FABSF 1
55485 _ACEOF
55488 done
55490 else
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55493 $as_echo_n "checking for _fabsf declaration... " >&6; }
55494 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55495 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55496 $as_echo_n "(cached) " >&6
55497 else
55500 ac_ext=cpp
55501 ac_cpp='$CXXCPP $CPPFLAGS'
55502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55507 /* end confdefs.h. */
55508 #include <math.h>
55509 #ifdef HAVE_IEEEFP_H
55510 #include <ieeefp.h>
55511 #endif
55514 main ()
55516 _fabsf(0);
55518 return 0;
55520 _ACEOF
55521 if ac_fn_cxx_try_compile "$LINENO"; then :
55522 glibcxx_cv_func__fabsf_use=yes
55523 else
55524 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
55538 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55540 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55541 for ac_func in _fabsf
55542 do :
55543 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55544 if test "x$ac_cv_func__fabsf" = x""yes; then :
55545 cat >>confdefs.h <<_ACEOF
55546 #define HAVE__FABSF 1
55547 _ACEOF
55550 done
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55560 $as_echo_n "checking for fmodf declaration... " >&6; }
55561 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55562 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
55581 return 0;
55583 _ACEOF
55584 if ac_fn_cxx_try_compile "$LINENO"; then :
55585 glibcxx_cv_func_fmodf_use=yes
55586 else
55587 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
55601 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55603 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55604 for ac_func in fmodf
55605 do :
55606 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55607 if test "x$ac_cv_func_fmodf" = x""yes; then :
55608 cat >>confdefs.h <<_ACEOF
55609 #define HAVE_FMODF 1
55610 _ACEOF
55613 done
55615 else
55617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55618 $as_echo_n "checking for _fmodf declaration... " >&6; }
55619 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55620 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
55639 return 0;
55641 _ACEOF
55642 if ac_fn_cxx_try_compile "$LINENO"; then :
55643 glibcxx_cv_func__fmodf_use=yes
55644 else
55645 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
55659 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55661 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55662 for ac_func in _fmodf
55663 do :
55664 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55665 if test "x$ac_cv_func__fmodf" = x""yes; then :
55666 cat >>confdefs.h <<_ACEOF
55667 #define HAVE__FMODF 1
55668 _ACEOF
55671 done
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55681 $as_echo_n "checking for frexpf declaration... " >&6; }
55682 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55683 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
55702 return 0;
55704 _ACEOF
55705 if ac_fn_cxx_try_compile "$LINENO"; then :
55706 glibcxx_cv_func_frexpf_use=yes
55707 else
55708 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
55722 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55724 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55725 for ac_func in frexpf
55726 do :
55727 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55728 if test "x$ac_cv_func_frexpf" = x""yes; then :
55729 cat >>confdefs.h <<_ACEOF
55730 #define HAVE_FREXPF 1
55731 _ACEOF
55734 done
55736 else
55738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55739 $as_echo_n "checking for _frexpf declaration... " >&6; }
55740 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55741 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
55760 return 0;
55762 _ACEOF
55763 if ac_fn_cxx_try_compile "$LINENO"; then :
55764 glibcxx_cv_func__frexpf_use=yes
55765 else
55766 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
55780 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55782 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55783 for ac_func in _frexpf
55784 do :
55785 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55786 if test "x$ac_cv_func__frexpf" = x""yes; then :
55787 cat >>confdefs.h <<_ACEOF
55788 #define HAVE__FREXPF 1
55789 _ACEOF
55792 done
55801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55802 $as_echo_n "checking for hypotf declaration... " >&6; }
55803 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55804 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
55823 return 0;
55825 _ACEOF
55826 if ac_fn_cxx_try_compile "$LINENO"; then :
55827 glibcxx_cv_func_hypotf_use=yes
55828 else
55829 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
55843 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55845 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55846 for ac_func in hypotf
55847 do :
55848 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55849 if test "x$ac_cv_func_hypotf" = x""yes; then :
55850 cat >>confdefs.h <<_ACEOF
55851 #define HAVE_HYPOTF 1
55852 _ACEOF
55855 done
55857 else
55859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55860 $as_echo_n "checking for _hypotf declaration... " >&6; }
55861 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55862 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
55881 return 0;
55883 _ACEOF
55884 if ac_fn_cxx_try_compile "$LINENO"; then :
55885 glibcxx_cv_func__hypotf_use=yes
55886 else
55887 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
55901 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55903 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55904 for ac_func in _hypotf
55905 do :
55906 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55907 if test "x$ac_cv_func__hypotf" = x""yes; then :
55908 cat >>confdefs.h <<_ACEOF
55909 #define HAVE__HYPOTF 1
55910 _ACEOF
55913 done
55922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55923 $as_echo_n "checking for ldexpf declaration... " >&6; }
55924 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55925 if test "${glibcxx_cv_func_ldexpf_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>
55940 main ()
55942 ldexpf(0, 0);
55944 return 0;
55946 _ACEOF
55947 if ac_fn_cxx_try_compile "$LINENO"; then :
55948 glibcxx_cv_func_ldexpf_use=yes
55949 else
55950 glibcxx_cv_func_ldexpf_use=no
55952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55953 ac_ext=c
55954 ac_cpp='$CPP $CPPFLAGS'
55955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55964 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55966 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55967 for ac_func in ldexpf
55968 do :
55969 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55970 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55971 cat >>confdefs.h <<_ACEOF
55972 #define HAVE_LDEXPF 1
55973 _ACEOF
55976 done
55978 else
55980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55981 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55982 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55983 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55984 $as_echo_n "(cached) " >&6
55985 else
55988 ac_ext=cpp
55989 ac_cpp='$CXXCPP $CPPFLAGS'
55990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55995 /* end confdefs.h. */
55996 #include <math.h>
55998 main ()
56000 _ldexpf(0, 0);
56002 return 0;
56004 _ACEOF
56005 if ac_fn_cxx_try_compile "$LINENO"; then :
56006 glibcxx_cv_func__ldexpf_use=yes
56007 else
56008 glibcxx_cv_func__ldexpf_use=no
56010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56011 ac_ext=c
56012 ac_cpp='$CPP $CPPFLAGS'
56013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56022 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56024 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56025 for ac_func in _ldexpf
56026 do :
56027 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56028 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56029 cat >>confdefs.h <<_ACEOF
56030 #define HAVE__LDEXPF 1
56031 _ACEOF
56034 done
56043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56044 $as_echo_n "checking for logf declaration... " >&6; }
56045 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56046 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56047 $as_echo_n "(cached) " >&6
56048 else
56051 ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56058 /* end confdefs.h. */
56059 #include <math.h>
56060 #ifdef HAVE_IEEEFP_H
56061 #include <ieeefp.h>
56062 #endif
56065 main ()
56067 logf(0);
56069 return 0;
56071 _ACEOF
56072 if ac_fn_cxx_try_compile "$LINENO"; then :
56073 glibcxx_cv_func_logf_use=yes
56074 else
56075 glibcxx_cv_func_logf_use=no
56077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56078 ac_ext=c
56079 ac_cpp='$CPP $CPPFLAGS'
56080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56089 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56091 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56092 for ac_func in logf
56093 do :
56094 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56095 if test "x$ac_cv_func_logf" = x""yes; then :
56096 cat >>confdefs.h <<_ACEOF
56097 #define HAVE_LOGF 1
56098 _ACEOF
56101 done
56103 else
56105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56106 $as_echo_n "checking for _logf declaration... " >&6; }
56107 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56108 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56109 $as_echo_n "(cached) " >&6
56110 else
56113 ac_ext=cpp
56114 ac_cpp='$CXXCPP $CPPFLAGS'
56115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56120 /* end confdefs.h. */
56121 #include <math.h>
56122 #ifdef HAVE_IEEEFP_H
56123 #include <ieeefp.h>
56124 #endif
56127 main ()
56129 _logf(0);
56131 return 0;
56133 _ACEOF
56134 if ac_fn_cxx_try_compile "$LINENO"; then :
56135 glibcxx_cv_func__logf_use=yes
56136 else
56137 glibcxx_cv_func__logf_use=no
56139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56140 ac_ext=c
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56151 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56153 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56154 for ac_func in _logf
56155 do :
56156 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56157 if test "x$ac_cv_func__logf" = x""yes; then :
56158 cat >>confdefs.h <<_ACEOF
56159 #define HAVE__LOGF 1
56160 _ACEOF
56163 done
56172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56173 $as_echo_n "checking for log10f declaration... " >&6; }
56174 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56175 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56176 $as_echo_n "(cached) " >&6
56177 else
56180 ac_ext=cpp
56181 ac_cpp='$CXXCPP $CPPFLAGS'
56182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56187 /* end confdefs.h. */
56188 #include <math.h>
56189 #ifdef HAVE_IEEEFP_H
56190 #include <ieeefp.h>
56191 #endif
56194 main ()
56196 log10f(0);
56198 return 0;
56200 _ACEOF
56201 if ac_fn_cxx_try_compile "$LINENO"; then :
56202 glibcxx_cv_func_log10f_use=yes
56203 else
56204 glibcxx_cv_func_log10f_use=no
56206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56207 ac_ext=c
56208 ac_cpp='$CPP $CPPFLAGS'
56209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56218 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56220 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56221 for ac_func in log10f
56222 do :
56223 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56224 if test "x$ac_cv_func_log10f" = x""yes; then :
56225 cat >>confdefs.h <<_ACEOF
56226 #define HAVE_LOG10F 1
56227 _ACEOF
56230 done
56232 else
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56235 $as_echo_n "checking for _log10f declaration... " >&6; }
56236 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56237 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56238 $as_echo_n "(cached) " >&6
56239 else
56242 ac_ext=cpp
56243 ac_cpp='$CXXCPP $CPPFLAGS'
56244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56249 /* end confdefs.h. */
56250 #include <math.h>
56251 #ifdef HAVE_IEEEFP_H
56252 #include <ieeefp.h>
56253 #endif
56256 main ()
56258 _log10f(0);
56260 return 0;
56262 _ACEOF
56263 if ac_fn_cxx_try_compile "$LINENO"; then :
56264 glibcxx_cv_func__log10f_use=yes
56265 else
56266 glibcxx_cv_func__log10f_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__log10f_use" >&5
56280 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56282 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56283 for ac_func in _log10f
56284 do :
56285 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56286 if test "x$ac_cv_func__log10f" = x""yes; then :
56287 cat >>confdefs.h <<_ACEOF
56288 #define HAVE__LOG10F 1
56289 _ACEOF
56292 done
56301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56302 $as_echo_n "checking for modff declaration... " >&6; }
56303 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56304 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
56323 return 0;
56325 _ACEOF
56326 if ac_fn_cxx_try_compile "$LINENO"; then :
56327 glibcxx_cv_func_modff_use=yes
56328 else
56329 glibcxx_cv_func_modff_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_modff_use" >&5
56343 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56345 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56346 for ac_func in modff
56347 do :
56348 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56349 if test "x$ac_cv_func_modff" = x""yes; then :
56350 cat >>confdefs.h <<_ACEOF
56351 #define HAVE_MODFF 1
56352 _ACEOF
56355 done
56357 else
56359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56360 $as_echo_n "checking for _modff declaration... " >&6; }
56361 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56362 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
56381 return 0;
56383 _ACEOF
56384 if ac_fn_cxx_try_compile "$LINENO"; then :
56385 glibcxx_cv_func__modff_use=yes
56386 else
56387 glibcxx_cv_func__modff_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__modff_use" >&5
56401 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56403 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56404 for ac_func in _modff
56405 do :
56406 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56407 if test "x$ac_cv_func__modff" = x""yes; then :
56408 cat >>confdefs.h <<_ACEOF
56409 #define HAVE__MODFF 1
56410 _ACEOF
56413 done
56422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56423 $as_echo_n "checking for modf declaration... " >&6; }
56424 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56425 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
56444 return 0;
56446 _ACEOF
56447 if ac_fn_cxx_try_compile "$LINENO"; then :
56448 glibcxx_cv_func_modf_use=yes
56449 else
56450 glibcxx_cv_func_modf_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_modf_use" >&5
56464 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56466 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56467 for ac_func in modf
56468 do :
56469 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56470 if test "x$ac_cv_func_modf" = x""yes; then :
56471 cat >>confdefs.h <<_ACEOF
56472 #define HAVE_MODF 1
56473 _ACEOF
56476 done
56478 else
56480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56481 $as_echo_n "checking for _modf declaration... " >&6; }
56482 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56483 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
56502 return 0;
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func__modf_use=yes
56507 else
56508 glibcxx_cv_func__modf_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__modf_use" >&5
56522 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56524 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56525 for ac_func in _modf
56526 do :
56527 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56528 if test "x$ac_cv_func__modf" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE__MODF 1
56531 _ACEOF
56534 done
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56544 $as_echo_n "checking for powf declaration... " >&6; }
56545 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56546 if test "${glibcxx_cv_func_powf_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>
56561 main ()
56563 powf(0, 0);
56565 return 0;
56567 _ACEOF
56568 if ac_fn_cxx_try_compile "$LINENO"; then :
56569 glibcxx_cv_func_powf_use=yes
56570 else
56571 glibcxx_cv_func_powf_use=no
56573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56574 ac_ext=c
56575 ac_cpp='$CPP $CPPFLAGS'
56576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56585 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56587 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56588 for ac_func in powf
56589 do :
56590 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56591 if test "x$ac_cv_func_powf" = x""yes; then :
56592 cat >>confdefs.h <<_ACEOF
56593 #define HAVE_POWF 1
56594 _ACEOF
56597 done
56599 else
56601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56602 $as_echo_n "checking for _powf declaration... " >&6; }
56603 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56604 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56605 $as_echo_n "(cached) " >&6
56606 else
56609 ac_ext=cpp
56610 ac_cpp='$CXXCPP $CPPFLAGS'
56611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56616 /* end confdefs.h. */
56617 #include <math.h>
56619 main ()
56621 _powf(0, 0);
56623 return 0;
56625 _ACEOF
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627 glibcxx_cv_func__powf_use=yes
56628 else
56629 glibcxx_cv_func__powf_use=no
56631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56632 ac_ext=c
56633 ac_cpp='$CPP $CPPFLAGS'
56634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56643 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56645 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56646 for ac_func in _powf
56647 do :
56648 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56649 if test "x$ac_cv_func__powf" = x""yes; then :
56650 cat >>confdefs.h <<_ACEOF
56651 #define HAVE__POWF 1
56652 _ACEOF
56655 done
56664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56665 $as_echo_n "checking for sqrtf declaration... " >&6; }
56666 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56667 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56668 $as_echo_n "(cached) " >&6
56669 else
56672 ac_ext=cpp
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56679 /* end confdefs.h. */
56680 #include <math.h>
56681 #ifdef HAVE_IEEEFP_H
56682 #include <ieeefp.h>
56683 #endif
56686 main ()
56688 sqrtf(0);
56690 return 0;
56692 _ACEOF
56693 if ac_fn_cxx_try_compile "$LINENO"; then :
56694 glibcxx_cv_func_sqrtf_use=yes
56695 else
56696 glibcxx_cv_func_sqrtf_use=no
56698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56699 ac_ext=c
56700 ac_cpp='$CPP $CPPFLAGS'
56701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56710 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56712 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56713 for ac_func in sqrtf
56714 do :
56715 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56716 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56717 cat >>confdefs.h <<_ACEOF
56718 #define HAVE_SQRTF 1
56719 _ACEOF
56722 done
56724 else
56726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56727 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56728 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56729 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56730 $as_echo_n "(cached) " >&6
56731 else
56734 ac_ext=cpp
56735 ac_cpp='$CXXCPP $CPPFLAGS'
56736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56741 /* end confdefs.h. */
56742 #include <math.h>
56743 #ifdef HAVE_IEEEFP_H
56744 #include <ieeefp.h>
56745 #endif
56748 main ()
56750 _sqrtf(0);
56752 return 0;
56754 _ACEOF
56755 if ac_fn_cxx_try_compile "$LINENO"; then :
56756 glibcxx_cv_func__sqrtf_use=yes
56757 else
56758 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
56772 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56774 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56775 for ac_func in _sqrtf
56776 do :
56777 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56778 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56779 cat >>confdefs.h <<_ACEOF
56780 #define HAVE__SQRTF 1
56781 _ACEOF
56784 done
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56794 $as_echo_n "checking for sincosf declaration... " >&6; }
56795 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56796 if test "${glibcxx_cv_func_sincosf_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>
56811 main ()
56813 sincosf(0, 0, 0);
56815 return 0;
56817 _ACEOF
56818 if ac_fn_cxx_try_compile "$LINENO"; then :
56819 glibcxx_cv_func_sincosf_use=yes
56820 else
56821 glibcxx_cv_func_sincosf_use=no
56823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56824 ac_ext=c
56825 ac_cpp='$CPP $CPPFLAGS'
56826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56835 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56837 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56838 for ac_func in sincosf
56839 do :
56840 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56841 if test "x$ac_cv_func_sincosf" = x""yes; then :
56842 cat >>confdefs.h <<_ACEOF
56843 #define HAVE_SINCOSF 1
56844 _ACEOF
56847 done
56849 else
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56852 $as_echo_n "checking for _sincosf declaration... " >&6; }
56853 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56854 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56855 $as_echo_n "(cached) " >&6
56856 else
56859 ac_ext=cpp
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h. */
56867 #include <math.h>
56869 main ()
56871 _sincosf(0, 0, 0);
56873 return 0;
56875 _ACEOF
56876 if ac_fn_cxx_try_compile "$LINENO"; then :
56877 glibcxx_cv_func__sincosf_use=yes
56878 else
56879 glibcxx_cv_func__sincosf_use=no
56881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56882 ac_ext=c
56883 ac_cpp='$CPP $CPPFLAGS'
56884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56893 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56895 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56896 for ac_func in _sincosf
56897 do :
56898 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56899 if test "x$ac_cv_func__sincosf" = x""yes; then :
56900 cat >>confdefs.h <<_ACEOF
56901 #define HAVE__SINCOSF 1
56902 _ACEOF
56905 done
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56915 $as_echo_n "checking for finitef declaration... " >&6; }
56916 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56917 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56918 $as_echo_n "(cached) " >&6
56919 else
56922 ac_ext=cpp
56923 ac_cpp='$CXXCPP $CPPFLAGS'
56924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56929 /* end confdefs.h. */
56930 #include <math.h>
56931 #ifdef HAVE_IEEEFP_H
56932 #include <ieeefp.h>
56933 #endif
56936 main ()
56938 finitef(0);
56940 return 0;
56942 _ACEOF
56943 if ac_fn_cxx_try_compile "$LINENO"; then :
56944 glibcxx_cv_func_finitef_use=yes
56945 else
56946 glibcxx_cv_func_finitef_use=no
56948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56949 ac_ext=c
56950 ac_cpp='$CPP $CPPFLAGS'
56951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56960 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56962 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56963 for ac_func in finitef
56964 do :
56965 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56966 if test "x$ac_cv_func_finitef" = x""yes; then :
56967 cat >>confdefs.h <<_ACEOF
56968 #define HAVE_FINITEF 1
56969 _ACEOF
56972 done
56974 else
56976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56977 $as_echo_n "checking for _finitef declaration... " >&6; }
56978 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56979 if test "${glibcxx_cv_func__finitef_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>
56993 #ifdef HAVE_IEEEFP_H
56994 #include <ieeefp.h>
56995 #endif
56998 main ()
57000 _finitef(0);
57002 return 0;
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006 glibcxx_cv_func__finitef_use=yes
57007 else
57008 glibcxx_cv_func__finitef_use=no
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011 ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57022 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57024 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57025 for ac_func in _finitef
57026 do :
57027 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57028 if test "x$ac_cv_func__finitef" = x""yes; then :
57029 cat >>confdefs.h <<_ACEOF
57030 #define HAVE__FINITEF 1
57031 _ACEOF
57034 done
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57044 $as_echo_n "checking for long double trig functions... " >&6; }
57045 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57046 $as_echo_n "(cached) " >&6
57047 else
57050 ac_ext=cpp
57051 ac_cpp='$CXXCPP $CPPFLAGS'
57052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57057 /* end confdefs.h. */
57058 #include <math.h>
57060 main ()
57062 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57064 return 0;
57066 _ACEOF
57067 if ac_fn_cxx_try_compile "$LINENO"; then :
57068 glibcxx_cv_func_long_double_trig_use=yes
57069 else
57070 glibcxx_cv_func_long_double_trig_use=no
57072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57073 ac_ext=c
57074 ac_cpp='$CPP $CPPFLAGS'
57075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57082 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57083 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57084 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57085 do :
57086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57088 eval as_val=\$$as_ac_var
57089 if test "x$as_val" = x""yes; then :
57090 cat >>confdefs.h <<_ACEOF
57091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57092 _ACEOF
57095 done
57097 else
57098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57099 $as_echo_n "checking for _long double trig functions... " >&6; }
57100 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57101 $as_echo_n "(cached) " >&6
57102 else
57105 ac_ext=cpp
57106 ac_cpp='$CXXCPP $CPPFLAGS'
57107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57112 /* end confdefs.h. */
57113 #include <math.h>
57115 main ()
57117 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57119 return 0;
57121 _ACEOF
57122 if ac_fn_cxx_try_compile "$LINENO"; then :
57123 glibcxx_cv_func__long_double_trig_use=yes
57124 else
57125 glibcxx_cv_func__long_double_trig_use=no
57127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57128 ac_ext=c
57129 ac_cpp='$CPP $CPPFLAGS'
57130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57137 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57138 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57139 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57140 do :
57141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57143 eval as_val=\$$as_ac_var
57144 if test "x$as_val" = x""yes; then :
57145 cat >>confdefs.h <<_ACEOF
57146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57147 _ACEOF
57150 done
57159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57160 $as_echo_n "checking for long double round functions... " >&6; }
57161 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57162 $as_echo_n "(cached) " >&6
57163 else
57166 ac_ext=cpp
57167 ac_cpp='$CXXCPP $CPPFLAGS'
57168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57173 /* end confdefs.h. */
57174 #include <math.h>
57176 main ()
57178 ceill (0); floorl (0);
57180 return 0;
57182 _ACEOF
57183 if ac_fn_cxx_try_compile "$LINENO"; then :
57184 glibcxx_cv_func_long_double_round_use=yes
57185 else
57186 glibcxx_cv_func_long_double_round_use=no
57188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57189 ac_ext=c
57190 ac_cpp='$CPP $CPPFLAGS'
57191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57198 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57199 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57200 for ac_func in ceill floorl
57201 do :
57202 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57203 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57204 eval as_val=\$$as_ac_var
57205 if test "x$as_val" = x""yes; then :
57206 cat >>confdefs.h <<_ACEOF
57207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57208 _ACEOF
57211 done
57213 else
57214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57215 $as_echo_n "checking for _long double round functions... " >&6; }
57216 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57217 $as_echo_n "(cached) " >&6
57218 else
57221 ac_ext=cpp
57222 ac_cpp='$CXXCPP $CPPFLAGS'
57223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57228 /* end confdefs.h. */
57229 #include <math.h>
57231 main ()
57233 _ceill (0); _floorl (0);
57235 return 0;
57237 _ACEOF
57238 if ac_fn_cxx_try_compile "$LINENO"; then :
57239 glibcxx_cv_func__long_double_round_use=yes
57240 else
57241 glibcxx_cv_func__long_double_round_use=no
57243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57244 ac_ext=c
57245 ac_cpp='$CPP $CPPFLAGS'
57246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57253 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57254 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57255 for ac_func in _ceill _floorl
57256 do :
57257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57258 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57259 eval as_val=\$$as_ac_var
57260 if test "x$as_val" = x""yes; then :
57261 cat >>confdefs.h <<_ACEOF
57262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57263 _ACEOF
57266 done
57276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57277 $as_echo_n "checking for isnanl declaration... " >&6; }
57278 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57279 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57280 $as_echo_n "(cached) " >&6
57281 else
57284 ac_ext=cpp
57285 ac_cpp='$CXXCPP $CPPFLAGS'
57286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57291 /* end confdefs.h. */
57292 #include <math.h>
57293 #ifdef HAVE_IEEEFP_H
57294 #include <ieeefp.h>
57295 #endif
57298 main ()
57300 isnanl(0);
57302 return 0;
57304 _ACEOF
57305 if ac_fn_cxx_try_compile "$LINENO"; then :
57306 glibcxx_cv_func_isnanl_use=yes
57307 else
57308 glibcxx_cv_func_isnanl_use=no
57310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57311 ac_ext=c
57312 ac_cpp='$CPP $CPPFLAGS'
57313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57322 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57324 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57325 for ac_func in isnanl
57326 do :
57327 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57328 if test "x$ac_cv_func_isnanl" = x""yes; then :
57329 cat >>confdefs.h <<_ACEOF
57330 #define HAVE_ISNANL 1
57331 _ACEOF
57334 done
57336 else
57338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57339 $as_echo_n "checking for _isnanl declaration... " >&6; }
57340 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57341 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57342 $as_echo_n "(cached) " >&6
57343 else
57346 ac_ext=cpp
57347 ac_cpp='$CXXCPP $CPPFLAGS'
57348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57353 /* end confdefs.h. */
57354 #include <math.h>
57355 #ifdef HAVE_IEEEFP_H
57356 #include <ieeefp.h>
57357 #endif
57360 main ()
57362 _isnanl(0);
57364 return 0;
57366 _ACEOF
57367 if ac_fn_cxx_try_compile "$LINENO"; then :
57368 glibcxx_cv_func__isnanl_use=yes
57369 else
57370 glibcxx_cv_func__isnanl_use=no
57372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57373 ac_ext=c
57374 ac_cpp='$CPP $CPPFLAGS'
57375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57384 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57386 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57387 for ac_func in _isnanl
57388 do :
57389 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57390 if test "x$ac_cv_func__isnanl" = x""yes; then :
57391 cat >>confdefs.h <<_ACEOF
57392 #define HAVE__ISNANL 1
57393 _ACEOF
57396 done
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57406 $as_echo_n "checking for isinfl declaration... " >&6; }
57407 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57408 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57409 $as_echo_n "(cached) " >&6
57410 else
57413 ac_ext=cpp
57414 ac_cpp='$CXXCPP $CPPFLAGS'
57415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57420 /* end confdefs.h. */
57421 #include <math.h>
57422 #ifdef HAVE_IEEEFP_H
57423 #include <ieeefp.h>
57424 #endif
57427 main ()
57429 isinfl(0);
57431 return 0;
57433 _ACEOF
57434 if ac_fn_cxx_try_compile "$LINENO"; then :
57435 glibcxx_cv_func_isinfl_use=yes
57436 else
57437 glibcxx_cv_func_isinfl_use=no
57439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57440 ac_ext=c
57441 ac_cpp='$CPP $CPPFLAGS'
57442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57451 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57453 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57454 for ac_func in isinfl
57455 do :
57456 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57457 if test "x$ac_cv_func_isinfl" = x""yes; then :
57458 cat >>confdefs.h <<_ACEOF
57459 #define HAVE_ISINFL 1
57460 _ACEOF
57463 done
57465 else
57467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57468 $as_echo_n "checking for _isinfl declaration... " >&6; }
57469 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57470 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57471 $as_echo_n "(cached) " >&6
57472 else
57475 ac_ext=cpp
57476 ac_cpp='$CXXCPP $CPPFLAGS'
57477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57482 /* end confdefs.h. */
57483 #include <math.h>
57484 #ifdef HAVE_IEEEFP_H
57485 #include <ieeefp.h>
57486 #endif
57489 main ()
57491 _isinfl(0);
57493 return 0;
57495 _ACEOF
57496 if ac_fn_cxx_try_compile "$LINENO"; then :
57497 glibcxx_cv_func__isinfl_use=yes
57498 else
57499 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
57513 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57515 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57516 for ac_func in _isinfl
57517 do :
57518 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57519 if test "x$ac_cv_func__isinfl" = x""yes; then :
57520 cat >>confdefs.h <<_ACEOF
57521 #define HAVE__ISINFL 1
57522 _ACEOF
57525 done
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57535 $as_echo_n "checking for atan2l declaration... " >&6; }
57536 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57537 if test "${glibcxx_cv_func_atan2l_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>
57552 main ()
57554 atan2l(0, 0);
57556 return 0;
57558 _ACEOF
57559 if ac_fn_cxx_try_compile "$LINENO"; then :
57560 glibcxx_cv_func_atan2l_use=yes
57561 else
57562 glibcxx_cv_func_atan2l_use=no
57564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57565 ac_ext=c
57566 ac_cpp='$CPP $CPPFLAGS'
57567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57576 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57578 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57579 for ac_func in atan2l
57580 do :
57581 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57582 if test "x$ac_cv_func_atan2l" = x""yes; then :
57583 cat >>confdefs.h <<_ACEOF
57584 #define HAVE_ATAN2L 1
57585 _ACEOF
57588 done
57590 else
57592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57593 $as_echo_n "checking for _atan2l declaration... " >&6; }
57594 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57595 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57596 $as_echo_n "(cached) " >&6
57597 else
57600 ac_ext=cpp
57601 ac_cpp='$CXXCPP $CPPFLAGS'
57602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57607 /* end confdefs.h. */
57608 #include <math.h>
57610 main ()
57612 _atan2l(0, 0);
57614 return 0;
57616 _ACEOF
57617 if ac_fn_cxx_try_compile "$LINENO"; then :
57618 glibcxx_cv_func__atan2l_use=yes
57619 else
57620 glibcxx_cv_func__atan2l_use=no
57622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57623 ac_ext=c
57624 ac_cpp='$CPP $CPPFLAGS'
57625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57634 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57636 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57637 for ac_func in _atan2l
57638 do :
57639 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57640 if test "x$ac_cv_func__atan2l" = x""yes; then :
57641 cat >>confdefs.h <<_ACEOF
57642 #define HAVE__ATAN2L 1
57643 _ACEOF
57646 done
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57656 $as_echo_n "checking for expl declaration... " >&6; }
57657 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57658 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57659 $as_echo_n "(cached) " >&6
57660 else
57663 ac_ext=cpp
57664 ac_cpp='$CXXCPP $CPPFLAGS'
57665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57670 /* end confdefs.h. */
57671 #include <math.h>
57672 #ifdef HAVE_IEEEFP_H
57673 #include <ieeefp.h>
57674 #endif
57677 main ()
57679 expl(0);
57681 return 0;
57683 _ACEOF
57684 if ac_fn_cxx_try_compile "$LINENO"; then :
57685 glibcxx_cv_func_expl_use=yes
57686 else
57687 glibcxx_cv_func_expl_use=no
57689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57690 ac_ext=c
57691 ac_cpp='$CPP $CPPFLAGS'
57692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57701 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57703 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57704 for ac_func in expl
57705 do :
57706 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57707 if test "x$ac_cv_func_expl" = x""yes; then :
57708 cat >>confdefs.h <<_ACEOF
57709 #define HAVE_EXPL 1
57710 _ACEOF
57713 done
57715 else
57717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57718 $as_echo_n "checking for _expl declaration... " >&6; }
57719 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57720 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57721 $as_echo_n "(cached) " >&6
57722 else
57725 ac_ext=cpp
57726 ac_cpp='$CXXCPP $CPPFLAGS'
57727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57732 /* end confdefs.h. */
57733 #include <math.h>
57734 #ifdef HAVE_IEEEFP_H
57735 #include <ieeefp.h>
57736 #endif
57739 main ()
57741 _expl(0);
57743 return 0;
57745 _ACEOF
57746 if ac_fn_cxx_try_compile "$LINENO"; then :
57747 glibcxx_cv_func__expl_use=yes
57748 else
57749 glibcxx_cv_func__expl_use=no
57751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57752 ac_ext=c
57753 ac_cpp='$CPP $CPPFLAGS'
57754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57763 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57765 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57766 for ac_func in _expl
57767 do :
57768 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57769 if test "x$ac_cv_func__expl" = x""yes; then :
57770 cat >>confdefs.h <<_ACEOF
57771 #define HAVE__EXPL 1
57772 _ACEOF
57775 done
57784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57785 $as_echo_n "checking for fabsl declaration... " >&6; }
57786 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57787 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57788 $as_echo_n "(cached) " >&6
57789 else
57792 ac_ext=cpp
57793 ac_cpp='$CXXCPP $CPPFLAGS'
57794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57799 /* end confdefs.h. */
57800 #include <math.h>
57801 #ifdef HAVE_IEEEFP_H
57802 #include <ieeefp.h>
57803 #endif
57806 main ()
57808 fabsl(0);
57810 return 0;
57812 _ACEOF
57813 if ac_fn_cxx_try_compile "$LINENO"; then :
57814 glibcxx_cv_func_fabsl_use=yes
57815 else
57816 glibcxx_cv_func_fabsl_use=no
57818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57819 ac_ext=c
57820 ac_cpp='$CPP $CPPFLAGS'
57821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57830 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57832 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57833 for ac_func in fabsl
57834 do :
57835 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57836 if test "x$ac_cv_func_fabsl" = x""yes; then :
57837 cat >>confdefs.h <<_ACEOF
57838 #define HAVE_FABSL 1
57839 _ACEOF
57842 done
57844 else
57846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57847 $as_echo_n "checking for _fabsl declaration... " >&6; }
57848 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57849 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57850 $as_echo_n "(cached) " >&6
57851 else
57854 ac_ext=cpp
57855 ac_cpp='$CXXCPP $CPPFLAGS'
57856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57861 /* end confdefs.h. */
57862 #include <math.h>
57863 #ifdef HAVE_IEEEFP_H
57864 #include <ieeefp.h>
57865 #endif
57868 main ()
57870 _fabsl(0);
57872 return 0;
57874 _ACEOF
57875 if ac_fn_cxx_try_compile "$LINENO"; then :
57876 glibcxx_cv_func__fabsl_use=yes
57877 else
57878 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
57892 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57894 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57895 for ac_func in _fabsl
57896 do :
57897 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57898 if test "x$ac_cv_func__fabsl" = x""yes; then :
57899 cat >>confdefs.h <<_ACEOF
57900 #define HAVE__FABSL 1
57901 _ACEOF
57904 done
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57914 $as_echo_n "checking for fmodl declaration... " >&6; }
57915 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57916 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
57935 return 0;
57937 _ACEOF
57938 if ac_fn_cxx_try_compile "$LINENO"; then :
57939 glibcxx_cv_func_fmodl_use=yes
57940 else
57941 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
57955 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57957 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57958 for ac_func in fmodl
57959 do :
57960 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57961 if test "x$ac_cv_func_fmodl" = x""yes; then :
57962 cat >>confdefs.h <<_ACEOF
57963 #define HAVE_FMODL 1
57964 _ACEOF
57967 done
57969 else
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57972 $as_echo_n "checking for _fmodl declaration... " >&6; }
57973 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57974 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
57993 return 0;
57995 _ACEOF
57996 if ac_fn_cxx_try_compile "$LINENO"; then :
57997 glibcxx_cv_func__fmodl_use=yes
57998 else
57999 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
58013 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58015 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58016 for ac_func in _fmodl
58017 do :
58018 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58019 if test "x$ac_cv_func__fmodl" = x""yes; then :
58020 cat >>confdefs.h <<_ACEOF
58021 #define HAVE__FMODL 1
58022 _ACEOF
58025 done
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58035 $as_echo_n "checking for frexpl declaration... " >&6; }
58036 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58037 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
58056 return 0;
58058 _ACEOF
58059 if ac_fn_cxx_try_compile "$LINENO"; then :
58060 glibcxx_cv_func_frexpl_use=yes
58061 else
58062 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
58076 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58078 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58079 for ac_func in frexpl
58080 do :
58081 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58082 if test "x$ac_cv_func_frexpl" = x""yes; then :
58083 cat >>confdefs.h <<_ACEOF
58084 #define HAVE_FREXPL 1
58085 _ACEOF
58088 done
58090 else
58092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58093 $as_echo_n "checking for _frexpl declaration... " >&6; }
58094 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58095 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
58114 return 0;
58116 _ACEOF
58117 if ac_fn_cxx_try_compile "$LINENO"; then :
58118 glibcxx_cv_func__frexpl_use=yes
58119 else
58120 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
58134 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58136 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58137 for ac_func in _frexpl
58138 do :
58139 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58140 if test "x$ac_cv_func__frexpl" = x""yes; then :
58141 cat >>confdefs.h <<_ACEOF
58142 #define HAVE__FREXPL 1
58143 _ACEOF
58146 done
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58156 $as_echo_n "checking for hypotl declaration... " >&6; }
58157 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58158 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
58177 return 0;
58179 _ACEOF
58180 if ac_fn_cxx_try_compile "$LINENO"; then :
58181 glibcxx_cv_func_hypotl_use=yes
58182 else
58183 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
58197 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58199 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58200 for ac_func in hypotl
58201 do :
58202 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58203 if test "x$ac_cv_func_hypotl" = x""yes; then :
58204 cat >>confdefs.h <<_ACEOF
58205 #define HAVE_HYPOTL 1
58206 _ACEOF
58209 done
58211 else
58213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58214 $as_echo_n "checking for _hypotl declaration... " >&6; }
58215 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58216 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
58235 return 0;
58237 _ACEOF
58238 if ac_fn_cxx_try_compile "$LINENO"; then :
58239 glibcxx_cv_func__hypotl_use=yes
58240 else
58241 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
58255 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58257 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58258 for ac_func in _hypotl
58259 do :
58260 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58261 if test "x$ac_cv_func__hypotl" = x""yes; then :
58262 cat >>confdefs.h <<_ACEOF
58263 #define HAVE__HYPOTL 1
58264 _ACEOF
58267 done
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58277 $as_echo_n "checking for ldexpl declaration... " >&6; }
58278 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58279 if test "${glibcxx_cv_func_ldexpl_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>
58294 main ()
58296 ldexpl(0, 0);
58298 return 0;
58300 _ACEOF
58301 if ac_fn_cxx_try_compile "$LINENO"; then :
58302 glibcxx_cv_func_ldexpl_use=yes
58303 else
58304 glibcxx_cv_func_ldexpl_use=no
58306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58307 ac_ext=c
58308 ac_cpp='$CPP $CPPFLAGS'
58309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58318 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58320 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58321 for ac_func in ldexpl
58322 do :
58323 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58324 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58325 cat >>confdefs.h <<_ACEOF
58326 #define HAVE_LDEXPL 1
58327 _ACEOF
58330 done
58332 else
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58335 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58336 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58337 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <math.h>
58352 main ()
58354 _ldexpl(0, 0);
58356 return 0;
58358 _ACEOF
58359 if ac_fn_cxx_try_compile "$LINENO"; then :
58360 glibcxx_cv_func__ldexpl_use=yes
58361 else
58362 glibcxx_cv_func__ldexpl_use=no
58364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58365 ac_ext=c
58366 ac_cpp='$CPP $CPPFLAGS'
58367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58376 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58378 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58379 for ac_func in _ldexpl
58380 do :
58381 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58382 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58383 cat >>confdefs.h <<_ACEOF
58384 #define HAVE__LDEXPL 1
58385 _ACEOF
58388 done
58397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58398 $as_echo_n "checking for logl declaration... " >&6; }
58399 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58400 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58401 $as_echo_n "(cached) " >&6
58402 else
58405 ac_ext=cpp
58406 ac_cpp='$CXXCPP $CPPFLAGS'
58407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58412 /* end confdefs.h. */
58413 #include <math.h>
58414 #ifdef HAVE_IEEEFP_H
58415 #include <ieeefp.h>
58416 #endif
58419 main ()
58421 logl(0);
58423 return 0;
58425 _ACEOF
58426 if ac_fn_cxx_try_compile "$LINENO"; then :
58427 glibcxx_cv_func_logl_use=yes
58428 else
58429 glibcxx_cv_func_logl_use=no
58431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58432 ac_ext=c
58433 ac_cpp='$CPP $CPPFLAGS'
58434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58443 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58445 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58446 for ac_func in logl
58447 do :
58448 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58449 if test "x$ac_cv_func_logl" = x""yes; then :
58450 cat >>confdefs.h <<_ACEOF
58451 #define HAVE_LOGL 1
58452 _ACEOF
58455 done
58457 else
58459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58460 $as_echo_n "checking for _logl declaration... " >&6; }
58461 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58462 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58463 $as_echo_n "(cached) " >&6
58464 else
58467 ac_ext=cpp
58468 ac_cpp='$CXXCPP $CPPFLAGS'
58469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58474 /* end confdefs.h. */
58475 #include <math.h>
58476 #ifdef HAVE_IEEEFP_H
58477 #include <ieeefp.h>
58478 #endif
58481 main ()
58483 _logl(0);
58485 return 0;
58487 _ACEOF
58488 if ac_fn_cxx_try_compile "$LINENO"; then :
58489 glibcxx_cv_func__logl_use=yes
58490 else
58491 glibcxx_cv_func__logl_use=no
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 ac_ext=c
58495 ac_cpp='$CPP $CPPFLAGS'
58496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58505 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58507 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58508 for ac_func in _logl
58509 do :
58510 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58511 if test "x$ac_cv_func__logl" = x""yes; then :
58512 cat >>confdefs.h <<_ACEOF
58513 #define HAVE__LOGL 1
58514 _ACEOF
58517 done
58526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58527 $as_echo_n "checking for log10l declaration... " >&6; }
58528 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58529 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58530 $as_echo_n "(cached) " >&6
58531 else
58534 ac_ext=cpp
58535 ac_cpp='$CXXCPP $CPPFLAGS'
58536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58541 /* end confdefs.h. */
58542 #include <math.h>
58543 #ifdef HAVE_IEEEFP_H
58544 #include <ieeefp.h>
58545 #endif
58548 main ()
58550 log10l(0);
58552 return 0;
58554 _ACEOF
58555 if ac_fn_cxx_try_compile "$LINENO"; then :
58556 glibcxx_cv_func_log10l_use=yes
58557 else
58558 glibcxx_cv_func_log10l_use=no
58560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58561 ac_ext=c
58562 ac_cpp='$CPP $CPPFLAGS'
58563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58572 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58574 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58575 for ac_func in log10l
58576 do :
58577 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58578 if test "x$ac_cv_func_log10l" = x""yes; then :
58579 cat >>confdefs.h <<_ACEOF
58580 #define HAVE_LOG10L 1
58581 _ACEOF
58584 done
58586 else
58588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58589 $as_echo_n "checking for _log10l declaration... " >&6; }
58590 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58591 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58592 $as_echo_n "(cached) " >&6
58593 else
58596 ac_ext=cpp
58597 ac_cpp='$CXXCPP $CPPFLAGS'
58598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58603 /* end confdefs.h. */
58604 #include <math.h>
58605 #ifdef HAVE_IEEEFP_H
58606 #include <ieeefp.h>
58607 #endif
58610 main ()
58612 _log10l(0);
58614 return 0;
58616 _ACEOF
58617 if ac_fn_cxx_try_compile "$LINENO"; then :
58618 glibcxx_cv_func__log10l_use=yes
58619 else
58620 glibcxx_cv_func__log10l_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__log10l_use" >&5
58634 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58636 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58637 for ac_func in _log10l
58638 do :
58639 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58640 if test "x$ac_cv_func__log10l" = x""yes; then :
58641 cat >>confdefs.h <<_ACEOF
58642 #define HAVE__LOG10L 1
58643 _ACEOF
58646 done
58655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58656 $as_echo_n "checking for modfl declaration... " >&6; }
58657 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58658 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
58677 return 0;
58679 _ACEOF
58680 if ac_fn_cxx_try_compile "$LINENO"; then :
58681 glibcxx_cv_func_modfl_use=yes
58682 else
58683 glibcxx_cv_func_modfl_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_modfl_use" >&5
58697 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58699 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58700 for ac_func in modfl
58701 do :
58702 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58703 if test "x$ac_cv_func_modfl" = x""yes; then :
58704 cat >>confdefs.h <<_ACEOF
58705 #define HAVE_MODFL 1
58706 _ACEOF
58709 done
58711 else
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58714 $as_echo_n "checking for _modfl declaration... " >&6; }
58715 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58716 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
58735 return 0;
58737 _ACEOF
58738 if ac_fn_cxx_try_compile "$LINENO"; then :
58739 glibcxx_cv_func__modfl_use=yes
58740 else
58741 glibcxx_cv_func__modfl_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__modfl_use" >&5
58755 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58757 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58758 for ac_func in _modfl
58759 do :
58760 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58761 if test "x$ac_cv_func__modfl" = x""yes; then :
58762 cat >>confdefs.h <<_ACEOF
58763 #define HAVE__MODFL 1
58764 _ACEOF
58767 done
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58777 $as_echo_n "checking for powl declaration... " >&6; }
58778 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58779 if test "${glibcxx_cv_func_powl_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>
58794 main ()
58796 powl(0, 0);
58798 return 0;
58800 _ACEOF
58801 if ac_fn_cxx_try_compile "$LINENO"; then :
58802 glibcxx_cv_func_powl_use=yes
58803 else
58804 glibcxx_cv_func_powl_use=no
58806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58807 ac_ext=c
58808 ac_cpp='$CPP $CPPFLAGS'
58809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58818 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58820 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58821 for ac_func in powl
58822 do :
58823 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58824 if test "x$ac_cv_func_powl" = x""yes; then :
58825 cat >>confdefs.h <<_ACEOF
58826 #define HAVE_POWL 1
58827 _ACEOF
58830 done
58832 else
58834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58835 $as_echo_n "checking for _powl declaration... " >&6; }
58836 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58837 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58838 $as_echo_n "(cached) " >&6
58839 else
58842 ac_ext=cpp
58843 ac_cpp='$CXXCPP $CPPFLAGS'
58844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849 /* end confdefs.h. */
58850 #include <math.h>
58852 main ()
58854 _powl(0, 0);
58856 return 0;
58858 _ACEOF
58859 if ac_fn_cxx_try_compile "$LINENO"; then :
58860 glibcxx_cv_func__powl_use=yes
58861 else
58862 glibcxx_cv_func__powl_use=no
58864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58865 ac_ext=c
58866 ac_cpp='$CPP $CPPFLAGS'
58867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58876 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58878 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58879 for ac_func in _powl
58880 do :
58881 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58882 if test "x$ac_cv_func__powl" = x""yes; then :
58883 cat >>confdefs.h <<_ACEOF
58884 #define HAVE__POWL 1
58885 _ACEOF
58888 done
58897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58898 $as_echo_n "checking for sqrtl declaration... " >&6; }
58899 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58900 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58901 $as_echo_n "(cached) " >&6
58902 else
58905 ac_ext=cpp
58906 ac_cpp='$CXXCPP $CPPFLAGS'
58907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58912 /* end confdefs.h. */
58913 #include <math.h>
58914 #ifdef HAVE_IEEEFP_H
58915 #include <ieeefp.h>
58916 #endif
58919 main ()
58921 sqrtl(0);
58923 return 0;
58925 _ACEOF
58926 if ac_fn_cxx_try_compile "$LINENO"; then :
58927 glibcxx_cv_func_sqrtl_use=yes
58928 else
58929 glibcxx_cv_func_sqrtl_use=no
58931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58932 ac_ext=c
58933 ac_cpp='$CPP $CPPFLAGS'
58934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58943 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58945 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58946 for ac_func in sqrtl
58947 do :
58948 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58949 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58950 cat >>confdefs.h <<_ACEOF
58951 #define HAVE_SQRTL 1
58952 _ACEOF
58955 done
58957 else
58959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58960 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58961 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58962 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58963 $as_echo_n "(cached) " >&6
58964 else
58967 ac_ext=cpp
58968 ac_cpp='$CXXCPP $CPPFLAGS'
58969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58974 /* end confdefs.h. */
58975 #include <math.h>
58976 #ifdef HAVE_IEEEFP_H
58977 #include <ieeefp.h>
58978 #endif
58981 main ()
58983 _sqrtl(0);
58985 return 0;
58987 _ACEOF
58988 if ac_fn_cxx_try_compile "$LINENO"; then :
58989 glibcxx_cv_func__sqrtl_use=yes
58990 else
58991 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
59005 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59007 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59008 for ac_func in _sqrtl
59009 do :
59010 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59011 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59012 cat >>confdefs.h <<_ACEOF
59013 #define HAVE__SQRTL 1
59014 _ACEOF
59017 done
59026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59027 $as_echo_n "checking for sincosl declaration... " >&6; }
59028 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59029 if test "${glibcxx_cv_func_sincosl_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>
59044 main ()
59046 sincosl(0, 0, 0);
59048 return 0;
59050 _ACEOF
59051 if ac_fn_cxx_try_compile "$LINENO"; then :
59052 glibcxx_cv_func_sincosl_use=yes
59053 else
59054 glibcxx_cv_func_sincosl_use=no
59056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59057 ac_ext=c
59058 ac_cpp='$CPP $CPPFLAGS'
59059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59068 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59070 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59071 for ac_func in sincosl
59072 do :
59073 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59074 if test "x$ac_cv_func_sincosl" = x""yes; then :
59075 cat >>confdefs.h <<_ACEOF
59076 #define HAVE_SINCOSL 1
59077 _ACEOF
59080 done
59082 else
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59085 $as_echo_n "checking for _sincosl declaration... " >&6; }
59086 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59087 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59088 $as_echo_n "(cached) " >&6
59089 else
59092 ac_ext=cpp
59093 ac_cpp='$CXXCPP $CPPFLAGS'
59094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59099 /* end confdefs.h. */
59100 #include <math.h>
59102 main ()
59104 _sincosl(0, 0, 0);
59106 return 0;
59108 _ACEOF
59109 if ac_fn_cxx_try_compile "$LINENO"; then :
59110 glibcxx_cv_func__sincosl_use=yes
59111 else
59112 glibcxx_cv_func__sincosl_use=no
59114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59115 ac_ext=c
59116 ac_cpp='$CPP $CPPFLAGS'
59117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59126 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59128 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59129 for ac_func in _sincosl
59130 do :
59131 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59132 if test "x$ac_cv_func__sincosl" = x""yes; then :
59133 cat >>confdefs.h <<_ACEOF
59134 #define HAVE__SINCOSL 1
59135 _ACEOF
59138 done
59147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59148 $as_echo_n "checking for finitel declaration... " >&6; }
59149 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59150 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59151 $as_echo_n "(cached) " >&6
59152 else
59155 ac_ext=cpp
59156 ac_cpp='$CXXCPP $CPPFLAGS'
59157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59162 /* end confdefs.h. */
59163 #include <math.h>
59164 #ifdef HAVE_IEEEFP_H
59165 #include <ieeefp.h>
59166 #endif
59169 main ()
59171 finitel(0);
59173 return 0;
59175 _ACEOF
59176 if ac_fn_cxx_try_compile "$LINENO"; then :
59177 glibcxx_cv_func_finitel_use=yes
59178 else
59179 glibcxx_cv_func_finitel_use=no
59181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59182 ac_ext=c
59183 ac_cpp='$CPP $CPPFLAGS'
59184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59193 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59195 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59196 for ac_func in finitel
59197 do :
59198 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59199 if test "x$ac_cv_func_finitel" = x""yes; then :
59200 cat >>confdefs.h <<_ACEOF
59201 #define HAVE_FINITEL 1
59202 _ACEOF
59205 done
59207 else
59209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59210 $as_echo_n "checking for _finitel declaration... " >&6; }
59211 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59212 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59213 $as_echo_n "(cached) " >&6
59214 else
59217 ac_ext=cpp
59218 ac_cpp='$CXXCPP $CPPFLAGS'
59219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59224 /* end confdefs.h. */
59225 #include <math.h>
59226 #ifdef HAVE_IEEEFP_H
59227 #include <ieeefp.h>
59228 #endif
59231 main ()
59233 _finitel(0);
59235 return 0;
59237 _ACEOF
59238 if ac_fn_cxx_try_compile "$LINENO"; then :
59239 glibcxx_cv_func__finitel_use=yes
59240 else
59241 glibcxx_cv_func__finitel_use=no
59243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59244 ac_ext=c
59245 ac_cpp='$CPP $CPPFLAGS'
59246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59255 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59257 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59258 for ac_func in _finitel
59259 do :
59260 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59261 if test "x$ac_cv_func__finitel" = x""yes; then :
59262 cat >>confdefs.h <<_ACEOF
59263 #define HAVE__FINITEL 1
59264 _ACEOF
59267 done
59275 LIBS="$ac_save_LIBS"
59276 CXXFLAGS="$ac_save_CXXFLAGS"
59279 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59280 ac_save_CXXFLAGS="$CXXFLAGS"
59281 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59285 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59286 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59287 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59288 $as_echo_n "(cached) " >&6
59289 else
59292 ac_ext=cpp
59293 ac_cpp='$CXXCPP $CPPFLAGS'
59294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59299 /* end confdefs.h. */
59300 #include <stdlib.h>
59302 main ()
59304 at_quick_exit(0);
59306 return 0;
59308 _ACEOF
59309 if ac_fn_cxx_try_compile "$LINENO"; then :
59310 glibcxx_cv_func_at_quick_exit_use=yes
59311 else
59312 glibcxx_cv_func_at_quick_exit_use=no
59314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59315 ac_ext=c
59316 ac_cpp='$CPP $CPPFLAGS'
59317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59326 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59327 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59328 for ac_func in at_quick_exit
59329 do :
59330 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59331 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59332 cat >>confdefs.h <<_ACEOF
59333 #define HAVE_AT_QUICK_EXIT 1
59334 _ACEOF
59337 done
59342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59343 $as_echo_n "checking for quick_exit declaration... " >&6; }
59344 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59345 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59346 $as_echo_n "(cached) " >&6
59347 else
59350 ac_ext=cpp
59351 ac_cpp='$CXXCPP $CPPFLAGS'
59352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59357 /* end confdefs.h. */
59358 #include <stdlib.h>
59360 main ()
59362 quick_exit(0);
59364 return 0;
59366 _ACEOF
59367 if ac_fn_cxx_try_compile "$LINENO"; then :
59368 glibcxx_cv_func_quick_exit_use=yes
59369 else
59370 glibcxx_cv_func_quick_exit_use=no
59372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59373 ac_ext=c
59374 ac_cpp='$CPP $CPPFLAGS'
59375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59384 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59385 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59386 for ac_func in quick_exit
59387 do :
59388 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59389 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59390 cat >>confdefs.h <<_ACEOF
59391 #define HAVE_QUICK_EXIT 1
59392 _ACEOF
59395 done
59400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59401 $as_echo_n "checking for strtold declaration... " >&6; }
59402 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59403 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59404 $as_echo_n "(cached) " >&6
59405 else
59408 ac_ext=cpp
59409 ac_cpp='$CXXCPP $CPPFLAGS'
59410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59415 /* end confdefs.h. */
59416 #include <stdlib.h>
59418 main ()
59420 strtold(0, 0);
59422 return 0;
59424 _ACEOF
59425 if ac_fn_cxx_try_compile "$LINENO"; then :
59426 glibcxx_cv_func_strtold_use=yes
59427 else
59428 glibcxx_cv_func_strtold_use=no
59430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59431 ac_ext=c
59432 ac_cpp='$CPP $CPPFLAGS'
59433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59442 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59443 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59444 for ac_func in strtold
59445 do :
59446 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59447 if test "x$ac_cv_func_strtold" = x""yes; then :
59448 cat >>confdefs.h <<_ACEOF
59449 #define HAVE_STRTOLD 1
59450 _ACEOF
59453 done
59460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59461 $as_echo_n "checking for strtof declaration... " >&6; }
59462 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59463 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59464 $as_echo_n "(cached) " >&6
59465 else
59468 ac_ext=cpp
59469 ac_cpp='$CXXCPP $CPPFLAGS'
59470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59475 /* end confdefs.h. */
59476 #include <stdlib.h>
59478 main ()
59480 strtof(0, 0);
59482 return 0;
59484 _ACEOF
59485 if ac_fn_cxx_try_compile "$LINENO"; then :
59486 glibcxx_cv_func_strtof_use=yes
59487 else
59488 glibcxx_cv_func_strtof_use=no
59490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59491 ac_ext=c
59492 ac_cpp='$CPP $CPPFLAGS'
59493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59502 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59503 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59504 for ac_func in strtof
59505 do :
59506 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59507 if test "x$ac_cv_func_strtof" = x""yes; then :
59508 cat >>confdefs.h <<_ACEOF
59509 #define HAVE_STRTOF 1
59510 _ACEOF
59513 done
59520 CXXFLAGS="$ac_save_CXXFLAGS"
59522 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59526 # Check whether --enable-tls was given.
59527 if test "${enable_tls+set}" = set; then :
59528 enableval=$enable_tls;
59529 case "$enableval" in
59530 yes|no) ;;
59531 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59532 esac
59534 else
59535 enable_tls=yes
59539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59540 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59541 if test "${gcc_cv_have_tls+set}" = set; then :
59542 $as_echo_n "(cached) " >&6
59543 else
59545 if test "$cross_compiling" = yes; then :
59546 if test x$gcc_no_link = xyes; then
59547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59550 /* end confdefs.h. */
59551 __thread int a; int b; int main() { return a = b; }
59552 _ACEOF
59553 if ac_fn_c_try_link "$LINENO"; then :
59554 chktls_save_LDFLAGS="$LDFLAGS"
59555 case $host in
59556 *-*-linux*)
59557 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59559 esac
59560 chktls_save_CFLAGS="$CFLAGS"
59561 CFLAGS="-fPIC $CFLAGS"
59562 if test x$gcc_no_link = xyes; then
59563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59566 /* end confdefs.h. */
59567 int f() { return 0; }
59568 _ACEOF
59569 if ac_fn_c_try_link "$LINENO"; then :
59570 if test x$gcc_no_link = xyes; then
59571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59574 /* end confdefs.h. */
59575 __thread int a; int b; int f() { return a = b; }
59576 _ACEOF
59577 if ac_fn_c_try_link "$LINENO"; then :
59578 gcc_cv_have_tls=yes
59579 else
59580 gcc_cv_have_tls=no
59582 rm -f core conftest.err conftest.$ac_objext \
59583 conftest$ac_exeext conftest.$ac_ext
59584 else
59585 gcc_cv_have_tls=yes
59587 rm -f core conftest.err conftest.$ac_objext \
59588 conftest$ac_exeext conftest.$ac_ext
59589 CFLAGS="$chktls_save_CFLAGS"
59590 LDFLAGS="$chktls_save_LDFLAGS"
59591 else
59592 gcc_cv_have_tls=no
59594 rm -f core conftest.err conftest.$ac_objext \
59595 conftest$ac_exeext conftest.$ac_ext
59598 else
59599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59600 /* end confdefs.h. */
59601 __thread int a; int b; int main() { return a = b; }
59602 _ACEOF
59603 if ac_fn_c_try_run "$LINENO"; then :
59604 chktls_save_LDFLAGS="$LDFLAGS"
59605 LDFLAGS="-static $LDFLAGS"
59606 if test x$gcc_no_link = xyes; then
59607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59610 /* end confdefs.h. */
59611 int main() { return 0; }
59612 _ACEOF
59613 if ac_fn_c_try_link "$LINENO"; then :
59614 if test "$cross_compiling" = yes; then :
59615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59617 as_fn_error "cannot run test program while cross compiling
59618 See \`config.log' for more details." "$LINENO" 5; }
59619 else
59620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59621 /* end confdefs.h. */
59622 __thread int a; int b; int main() { return a = b; }
59623 _ACEOF
59624 if ac_fn_c_try_run "$LINENO"; then :
59625 gcc_cv_have_tls=yes
59626 else
59627 gcc_cv_have_tls=no
59629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59630 conftest.$ac_objext conftest.beam conftest.$ac_ext
59633 else
59634 gcc_cv_have_tls=yes
59636 rm -f core conftest.err conftest.$ac_objext \
59637 conftest$ac_exeext conftest.$ac_ext
59638 LDFLAGS="$chktls_save_LDFLAGS"
59639 if test $gcc_cv_have_tls = yes; then
59640 chktls_save_CFLAGS="$CFLAGS"
59641 thread_CFLAGS=failed
59642 for flag in '' '-pthread' '-lpthread'; do
59643 CFLAGS="$flag $chktls_save_CFLAGS"
59644 if test x$gcc_no_link = xyes; then
59645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59648 /* end confdefs.h. */
59649 #include <pthread.h>
59650 void *g(void *d) { return NULL; }
59652 main ()
59654 pthread_t t; pthread_create(&t,NULL,g,NULL);
59656 return 0;
59658 _ACEOF
59659 if ac_fn_c_try_link "$LINENO"; then :
59660 thread_CFLAGS="$flag"
59662 rm -f core conftest.err conftest.$ac_objext \
59663 conftest$ac_exeext conftest.$ac_ext
59664 if test "X$thread_CFLAGS" != Xfailed; then
59665 break
59667 done
59668 CFLAGS="$chktls_save_CFLAGS"
59669 if test "X$thread_CFLAGS" != Xfailed; then
59670 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59671 if test "$cross_compiling" = yes; then :
59672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59674 as_fn_error "cannot run test program while cross compiling
59675 See \`config.log' for more details." "$LINENO" 5; }
59676 else
59677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59678 /* end confdefs.h. */
59679 #include <pthread.h>
59680 __thread int a;
59681 static int *volatile a_in_other_thread;
59682 static void *
59683 thread_func (void *arg)
59685 a_in_other_thread = &a;
59686 return (void *)0;
59689 main ()
59691 pthread_t thread;
59692 void *thread_retval;
59693 int *volatile a_in_main_thread;
59694 a_in_main_thread = &a;
59695 if (pthread_create (&thread, (pthread_attr_t *)0,
59696 thread_func, (void *)0))
59697 return 0;
59698 if (pthread_join (thread, &thread_retval))
59699 return 0;
59700 return (a_in_other_thread == a_in_main_thread);
59702 return 0;
59704 _ACEOF
59705 if ac_fn_c_try_run "$LINENO"; then :
59706 gcc_cv_have_tls=yes
59707 else
59708 gcc_cv_have_tls=no
59710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59711 conftest.$ac_objext conftest.beam conftest.$ac_ext
59714 CFLAGS="$chktls_save_CFLAGS"
59717 else
59718 gcc_cv_have_tls=no
59720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59721 conftest.$ac_objext conftest.beam conftest.$ac_ext
59725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59726 $as_echo "$gcc_cv_have_tls" >&6; }
59727 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59729 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59732 for ac_func in __cxa_thread_atexit_impl
59733 do :
59734 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59735 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59736 cat >>confdefs.h <<_ACEOF
59737 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59738 _ACEOF
59741 done
59748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59749 $as_echo_n "checking for iconv... " >&6; }
59750 if test "${am_cv_func_iconv+set}" = set; then :
59751 $as_echo_n "(cached) " >&6
59752 else
59754 am_cv_func_iconv="no, consider installing GNU libiconv"
59755 am_cv_lib_iconv=no
59756 am_save_CPPFLAGS="$CPPFLAGS"
59757 CPPFLAGS="$CPPFLAGS $INCICONV"
59758 if test x$gcc_no_link = xyes; then
59759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59762 /* end confdefs.h. */
59763 #include <stdlib.h>
59764 #include <iconv.h>
59766 main ()
59768 iconv_t cd = iconv_open("","");
59769 iconv(cd,NULL,NULL,NULL,NULL);
59770 iconv_close(cd);
59772 return 0;
59774 _ACEOF
59775 if ac_fn_c_try_link "$LINENO"; then :
59776 am_cv_func_iconv=yes
59778 rm -f core conftest.err conftest.$ac_objext \
59779 conftest$ac_exeext conftest.$ac_ext
59780 CPPFLAGS="$am_save_CPPFLAGS"
59782 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59783 for _libs in .libs _libs; do
59784 am_save_CPPFLAGS="$CPPFLAGS"
59785 am_save_LIBS="$LIBS"
59786 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59787 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59788 if test x$gcc_no_link = xyes; then
59789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59792 /* end confdefs.h. */
59793 #include <stdlib.h>
59794 #include <iconv.h>
59796 main ()
59798 iconv_t cd = iconv_open("","");
59799 iconv(cd,NULL,NULL,NULL,NULL);
59800 iconv_close(cd);
59802 return 0;
59804 _ACEOF
59805 if ac_fn_c_try_link "$LINENO"; then :
59806 INCICONV="-I../libiconv/include"
59807 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59808 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59809 am_cv_lib_iconv=yes
59810 am_cv_func_iconv=yes
59812 rm -f core conftest.err conftest.$ac_objext \
59813 conftest$ac_exeext conftest.$ac_ext
59814 CPPFLAGS="$am_save_CPPFLAGS"
59815 LIBS="$am_save_LIBS"
59816 if test "$am_cv_func_iconv" = "yes"; then
59817 break
59819 done
59822 if test "$am_cv_func_iconv" != yes; then
59823 am_save_CPPFLAGS="$CPPFLAGS"
59824 am_save_LIBS="$LIBS"
59825 CPPFLAGS="$LIBS $INCICONV"
59826 LIBS="$LIBS $LIBICONV"
59827 if test x$gcc_no_link = xyes; then
59828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59831 /* end confdefs.h. */
59832 #include <stdlib.h>
59833 #include <iconv.h>
59835 main ()
59837 iconv_t cd = iconv_open("","");
59838 iconv(cd,NULL,NULL,NULL,NULL);
59839 iconv_close(cd);
59841 return 0;
59843 _ACEOF
59844 if ac_fn_c_try_link "$LINENO"; then :
59845 am_cv_lib_iconv=yes
59846 am_cv_func_iconv=yes
59848 rm -f core conftest.err conftest.$ac_objext \
59849 conftest$ac_exeext conftest.$ac_ext
59850 CPPFLAGS="$am_save_CPPFLAGS"
59851 LIBS="$am_save_LIBS"
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59856 $as_echo "$am_cv_func_iconv" >&6; }
59857 if test "$am_cv_func_iconv" = yes; then
59859 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59862 if test "$am_cv_lib_iconv" = yes; then
59864 for element in $INCICONV; do
59865 haveit=
59866 for x in $CPPFLAGS; do
59868 acl_save_prefix="$prefix"
59869 prefix="$acl_final_prefix"
59870 acl_save_exec_prefix="$exec_prefix"
59871 exec_prefix="$acl_final_exec_prefix"
59872 eval x=\"$x\"
59873 exec_prefix="$acl_save_exec_prefix"
59874 prefix="$acl_save_prefix"
59876 if test "X$x" = "X$element"; then
59877 haveit=yes
59878 break
59880 done
59881 if test -z "$haveit"; then
59882 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59884 done
59886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59887 $as_echo_n "checking how to link with libiconv... " >&6; }
59888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59889 $as_echo "$LIBICONV" >&6; }
59890 else
59891 LIBICONV=
59892 LTLIBICONV=
59897 if test "$am_cv_func_iconv" = yes; then
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59899 $as_echo_n "checking for iconv declaration... " >&6; }
59900 if test "${am_cv_proto_iconv+set}" = set; then :
59901 $as_echo_n "(cached) " >&6
59902 else
59904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59905 /* end confdefs.h. */
59907 #include <stdlib.h>
59908 #include <iconv.h>
59909 extern
59910 #ifdef __cplusplus
59912 #endif
59913 #if defined(__STDC__) || defined(__cplusplus)
59914 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59915 #else
59916 size_t iconv();
59917 #endif
59920 main ()
59924 return 0;
59926 _ACEOF
59927 if ac_fn_c_try_compile "$LINENO"; then :
59928 am_cv_proto_iconv_arg1=""
59929 else
59930 am_cv_proto_iconv_arg1="const"
59932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59933 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);"
59936 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59938 }$am_cv_proto_iconv" >&5
59939 $as_echo "${ac_t:-
59940 }$am_cv_proto_iconv" >&6; }
59942 cat >>confdefs.h <<_ACEOF
59943 #define ICONV_CONST $am_cv_proto_iconv_arg1
59944 _ACEOF
59949 *-mingw32*)
59951 # If we're not using GNU ld, then there's no point in even trying these
59952 # tests. Check for that first. We should have already tested for gld
59953 # by now (in libtool), but require it now just to be safe...
59954 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59955 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59959 # The name set by libtool depends on the version of libtool. Shame on us
59960 # for depending on an impl detail, but c'est la vie. Older versions used
59961 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59962 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59963 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59964 # set (hence we're using an older libtool), then set it.
59965 if test x${with_gnu_ld+set} != xset; then
59966 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59967 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59968 with_gnu_ld=no
59969 else
59970 with_gnu_ld=$ac_cv_prog_gnu_ld
59974 # Start by getting the version number. I think the libtool test already
59975 # does some of this, but throws away the result.
59976 glibcxx_ld_is_gold=no
59977 if test x"$with_gnu_ld" = x"yes"; then
59978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59979 $as_echo_n "checking for ld version... " >&6; }
59981 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59982 glibcxx_ld_is_gold=yes
59984 ldver=`$LD --version 2>/dev/null |
59985 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'`
59987 glibcxx_gnu_ld_version=`echo $ldver | \
59988 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59990 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59993 # Set --gc-sections.
59994 glibcxx_have_gc_sections=no
59995 if test "$glibcxx_ld_is_gold" = "yes"; then
59996 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59997 glibcxx_have_gc_sections=yes
59999 else
60000 glibcxx_gcsections_min_ld=21602
60001 if test x"$with_gnu_ld" = x"yes" &&
60002 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60003 glibcxx_have_gc_sections=yes
60006 if test "$glibcxx_have_gc_sections" = "yes"; then
60007 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60008 # NB: This flag only works reliably after 2.16.1. Configure tests
60009 # for this are difficult, so hard wire a value that should work.
60011 ac_test_CFLAGS="${CFLAGS+set}"
60012 ac_save_CFLAGS="$CFLAGS"
60013 CFLAGS='-Wl,--gc-sections'
60015 # Check for -Wl,--gc-sections
60016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60017 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60018 if test x$gcc_no_link = xyes; then
60019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60022 /* end confdefs.h. */
60023 int one(void) { return 1; }
60024 int two(void) { return 2; }
60027 main ()
60029 two();
60031 return 0;
60033 _ACEOF
60034 if ac_fn_c_try_link "$LINENO"; then :
60035 ac_gcsections=yes
60036 else
60037 ac_gcsections=no
60039 rm -f core conftest.err conftest.$ac_objext \
60040 conftest$ac_exeext conftest.$ac_ext
60041 if test "$ac_gcsections" = "yes"; then
60042 rm -f conftest.c
60043 touch conftest.c
60044 if $CC -c conftest.c; then
60045 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60046 grep "Warning: gc-sections option ignored" > /dev/null; then
60047 ac_gcsections=no
60050 rm -f conftest.c conftest.o conftest
60052 if test "$ac_gcsections" = "yes"; then
60053 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60056 $as_echo "$ac_gcsections" >&6; }
60058 if test "$ac_test_CFLAGS" = set; then
60059 CFLAGS="$ac_save_CFLAGS"
60060 else
60061 # this is the suspicious part
60062 CFLAGS=''
60066 # Set -z,relro.
60067 # Note this is only for shared objects.
60068 ac_ld_relro=no
60069 if test x"$with_gnu_ld" = x"yes"; then
60070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60071 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60072 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60073 if test -n "$cxx_z_relo"; then
60074 OPT_LDFLAGS="-Wl,-z,relro"
60075 ac_ld_relro=yes
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60078 $as_echo "$ac_ld_relro" >&6; }
60081 # Set linker optimization flags.
60082 if test x"$with_gnu_ld" = x"yes"; then
60083 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60090 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60091 ac_save_CXXFLAGS="$CXXFLAGS"
60092 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60095 $as_echo_n "checking for sin in -lm... " >&6; }
60096 if test "${ac_cv_lib_m_sin+set}" = set; then :
60097 $as_echo_n "(cached) " >&6
60098 else
60099 ac_check_lib_save_LIBS=$LIBS
60100 LIBS="-lm $LIBS"
60101 if test x$gcc_no_link = xyes; then
60102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60105 /* end confdefs.h. */
60107 /* Override any GCC internal prototype to avoid an error.
60108 Use char because int might match the return type of a GCC
60109 builtin and then its argument prototype would still apply. */
60110 #ifdef __cplusplus
60111 extern "C"
60112 #endif
60113 char sin ();
60115 main ()
60117 return sin ();
60119 return 0;
60121 _ACEOF
60122 if ac_fn_c_try_link "$LINENO"; then :
60123 ac_cv_lib_m_sin=yes
60124 else
60125 ac_cv_lib_m_sin=no
60127 rm -f core conftest.err conftest.$ac_objext \
60128 conftest$ac_exeext conftest.$ac_ext
60129 LIBS=$ac_check_lib_save_LIBS
60131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60132 $as_echo "$ac_cv_lib_m_sin" >&6; }
60133 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60134 libm="-lm"
60137 ac_save_LIBS="$LIBS"
60138 LIBS="$LIBS $libm"
60142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60143 $as_echo_n "checking for isinf declaration... " >&6; }
60144 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60145 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60146 $as_echo_n "(cached) " >&6
60147 else
60150 ac_ext=cpp
60151 ac_cpp='$CXXCPP $CPPFLAGS'
60152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60157 /* end confdefs.h. */
60158 #include <math.h>
60159 #ifdef HAVE_IEEEFP_H
60160 #include <ieeefp.h>
60161 #endif
60164 main ()
60166 isinf(0);
60168 return 0;
60170 _ACEOF
60171 if ac_fn_cxx_try_compile "$LINENO"; then :
60172 glibcxx_cv_func_isinf_use=yes
60173 else
60174 glibcxx_cv_func_isinf_use=no
60176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60177 ac_ext=c
60178 ac_cpp='$CPP $CPPFLAGS'
60179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60188 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60190 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60191 for ac_func in isinf
60192 do :
60193 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60194 if test "x$ac_cv_func_isinf" = x""yes; then :
60195 cat >>confdefs.h <<_ACEOF
60196 #define HAVE_ISINF 1
60197 _ACEOF
60200 done
60202 else
60204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60205 $as_echo_n "checking for _isinf declaration... " >&6; }
60206 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60207 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60208 $as_echo_n "(cached) " >&6
60209 else
60212 ac_ext=cpp
60213 ac_cpp='$CXXCPP $CPPFLAGS'
60214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60219 /* end confdefs.h. */
60220 #include <math.h>
60221 #ifdef HAVE_IEEEFP_H
60222 #include <ieeefp.h>
60223 #endif
60226 main ()
60228 _isinf(0);
60230 return 0;
60232 _ACEOF
60233 if ac_fn_cxx_try_compile "$LINENO"; then :
60234 glibcxx_cv_func__isinf_use=yes
60235 else
60236 glibcxx_cv_func__isinf_use=no
60238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60239 ac_ext=c
60240 ac_cpp='$CPP $CPPFLAGS'
60241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60250 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60252 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60253 for ac_func in _isinf
60254 do :
60255 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60256 if test "x$ac_cv_func__isinf" = x""yes; then :
60257 cat >>confdefs.h <<_ACEOF
60258 #define HAVE__ISINF 1
60259 _ACEOF
60262 done
60271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60272 $as_echo_n "checking for isnan declaration... " >&6; }
60273 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60274 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60275 $as_echo_n "(cached) " >&6
60276 else
60279 ac_ext=cpp
60280 ac_cpp='$CXXCPP $CPPFLAGS'
60281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60286 /* end confdefs.h. */
60287 #include <math.h>
60288 #ifdef HAVE_IEEEFP_H
60289 #include <ieeefp.h>
60290 #endif
60293 main ()
60295 isnan(0);
60297 return 0;
60299 _ACEOF
60300 if ac_fn_cxx_try_compile "$LINENO"; then :
60301 glibcxx_cv_func_isnan_use=yes
60302 else
60303 glibcxx_cv_func_isnan_use=no
60305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60306 ac_ext=c
60307 ac_cpp='$CPP $CPPFLAGS'
60308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60317 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60319 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60320 for ac_func in isnan
60321 do :
60322 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60323 if test "x$ac_cv_func_isnan" = x""yes; then :
60324 cat >>confdefs.h <<_ACEOF
60325 #define HAVE_ISNAN 1
60326 _ACEOF
60329 done
60331 else
60333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60334 $as_echo_n "checking for _isnan declaration... " >&6; }
60335 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60336 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60337 $as_echo_n "(cached) " >&6
60338 else
60341 ac_ext=cpp
60342 ac_cpp='$CXXCPP $CPPFLAGS'
60343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60348 /* end confdefs.h. */
60349 #include <math.h>
60350 #ifdef HAVE_IEEEFP_H
60351 #include <ieeefp.h>
60352 #endif
60355 main ()
60357 _isnan(0);
60359 return 0;
60361 _ACEOF
60362 if ac_fn_cxx_try_compile "$LINENO"; then :
60363 glibcxx_cv_func__isnan_use=yes
60364 else
60365 glibcxx_cv_func__isnan_use=no
60367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60368 ac_ext=c
60369 ac_cpp='$CPP $CPPFLAGS'
60370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60379 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60381 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60382 for ac_func in _isnan
60383 do :
60384 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60385 if test "x$ac_cv_func__isnan" = x""yes; then :
60386 cat >>confdefs.h <<_ACEOF
60387 #define HAVE__ISNAN 1
60388 _ACEOF
60391 done
60400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60401 $as_echo_n "checking for finite declaration... " >&6; }
60402 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60403 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60404 $as_echo_n "(cached) " >&6
60405 else
60408 ac_ext=cpp
60409 ac_cpp='$CXXCPP $CPPFLAGS'
60410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60415 /* end confdefs.h. */
60416 #include <math.h>
60417 #ifdef HAVE_IEEEFP_H
60418 #include <ieeefp.h>
60419 #endif
60422 main ()
60424 finite(0);
60426 return 0;
60428 _ACEOF
60429 if ac_fn_cxx_try_compile "$LINENO"; then :
60430 glibcxx_cv_func_finite_use=yes
60431 else
60432 glibcxx_cv_func_finite_use=no
60434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60435 ac_ext=c
60436 ac_cpp='$CPP $CPPFLAGS'
60437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60446 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60448 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60449 for ac_func in finite
60450 do :
60451 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60452 if test "x$ac_cv_func_finite" = x""yes; then :
60453 cat >>confdefs.h <<_ACEOF
60454 #define HAVE_FINITE 1
60455 _ACEOF
60458 done
60460 else
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60463 $as_echo_n "checking for _finite declaration... " >&6; }
60464 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60465 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60466 $as_echo_n "(cached) " >&6
60467 else
60470 ac_ext=cpp
60471 ac_cpp='$CXXCPP $CPPFLAGS'
60472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60477 /* end confdefs.h. */
60478 #include <math.h>
60479 #ifdef HAVE_IEEEFP_H
60480 #include <ieeefp.h>
60481 #endif
60484 main ()
60486 _finite(0);
60488 return 0;
60490 _ACEOF
60491 if ac_fn_cxx_try_compile "$LINENO"; then :
60492 glibcxx_cv_func__finite_use=yes
60493 else
60494 glibcxx_cv_func__finite_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__finite_use" >&5
60508 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60510 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60511 for ac_func in _finite
60512 do :
60513 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60514 if test "x$ac_cv_func__finite" = x""yes; then :
60515 cat >>confdefs.h <<_ACEOF
60516 #define HAVE__FINITE 1
60517 _ACEOF
60520 done
60529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60530 $as_echo_n "checking for sincos declaration... " >&6; }
60531 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60532 if test "${glibcxx_cv_func_sincos_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>
60547 main ()
60549 sincos(0, 0, 0);
60551 return 0;
60553 _ACEOF
60554 if ac_fn_cxx_try_compile "$LINENO"; then :
60555 glibcxx_cv_func_sincos_use=yes
60556 else
60557 glibcxx_cv_func_sincos_use=no
60559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60560 ac_ext=c
60561 ac_cpp='$CPP $CPPFLAGS'
60562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60571 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60573 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60574 for ac_func in sincos
60575 do :
60576 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60577 if test "x$ac_cv_func_sincos" = x""yes; then :
60578 cat >>confdefs.h <<_ACEOF
60579 #define HAVE_SINCOS 1
60580 _ACEOF
60583 done
60585 else
60587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60588 $as_echo_n "checking for _sincos declaration... " >&6; }
60589 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60590 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60591 $as_echo_n "(cached) " >&6
60592 else
60595 ac_ext=cpp
60596 ac_cpp='$CXXCPP $CPPFLAGS'
60597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60602 /* end confdefs.h. */
60603 #include <math.h>
60605 main ()
60607 _sincos(0, 0, 0);
60609 return 0;
60611 _ACEOF
60612 if ac_fn_cxx_try_compile "$LINENO"; then :
60613 glibcxx_cv_func__sincos_use=yes
60614 else
60615 glibcxx_cv_func__sincos_use=no
60617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60618 ac_ext=c
60619 ac_cpp='$CPP $CPPFLAGS'
60620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60629 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60631 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60632 for ac_func in _sincos
60633 do :
60634 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60635 if test "x$ac_cv_func__sincos" = x""yes; then :
60636 cat >>confdefs.h <<_ACEOF
60637 #define HAVE__SINCOS 1
60638 _ACEOF
60641 done
60650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60651 $as_echo_n "checking for fpclass declaration... " >&6; }
60652 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60653 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60654 $as_echo_n "(cached) " >&6
60655 else
60658 ac_ext=cpp
60659 ac_cpp='$CXXCPP $CPPFLAGS'
60660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60665 /* end confdefs.h. */
60666 #include <math.h>
60667 #ifdef HAVE_IEEEFP_H
60668 #include <ieeefp.h>
60669 #endif
60672 main ()
60674 fpclass(0);
60676 return 0;
60678 _ACEOF
60679 if ac_fn_cxx_try_compile "$LINENO"; then :
60680 glibcxx_cv_func_fpclass_use=yes
60681 else
60682 glibcxx_cv_func_fpclass_use=no
60684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60685 ac_ext=c
60686 ac_cpp='$CPP $CPPFLAGS'
60687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60696 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60698 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60699 for ac_func in fpclass
60700 do :
60701 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60702 if test "x$ac_cv_func_fpclass" = x""yes; then :
60703 cat >>confdefs.h <<_ACEOF
60704 #define HAVE_FPCLASS 1
60705 _ACEOF
60708 done
60710 else
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60713 $as_echo_n "checking for _fpclass declaration... " >&6; }
60714 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60715 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60716 $as_echo_n "(cached) " >&6
60717 else
60720 ac_ext=cpp
60721 ac_cpp='$CXXCPP $CPPFLAGS'
60722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60727 /* end confdefs.h. */
60728 #include <math.h>
60729 #ifdef HAVE_IEEEFP_H
60730 #include <ieeefp.h>
60731 #endif
60734 main ()
60736 _fpclass(0);
60738 return 0;
60740 _ACEOF
60741 if ac_fn_cxx_try_compile "$LINENO"; then :
60742 glibcxx_cv_func__fpclass_use=yes
60743 else
60744 glibcxx_cv_func__fpclass_use=no
60746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60747 ac_ext=c
60748 ac_cpp='$CPP $CPPFLAGS'
60749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60758 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60760 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60761 for ac_func in _fpclass
60762 do :
60763 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60764 if test "x$ac_cv_func__fpclass" = x""yes; then :
60765 cat >>confdefs.h <<_ACEOF
60766 #define HAVE__FPCLASS 1
60767 _ACEOF
60770 done
60779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60780 $as_echo_n "checking for qfpclass declaration... " >&6; }
60781 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60782 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60783 $as_echo_n "(cached) " >&6
60784 else
60787 ac_ext=cpp
60788 ac_cpp='$CXXCPP $CPPFLAGS'
60789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60794 /* end confdefs.h. */
60795 #include <math.h>
60796 #ifdef HAVE_IEEEFP_H
60797 #include <ieeefp.h>
60798 #endif
60801 main ()
60803 qfpclass(0);
60805 return 0;
60807 _ACEOF
60808 if ac_fn_cxx_try_compile "$LINENO"; then :
60809 glibcxx_cv_func_qfpclass_use=yes
60810 else
60811 glibcxx_cv_func_qfpclass_use=no
60813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60814 ac_ext=c
60815 ac_cpp='$CPP $CPPFLAGS'
60816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60825 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60827 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60828 for ac_func in qfpclass
60829 do :
60830 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60831 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60832 cat >>confdefs.h <<_ACEOF
60833 #define HAVE_QFPCLASS 1
60834 _ACEOF
60837 done
60839 else
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60842 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60843 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60844 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60845 $as_echo_n "(cached) " >&6
60846 else
60849 ac_ext=cpp
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60856 /* end confdefs.h. */
60857 #include <math.h>
60858 #ifdef HAVE_IEEEFP_H
60859 #include <ieeefp.h>
60860 #endif
60863 main ()
60865 _qfpclass(0);
60867 return 0;
60869 _ACEOF
60870 if ac_fn_cxx_try_compile "$LINENO"; then :
60871 glibcxx_cv_func__qfpclass_use=yes
60872 else
60873 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
60887 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60889 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60890 for ac_func in _qfpclass
60891 do :
60892 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60893 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60894 cat >>confdefs.h <<_ACEOF
60895 #define HAVE__QFPCLASS 1
60896 _ACEOF
60899 done
60908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60909 $as_echo_n "checking for hypot declaration... " >&6; }
60910 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60911 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60912 $as_echo_n "(cached) " >&6
60913 else
60916 ac_ext=cpp
60917 ac_cpp='$CXXCPP $CPPFLAGS'
60918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60923 /* end confdefs.h. */
60924 #include <math.h>
60926 main ()
60928 hypot(0, 0);
60930 return 0;
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934 glibcxx_cv_func_hypot_use=yes
60935 else
60936 glibcxx_cv_func_hypot_use=no
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939 ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60950 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60952 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60953 for ac_func in hypot
60954 do :
60955 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60956 if test "x$ac_cv_func_hypot" = x""yes; then :
60957 cat >>confdefs.h <<_ACEOF
60958 #define HAVE_HYPOT 1
60959 _ACEOF
60962 done
60964 else
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60967 $as_echo_n "checking for _hypot declaration... " >&6; }
60968 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60969 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60970 $as_echo_n "(cached) " >&6
60971 else
60974 ac_ext=cpp
60975 ac_cpp='$CXXCPP $CPPFLAGS'
60976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60981 /* end confdefs.h. */
60982 #include <math.h>
60984 main ()
60986 _hypot(0, 0);
60988 return 0;
60990 _ACEOF
60991 if ac_fn_cxx_try_compile "$LINENO"; then :
60992 glibcxx_cv_func__hypot_use=yes
60993 else
60994 glibcxx_cv_func__hypot_use=no
60996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60997 ac_ext=c
60998 ac_cpp='$CPP $CPPFLAGS'
60999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61008 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61010 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61011 for ac_func in _hypot
61012 do :
61013 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61014 if test "x$ac_cv_func__hypot" = x""yes; then :
61015 cat >>confdefs.h <<_ACEOF
61016 #define HAVE__HYPOT 1
61017 _ACEOF
61020 done
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61030 $as_echo_n "checking for float trig functions... " >&6; }
61031 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61032 $as_echo_n "(cached) " >&6
61033 else
61036 ac_ext=cpp
61037 ac_cpp='$CXXCPP $CPPFLAGS'
61038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61043 /* end confdefs.h. */
61044 #include <math.h>
61046 main ()
61048 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61050 return 0;
61052 _ACEOF
61053 if ac_fn_cxx_try_compile "$LINENO"; then :
61054 glibcxx_cv_func_float_trig_use=yes
61055 else
61056 glibcxx_cv_func_float_trig_use=no
61058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61059 ac_ext=c
61060 ac_cpp='$CPP $CPPFLAGS'
61061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61068 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61069 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61070 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61071 do :
61072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61074 eval as_val=\$$as_ac_var
61075 if test "x$as_val" = x""yes; then :
61076 cat >>confdefs.h <<_ACEOF
61077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61078 _ACEOF
61081 done
61083 else
61084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61085 $as_echo_n "checking for _float trig functions... " >&6; }
61086 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61087 $as_echo_n "(cached) " >&6
61088 else
61091 ac_ext=cpp
61092 ac_cpp='$CXXCPP $CPPFLAGS'
61093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61098 /* end confdefs.h. */
61099 #include <math.h>
61101 main ()
61103 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61105 return 0;
61107 _ACEOF
61108 if ac_fn_cxx_try_compile "$LINENO"; then :
61109 glibcxx_cv_func__float_trig_use=yes
61110 else
61111 glibcxx_cv_func__float_trig_use=no
61113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61114 ac_ext=c
61115 ac_cpp='$CPP $CPPFLAGS'
61116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61123 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61124 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61125 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61126 do :
61127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61129 eval as_val=\$$as_ac_var
61130 if test "x$as_val" = x""yes; then :
61131 cat >>confdefs.h <<_ACEOF
61132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61133 _ACEOF
61136 done
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61146 $as_echo_n "checking for float round functions... " >&6; }
61147 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61148 $as_echo_n "(cached) " >&6
61149 else
61152 ac_ext=cpp
61153 ac_cpp='$CXXCPP $CPPFLAGS'
61154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61159 /* end confdefs.h. */
61160 #include <math.h>
61162 main ()
61164 ceilf (0); floorf (0);
61166 return 0;
61168 _ACEOF
61169 if ac_fn_cxx_try_compile "$LINENO"; then :
61170 glibcxx_cv_func_float_round_use=yes
61171 else
61172 glibcxx_cv_func_float_round_use=no
61174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61175 ac_ext=c
61176 ac_cpp='$CPP $CPPFLAGS'
61177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61184 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61185 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61186 for ac_func in ceilf floorf
61187 do :
61188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61190 eval as_val=\$$as_ac_var
61191 if test "x$as_val" = x""yes; then :
61192 cat >>confdefs.h <<_ACEOF
61193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61194 _ACEOF
61197 done
61199 else
61200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61201 $as_echo_n "checking for _float round functions... " >&6; }
61202 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61203 $as_echo_n "(cached) " >&6
61204 else
61207 ac_ext=cpp
61208 ac_cpp='$CXXCPP $CPPFLAGS'
61209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61214 /* end confdefs.h. */
61215 #include <math.h>
61217 main ()
61219 _ceilf (0); _floorf (0);
61221 return 0;
61223 _ACEOF
61224 if ac_fn_cxx_try_compile "$LINENO"; then :
61225 glibcxx_cv_func__float_round_use=yes
61226 else
61227 glibcxx_cv_func__float_round_use=no
61229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61230 ac_ext=c
61231 ac_cpp='$CPP $CPPFLAGS'
61232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61239 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61240 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61241 for ac_func in _ceilf _floorf
61242 do :
61243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61245 eval as_val=\$$as_ac_var
61246 if test "x$as_val" = x""yes; then :
61247 cat >>confdefs.h <<_ACEOF
61248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61249 _ACEOF
61252 done
61262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61263 $as_echo_n "checking for expf declaration... " >&6; }
61264 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61265 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61266 $as_echo_n "(cached) " >&6
61267 else
61270 ac_ext=cpp
61271 ac_cpp='$CXXCPP $CPPFLAGS'
61272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61277 /* end confdefs.h. */
61278 #include <math.h>
61279 #ifdef HAVE_IEEEFP_H
61280 #include <ieeefp.h>
61281 #endif
61284 main ()
61286 expf(0);
61288 return 0;
61290 _ACEOF
61291 if ac_fn_cxx_try_compile "$LINENO"; then :
61292 glibcxx_cv_func_expf_use=yes
61293 else
61294 glibcxx_cv_func_expf_use=no
61296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61297 ac_ext=c
61298 ac_cpp='$CPP $CPPFLAGS'
61299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61308 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61310 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61311 for ac_func in expf
61312 do :
61313 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61314 if test "x$ac_cv_func_expf" = x""yes; then :
61315 cat >>confdefs.h <<_ACEOF
61316 #define HAVE_EXPF 1
61317 _ACEOF
61320 done
61322 else
61324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61325 $as_echo_n "checking for _expf declaration... " >&6; }
61326 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61327 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61328 $as_echo_n "(cached) " >&6
61329 else
61332 ac_ext=cpp
61333 ac_cpp='$CXXCPP $CPPFLAGS'
61334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61339 /* end confdefs.h. */
61340 #include <math.h>
61341 #ifdef HAVE_IEEEFP_H
61342 #include <ieeefp.h>
61343 #endif
61346 main ()
61348 _expf(0);
61350 return 0;
61352 _ACEOF
61353 if ac_fn_cxx_try_compile "$LINENO"; then :
61354 glibcxx_cv_func__expf_use=yes
61355 else
61356 glibcxx_cv_func__expf_use=no
61358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61359 ac_ext=c
61360 ac_cpp='$CPP $CPPFLAGS'
61361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61370 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61372 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61373 for ac_func in _expf
61374 do :
61375 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61376 if test "x$ac_cv_func__expf" = x""yes; then :
61377 cat >>confdefs.h <<_ACEOF
61378 #define HAVE__EXPF 1
61379 _ACEOF
61382 done
61391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61392 $as_echo_n "checking for isnanf declaration... " >&6; }
61393 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61394 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61395 $as_echo_n "(cached) " >&6
61396 else
61399 ac_ext=cpp
61400 ac_cpp='$CXXCPP $CPPFLAGS'
61401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61406 /* end confdefs.h. */
61407 #include <math.h>
61408 #ifdef HAVE_IEEEFP_H
61409 #include <ieeefp.h>
61410 #endif
61413 main ()
61415 isnanf(0);
61417 return 0;
61419 _ACEOF
61420 if ac_fn_cxx_try_compile "$LINENO"; then :
61421 glibcxx_cv_func_isnanf_use=yes
61422 else
61423 glibcxx_cv_func_isnanf_use=no
61425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61426 ac_ext=c
61427 ac_cpp='$CPP $CPPFLAGS'
61428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61437 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61439 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61440 for ac_func in isnanf
61441 do :
61442 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61443 if test "x$ac_cv_func_isnanf" = x""yes; then :
61444 cat >>confdefs.h <<_ACEOF
61445 #define HAVE_ISNANF 1
61446 _ACEOF
61449 done
61451 else
61453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61454 $as_echo_n "checking for _isnanf declaration... " >&6; }
61455 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61456 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61457 $as_echo_n "(cached) " >&6
61458 else
61461 ac_ext=cpp
61462 ac_cpp='$CXXCPP $CPPFLAGS'
61463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61468 /* end confdefs.h. */
61469 #include <math.h>
61470 #ifdef HAVE_IEEEFP_H
61471 #include <ieeefp.h>
61472 #endif
61475 main ()
61477 _isnanf(0);
61479 return 0;
61481 _ACEOF
61482 if ac_fn_cxx_try_compile "$LINENO"; then :
61483 glibcxx_cv_func__isnanf_use=yes
61484 else
61485 glibcxx_cv_func__isnanf_use=no
61487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61488 ac_ext=c
61489 ac_cpp='$CPP $CPPFLAGS'
61490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61499 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61501 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61502 for ac_func in _isnanf
61503 do :
61504 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61505 if test "x$ac_cv_func__isnanf" = x""yes; then :
61506 cat >>confdefs.h <<_ACEOF
61507 #define HAVE__ISNANF 1
61508 _ACEOF
61511 done
61520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61521 $as_echo_n "checking for isinff declaration... " >&6; }
61522 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61523 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61524 $as_echo_n "(cached) " >&6
61525 else
61528 ac_ext=cpp
61529 ac_cpp='$CXXCPP $CPPFLAGS'
61530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61535 /* end confdefs.h. */
61536 #include <math.h>
61537 #ifdef HAVE_IEEEFP_H
61538 #include <ieeefp.h>
61539 #endif
61542 main ()
61544 isinff(0);
61546 return 0;
61548 _ACEOF
61549 if ac_fn_cxx_try_compile "$LINENO"; then :
61550 glibcxx_cv_func_isinff_use=yes
61551 else
61552 glibcxx_cv_func_isinff_use=no
61554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61555 ac_ext=c
61556 ac_cpp='$CPP $CPPFLAGS'
61557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61566 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61568 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61569 for ac_func in isinff
61570 do :
61571 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61572 if test "x$ac_cv_func_isinff" = x""yes; then :
61573 cat >>confdefs.h <<_ACEOF
61574 #define HAVE_ISINFF 1
61575 _ACEOF
61578 done
61580 else
61582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61583 $as_echo_n "checking for _isinff declaration... " >&6; }
61584 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61585 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61586 $as_echo_n "(cached) " >&6
61587 else
61590 ac_ext=cpp
61591 ac_cpp='$CXXCPP $CPPFLAGS'
61592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61597 /* end confdefs.h. */
61598 #include <math.h>
61599 #ifdef HAVE_IEEEFP_H
61600 #include <ieeefp.h>
61601 #endif
61604 main ()
61606 _isinff(0);
61608 return 0;
61610 _ACEOF
61611 if ac_fn_cxx_try_compile "$LINENO"; then :
61612 glibcxx_cv_func__isinff_use=yes
61613 else
61614 glibcxx_cv_func__isinff_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__isinff_use" >&5
61628 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61630 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61631 for ac_func in _isinff
61632 do :
61633 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61634 if test "x$ac_cv_func__isinff" = x""yes; then :
61635 cat >>confdefs.h <<_ACEOF
61636 #define HAVE__ISINFF 1
61637 _ACEOF
61640 done
61649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61650 $as_echo_n "checking for atan2f declaration... " >&6; }
61651 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61652 if test "${glibcxx_cv_func_atan2f_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>
61667 main ()
61669 atan2f(0, 0);
61671 return 0;
61673 _ACEOF
61674 if ac_fn_cxx_try_compile "$LINENO"; then :
61675 glibcxx_cv_func_atan2f_use=yes
61676 else
61677 glibcxx_cv_func_atan2f_use=no
61679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680 ac_ext=c
61681 ac_cpp='$CPP $CPPFLAGS'
61682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61691 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61693 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61694 for ac_func in atan2f
61695 do :
61696 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61697 if test "x$ac_cv_func_atan2f" = x""yes; then :
61698 cat >>confdefs.h <<_ACEOF
61699 #define HAVE_ATAN2F 1
61700 _ACEOF
61703 done
61705 else
61707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61708 $as_echo_n "checking for _atan2f declaration... " >&6; }
61709 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61710 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61711 $as_echo_n "(cached) " >&6
61712 else
61715 ac_ext=cpp
61716 ac_cpp='$CXXCPP $CPPFLAGS'
61717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61722 /* end confdefs.h. */
61723 #include <math.h>
61725 main ()
61727 _atan2f(0, 0);
61729 return 0;
61731 _ACEOF
61732 if ac_fn_cxx_try_compile "$LINENO"; then :
61733 glibcxx_cv_func__atan2f_use=yes
61734 else
61735 glibcxx_cv_func__atan2f_use=no
61737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61738 ac_ext=c
61739 ac_cpp='$CPP $CPPFLAGS'
61740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61749 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61751 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61752 for ac_func in _atan2f
61753 do :
61754 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61755 if test "x$ac_cv_func__atan2f" = x""yes; then :
61756 cat >>confdefs.h <<_ACEOF
61757 #define HAVE__ATAN2F 1
61758 _ACEOF
61761 done
61770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61771 $as_echo_n "checking for fabsf declaration... " >&6; }
61772 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61773 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61774 $as_echo_n "(cached) " >&6
61775 else
61778 ac_ext=cpp
61779 ac_cpp='$CXXCPP $CPPFLAGS'
61780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61785 /* end confdefs.h. */
61786 #include <math.h>
61787 #ifdef HAVE_IEEEFP_H
61788 #include <ieeefp.h>
61789 #endif
61792 main ()
61794 fabsf(0);
61796 return 0;
61798 _ACEOF
61799 if ac_fn_cxx_try_compile "$LINENO"; then :
61800 glibcxx_cv_func_fabsf_use=yes
61801 else
61802 glibcxx_cv_func_fabsf_use=no
61804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61805 ac_ext=c
61806 ac_cpp='$CPP $CPPFLAGS'
61807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61816 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61818 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61819 for ac_func in fabsf
61820 do :
61821 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61822 if test "x$ac_cv_func_fabsf" = x""yes; then :
61823 cat >>confdefs.h <<_ACEOF
61824 #define HAVE_FABSF 1
61825 _ACEOF
61828 done
61830 else
61832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61833 $as_echo_n "checking for _fabsf declaration... " >&6; }
61834 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61835 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61836 $as_echo_n "(cached) " >&6
61837 else
61840 ac_ext=cpp
61841 ac_cpp='$CXXCPP $CPPFLAGS'
61842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61847 /* end confdefs.h. */
61848 #include <math.h>
61849 #ifdef HAVE_IEEEFP_H
61850 #include <ieeefp.h>
61851 #endif
61854 main ()
61856 _fabsf(0);
61858 return 0;
61860 _ACEOF
61861 if ac_fn_cxx_try_compile "$LINENO"; then :
61862 glibcxx_cv_func__fabsf_use=yes
61863 else
61864 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
61878 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61880 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61881 for ac_func in _fabsf
61882 do :
61883 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61884 if test "x$ac_cv_func__fabsf" = x""yes; then :
61885 cat >>confdefs.h <<_ACEOF
61886 #define HAVE__FABSF 1
61887 _ACEOF
61890 done
61899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61900 $as_echo_n "checking for fmodf declaration... " >&6; }
61901 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61902 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
61921 return 0;
61923 _ACEOF
61924 if ac_fn_cxx_try_compile "$LINENO"; then :
61925 glibcxx_cv_func_fmodf_use=yes
61926 else
61927 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
61941 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61943 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61944 for ac_func in fmodf
61945 do :
61946 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61947 if test "x$ac_cv_func_fmodf" = x""yes; then :
61948 cat >>confdefs.h <<_ACEOF
61949 #define HAVE_FMODF 1
61950 _ACEOF
61953 done
61955 else
61957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61958 $as_echo_n "checking for _fmodf declaration... " >&6; }
61959 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61960 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
61979 return 0;
61981 _ACEOF
61982 if ac_fn_cxx_try_compile "$LINENO"; then :
61983 glibcxx_cv_func__fmodf_use=yes
61984 else
61985 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
61999 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62001 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62002 for ac_func in _fmodf
62003 do :
62004 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62005 if test "x$ac_cv_func__fmodf" = x""yes; then :
62006 cat >>confdefs.h <<_ACEOF
62007 #define HAVE__FMODF 1
62008 _ACEOF
62011 done
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62021 $as_echo_n "checking for frexpf declaration... " >&6; }
62022 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62023 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
62042 return 0;
62044 _ACEOF
62045 if ac_fn_cxx_try_compile "$LINENO"; then :
62046 glibcxx_cv_func_frexpf_use=yes
62047 else
62048 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
62062 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62064 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62065 for ac_func in frexpf
62066 do :
62067 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62068 if test "x$ac_cv_func_frexpf" = x""yes; then :
62069 cat >>confdefs.h <<_ACEOF
62070 #define HAVE_FREXPF 1
62071 _ACEOF
62074 done
62076 else
62078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62079 $as_echo_n "checking for _frexpf declaration... " >&6; }
62080 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62081 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
62100 return 0;
62102 _ACEOF
62103 if ac_fn_cxx_try_compile "$LINENO"; then :
62104 glibcxx_cv_func__frexpf_use=yes
62105 else
62106 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
62120 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62122 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62123 for ac_func in _frexpf
62124 do :
62125 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62126 if test "x$ac_cv_func__frexpf" = x""yes; then :
62127 cat >>confdefs.h <<_ACEOF
62128 #define HAVE__FREXPF 1
62129 _ACEOF
62132 done
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62142 $as_echo_n "checking for hypotf declaration... " >&6; }
62143 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62144 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
62163 return 0;
62165 _ACEOF
62166 if ac_fn_cxx_try_compile "$LINENO"; then :
62167 glibcxx_cv_func_hypotf_use=yes
62168 else
62169 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
62183 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62185 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62186 for ac_func in hypotf
62187 do :
62188 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62189 if test "x$ac_cv_func_hypotf" = x""yes; then :
62190 cat >>confdefs.h <<_ACEOF
62191 #define HAVE_HYPOTF 1
62192 _ACEOF
62195 done
62197 else
62199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62200 $as_echo_n "checking for _hypotf declaration... " >&6; }
62201 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62202 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
62221 return 0;
62223 _ACEOF
62224 if ac_fn_cxx_try_compile "$LINENO"; then :
62225 glibcxx_cv_func__hypotf_use=yes
62226 else
62227 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
62241 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62243 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62244 for ac_func in _hypotf
62245 do :
62246 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62247 if test "x$ac_cv_func__hypotf" = x""yes; then :
62248 cat >>confdefs.h <<_ACEOF
62249 #define HAVE__HYPOTF 1
62250 _ACEOF
62253 done
62262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62263 $as_echo_n "checking for ldexpf declaration... " >&6; }
62264 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62265 if test "${glibcxx_cv_func_ldexpf_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>
62280 main ()
62282 ldexpf(0, 0);
62284 return 0;
62286 _ACEOF
62287 if ac_fn_cxx_try_compile "$LINENO"; then :
62288 glibcxx_cv_func_ldexpf_use=yes
62289 else
62290 glibcxx_cv_func_ldexpf_use=no
62292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62293 ac_ext=c
62294 ac_cpp='$CPP $CPPFLAGS'
62295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62304 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62306 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62307 for ac_func in ldexpf
62308 do :
62309 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62310 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62311 cat >>confdefs.h <<_ACEOF
62312 #define HAVE_LDEXPF 1
62313 _ACEOF
62316 done
62318 else
62320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62321 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62322 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62323 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62324 $as_echo_n "(cached) " >&6
62325 else
62328 ac_ext=cpp
62329 ac_cpp='$CXXCPP $CPPFLAGS'
62330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62335 /* end confdefs.h. */
62336 #include <math.h>
62338 main ()
62340 _ldexpf(0, 0);
62342 return 0;
62344 _ACEOF
62345 if ac_fn_cxx_try_compile "$LINENO"; then :
62346 glibcxx_cv_func__ldexpf_use=yes
62347 else
62348 glibcxx_cv_func__ldexpf_use=no
62350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62351 ac_ext=c
62352 ac_cpp='$CPP $CPPFLAGS'
62353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62362 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62364 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62365 for ac_func in _ldexpf
62366 do :
62367 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62368 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62369 cat >>confdefs.h <<_ACEOF
62370 #define HAVE__LDEXPF 1
62371 _ACEOF
62374 done
62383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62384 $as_echo_n "checking for logf declaration... " >&6; }
62385 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62386 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62387 $as_echo_n "(cached) " >&6
62388 else
62391 ac_ext=cpp
62392 ac_cpp='$CXXCPP $CPPFLAGS'
62393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62398 /* end confdefs.h. */
62399 #include <math.h>
62400 #ifdef HAVE_IEEEFP_H
62401 #include <ieeefp.h>
62402 #endif
62405 main ()
62407 logf(0);
62409 return 0;
62411 _ACEOF
62412 if ac_fn_cxx_try_compile "$LINENO"; then :
62413 glibcxx_cv_func_logf_use=yes
62414 else
62415 glibcxx_cv_func_logf_use=no
62417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62418 ac_ext=c
62419 ac_cpp='$CPP $CPPFLAGS'
62420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62429 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62431 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62432 for ac_func in logf
62433 do :
62434 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62435 if test "x$ac_cv_func_logf" = x""yes; then :
62436 cat >>confdefs.h <<_ACEOF
62437 #define HAVE_LOGF 1
62438 _ACEOF
62441 done
62443 else
62445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62446 $as_echo_n "checking for _logf declaration... " >&6; }
62447 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62448 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62449 $as_echo_n "(cached) " >&6
62450 else
62453 ac_ext=cpp
62454 ac_cpp='$CXXCPP $CPPFLAGS'
62455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62460 /* end confdefs.h. */
62461 #include <math.h>
62462 #ifdef HAVE_IEEEFP_H
62463 #include <ieeefp.h>
62464 #endif
62467 main ()
62469 _logf(0);
62471 return 0;
62473 _ACEOF
62474 if ac_fn_cxx_try_compile "$LINENO"; then :
62475 glibcxx_cv_func__logf_use=yes
62476 else
62477 glibcxx_cv_func__logf_use=no
62479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62480 ac_ext=c
62481 ac_cpp='$CPP $CPPFLAGS'
62482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62491 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62493 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62494 for ac_func in _logf
62495 do :
62496 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62497 if test "x$ac_cv_func__logf" = x""yes; then :
62498 cat >>confdefs.h <<_ACEOF
62499 #define HAVE__LOGF 1
62500 _ACEOF
62503 done
62512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62513 $as_echo_n "checking for log10f declaration... " >&6; }
62514 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62515 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62516 $as_echo_n "(cached) " >&6
62517 else
62520 ac_ext=cpp
62521 ac_cpp='$CXXCPP $CPPFLAGS'
62522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62527 /* end confdefs.h. */
62528 #include <math.h>
62529 #ifdef HAVE_IEEEFP_H
62530 #include <ieeefp.h>
62531 #endif
62534 main ()
62536 log10f(0);
62538 return 0;
62540 _ACEOF
62541 if ac_fn_cxx_try_compile "$LINENO"; then :
62542 glibcxx_cv_func_log10f_use=yes
62543 else
62544 glibcxx_cv_func_log10f_use=no
62546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_ext=c
62548 ac_cpp='$CPP $CPPFLAGS'
62549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62558 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62560 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62561 for ac_func in log10f
62562 do :
62563 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62564 if test "x$ac_cv_func_log10f" = x""yes; then :
62565 cat >>confdefs.h <<_ACEOF
62566 #define HAVE_LOG10F 1
62567 _ACEOF
62570 done
62572 else
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62575 $as_echo_n "checking for _log10f declaration... " >&6; }
62576 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62577 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62578 $as_echo_n "(cached) " >&6
62579 else
62582 ac_ext=cpp
62583 ac_cpp='$CXXCPP $CPPFLAGS'
62584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62589 /* end confdefs.h. */
62590 #include <math.h>
62591 #ifdef HAVE_IEEEFP_H
62592 #include <ieeefp.h>
62593 #endif
62596 main ()
62598 _log10f(0);
62600 return 0;
62602 _ACEOF
62603 if ac_fn_cxx_try_compile "$LINENO"; then :
62604 glibcxx_cv_func__log10f_use=yes
62605 else
62606 glibcxx_cv_func__log10f_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__log10f_use" >&5
62620 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62622 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62623 for ac_func in _log10f
62624 do :
62625 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62626 if test "x$ac_cv_func__log10f" = x""yes; then :
62627 cat >>confdefs.h <<_ACEOF
62628 #define HAVE__LOG10F 1
62629 _ACEOF
62632 done
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62642 $as_echo_n "checking for modff declaration... " >&6; }
62643 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62644 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
62663 return 0;
62665 _ACEOF
62666 if ac_fn_cxx_try_compile "$LINENO"; then :
62667 glibcxx_cv_func_modff_use=yes
62668 else
62669 glibcxx_cv_func_modff_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_modff_use" >&5
62683 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62685 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62686 for ac_func in modff
62687 do :
62688 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62689 if test "x$ac_cv_func_modff" = x""yes; then :
62690 cat >>confdefs.h <<_ACEOF
62691 #define HAVE_MODFF 1
62692 _ACEOF
62695 done
62697 else
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62700 $as_echo_n "checking for _modff declaration... " >&6; }
62701 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62702 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
62721 return 0;
62723 _ACEOF
62724 if ac_fn_cxx_try_compile "$LINENO"; then :
62725 glibcxx_cv_func__modff_use=yes
62726 else
62727 glibcxx_cv_func__modff_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__modff_use" >&5
62741 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62743 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62744 for ac_func in _modff
62745 do :
62746 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62747 if test "x$ac_cv_func__modff" = x""yes; then :
62748 cat >>confdefs.h <<_ACEOF
62749 #define HAVE__MODFF 1
62750 _ACEOF
62753 done
62762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62763 $as_echo_n "checking for modf declaration... " >&6; }
62764 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62765 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
62784 return 0;
62786 _ACEOF
62787 if ac_fn_cxx_try_compile "$LINENO"; then :
62788 glibcxx_cv_func_modf_use=yes
62789 else
62790 glibcxx_cv_func_modf_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_modf_use" >&5
62804 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62806 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62807 for ac_func in modf
62808 do :
62809 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62810 if test "x$ac_cv_func_modf" = x""yes; then :
62811 cat >>confdefs.h <<_ACEOF
62812 #define HAVE_MODF 1
62813 _ACEOF
62816 done
62818 else
62820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62821 $as_echo_n "checking for _modf declaration... " >&6; }
62822 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62823 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
62842 return 0;
62844 _ACEOF
62845 if ac_fn_cxx_try_compile "$LINENO"; then :
62846 glibcxx_cv_func__modf_use=yes
62847 else
62848 glibcxx_cv_func__modf_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__modf_use" >&5
62862 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62864 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62865 for ac_func in _modf
62866 do :
62867 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62868 if test "x$ac_cv_func__modf" = x""yes; then :
62869 cat >>confdefs.h <<_ACEOF
62870 #define HAVE__MODF 1
62871 _ACEOF
62874 done
62883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62884 $as_echo_n "checking for powf declaration... " >&6; }
62885 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62886 if test "${glibcxx_cv_func_powf_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>
62901 main ()
62903 powf(0, 0);
62905 return 0;
62907 _ACEOF
62908 if ac_fn_cxx_try_compile "$LINENO"; then :
62909 glibcxx_cv_func_powf_use=yes
62910 else
62911 glibcxx_cv_func_powf_use=no
62913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62914 ac_ext=c
62915 ac_cpp='$CPP $CPPFLAGS'
62916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62925 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62927 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62928 for ac_func in powf
62929 do :
62930 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62931 if test "x$ac_cv_func_powf" = x""yes; then :
62932 cat >>confdefs.h <<_ACEOF
62933 #define HAVE_POWF 1
62934 _ACEOF
62937 done
62939 else
62941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62942 $as_echo_n "checking for _powf declaration... " >&6; }
62943 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62944 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62945 $as_echo_n "(cached) " >&6
62946 else
62949 ac_ext=cpp
62950 ac_cpp='$CXXCPP $CPPFLAGS'
62951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62956 /* end confdefs.h. */
62957 #include <math.h>
62959 main ()
62961 _powf(0, 0);
62963 return 0;
62965 _ACEOF
62966 if ac_fn_cxx_try_compile "$LINENO"; then :
62967 glibcxx_cv_func__powf_use=yes
62968 else
62969 glibcxx_cv_func__powf_use=no
62971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62972 ac_ext=c
62973 ac_cpp='$CPP $CPPFLAGS'
62974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62983 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62985 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62986 for ac_func in _powf
62987 do :
62988 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62989 if test "x$ac_cv_func__powf" = x""yes; then :
62990 cat >>confdefs.h <<_ACEOF
62991 #define HAVE__POWF 1
62992 _ACEOF
62995 done
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63005 $as_echo_n "checking for sqrtf declaration... " >&6; }
63006 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63007 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63008 $as_echo_n "(cached) " >&6
63009 else
63012 ac_ext=cpp
63013 ac_cpp='$CXXCPP $CPPFLAGS'
63014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63019 /* end confdefs.h. */
63020 #include <math.h>
63021 #ifdef HAVE_IEEEFP_H
63022 #include <ieeefp.h>
63023 #endif
63026 main ()
63028 sqrtf(0);
63030 return 0;
63032 _ACEOF
63033 if ac_fn_cxx_try_compile "$LINENO"; then :
63034 glibcxx_cv_func_sqrtf_use=yes
63035 else
63036 glibcxx_cv_func_sqrtf_use=no
63038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63039 ac_ext=c
63040 ac_cpp='$CPP $CPPFLAGS'
63041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63050 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63052 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63053 for ac_func in sqrtf
63054 do :
63055 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63056 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63057 cat >>confdefs.h <<_ACEOF
63058 #define HAVE_SQRTF 1
63059 _ACEOF
63062 done
63064 else
63066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63067 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63068 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63069 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63070 $as_echo_n "(cached) " >&6
63071 else
63074 ac_ext=cpp
63075 ac_cpp='$CXXCPP $CPPFLAGS'
63076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63081 /* end confdefs.h. */
63082 #include <math.h>
63083 #ifdef HAVE_IEEEFP_H
63084 #include <ieeefp.h>
63085 #endif
63088 main ()
63090 _sqrtf(0);
63092 return 0;
63094 _ACEOF
63095 if ac_fn_cxx_try_compile "$LINENO"; then :
63096 glibcxx_cv_func__sqrtf_use=yes
63097 else
63098 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
63112 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63114 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63115 for ac_func in _sqrtf
63116 do :
63117 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63118 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63119 cat >>confdefs.h <<_ACEOF
63120 #define HAVE__SQRTF 1
63121 _ACEOF
63124 done
63133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63134 $as_echo_n "checking for sincosf declaration... " >&6; }
63135 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63136 if test "${glibcxx_cv_func_sincosf_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>
63151 main ()
63153 sincosf(0, 0, 0);
63155 return 0;
63157 _ACEOF
63158 if ac_fn_cxx_try_compile "$LINENO"; then :
63159 glibcxx_cv_func_sincosf_use=yes
63160 else
63161 glibcxx_cv_func_sincosf_use=no
63163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63164 ac_ext=c
63165 ac_cpp='$CPP $CPPFLAGS'
63166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63175 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63177 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63178 for ac_func in sincosf
63179 do :
63180 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63181 if test "x$ac_cv_func_sincosf" = x""yes; then :
63182 cat >>confdefs.h <<_ACEOF
63183 #define HAVE_SINCOSF 1
63184 _ACEOF
63187 done
63189 else
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63192 $as_echo_n "checking for _sincosf declaration... " >&6; }
63193 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63194 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63195 $as_echo_n "(cached) " >&6
63196 else
63199 ac_ext=cpp
63200 ac_cpp='$CXXCPP $CPPFLAGS'
63201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63206 /* end confdefs.h. */
63207 #include <math.h>
63209 main ()
63211 _sincosf(0, 0, 0);
63213 return 0;
63215 _ACEOF
63216 if ac_fn_cxx_try_compile "$LINENO"; then :
63217 glibcxx_cv_func__sincosf_use=yes
63218 else
63219 glibcxx_cv_func__sincosf_use=no
63221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63222 ac_ext=c
63223 ac_cpp='$CPP $CPPFLAGS'
63224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63233 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63235 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63236 for ac_func in _sincosf
63237 do :
63238 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63239 if test "x$ac_cv_func__sincosf" = x""yes; then :
63240 cat >>confdefs.h <<_ACEOF
63241 #define HAVE__SINCOSF 1
63242 _ACEOF
63245 done
63254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63255 $as_echo_n "checking for finitef declaration... " >&6; }
63256 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63257 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63258 $as_echo_n "(cached) " >&6
63259 else
63262 ac_ext=cpp
63263 ac_cpp='$CXXCPP $CPPFLAGS'
63264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63269 /* end confdefs.h. */
63270 #include <math.h>
63271 #ifdef HAVE_IEEEFP_H
63272 #include <ieeefp.h>
63273 #endif
63276 main ()
63278 finitef(0);
63280 return 0;
63282 _ACEOF
63283 if ac_fn_cxx_try_compile "$LINENO"; then :
63284 glibcxx_cv_func_finitef_use=yes
63285 else
63286 glibcxx_cv_func_finitef_use=no
63288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63289 ac_ext=c
63290 ac_cpp='$CPP $CPPFLAGS'
63291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63300 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63302 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63303 for ac_func in finitef
63304 do :
63305 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63306 if test "x$ac_cv_func_finitef" = x""yes; then :
63307 cat >>confdefs.h <<_ACEOF
63308 #define HAVE_FINITEF 1
63309 _ACEOF
63312 done
63314 else
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63317 $as_echo_n "checking for _finitef declaration... " >&6; }
63318 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63319 if test "${glibcxx_cv_func__finitef_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>
63333 #ifdef HAVE_IEEEFP_H
63334 #include <ieeefp.h>
63335 #endif
63338 main ()
63340 _finitef(0);
63342 return 0;
63344 _ACEOF
63345 if ac_fn_cxx_try_compile "$LINENO"; then :
63346 glibcxx_cv_func__finitef_use=yes
63347 else
63348 glibcxx_cv_func__finitef_use=no
63350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63351 ac_ext=c
63352 ac_cpp='$CPP $CPPFLAGS'
63353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63362 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63364 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63365 for ac_func in _finitef
63366 do :
63367 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63368 if test "x$ac_cv_func__finitef" = x""yes; then :
63369 cat >>confdefs.h <<_ACEOF
63370 #define HAVE__FINITEF 1
63371 _ACEOF
63374 done
63383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63384 $as_echo_n "checking for long double trig functions... " >&6; }
63385 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63386 $as_echo_n "(cached) " >&6
63387 else
63390 ac_ext=cpp
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63397 /* end confdefs.h. */
63398 #include <math.h>
63400 main ()
63402 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63404 return 0;
63406 _ACEOF
63407 if ac_fn_cxx_try_compile "$LINENO"; then :
63408 glibcxx_cv_func_long_double_trig_use=yes
63409 else
63410 glibcxx_cv_func_long_double_trig_use=no
63412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63413 ac_ext=c
63414 ac_cpp='$CPP $CPPFLAGS'
63415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63422 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63423 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63424 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63425 do :
63426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63428 eval as_val=\$$as_ac_var
63429 if test "x$as_val" = x""yes; then :
63430 cat >>confdefs.h <<_ACEOF
63431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63432 _ACEOF
63435 done
63437 else
63438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63439 $as_echo_n "checking for _long double trig functions... " >&6; }
63440 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63441 $as_echo_n "(cached) " >&6
63442 else
63445 ac_ext=cpp
63446 ac_cpp='$CXXCPP $CPPFLAGS'
63447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63452 /* end confdefs.h. */
63453 #include <math.h>
63455 main ()
63457 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63459 return 0;
63461 _ACEOF
63462 if ac_fn_cxx_try_compile "$LINENO"; then :
63463 glibcxx_cv_func__long_double_trig_use=yes
63464 else
63465 glibcxx_cv_func__long_double_trig_use=no
63467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63468 ac_ext=c
63469 ac_cpp='$CPP $CPPFLAGS'
63470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63477 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63478 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63479 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63480 do :
63481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63483 eval as_val=\$$as_ac_var
63484 if test "x$as_val" = x""yes; then :
63485 cat >>confdefs.h <<_ACEOF
63486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63487 _ACEOF
63490 done
63499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63500 $as_echo_n "checking for long double round functions... " >&6; }
63501 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63502 $as_echo_n "(cached) " >&6
63503 else
63506 ac_ext=cpp
63507 ac_cpp='$CXXCPP $CPPFLAGS'
63508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63513 /* end confdefs.h. */
63514 #include <math.h>
63516 main ()
63518 ceill (0); floorl (0);
63520 return 0;
63522 _ACEOF
63523 if ac_fn_cxx_try_compile "$LINENO"; then :
63524 glibcxx_cv_func_long_double_round_use=yes
63525 else
63526 glibcxx_cv_func_long_double_round_use=no
63528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63529 ac_ext=c
63530 ac_cpp='$CPP $CPPFLAGS'
63531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63538 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63539 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63540 for ac_func in ceill floorl
63541 do :
63542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63544 eval as_val=\$$as_ac_var
63545 if test "x$as_val" = x""yes; then :
63546 cat >>confdefs.h <<_ACEOF
63547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63548 _ACEOF
63551 done
63553 else
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63555 $as_echo_n "checking for _long double round functions... " >&6; }
63556 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63557 $as_echo_n "(cached) " >&6
63558 else
63561 ac_ext=cpp
63562 ac_cpp='$CXXCPP $CPPFLAGS'
63563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63568 /* end confdefs.h. */
63569 #include <math.h>
63571 main ()
63573 _ceill (0); _floorl (0);
63575 return 0;
63577 _ACEOF
63578 if ac_fn_cxx_try_compile "$LINENO"; then :
63579 glibcxx_cv_func__long_double_round_use=yes
63580 else
63581 glibcxx_cv_func__long_double_round_use=no
63583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63584 ac_ext=c
63585 ac_cpp='$CPP $CPPFLAGS'
63586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63593 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63594 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63595 for ac_func in _ceill _floorl
63596 do :
63597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63599 eval as_val=\$$as_ac_var
63600 if test "x$as_val" = x""yes; then :
63601 cat >>confdefs.h <<_ACEOF
63602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63603 _ACEOF
63606 done
63616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63617 $as_echo_n "checking for isnanl declaration... " >&6; }
63618 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63619 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63620 $as_echo_n "(cached) " >&6
63621 else
63624 ac_ext=cpp
63625 ac_cpp='$CXXCPP $CPPFLAGS'
63626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63631 /* end confdefs.h. */
63632 #include <math.h>
63633 #ifdef HAVE_IEEEFP_H
63634 #include <ieeefp.h>
63635 #endif
63638 main ()
63640 isnanl(0);
63642 return 0;
63644 _ACEOF
63645 if ac_fn_cxx_try_compile "$LINENO"; then :
63646 glibcxx_cv_func_isnanl_use=yes
63647 else
63648 glibcxx_cv_func_isnanl_use=no
63650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63651 ac_ext=c
63652 ac_cpp='$CPP $CPPFLAGS'
63653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63662 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63664 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63665 for ac_func in isnanl
63666 do :
63667 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63668 if test "x$ac_cv_func_isnanl" = x""yes; then :
63669 cat >>confdefs.h <<_ACEOF
63670 #define HAVE_ISNANL 1
63671 _ACEOF
63674 done
63676 else
63678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63679 $as_echo_n "checking for _isnanl declaration... " >&6; }
63680 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63681 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63682 $as_echo_n "(cached) " >&6
63683 else
63686 ac_ext=cpp
63687 ac_cpp='$CXXCPP $CPPFLAGS'
63688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63693 /* end confdefs.h. */
63694 #include <math.h>
63695 #ifdef HAVE_IEEEFP_H
63696 #include <ieeefp.h>
63697 #endif
63700 main ()
63702 _isnanl(0);
63704 return 0;
63706 _ACEOF
63707 if ac_fn_cxx_try_compile "$LINENO"; then :
63708 glibcxx_cv_func__isnanl_use=yes
63709 else
63710 glibcxx_cv_func__isnanl_use=no
63712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63713 ac_ext=c
63714 ac_cpp='$CPP $CPPFLAGS'
63715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63724 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63726 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63727 for ac_func in _isnanl
63728 do :
63729 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63730 if test "x$ac_cv_func__isnanl" = x""yes; then :
63731 cat >>confdefs.h <<_ACEOF
63732 #define HAVE__ISNANL 1
63733 _ACEOF
63736 done
63745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63746 $as_echo_n "checking for isinfl declaration... " >&6; }
63747 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63748 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63749 $as_echo_n "(cached) " >&6
63750 else
63753 ac_ext=cpp
63754 ac_cpp='$CXXCPP $CPPFLAGS'
63755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63760 /* end confdefs.h. */
63761 #include <math.h>
63762 #ifdef HAVE_IEEEFP_H
63763 #include <ieeefp.h>
63764 #endif
63767 main ()
63769 isinfl(0);
63771 return 0;
63773 _ACEOF
63774 if ac_fn_cxx_try_compile "$LINENO"; then :
63775 glibcxx_cv_func_isinfl_use=yes
63776 else
63777 glibcxx_cv_func_isinfl_use=no
63779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63780 ac_ext=c
63781 ac_cpp='$CPP $CPPFLAGS'
63782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63791 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63793 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63794 for ac_func in isinfl
63795 do :
63796 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63797 if test "x$ac_cv_func_isinfl" = x""yes; then :
63798 cat >>confdefs.h <<_ACEOF
63799 #define HAVE_ISINFL 1
63800 _ACEOF
63803 done
63805 else
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63808 $as_echo_n "checking for _isinfl declaration... " >&6; }
63809 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63810 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63811 $as_echo_n "(cached) " >&6
63812 else
63815 ac_ext=cpp
63816 ac_cpp='$CXXCPP $CPPFLAGS'
63817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63822 /* end confdefs.h. */
63823 #include <math.h>
63824 #ifdef HAVE_IEEEFP_H
63825 #include <ieeefp.h>
63826 #endif
63829 main ()
63831 _isinfl(0);
63833 return 0;
63835 _ACEOF
63836 if ac_fn_cxx_try_compile "$LINENO"; then :
63837 glibcxx_cv_func__isinfl_use=yes
63838 else
63839 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
63853 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63855 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63856 for ac_func in _isinfl
63857 do :
63858 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63859 if test "x$ac_cv_func__isinfl" = x""yes; then :
63860 cat >>confdefs.h <<_ACEOF
63861 #define HAVE__ISINFL 1
63862 _ACEOF
63865 done
63874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63875 $as_echo_n "checking for atan2l declaration... " >&6; }
63876 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63877 if test "${glibcxx_cv_func_atan2l_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>
63892 main ()
63894 atan2l(0, 0);
63896 return 0;
63898 _ACEOF
63899 if ac_fn_cxx_try_compile "$LINENO"; then :
63900 glibcxx_cv_func_atan2l_use=yes
63901 else
63902 glibcxx_cv_func_atan2l_use=no
63904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63905 ac_ext=c
63906 ac_cpp='$CPP $CPPFLAGS'
63907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63916 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63918 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63919 for ac_func in atan2l
63920 do :
63921 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63922 if test "x$ac_cv_func_atan2l" = x""yes; then :
63923 cat >>confdefs.h <<_ACEOF
63924 #define HAVE_ATAN2L 1
63925 _ACEOF
63928 done
63930 else
63932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63933 $as_echo_n "checking for _atan2l declaration... " >&6; }
63934 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63935 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63936 $as_echo_n "(cached) " >&6
63937 else
63940 ac_ext=cpp
63941 ac_cpp='$CXXCPP $CPPFLAGS'
63942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63947 /* end confdefs.h. */
63948 #include <math.h>
63950 main ()
63952 _atan2l(0, 0);
63954 return 0;
63956 _ACEOF
63957 if ac_fn_cxx_try_compile "$LINENO"; then :
63958 glibcxx_cv_func__atan2l_use=yes
63959 else
63960 glibcxx_cv_func__atan2l_use=no
63962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63963 ac_ext=c
63964 ac_cpp='$CPP $CPPFLAGS'
63965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63974 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63976 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63977 for ac_func in _atan2l
63978 do :
63979 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63980 if test "x$ac_cv_func__atan2l" = x""yes; then :
63981 cat >>confdefs.h <<_ACEOF
63982 #define HAVE__ATAN2L 1
63983 _ACEOF
63986 done
63995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63996 $as_echo_n "checking for expl declaration... " >&6; }
63997 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63998 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63999 $as_echo_n "(cached) " >&6
64000 else
64003 ac_ext=cpp
64004 ac_cpp='$CXXCPP $CPPFLAGS'
64005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64010 /* end confdefs.h. */
64011 #include <math.h>
64012 #ifdef HAVE_IEEEFP_H
64013 #include <ieeefp.h>
64014 #endif
64017 main ()
64019 expl(0);
64021 return 0;
64023 _ACEOF
64024 if ac_fn_cxx_try_compile "$LINENO"; then :
64025 glibcxx_cv_func_expl_use=yes
64026 else
64027 glibcxx_cv_func_expl_use=no
64029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64030 ac_ext=c
64031 ac_cpp='$CPP $CPPFLAGS'
64032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64041 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64043 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64044 for ac_func in expl
64045 do :
64046 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64047 if test "x$ac_cv_func_expl" = x""yes; then :
64048 cat >>confdefs.h <<_ACEOF
64049 #define HAVE_EXPL 1
64050 _ACEOF
64053 done
64055 else
64057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64058 $as_echo_n "checking for _expl declaration... " >&6; }
64059 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64060 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64061 $as_echo_n "(cached) " >&6
64062 else
64065 ac_ext=cpp
64066 ac_cpp='$CXXCPP $CPPFLAGS'
64067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64072 /* end confdefs.h. */
64073 #include <math.h>
64074 #ifdef HAVE_IEEEFP_H
64075 #include <ieeefp.h>
64076 #endif
64079 main ()
64081 _expl(0);
64083 return 0;
64085 _ACEOF
64086 if ac_fn_cxx_try_compile "$LINENO"; then :
64087 glibcxx_cv_func__expl_use=yes
64088 else
64089 glibcxx_cv_func__expl_use=no
64091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64092 ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64103 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64105 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64106 for ac_func in _expl
64107 do :
64108 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64109 if test "x$ac_cv_func__expl" = x""yes; then :
64110 cat >>confdefs.h <<_ACEOF
64111 #define HAVE__EXPL 1
64112 _ACEOF
64115 done
64124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64125 $as_echo_n "checking for fabsl declaration... " >&6; }
64126 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64127 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64128 $as_echo_n "(cached) " >&6
64129 else
64132 ac_ext=cpp
64133 ac_cpp='$CXXCPP $CPPFLAGS'
64134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64139 /* end confdefs.h. */
64140 #include <math.h>
64141 #ifdef HAVE_IEEEFP_H
64142 #include <ieeefp.h>
64143 #endif
64146 main ()
64148 fabsl(0);
64150 return 0;
64152 _ACEOF
64153 if ac_fn_cxx_try_compile "$LINENO"; then :
64154 glibcxx_cv_func_fabsl_use=yes
64155 else
64156 glibcxx_cv_func_fabsl_use=no
64158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64159 ac_ext=c
64160 ac_cpp='$CPP $CPPFLAGS'
64161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64170 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64172 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64173 for ac_func in fabsl
64174 do :
64175 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64176 if test "x$ac_cv_func_fabsl" = x""yes; then :
64177 cat >>confdefs.h <<_ACEOF
64178 #define HAVE_FABSL 1
64179 _ACEOF
64182 done
64184 else
64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64187 $as_echo_n "checking for _fabsl declaration... " >&6; }
64188 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64189 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64190 $as_echo_n "(cached) " >&6
64191 else
64194 ac_ext=cpp
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64201 /* end confdefs.h. */
64202 #include <math.h>
64203 #ifdef HAVE_IEEEFP_H
64204 #include <ieeefp.h>
64205 #endif
64208 main ()
64210 _fabsl(0);
64212 return 0;
64214 _ACEOF
64215 if ac_fn_cxx_try_compile "$LINENO"; then :
64216 glibcxx_cv_func__fabsl_use=yes
64217 else
64218 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
64232 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64234 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64235 for ac_func in _fabsl
64236 do :
64237 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64238 if test "x$ac_cv_func__fabsl" = x""yes; then :
64239 cat >>confdefs.h <<_ACEOF
64240 #define HAVE__FABSL 1
64241 _ACEOF
64244 done
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64254 $as_echo_n "checking for fmodl declaration... " >&6; }
64255 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64256 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
64275 return 0;
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func_fmodl_use=yes
64280 else
64281 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
64295 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64297 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64298 for ac_func in fmodl
64299 do :
64300 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64301 if test "x$ac_cv_func_fmodl" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE_FMODL 1
64304 _ACEOF
64307 done
64309 else
64311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64312 $as_echo_n "checking for _fmodl declaration... " >&6; }
64313 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64314 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
64333 return 0;
64335 _ACEOF
64336 if ac_fn_cxx_try_compile "$LINENO"; then :
64337 glibcxx_cv_func__fmodl_use=yes
64338 else
64339 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
64353 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64355 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64356 for ac_func in _fmodl
64357 do :
64358 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64359 if test "x$ac_cv_func__fmodl" = x""yes; then :
64360 cat >>confdefs.h <<_ACEOF
64361 #define HAVE__FMODL 1
64362 _ACEOF
64365 done
64374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64375 $as_echo_n "checking for frexpl declaration... " >&6; }
64376 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64377 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
64396 return 0;
64398 _ACEOF
64399 if ac_fn_cxx_try_compile "$LINENO"; then :
64400 glibcxx_cv_func_frexpl_use=yes
64401 else
64402 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
64416 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64418 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64419 for ac_func in frexpl
64420 do :
64421 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64422 if test "x$ac_cv_func_frexpl" = x""yes; then :
64423 cat >>confdefs.h <<_ACEOF
64424 #define HAVE_FREXPL 1
64425 _ACEOF
64428 done
64430 else
64432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64433 $as_echo_n "checking for _frexpl declaration... " >&6; }
64434 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64435 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
64454 return 0;
64456 _ACEOF
64457 if ac_fn_cxx_try_compile "$LINENO"; then :
64458 glibcxx_cv_func__frexpl_use=yes
64459 else
64460 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
64474 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64476 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64477 for ac_func in _frexpl
64478 do :
64479 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64480 if test "x$ac_cv_func__frexpl" = x""yes; then :
64481 cat >>confdefs.h <<_ACEOF
64482 #define HAVE__FREXPL 1
64483 _ACEOF
64486 done
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64496 $as_echo_n "checking for hypotl declaration... " >&6; }
64497 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64498 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
64517 return 0;
64519 _ACEOF
64520 if ac_fn_cxx_try_compile "$LINENO"; then :
64521 glibcxx_cv_func_hypotl_use=yes
64522 else
64523 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
64537 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64539 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64540 for ac_func in hypotl
64541 do :
64542 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64543 if test "x$ac_cv_func_hypotl" = x""yes; then :
64544 cat >>confdefs.h <<_ACEOF
64545 #define HAVE_HYPOTL 1
64546 _ACEOF
64549 done
64551 else
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64554 $as_echo_n "checking for _hypotl declaration... " >&6; }
64555 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64556 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
64575 return 0;
64577 _ACEOF
64578 if ac_fn_cxx_try_compile "$LINENO"; then :
64579 glibcxx_cv_func__hypotl_use=yes
64580 else
64581 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
64595 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64597 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64598 for ac_func in _hypotl
64599 do :
64600 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64601 if test "x$ac_cv_func__hypotl" = x""yes; then :
64602 cat >>confdefs.h <<_ACEOF
64603 #define HAVE__HYPOTL 1
64604 _ACEOF
64607 done
64616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64617 $as_echo_n "checking for ldexpl declaration... " >&6; }
64618 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64619 if test "${glibcxx_cv_func_ldexpl_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>
64634 main ()
64636 ldexpl(0, 0);
64638 return 0;
64640 _ACEOF
64641 if ac_fn_cxx_try_compile "$LINENO"; then :
64642 glibcxx_cv_func_ldexpl_use=yes
64643 else
64644 glibcxx_cv_func_ldexpl_use=no
64646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64647 ac_ext=c
64648 ac_cpp='$CPP $CPPFLAGS'
64649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64658 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64660 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64661 for ac_func in ldexpl
64662 do :
64663 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64664 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64665 cat >>confdefs.h <<_ACEOF
64666 #define HAVE_LDEXPL 1
64667 _ACEOF
64670 done
64672 else
64674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64675 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64676 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64677 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64678 $as_echo_n "(cached) " >&6
64679 else
64682 ac_ext=cpp
64683 ac_cpp='$CXXCPP $CPPFLAGS'
64684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64689 /* end confdefs.h. */
64690 #include <math.h>
64692 main ()
64694 _ldexpl(0, 0);
64696 return 0;
64698 _ACEOF
64699 if ac_fn_cxx_try_compile "$LINENO"; then :
64700 glibcxx_cv_func__ldexpl_use=yes
64701 else
64702 glibcxx_cv_func__ldexpl_use=no
64704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64705 ac_ext=c
64706 ac_cpp='$CPP $CPPFLAGS'
64707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64716 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64718 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64719 for ac_func in _ldexpl
64720 do :
64721 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64722 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64723 cat >>confdefs.h <<_ACEOF
64724 #define HAVE__LDEXPL 1
64725 _ACEOF
64728 done
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64738 $as_echo_n "checking for logl declaration... " >&6; }
64739 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64740 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64741 $as_echo_n "(cached) " >&6
64742 else
64745 ac_ext=cpp
64746 ac_cpp='$CXXCPP $CPPFLAGS'
64747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64752 /* end confdefs.h. */
64753 #include <math.h>
64754 #ifdef HAVE_IEEEFP_H
64755 #include <ieeefp.h>
64756 #endif
64759 main ()
64761 logl(0);
64763 return 0;
64765 _ACEOF
64766 if ac_fn_cxx_try_compile "$LINENO"; then :
64767 glibcxx_cv_func_logl_use=yes
64768 else
64769 glibcxx_cv_func_logl_use=no
64771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64772 ac_ext=c
64773 ac_cpp='$CPP $CPPFLAGS'
64774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64783 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64785 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64786 for ac_func in logl
64787 do :
64788 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64789 if test "x$ac_cv_func_logl" = x""yes; then :
64790 cat >>confdefs.h <<_ACEOF
64791 #define HAVE_LOGL 1
64792 _ACEOF
64795 done
64797 else
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64800 $as_echo_n "checking for _logl declaration... " >&6; }
64801 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64802 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64803 $as_echo_n "(cached) " >&6
64804 else
64807 ac_ext=cpp
64808 ac_cpp='$CXXCPP $CPPFLAGS'
64809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64814 /* end confdefs.h. */
64815 #include <math.h>
64816 #ifdef HAVE_IEEEFP_H
64817 #include <ieeefp.h>
64818 #endif
64821 main ()
64823 _logl(0);
64825 return 0;
64827 _ACEOF
64828 if ac_fn_cxx_try_compile "$LINENO"; then :
64829 glibcxx_cv_func__logl_use=yes
64830 else
64831 glibcxx_cv_func__logl_use=no
64833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64834 ac_ext=c
64835 ac_cpp='$CPP $CPPFLAGS'
64836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64845 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64847 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64848 for ac_func in _logl
64849 do :
64850 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64851 if test "x$ac_cv_func__logl" = x""yes; then :
64852 cat >>confdefs.h <<_ACEOF
64853 #define HAVE__LOGL 1
64854 _ACEOF
64857 done
64866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64867 $as_echo_n "checking for log10l declaration... " >&6; }
64868 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64869 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64870 $as_echo_n "(cached) " >&6
64871 else
64874 ac_ext=cpp
64875 ac_cpp='$CXXCPP $CPPFLAGS'
64876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64881 /* end confdefs.h. */
64882 #include <math.h>
64883 #ifdef HAVE_IEEEFP_H
64884 #include <ieeefp.h>
64885 #endif
64888 main ()
64890 log10l(0);
64892 return 0;
64894 _ACEOF
64895 if ac_fn_cxx_try_compile "$LINENO"; then :
64896 glibcxx_cv_func_log10l_use=yes
64897 else
64898 glibcxx_cv_func_log10l_use=no
64900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64901 ac_ext=c
64902 ac_cpp='$CPP $CPPFLAGS'
64903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64912 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64914 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64915 for ac_func in log10l
64916 do :
64917 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64918 if test "x$ac_cv_func_log10l" = x""yes; then :
64919 cat >>confdefs.h <<_ACEOF
64920 #define HAVE_LOG10L 1
64921 _ACEOF
64924 done
64926 else
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64929 $as_echo_n "checking for _log10l declaration... " >&6; }
64930 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64931 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64932 $as_echo_n "(cached) " >&6
64933 else
64936 ac_ext=cpp
64937 ac_cpp='$CXXCPP $CPPFLAGS'
64938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64943 /* end confdefs.h. */
64944 #include <math.h>
64945 #ifdef HAVE_IEEEFP_H
64946 #include <ieeefp.h>
64947 #endif
64950 main ()
64952 _log10l(0);
64954 return 0;
64956 _ACEOF
64957 if ac_fn_cxx_try_compile "$LINENO"; then :
64958 glibcxx_cv_func__log10l_use=yes
64959 else
64960 glibcxx_cv_func__log10l_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__log10l_use" >&5
64974 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64976 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64977 for ac_func in _log10l
64978 do :
64979 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64980 if test "x$ac_cv_func__log10l" = x""yes; then :
64981 cat >>confdefs.h <<_ACEOF
64982 #define HAVE__LOG10L 1
64983 _ACEOF
64986 done
64995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64996 $as_echo_n "checking for modfl declaration... " >&6; }
64997 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64998 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
65017 return 0;
65019 _ACEOF
65020 if ac_fn_cxx_try_compile "$LINENO"; then :
65021 glibcxx_cv_func_modfl_use=yes
65022 else
65023 glibcxx_cv_func_modfl_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_modfl_use" >&5
65037 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65039 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65040 for ac_func in modfl
65041 do :
65042 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65043 if test "x$ac_cv_func_modfl" = x""yes; then :
65044 cat >>confdefs.h <<_ACEOF
65045 #define HAVE_MODFL 1
65046 _ACEOF
65049 done
65051 else
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65054 $as_echo_n "checking for _modfl declaration... " >&6; }
65055 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65056 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
65075 return 0;
65077 _ACEOF
65078 if ac_fn_cxx_try_compile "$LINENO"; then :
65079 glibcxx_cv_func__modfl_use=yes
65080 else
65081 glibcxx_cv_func__modfl_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__modfl_use" >&5
65095 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65097 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65098 for ac_func in _modfl
65099 do :
65100 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65101 if test "x$ac_cv_func__modfl" = x""yes; then :
65102 cat >>confdefs.h <<_ACEOF
65103 #define HAVE__MODFL 1
65104 _ACEOF
65107 done
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65117 $as_echo_n "checking for powl declaration... " >&6; }
65118 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65119 if test "${glibcxx_cv_func_powl_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>
65134 main ()
65136 powl(0, 0);
65138 return 0;
65140 _ACEOF
65141 if ac_fn_cxx_try_compile "$LINENO"; then :
65142 glibcxx_cv_func_powl_use=yes
65143 else
65144 glibcxx_cv_func_powl_use=no
65146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65147 ac_ext=c
65148 ac_cpp='$CPP $CPPFLAGS'
65149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65158 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65160 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65161 for ac_func in powl
65162 do :
65163 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65164 if test "x$ac_cv_func_powl" = x""yes; then :
65165 cat >>confdefs.h <<_ACEOF
65166 #define HAVE_POWL 1
65167 _ACEOF
65170 done
65172 else
65174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65175 $as_echo_n "checking for _powl declaration... " >&6; }
65176 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65177 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65178 $as_echo_n "(cached) " >&6
65179 else
65182 ac_ext=cpp
65183 ac_cpp='$CXXCPP $CPPFLAGS'
65184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65189 /* end confdefs.h. */
65190 #include <math.h>
65192 main ()
65194 _powl(0, 0);
65196 return 0;
65198 _ACEOF
65199 if ac_fn_cxx_try_compile "$LINENO"; then :
65200 glibcxx_cv_func__powl_use=yes
65201 else
65202 glibcxx_cv_func__powl_use=no
65204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65205 ac_ext=c
65206 ac_cpp='$CPP $CPPFLAGS'
65207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65216 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65218 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65219 for ac_func in _powl
65220 do :
65221 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65222 if test "x$ac_cv_func__powl" = x""yes; then :
65223 cat >>confdefs.h <<_ACEOF
65224 #define HAVE__POWL 1
65225 _ACEOF
65228 done
65237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65238 $as_echo_n "checking for sqrtl declaration... " >&6; }
65239 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65240 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65241 $as_echo_n "(cached) " >&6
65242 else
65245 ac_ext=cpp
65246 ac_cpp='$CXXCPP $CPPFLAGS'
65247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65252 /* end confdefs.h. */
65253 #include <math.h>
65254 #ifdef HAVE_IEEEFP_H
65255 #include <ieeefp.h>
65256 #endif
65259 main ()
65261 sqrtl(0);
65263 return 0;
65265 _ACEOF
65266 if ac_fn_cxx_try_compile "$LINENO"; then :
65267 glibcxx_cv_func_sqrtl_use=yes
65268 else
65269 glibcxx_cv_func_sqrtl_use=no
65271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65272 ac_ext=c
65273 ac_cpp='$CPP $CPPFLAGS'
65274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65283 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65285 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65286 for ac_func in sqrtl
65287 do :
65288 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65289 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65290 cat >>confdefs.h <<_ACEOF
65291 #define HAVE_SQRTL 1
65292 _ACEOF
65295 done
65297 else
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65300 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65301 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65302 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65303 $as_echo_n "(cached) " >&6
65304 else
65307 ac_ext=cpp
65308 ac_cpp='$CXXCPP $CPPFLAGS'
65309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65314 /* end confdefs.h. */
65315 #include <math.h>
65316 #ifdef HAVE_IEEEFP_H
65317 #include <ieeefp.h>
65318 #endif
65321 main ()
65323 _sqrtl(0);
65325 return 0;
65327 _ACEOF
65328 if ac_fn_cxx_try_compile "$LINENO"; then :
65329 glibcxx_cv_func__sqrtl_use=yes
65330 else
65331 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
65345 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65347 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65348 for ac_func in _sqrtl
65349 do :
65350 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65351 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65352 cat >>confdefs.h <<_ACEOF
65353 #define HAVE__SQRTL 1
65354 _ACEOF
65357 done
65366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65367 $as_echo_n "checking for sincosl declaration... " >&6; }
65368 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65369 if test "${glibcxx_cv_func_sincosl_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>
65384 main ()
65386 sincosl(0, 0, 0);
65388 return 0;
65390 _ACEOF
65391 if ac_fn_cxx_try_compile "$LINENO"; then :
65392 glibcxx_cv_func_sincosl_use=yes
65393 else
65394 glibcxx_cv_func_sincosl_use=no
65396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65397 ac_ext=c
65398 ac_cpp='$CPP $CPPFLAGS'
65399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65408 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65410 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65411 for ac_func in sincosl
65412 do :
65413 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65414 if test "x$ac_cv_func_sincosl" = x""yes; then :
65415 cat >>confdefs.h <<_ACEOF
65416 #define HAVE_SINCOSL 1
65417 _ACEOF
65420 done
65422 else
65424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65425 $as_echo_n "checking for _sincosl declaration... " >&6; }
65426 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65427 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65428 $as_echo_n "(cached) " >&6
65429 else
65432 ac_ext=cpp
65433 ac_cpp='$CXXCPP $CPPFLAGS'
65434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65439 /* end confdefs.h. */
65440 #include <math.h>
65442 main ()
65444 _sincosl(0, 0, 0);
65446 return 0;
65448 _ACEOF
65449 if ac_fn_cxx_try_compile "$LINENO"; then :
65450 glibcxx_cv_func__sincosl_use=yes
65451 else
65452 glibcxx_cv_func__sincosl_use=no
65454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65455 ac_ext=c
65456 ac_cpp='$CPP $CPPFLAGS'
65457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65466 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65468 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65469 for ac_func in _sincosl
65470 do :
65471 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65472 if test "x$ac_cv_func__sincosl" = x""yes; then :
65473 cat >>confdefs.h <<_ACEOF
65474 #define HAVE__SINCOSL 1
65475 _ACEOF
65478 done
65487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65488 $as_echo_n "checking for finitel declaration... " >&6; }
65489 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65490 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65491 $as_echo_n "(cached) " >&6
65492 else
65495 ac_ext=cpp
65496 ac_cpp='$CXXCPP $CPPFLAGS'
65497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65502 /* end confdefs.h. */
65503 #include <math.h>
65504 #ifdef HAVE_IEEEFP_H
65505 #include <ieeefp.h>
65506 #endif
65509 main ()
65511 finitel(0);
65513 return 0;
65515 _ACEOF
65516 if ac_fn_cxx_try_compile "$LINENO"; then :
65517 glibcxx_cv_func_finitel_use=yes
65518 else
65519 glibcxx_cv_func_finitel_use=no
65521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65522 ac_ext=c
65523 ac_cpp='$CPP $CPPFLAGS'
65524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65533 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65535 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65536 for ac_func in finitel
65537 do :
65538 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65539 if test "x$ac_cv_func_finitel" = x""yes; then :
65540 cat >>confdefs.h <<_ACEOF
65541 #define HAVE_FINITEL 1
65542 _ACEOF
65545 done
65547 else
65549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65550 $as_echo_n "checking for _finitel declaration... " >&6; }
65551 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65552 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65553 $as_echo_n "(cached) " >&6
65554 else
65557 ac_ext=cpp
65558 ac_cpp='$CXXCPP $CPPFLAGS'
65559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65564 /* end confdefs.h. */
65565 #include <math.h>
65566 #ifdef HAVE_IEEEFP_H
65567 #include <ieeefp.h>
65568 #endif
65571 main ()
65573 _finitel(0);
65575 return 0;
65577 _ACEOF
65578 if ac_fn_cxx_try_compile "$LINENO"; then :
65579 glibcxx_cv_func__finitel_use=yes
65580 else
65581 glibcxx_cv_func__finitel_use=no
65583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65584 ac_ext=c
65585 ac_cpp='$CPP $CPPFLAGS'
65586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65595 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65597 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65598 for ac_func in _finitel
65599 do :
65600 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65601 if test "x$ac_cv_func__finitel" = x""yes; then :
65602 cat >>confdefs.h <<_ACEOF
65603 #define HAVE__FINITEL 1
65604 _ACEOF
65607 done
65615 LIBS="$ac_save_LIBS"
65616 CXXFLAGS="$ac_save_CXXFLAGS"
65619 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65620 ac_save_CXXFLAGS="$CXXFLAGS"
65621 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65625 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65626 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65627 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65628 $as_echo_n "(cached) " >&6
65629 else
65632 ac_ext=cpp
65633 ac_cpp='$CXXCPP $CPPFLAGS'
65634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65639 /* end confdefs.h. */
65640 #include <stdlib.h>
65642 main ()
65644 at_quick_exit(0);
65646 return 0;
65648 _ACEOF
65649 if ac_fn_cxx_try_compile "$LINENO"; then :
65650 glibcxx_cv_func_at_quick_exit_use=yes
65651 else
65652 glibcxx_cv_func_at_quick_exit_use=no
65654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65655 ac_ext=c
65656 ac_cpp='$CPP $CPPFLAGS'
65657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65666 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65667 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65668 for ac_func in at_quick_exit
65669 do :
65670 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65671 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65672 cat >>confdefs.h <<_ACEOF
65673 #define HAVE_AT_QUICK_EXIT 1
65674 _ACEOF
65677 done
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65683 $as_echo_n "checking for quick_exit declaration... " >&6; }
65684 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65685 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65686 $as_echo_n "(cached) " >&6
65687 else
65690 ac_ext=cpp
65691 ac_cpp='$CXXCPP $CPPFLAGS'
65692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65697 /* end confdefs.h. */
65698 #include <stdlib.h>
65700 main ()
65702 quick_exit(0);
65704 return 0;
65706 _ACEOF
65707 if ac_fn_cxx_try_compile "$LINENO"; then :
65708 glibcxx_cv_func_quick_exit_use=yes
65709 else
65710 glibcxx_cv_func_quick_exit_use=no
65712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65713 ac_ext=c
65714 ac_cpp='$CPP $CPPFLAGS'
65715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65724 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65725 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65726 for ac_func in quick_exit
65727 do :
65728 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65729 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65730 cat >>confdefs.h <<_ACEOF
65731 #define HAVE_QUICK_EXIT 1
65732 _ACEOF
65735 done
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65741 $as_echo_n "checking for strtold declaration... " >&6; }
65742 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65743 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <stdlib.h>
65758 main ()
65760 strtold(0, 0);
65762 return 0;
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func_strtold_use=yes
65767 else
65768 glibcxx_cv_func_strtold_use=no
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65782 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65783 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65784 for ac_func in strtold
65785 do :
65786 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65787 if test "x$ac_cv_func_strtold" = x""yes; then :
65788 cat >>confdefs.h <<_ACEOF
65789 #define HAVE_STRTOLD 1
65790 _ACEOF
65793 done
65800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65801 $as_echo_n "checking for strtof declaration... " >&6; }
65802 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65803 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65804 $as_echo_n "(cached) " >&6
65805 else
65808 ac_ext=cpp
65809 ac_cpp='$CXXCPP $CPPFLAGS'
65810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65815 /* end confdefs.h. */
65816 #include <stdlib.h>
65818 main ()
65820 strtof(0, 0);
65822 return 0;
65824 _ACEOF
65825 if ac_fn_cxx_try_compile "$LINENO"; then :
65826 glibcxx_cv_func_strtof_use=yes
65827 else
65828 glibcxx_cv_func_strtof_use=no
65830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65831 ac_ext=c
65832 ac_cpp='$CPP $CPPFLAGS'
65833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65842 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65843 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65844 for ac_func in strtof
65845 do :
65846 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65847 if test "x$ac_cv_func_strtof" = x""yes; then :
65848 cat >>confdefs.h <<_ACEOF
65849 #define HAVE_STRTOF 1
65850 _ACEOF
65853 done
65860 CXXFLAGS="$ac_save_CXXFLAGS"
65863 *-netbsd*)
65864 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65867 # If we're not using GNU ld, then there's no point in even trying these
65868 # tests. Check for that first. We should have already tested for gld
65869 # by now (in libtool), but require it now just to be safe...
65870 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65871 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65875 # The name set by libtool depends on the version of libtool. Shame on us
65876 # for depending on an impl detail, but c'est la vie. Older versions used
65877 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65878 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65879 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65880 # set (hence we're using an older libtool), then set it.
65881 if test x${with_gnu_ld+set} != xset; then
65882 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65883 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65884 with_gnu_ld=no
65885 else
65886 with_gnu_ld=$ac_cv_prog_gnu_ld
65890 # Start by getting the version number. I think the libtool test already
65891 # does some of this, but throws away the result.
65892 glibcxx_ld_is_gold=no
65893 if test x"$with_gnu_ld" = x"yes"; then
65894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65895 $as_echo_n "checking for ld version... " >&6; }
65897 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65898 glibcxx_ld_is_gold=yes
65900 ldver=`$LD --version 2>/dev/null |
65901 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'`
65903 glibcxx_gnu_ld_version=`echo $ldver | \
65904 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65906 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65909 # Set --gc-sections.
65910 glibcxx_have_gc_sections=no
65911 if test "$glibcxx_ld_is_gold" = "yes"; then
65912 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65913 glibcxx_have_gc_sections=yes
65915 else
65916 glibcxx_gcsections_min_ld=21602
65917 if test x"$with_gnu_ld" = x"yes" &&
65918 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65919 glibcxx_have_gc_sections=yes
65922 if test "$glibcxx_have_gc_sections" = "yes"; then
65923 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65924 # NB: This flag only works reliably after 2.16.1. Configure tests
65925 # for this are difficult, so hard wire a value that should work.
65927 ac_test_CFLAGS="${CFLAGS+set}"
65928 ac_save_CFLAGS="$CFLAGS"
65929 CFLAGS='-Wl,--gc-sections'
65931 # Check for -Wl,--gc-sections
65932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65933 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65934 if test x$gcc_no_link = xyes; then
65935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65938 /* end confdefs.h. */
65939 int one(void) { return 1; }
65940 int two(void) { return 2; }
65943 main ()
65945 two();
65947 return 0;
65949 _ACEOF
65950 if ac_fn_c_try_link "$LINENO"; then :
65951 ac_gcsections=yes
65952 else
65953 ac_gcsections=no
65955 rm -f core conftest.err conftest.$ac_objext \
65956 conftest$ac_exeext conftest.$ac_ext
65957 if test "$ac_gcsections" = "yes"; then
65958 rm -f conftest.c
65959 touch conftest.c
65960 if $CC -c conftest.c; then
65961 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65962 grep "Warning: gc-sections option ignored" > /dev/null; then
65963 ac_gcsections=no
65966 rm -f conftest.c conftest.o conftest
65968 if test "$ac_gcsections" = "yes"; then
65969 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65972 $as_echo "$ac_gcsections" >&6; }
65974 if test "$ac_test_CFLAGS" = set; then
65975 CFLAGS="$ac_save_CFLAGS"
65976 else
65977 # this is the suspicious part
65978 CFLAGS=''
65982 # Set -z,relro.
65983 # Note this is only for shared objects.
65984 ac_ld_relro=no
65985 if test x"$with_gnu_ld" = x"yes"; then
65986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65987 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65988 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65989 if test -n "$cxx_z_relo"; then
65990 OPT_LDFLAGS="-Wl,-z,relro"
65991 ac_ld_relro=yes
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65994 $as_echo "$ac_ld_relro" >&6; }
65997 # Set linker optimization flags.
65998 if test x"$with_gnu_ld" = x"yes"; then
65999 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66005 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66007 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66009 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66011 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66013 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66015 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66017 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66019 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66021 if test x"long_double_math_on_this_cpu" = x"yes"; then
66022 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66024 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66026 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66030 *-qnx6.1* | *-qnx6.2*)
66031 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66034 # If we're not using GNU ld, then there's no point in even trying these
66035 # tests. Check for that first. We should have already tested for gld
66036 # by now (in libtool), but require it now just to be safe...
66037 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66038 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66042 # The name set by libtool depends on the version of libtool. Shame on us
66043 # for depending on an impl detail, but c'est la vie. Older versions used
66044 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66045 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66046 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66047 # set (hence we're using an older libtool), then set it.
66048 if test x${with_gnu_ld+set} != xset; then
66049 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66050 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66051 with_gnu_ld=no
66052 else
66053 with_gnu_ld=$ac_cv_prog_gnu_ld
66057 # Start by getting the version number. I think the libtool test already
66058 # does some of this, but throws away the result.
66059 glibcxx_ld_is_gold=no
66060 if test x"$with_gnu_ld" = x"yes"; then
66061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66062 $as_echo_n "checking for ld version... " >&6; }
66064 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66065 glibcxx_ld_is_gold=yes
66067 ldver=`$LD --version 2>/dev/null |
66068 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'`
66070 glibcxx_gnu_ld_version=`echo $ldver | \
66071 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66073 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66076 # Set --gc-sections.
66077 glibcxx_have_gc_sections=no
66078 if test "$glibcxx_ld_is_gold" = "yes"; then
66079 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66080 glibcxx_have_gc_sections=yes
66082 else
66083 glibcxx_gcsections_min_ld=21602
66084 if test x"$with_gnu_ld" = x"yes" &&
66085 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66086 glibcxx_have_gc_sections=yes
66089 if test "$glibcxx_have_gc_sections" = "yes"; then
66090 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66091 # NB: This flag only works reliably after 2.16.1. Configure tests
66092 # for this are difficult, so hard wire a value that should work.
66094 ac_test_CFLAGS="${CFLAGS+set}"
66095 ac_save_CFLAGS="$CFLAGS"
66096 CFLAGS='-Wl,--gc-sections'
66098 # Check for -Wl,--gc-sections
66099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66100 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66101 if test x$gcc_no_link = xyes; then
66102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66105 /* end confdefs.h. */
66106 int one(void) { return 1; }
66107 int two(void) { return 2; }
66110 main ()
66112 two();
66114 return 0;
66116 _ACEOF
66117 if ac_fn_c_try_link "$LINENO"; then :
66118 ac_gcsections=yes
66119 else
66120 ac_gcsections=no
66122 rm -f core conftest.err conftest.$ac_objext \
66123 conftest$ac_exeext conftest.$ac_ext
66124 if test "$ac_gcsections" = "yes"; then
66125 rm -f conftest.c
66126 touch conftest.c
66127 if $CC -c conftest.c; then
66128 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66129 grep "Warning: gc-sections option ignored" > /dev/null; then
66130 ac_gcsections=no
66133 rm -f conftest.c conftest.o conftest
66135 if test "$ac_gcsections" = "yes"; then
66136 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66139 $as_echo "$ac_gcsections" >&6; }
66141 if test "$ac_test_CFLAGS" = set; then
66142 CFLAGS="$ac_save_CFLAGS"
66143 else
66144 # this is the suspicious part
66145 CFLAGS=''
66149 # Set -z,relro.
66150 # Note this is only for shared objects.
66151 ac_ld_relro=no
66152 if test x"$with_gnu_ld" = x"yes"; then
66153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66154 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66155 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66156 if test -n "$cxx_z_relo"; then
66157 OPT_LDFLAGS="-Wl,-z,relro"
66158 ac_ld_relro=yes
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66161 $as_echo "$ac_ld_relro" >&6; }
66164 # Set linker optimization flags.
66165 if test x"$with_gnu_ld" = x"yes"; then
66166 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66172 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66174 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66176 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66178 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66180 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66182 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66184 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66186 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66188 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66190 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66192 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66194 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66197 *-rtems*)
66199 # All these tests are for C++; save the language and the compiler flags.
66200 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66201 # found in GLIBCXX_CONFIGURE.
66203 ac_ext=cpp
66204 ac_cpp='$CXXCPP $CPPFLAGS'
66205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66209 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66210 ac_save_CXXFLAGS="$CXXFLAGS"
66212 # Check for maintainer-mode bits.
66213 if test x"$USE_MAINTAINER_MODE" = xno; then
66214 WERROR=''
66215 else
66216 WERROR='-Werror'
66219 # Check for -ffunction-sections -fdata-sections
66220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66221 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66222 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66224 /* end confdefs.h. */
66225 int foo; void bar() { };
66227 main ()
66231 return 0;
66233 _ACEOF
66234 if ac_fn_cxx_try_compile "$LINENO"; then :
66235 ac_fdsections=yes
66236 else
66237 ac_fdsections=no
66239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66240 if test "$ac_test_CXXFLAGS" = set; then
66241 CXXFLAGS="$ac_save_CXXFLAGS"
66242 else
66243 # this is the suspicious part
66244 CXXFLAGS=''
66246 if test x"$ac_fdsections" = x"yes"; then
66247 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66250 $as_echo "$ac_fdsections" >&6; }
66252 ac_ext=c
66253 ac_cpp='$CPP $CPPFLAGS'
66254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66262 # If we're not using GNU ld, then there's no point in even trying these
66263 # tests. Check for that first. We should have already tested for gld
66264 # by now (in libtool), but require it now just to be safe...
66265 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66266 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66270 # The name set by libtool depends on the version of libtool. Shame on us
66271 # for depending on an impl detail, but c'est la vie. Older versions used
66272 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66273 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66274 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66275 # set (hence we're using an older libtool), then set it.
66276 if test x${with_gnu_ld+set} != xset; then
66277 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66278 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66279 with_gnu_ld=no
66280 else
66281 with_gnu_ld=$ac_cv_prog_gnu_ld
66285 # Start by getting the version number. I think the libtool test already
66286 # does some of this, but throws away the result.
66287 glibcxx_ld_is_gold=no
66288 if test x"$with_gnu_ld" = x"yes"; then
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66290 $as_echo_n "checking for ld version... " >&6; }
66292 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66293 glibcxx_ld_is_gold=yes
66295 ldver=`$LD --version 2>/dev/null |
66296 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'`
66298 glibcxx_gnu_ld_version=`echo $ldver | \
66299 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66301 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66304 # Set --gc-sections.
66305 glibcxx_have_gc_sections=no
66306 if test "$glibcxx_ld_is_gold" = "yes"; then
66307 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66308 glibcxx_have_gc_sections=yes
66310 else
66311 glibcxx_gcsections_min_ld=21602
66312 if test x"$with_gnu_ld" = x"yes" &&
66313 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66314 glibcxx_have_gc_sections=yes
66317 if test "$glibcxx_have_gc_sections" = "yes"; then
66318 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66319 # NB: This flag only works reliably after 2.16.1. Configure tests
66320 # for this are difficult, so hard wire a value that should work.
66322 ac_test_CFLAGS="${CFLAGS+set}"
66323 ac_save_CFLAGS="$CFLAGS"
66324 CFLAGS='-Wl,--gc-sections'
66326 # Check for -Wl,--gc-sections
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66328 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66329 if test x$gcc_no_link = xyes; then
66330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66333 /* end confdefs.h. */
66334 int one(void) { return 1; }
66335 int two(void) { return 2; }
66338 main ()
66340 two();
66342 return 0;
66344 _ACEOF
66345 if ac_fn_c_try_link "$LINENO"; then :
66346 ac_gcsections=yes
66347 else
66348 ac_gcsections=no
66350 rm -f core conftest.err conftest.$ac_objext \
66351 conftest$ac_exeext conftest.$ac_ext
66352 if test "$ac_gcsections" = "yes"; then
66353 rm -f conftest.c
66354 touch conftest.c
66355 if $CC -c conftest.c; then
66356 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66357 grep "Warning: gc-sections option ignored" > /dev/null; then
66358 ac_gcsections=no
66361 rm -f conftest.c conftest.o conftest
66363 if test "$ac_gcsections" = "yes"; then
66364 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66367 $as_echo "$ac_gcsections" >&6; }
66369 if test "$ac_test_CFLAGS" = set; then
66370 CFLAGS="$ac_save_CFLAGS"
66371 else
66372 # this is the suspicious part
66373 CFLAGS=''
66377 # Set -z,relro.
66378 # Note this is only for shared objects.
66379 ac_ld_relro=no
66380 if test x"$with_gnu_ld" = x"yes"; then
66381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66382 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66383 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66384 if test -n "$cxx_z_relo"; then
66385 OPT_LDFLAGS="-Wl,-z,relro"
66386 ac_ld_relro=yes
66388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66389 $as_echo "$ac_ld_relro" >&6; }
66392 # Set linker optimization flags.
66393 if test x"$with_gnu_ld" = x"yes"; then
66394 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66401 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66402 ac_save_CXXFLAGS="$CXXFLAGS"
66403 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66406 $as_echo_n "checking for sin in -lm... " >&6; }
66407 if test "${ac_cv_lib_m_sin+set}" = set; then :
66408 $as_echo_n "(cached) " >&6
66409 else
66410 ac_check_lib_save_LIBS=$LIBS
66411 LIBS="-lm $LIBS"
66412 if test x$gcc_no_link = xyes; then
66413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66416 /* end confdefs.h. */
66418 /* Override any GCC internal prototype to avoid an error.
66419 Use char because int might match the return type of a GCC
66420 builtin and then its argument prototype would still apply. */
66421 #ifdef __cplusplus
66422 extern "C"
66423 #endif
66424 char sin ();
66426 main ()
66428 return sin ();
66430 return 0;
66432 _ACEOF
66433 if ac_fn_c_try_link "$LINENO"; then :
66434 ac_cv_lib_m_sin=yes
66435 else
66436 ac_cv_lib_m_sin=no
66438 rm -f core conftest.err conftest.$ac_objext \
66439 conftest$ac_exeext conftest.$ac_ext
66440 LIBS=$ac_check_lib_save_LIBS
66442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66443 $as_echo "$ac_cv_lib_m_sin" >&6; }
66444 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66445 libm="-lm"
66448 ac_save_LIBS="$LIBS"
66449 LIBS="$LIBS $libm"
66453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66454 $as_echo_n "checking for isinf declaration... " >&6; }
66455 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66456 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66457 $as_echo_n "(cached) " >&6
66458 else
66461 ac_ext=cpp
66462 ac_cpp='$CXXCPP $CPPFLAGS'
66463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66468 /* end confdefs.h. */
66469 #include <math.h>
66470 #ifdef HAVE_IEEEFP_H
66471 #include <ieeefp.h>
66472 #endif
66475 main ()
66477 isinf(0);
66479 return 0;
66481 _ACEOF
66482 if ac_fn_cxx_try_compile "$LINENO"; then :
66483 glibcxx_cv_func_isinf_use=yes
66484 else
66485 glibcxx_cv_func_isinf_use=no
66487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66488 ac_ext=c
66489 ac_cpp='$CPP $CPPFLAGS'
66490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66499 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66501 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66502 for ac_func in isinf
66503 do :
66504 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66505 if test "x$ac_cv_func_isinf" = x""yes; then :
66506 cat >>confdefs.h <<_ACEOF
66507 #define HAVE_ISINF 1
66508 _ACEOF
66511 done
66513 else
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66516 $as_echo_n "checking for _isinf declaration... " >&6; }
66517 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66518 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66519 $as_echo_n "(cached) " >&6
66520 else
66523 ac_ext=cpp
66524 ac_cpp='$CXXCPP $CPPFLAGS'
66525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66530 /* end confdefs.h. */
66531 #include <math.h>
66532 #ifdef HAVE_IEEEFP_H
66533 #include <ieeefp.h>
66534 #endif
66537 main ()
66539 _isinf(0);
66541 return 0;
66543 _ACEOF
66544 if ac_fn_cxx_try_compile "$LINENO"; then :
66545 glibcxx_cv_func__isinf_use=yes
66546 else
66547 glibcxx_cv_func__isinf_use=no
66549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66550 ac_ext=c
66551 ac_cpp='$CPP $CPPFLAGS'
66552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66561 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66563 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66564 for ac_func in _isinf
66565 do :
66566 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66567 if test "x$ac_cv_func__isinf" = x""yes; then :
66568 cat >>confdefs.h <<_ACEOF
66569 #define HAVE__ISINF 1
66570 _ACEOF
66573 done
66582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66583 $as_echo_n "checking for isnan declaration... " >&6; }
66584 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66585 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66586 $as_echo_n "(cached) " >&6
66587 else
66590 ac_ext=cpp
66591 ac_cpp='$CXXCPP $CPPFLAGS'
66592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66597 /* end confdefs.h. */
66598 #include <math.h>
66599 #ifdef HAVE_IEEEFP_H
66600 #include <ieeefp.h>
66601 #endif
66604 main ()
66606 isnan(0);
66608 return 0;
66610 _ACEOF
66611 if ac_fn_cxx_try_compile "$LINENO"; then :
66612 glibcxx_cv_func_isnan_use=yes
66613 else
66614 glibcxx_cv_func_isnan_use=no
66616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66617 ac_ext=c
66618 ac_cpp='$CPP $CPPFLAGS'
66619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66628 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66630 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66631 for ac_func in isnan
66632 do :
66633 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66634 if test "x$ac_cv_func_isnan" = x""yes; then :
66635 cat >>confdefs.h <<_ACEOF
66636 #define HAVE_ISNAN 1
66637 _ACEOF
66640 done
66642 else
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66645 $as_echo_n "checking for _isnan declaration... " >&6; }
66646 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66647 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66648 $as_echo_n "(cached) " >&6
66649 else
66652 ac_ext=cpp
66653 ac_cpp='$CXXCPP $CPPFLAGS'
66654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66659 /* end confdefs.h. */
66660 #include <math.h>
66661 #ifdef HAVE_IEEEFP_H
66662 #include <ieeefp.h>
66663 #endif
66666 main ()
66668 _isnan(0);
66670 return 0;
66672 _ACEOF
66673 if ac_fn_cxx_try_compile "$LINENO"; then :
66674 glibcxx_cv_func__isnan_use=yes
66675 else
66676 glibcxx_cv_func__isnan_use=no
66678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66679 ac_ext=c
66680 ac_cpp='$CPP $CPPFLAGS'
66681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66690 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66692 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66693 for ac_func in _isnan
66694 do :
66695 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66696 if test "x$ac_cv_func__isnan" = x""yes; then :
66697 cat >>confdefs.h <<_ACEOF
66698 #define HAVE__ISNAN 1
66699 _ACEOF
66702 done
66711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66712 $as_echo_n "checking for finite declaration... " >&6; }
66713 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66714 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66715 $as_echo_n "(cached) " >&6
66716 else
66719 ac_ext=cpp
66720 ac_cpp='$CXXCPP $CPPFLAGS'
66721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66726 /* end confdefs.h. */
66727 #include <math.h>
66728 #ifdef HAVE_IEEEFP_H
66729 #include <ieeefp.h>
66730 #endif
66733 main ()
66735 finite(0);
66737 return 0;
66739 _ACEOF
66740 if ac_fn_cxx_try_compile "$LINENO"; then :
66741 glibcxx_cv_func_finite_use=yes
66742 else
66743 glibcxx_cv_func_finite_use=no
66745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66746 ac_ext=c
66747 ac_cpp='$CPP $CPPFLAGS'
66748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66757 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66759 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66760 for ac_func in finite
66761 do :
66762 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66763 if test "x$ac_cv_func_finite" = x""yes; then :
66764 cat >>confdefs.h <<_ACEOF
66765 #define HAVE_FINITE 1
66766 _ACEOF
66769 done
66771 else
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66774 $as_echo_n "checking for _finite declaration... " >&6; }
66775 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66776 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66777 $as_echo_n "(cached) " >&6
66778 else
66781 ac_ext=cpp
66782 ac_cpp='$CXXCPP $CPPFLAGS'
66783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66788 /* end confdefs.h. */
66789 #include <math.h>
66790 #ifdef HAVE_IEEEFP_H
66791 #include <ieeefp.h>
66792 #endif
66795 main ()
66797 _finite(0);
66799 return 0;
66801 _ACEOF
66802 if ac_fn_cxx_try_compile "$LINENO"; then :
66803 glibcxx_cv_func__finite_use=yes
66804 else
66805 glibcxx_cv_func__finite_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__finite_use" >&5
66819 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66821 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66822 for ac_func in _finite
66823 do :
66824 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66825 if test "x$ac_cv_func__finite" = x""yes; then :
66826 cat >>confdefs.h <<_ACEOF
66827 #define HAVE__FINITE 1
66828 _ACEOF
66831 done
66840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66841 $as_echo_n "checking for sincos declaration... " >&6; }
66842 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66843 if test "${glibcxx_cv_func_sincos_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>
66858 main ()
66860 sincos(0, 0, 0);
66862 return 0;
66864 _ACEOF
66865 if ac_fn_cxx_try_compile "$LINENO"; then :
66866 glibcxx_cv_func_sincos_use=yes
66867 else
66868 glibcxx_cv_func_sincos_use=no
66870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66871 ac_ext=c
66872 ac_cpp='$CPP $CPPFLAGS'
66873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66882 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66884 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66885 for ac_func in sincos
66886 do :
66887 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66888 if test "x$ac_cv_func_sincos" = x""yes; then :
66889 cat >>confdefs.h <<_ACEOF
66890 #define HAVE_SINCOS 1
66891 _ACEOF
66894 done
66896 else
66898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66899 $as_echo_n "checking for _sincos declaration... " >&6; }
66900 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66901 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66902 $as_echo_n "(cached) " >&6
66903 else
66906 ac_ext=cpp
66907 ac_cpp='$CXXCPP $CPPFLAGS'
66908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66913 /* end confdefs.h. */
66914 #include <math.h>
66916 main ()
66918 _sincos(0, 0, 0);
66920 return 0;
66922 _ACEOF
66923 if ac_fn_cxx_try_compile "$LINENO"; then :
66924 glibcxx_cv_func__sincos_use=yes
66925 else
66926 glibcxx_cv_func__sincos_use=no
66928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66929 ac_ext=c
66930 ac_cpp='$CPP $CPPFLAGS'
66931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66940 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66942 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66943 for ac_func in _sincos
66944 do :
66945 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66946 if test "x$ac_cv_func__sincos" = x""yes; then :
66947 cat >>confdefs.h <<_ACEOF
66948 #define HAVE__SINCOS 1
66949 _ACEOF
66952 done
66961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66962 $as_echo_n "checking for fpclass declaration... " >&6; }
66963 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66964 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66965 $as_echo_n "(cached) " >&6
66966 else
66969 ac_ext=cpp
66970 ac_cpp='$CXXCPP $CPPFLAGS'
66971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66976 /* end confdefs.h. */
66977 #include <math.h>
66978 #ifdef HAVE_IEEEFP_H
66979 #include <ieeefp.h>
66980 #endif
66983 main ()
66985 fpclass(0);
66987 return 0;
66989 _ACEOF
66990 if ac_fn_cxx_try_compile "$LINENO"; then :
66991 glibcxx_cv_func_fpclass_use=yes
66992 else
66993 glibcxx_cv_func_fpclass_use=no
66995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66996 ac_ext=c
66997 ac_cpp='$CPP $CPPFLAGS'
66998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67007 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67009 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67010 for ac_func in fpclass
67011 do :
67012 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67013 if test "x$ac_cv_func_fpclass" = x""yes; then :
67014 cat >>confdefs.h <<_ACEOF
67015 #define HAVE_FPCLASS 1
67016 _ACEOF
67019 done
67021 else
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67024 $as_echo_n "checking for _fpclass declaration... " >&6; }
67025 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67026 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67027 $as_echo_n "(cached) " >&6
67028 else
67031 ac_ext=cpp
67032 ac_cpp='$CXXCPP $CPPFLAGS'
67033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67038 /* end confdefs.h. */
67039 #include <math.h>
67040 #ifdef HAVE_IEEEFP_H
67041 #include <ieeefp.h>
67042 #endif
67045 main ()
67047 _fpclass(0);
67049 return 0;
67051 _ACEOF
67052 if ac_fn_cxx_try_compile "$LINENO"; then :
67053 glibcxx_cv_func__fpclass_use=yes
67054 else
67055 glibcxx_cv_func__fpclass_use=no
67057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67058 ac_ext=c
67059 ac_cpp='$CPP $CPPFLAGS'
67060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67069 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67071 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67072 for ac_func in _fpclass
67073 do :
67074 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67075 if test "x$ac_cv_func__fpclass" = x""yes; then :
67076 cat >>confdefs.h <<_ACEOF
67077 #define HAVE__FPCLASS 1
67078 _ACEOF
67081 done
67090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67091 $as_echo_n "checking for qfpclass declaration... " >&6; }
67092 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67093 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67094 $as_echo_n "(cached) " >&6
67095 else
67098 ac_ext=cpp
67099 ac_cpp='$CXXCPP $CPPFLAGS'
67100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67105 /* end confdefs.h. */
67106 #include <math.h>
67107 #ifdef HAVE_IEEEFP_H
67108 #include <ieeefp.h>
67109 #endif
67112 main ()
67114 qfpclass(0);
67116 return 0;
67118 _ACEOF
67119 if ac_fn_cxx_try_compile "$LINENO"; then :
67120 glibcxx_cv_func_qfpclass_use=yes
67121 else
67122 glibcxx_cv_func_qfpclass_use=no
67124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67125 ac_ext=c
67126 ac_cpp='$CPP $CPPFLAGS'
67127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67136 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67138 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67139 for ac_func in qfpclass
67140 do :
67141 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67142 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67143 cat >>confdefs.h <<_ACEOF
67144 #define HAVE_QFPCLASS 1
67145 _ACEOF
67148 done
67150 else
67152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67153 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67154 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67155 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67156 $as_echo_n "(cached) " >&6
67157 else
67160 ac_ext=cpp
67161 ac_cpp='$CXXCPP $CPPFLAGS'
67162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67167 /* end confdefs.h. */
67168 #include <math.h>
67169 #ifdef HAVE_IEEEFP_H
67170 #include <ieeefp.h>
67171 #endif
67174 main ()
67176 _qfpclass(0);
67178 return 0;
67180 _ACEOF
67181 if ac_fn_cxx_try_compile "$LINENO"; then :
67182 glibcxx_cv_func__qfpclass_use=yes
67183 else
67184 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
67198 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67200 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67201 for ac_func in _qfpclass
67202 do :
67203 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67204 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67205 cat >>confdefs.h <<_ACEOF
67206 #define HAVE__QFPCLASS 1
67207 _ACEOF
67210 done
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67220 $as_echo_n "checking for hypot declaration... " >&6; }
67221 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67222 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67223 $as_echo_n "(cached) " >&6
67224 else
67227 ac_ext=cpp
67228 ac_cpp='$CXXCPP $CPPFLAGS'
67229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67234 /* end confdefs.h. */
67235 #include <math.h>
67237 main ()
67239 hypot(0, 0);
67241 return 0;
67243 _ACEOF
67244 if ac_fn_cxx_try_compile "$LINENO"; then :
67245 glibcxx_cv_func_hypot_use=yes
67246 else
67247 glibcxx_cv_func_hypot_use=no
67249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67250 ac_ext=c
67251 ac_cpp='$CPP $CPPFLAGS'
67252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67261 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67263 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67264 for ac_func in hypot
67265 do :
67266 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67267 if test "x$ac_cv_func_hypot" = x""yes; then :
67268 cat >>confdefs.h <<_ACEOF
67269 #define HAVE_HYPOT 1
67270 _ACEOF
67273 done
67275 else
67277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67278 $as_echo_n "checking for _hypot declaration... " >&6; }
67279 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67280 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67281 $as_echo_n "(cached) " >&6
67282 else
67285 ac_ext=cpp
67286 ac_cpp='$CXXCPP $CPPFLAGS'
67287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67292 /* end confdefs.h. */
67293 #include <math.h>
67295 main ()
67297 _hypot(0, 0);
67299 return 0;
67301 _ACEOF
67302 if ac_fn_cxx_try_compile "$LINENO"; then :
67303 glibcxx_cv_func__hypot_use=yes
67304 else
67305 glibcxx_cv_func__hypot_use=no
67307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67308 ac_ext=c
67309 ac_cpp='$CPP $CPPFLAGS'
67310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67319 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67321 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67322 for ac_func in _hypot
67323 do :
67324 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67325 if test "x$ac_cv_func__hypot" = x""yes; then :
67326 cat >>confdefs.h <<_ACEOF
67327 #define HAVE__HYPOT 1
67328 _ACEOF
67331 done
67340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67341 $as_echo_n "checking for float trig functions... " >&6; }
67342 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67343 $as_echo_n "(cached) " >&6
67344 else
67347 ac_ext=cpp
67348 ac_cpp='$CXXCPP $CPPFLAGS'
67349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67354 /* end confdefs.h. */
67355 #include <math.h>
67357 main ()
67359 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67361 return 0;
67363 _ACEOF
67364 if ac_fn_cxx_try_compile "$LINENO"; then :
67365 glibcxx_cv_func_float_trig_use=yes
67366 else
67367 glibcxx_cv_func_float_trig_use=no
67369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67370 ac_ext=c
67371 ac_cpp='$CPP $CPPFLAGS'
67372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67379 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67380 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67381 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67382 do :
67383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67385 eval as_val=\$$as_ac_var
67386 if test "x$as_val" = x""yes; then :
67387 cat >>confdefs.h <<_ACEOF
67388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67389 _ACEOF
67392 done
67394 else
67395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67396 $as_echo_n "checking for _float trig functions... " >&6; }
67397 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67398 $as_echo_n "(cached) " >&6
67399 else
67402 ac_ext=cpp
67403 ac_cpp='$CXXCPP $CPPFLAGS'
67404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67409 /* end confdefs.h. */
67410 #include <math.h>
67412 main ()
67414 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67416 return 0;
67418 _ACEOF
67419 if ac_fn_cxx_try_compile "$LINENO"; then :
67420 glibcxx_cv_func__float_trig_use=yes
67421 else
67422 glibcxx_cv_func__float_trig_use=no
67424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67425 ac_ext=c
67426 ac_cpp='$CPP $CPPFLAGS'
67427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67434 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67435 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67436 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67437 do :
67438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67440 eval as_val=\$$as_ac_var
67441 if test "x$as_val" = x""yes; then :
67442 cat >>confdefs.h <<_ACEOF
67443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67444 _ACEOF
67447 done
67456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67457 $as_echo_n "checking for float round functions... " >&6; }
67458 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67459 $as_echo_n "(cached) " >&6
67460 else
67463 ac_ext=cpp
67464 ac_cpp='$CXXCPP $CPPFLAGS'
67465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67470 /* end confdefs.h. */
67471 #include <math.h>
67473 main ()
67475 ceilf (0); floorf (0);
67477 return 0;
67479 _ACEOF
67480 if ac_fn_cxx_try_compile "$LINENO"; then :
67481 glibcxx_cv_func_float_round_use=yes
67482 else
67483 glibcxx_cv_func_float_round_use=no
67485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67486 ac_ext=c
67487 ac_cpp='$CPP $CPPFLAGS'
67488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67495 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67496 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67497 for ac_func in ceilf floorf
67498 do :
67499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67501 eval as_val=\$$as_ac_var
67502 if test "x$as_val" = x""yes; then :
67503 cat >>confdefs.h <<_ACEOF
67504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67505 _ACEOF
67508 done
67510 else
67511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67512 $as_echo_n "checking for _float round functions... " >&6; }
67513 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67514 $as_echo_n "(cached) " >&6
67515 else
67518 ac_ext=cpp
67519 ac_cpp='$CXXCPP $CPPFLAGS'
67520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67525 /* end confdefs.h. */
67526 #include <math.h>
67528 main ()
67530 _ceilf (0); _floorf (0);
67532 return 0;
67534 _ACEOF
67535 if ac_fn_cxx_try_compile "$LINENO"; then :
67536 glibcxx_cv_func__float_round_use=yes
67537 else
67538 glibcxx_cv_func__float_round_use=no
67540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67541 ac_ext=c
67542 ac_cpp='$CPP $CPPFLAGS'
67543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67550 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67551 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67552 for ac_func in _ceilf _floorf
67553 do :
67554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67556 eval as_val=\$$as_ac_var
67557 if test "x$as_val" = x""yes; then :
67558 cat >>confdefs.h <<_ACEOF
67559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67560 _ACEOF
67563 done
67573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67574 $as_echo_n "checking for expf declaration... " >&6; }
67575 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67576 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67577 $as_echo_n "(cached) " >&6
67578 else
67581 ac_ext=cpp
67582 ac_cpp='$CXXCPP $CPPFLAGS'
67583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67588 /* end confdefs.h. */
67589 #include <math.h>
67590 #ifdef HAVE_IEEEFP_H
67591 #include <ieeefp.h>
67592 #endif
67595 main ()
67597 expf(0);
67599 return 0;
67601 _ACEOF
67602 if ac_fn_cxx_try_compile "$LINENO"; then :
67603 glibcxx_cv_func_expf_use=yes
67604 else
67605 glibcxx_cv_func_expf_use=no
67607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67608 ac_ext=c
67609 ac_cpp='$CPP $CPPFLAGS'
67610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67619 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67621 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67622 for ac_func in expf
67623 do :
67624 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67625 if test "x$ac_cv_func_expf" = x""yes; then :
67626 cat >>confdefs.h <<_ACEOF
67627 #define HAVE_EXPF 1
67628 _ACEOF
67631 done
67633 else
67635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67636 $as_echo_n "checking for _expf declaration... " >&6; }
67637 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67638 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67639 $as_echo_n "(cached) " >&6
67640 else
67643 ac_ext=cpp
67644 ac_cpp='$CXXCPP $CPPFLAGS'
67645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67650 /* end confdefs.h. */
67651 #include <math.h>
67652 #ifdef HAVE_IEEEFP_H
67653 #include <ieeefp.h>
67654 #endif
67657 main ()
67659 _expf(0);
67661 return 0;
67663 _ACEOF
67664 if ac_fn_cxx_try_compile "$LINENO"; then :
67665 glibcxx_cv_func__expf_use=yes
67666 else
67667 glibcxx_cv_func__expf_use=no
67669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67670 ac_ext=c
67671 ac_cpp='$CPP $CPPFLAGS'
67672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67681 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67683 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67684 for ac_func in _expf
67685 do :
67686 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67687 if test "x$ac_cv_func__expf" = x""yes; then :
67688 cat >>confdefs.h <<_ACEOF
67689 #define HAVE__EXPF 1
67690 _ACEOF
67693 done
67702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67703 $as_echo_n "checking for isnanf declaration... " >&6; }
67704 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67705 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67706 $as_echo_n "(cached) " >&6
67707 else
67710 ac_ext=cpp
67711 ac_cpp='$CXXCPP $CPPFLAGS'
67712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67717 /* end confdefs.h. */
67718 #include <math.h>
67719 #ifdef HAVE_IEEEFP_H
67720 #include <ieeefp.h>
67721 #endif
67724 main ()
67726 isnanf(0);
67728 return 0;
67730 _ACEOF
67731 if ac_fn_cxx_try_compile "$LINENO"; then :
67732 glibcxx_cv_func_isnanf_use=yes
67733 else
67734 glibcxx_cv_func_isnanf_use=no
67736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67737 ac_ext=c
67738 ac_cpp='$CPP $CPPFLAGS'
67739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67748 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67750 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67751 for ac_func in isnanf
67752 do :
67753 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67754 if test "x$ac_cv_func_isnanf" = x""yes; then :
67755 cat >>confdefs.h <<_ACEOF
67756 #define HAVE_ISNANF 1
67757 _ACEOF
67760 done
67762 else
67764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67765 $as_echo_n "checking for _isnanf declaration... " >&6; }
67766 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67767 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67768 $as_echo_n "(cached) " >&6
67769 else
67772 ac_ext=cpp
67773 ac_cpp='$CXXCPP $CPPFLAGS'
67774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67779 /* end confdefs.h. */
67780 #include <math.h>
67781 #ifdef HAVE_IEEEFP_H
67782 #include <ieeefp.h>
67783 #endif
67786 main ()
67788 _isnanf(0);
67790 return 0;
67792 _ACEOF
67793 if ac_fn_cxx_try_compile "$LINENO"; then :
67794 glibcxx_cv_func__isnanf_use=yes
67795 else
67796 glibcxx_cv_func__isnanf_use=no
67798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67799 ac_ext=c
67800 ac_cpp='$CPP $CPPFLAGS'
67801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67810 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67812 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67813 for ac_func in _isnanf
67814 do :
67815 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67816 if test "x$ac_cv_func__isnanf" = x""yes; then :
67817 cat >>confdefs.h <<_ACEOF
67818 #define HAVE__ISNANF 1
67819 _ACEOF
67822 done
67831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67832 $as_echo_n "checking for isinff declaration... " >&6; }
67833 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67834 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67835 $as_echo_n "(cached) " >&6
67836 else
67839 ac_ext=cpp
67840 ac_cpp='$CXXCPP $CPPFLAGS'
67841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67846 /* end confdefs.h. */
67847 #include <math.h>
67848 #ifdef HAVE_IEEEFP_H
67849 #include <ieeefp.h>
67850 #endif
67853 main ()
67855 isinff(0);
67857 return 0;
67859 _ACEOF
67860 if ac_fn_cxx_try_compile "$LINENO"; then :
67861 glibcxx_cv_func_isinff_use=yes
67862 else
67863 glibcxx_cv_func_isinff_use=no
67865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67866 ac_ext=c
67867 ac_cpp='$CPP $CPPFLAGS'
67868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67877 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67879 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67880 for ac_func in isinff
67881 do :
67882 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67883 if test "x$ac_cv_func_isinff" = x""yes; then :
67884 cat >>confdefs.h <<_ACEOF
67885 #define HAVE_ISINFF 1
67886 _ACEOF
67889 done
67891 else
67893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67894 $as_echo_n "checking for _isinff declaration... " >&6; }
67895 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67896 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67897 $as_echo_n "(cached) " >&6
67898 else
67901 ac_ext=cpp
67902 ac_cpp='$CXXCPP $CPPFLAGS'
67903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67908 /* end confdefs.h. */
67909 #include <math.h>
67910 #ifdef HAVE_IEEEFP_H
67911 #include <ieeefp.h>
67912 #endif
67915 main ()
67917 _isinff(0);
67919 return 0;
67921 _ACEOF
67922 if ac_fn_cxx_try_compile "$LINENO"; then :
67923 glibcxx_cv_func__isinff_use=yes
67924 else
67925 glibcxx_cv_func__isinff_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__isinff_use" >&5
67939 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67941 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67942 for ac_func in _isinff
67943 do :
67944 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67945 if test "x$ac_cv_func__isinff" = x""yes; then :
67946 cat >>confdefs.h <<_ACEOF
67947 #define HAVE__ISINFF 1
67948 _ACEOF
67951 done
67960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67961 $as_echo_n "checking for atan2f declaration... " >&6; }
67962 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67963 if test "${glibcxx_cv_func_atan2f_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>
67978 main ()
67980 atan2f(0, 0);
67982 return 0;
67984 _ACEOF
67985 if ac_fn_cxx_try_compile "$LINENO"; then :
67986 glibcxx_cv_func_atan2f_use=yes
67987 else
67988 glibcxx_cv_func_atan2f_use=no
67990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67991 ac_ext=c
67992 ac_cpp='$CPP $CPPFLAGS'
67993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68002 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68004 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68005 for ac_func in atan2f
68006 do :
68007 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68008 if test "x$ac_cv_func_atan2f" = x""yes; then :
68009 cat >>confdefs.h <<_ACEOF
68010 #define HAVE_ATAN2F 1
68011 _ACEOF
68014 done
68016 else
68018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68019 $as_echo_n "checking for _atan2f declaration... " >&6; }
68020 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68021 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68022 $as_echo_n "(cached) " >&6
68023 else
68026 ac_ext=cpp
68027 ac_cpp='$CXXCPP $CPPFLAGS'
68028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68033 /* end confdefs.h. */
68034 #include <math.h>
68036 main ()
68038 _atan2f(0, 0);
68040 return 0;
68042 _ACEOF
68043 if ac_fn_cxx_try_compile "$LINENO"; then :
68044 glibcxx_cv_func__atan2f_use=yes
68045 else
68046 glibcxx_cv_func__atan2f_use=no
68048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68049 ac_ext=c
68050 ac_cpp='$CPP $CPPFLAGS'
68051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68060 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68062 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68063 for ac_func in _atan2f
68064 do :
68065 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68066 if test "x$ac_cv_func__atan2f" = x""yes; then :
68067 cat >>confdefs.h <<_ACEOF
68068 #define HAVE__ATAN2F 1
68069 _ACEOF
68072 done
68081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68082 $as_echo_n "checking for fabsf declaration... " >&6; }
68083 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68084 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68085 $as_echo_n "(cached) " >&6
68086 else
68089 ac_ext=cpp
68090 ac_cpp='$CXXCPP $CPPFLAGS'
68091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68096 /* end confdefs.h. */
68097 #include <math.h>
68098 #ifdef HAVE_IEEEFP_H
68099 #include <ieeefp.h>
68100 #endif
68103 main ()
68105 fabsf(0);
68107 return 0;
68109 _ACEOF
68110 if ac_fn_cxx_try_compile "$LINENO"; then :
68111 glibcxx_cv_func_fabsf_use=yes
68112 else
68113 glibcxx_cv_func_fabsf_use=no
68115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68116 ac_ext=c
68117 ac_cpp='$CPP $CPPFLAGS'
68118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68127 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68129 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68130 for ac_func in fabsf
68131 do :
68132 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68133 if test "x$ac_cv_func_fabsf" = x""yes; then :
68134 cat >>confdefs.h <<_ACEOF
68135 #define HAVE_FABSF 1
68136 _ACEOF
68139 done
68141 else
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68144 $as_echo_n "checking for _fabsf declaration... " >&6; }
68145 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68146 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68147 $as_echo_n "(cached) " >&6
68148 else
68151 ac_ext=cpp
68152 ac_cpp='$CXXCPP $CPPFLAGS'
68153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68158 /* end confdefs.h. */
68159 #include <math.h>
68160 #ifdef HAVE_IEEEFP_H
68161 #include <ieeefp.h>
68162 #endif
68165 main ()
68167 _fabsf(0);
68169 return 0;
68171 _ACEOF
68172 if ac_fn_cxx_try_compile "$LINENO"; then :
68173 glibcxx_cv_func__fabsf_use=yes
68174 else
68175 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
68189 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68191 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68192 for ac_func in _fabsf
68193 do :
68194 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68195 if test "x$ac_cv_func__fabsf" = x""yes; then :
68196 cat >>confdefs.h <<_ACEOF
68197 #define HAVE__FABSF 1
68198 _ACEOF
68201 done
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68211 $as_echo_n "checking for fmodf declaration... " >&6; }
68212 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68213 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
68232 return 0;
68234 _ACEOF
68235 if ac_fn_cxx_try_compile "$LINENO"; then :
68236 glibcxx_cv_func_fmodf_use=yes
68237 else
68238 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
68252 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68254 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68255 for ac_func in fmodf
68256 do :
68257 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68258 if test "x$ac_cv_func_fmodf" = x""yes; then :
68259 cat >>confdefs.h <<_ACEOF
68260 #define HAVE_FMODF 1
68261 _ACEOF
68264 done
68266 else
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68269 $as_echo_n "checking for _fmodf declaration... " >&6; }
68270 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68271 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
68290 return 0;
68292 _ACEOF
68293 if ac_fn_cxx_try_compile "$LINENO"; then :
68294 glibcxx_cv_func__fmodf_use=yes
68295 else
68296 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
68310 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68312 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68313 for ac_func in _fmodf
68314 do :
68315 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68316 if test "x$ac_cv_func__fmodf" = x""yes; then :
68317 cat >>confdefs.h <<_ACEOF
68318 #define HAVE__FMODF 1
68319 _ACEOF
68322 done
68331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68332 $as_echo_n "checking for frexpf declaration... " >&6; }
68333 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68334 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
68353 return 0;
68355 _ACEOF
68356 if ac_fn_cxx_try_compile "$LINENO"; then :
68357 glibcxx_cv_func_frexpf_use=yes
68358 else
68359 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
68373 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68375 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68376 for ac_func in frexpf
68377 do :
68378 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68379 if test "x$ac_cv_func_frexpf" = x""yes; then :
68380 cat >>confdefs.h <<_ACEOF
68381 #define HAVE_FREXPF 1
68382 _ACEOF
68385 done
68387 else
68389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68390 $as_echo_n "checking for _frexpf declaration... " >&6; }
68391 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68392 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
68411 return 0;
68413 _ACEOF
68414 if ac_fn_cxx_try_compile "$LINENO"; then :
68415 glibcxx_cv_func__frexpf_use=yes
68416 else
68417 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
68431 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68433 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68434 for ac_func in _frexpf
68435 do :
68436 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68437 if test "x$ac_cv_func__frexpf" = x""yes; then :
68438 cat >>confdefs.h <<_ACEOF
68439 #define HAVE__FREXPF 1
68440 _ACEOF
68443 done
68452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68453 $as_echo_n "checking for hypotf declaration... " >&6; }
68454 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68455 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
68474 return 0;
68476 _ACEOF
68477 if ac_fn_cxx_try_compile "$LINENO"; then :
68478 glibcxx_cv_func_hypotf_use=yes
68479 else
68480 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
68494 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68496 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68497 for ac_func in hypotf
68498 do :
68499 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68500 if test "x$ac_cv_func_hypotf" = x""yes; then :
68501 cat >>confdefs.h <<_ACEOF
68502 #define HAVE_HYPOTF 1
68503 _ACEOF
68506 done
68508 else
68510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68511 $as_echo_n "checking for _hypotf declaration... " >&6; }
68512 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68513 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
68532 return 0;
68534 _ACEOF
68535 if ac_fn_cxx_try_compile "$LINENO"; then :
68536 glibcxx_cv_func__hypotf_use=yes
68537 else
68538 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
68552 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68554 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68555 for ac_func in _hypotf
68556 do :
68557 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68558 if test "x$ac_cv_func__hypotf" = x""yes; then :
68559 cat >>confdefs.h <<_ACEOF
68560 #define HAVE__HYPOTF 1
68561 _ACEOF
68564 done
68573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68574 $as_echo_n "checking for ldexpf declaration... " >&6; }
68575 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68576 if test "${glibcxx_cv_func_ldexpf_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>
68591 main ()
68593 ldexpf(0, 0);
68595 return 0;
68597 _ACEOF
68598 if ac_fn_cxx_try_compile "$LINENO"; then :
68599 glibcxx_cv_func_ldexpf_use=yes
68600 else
68601 glibcxx_cv_func_ldexpf_use=no
68603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68604 ac_ext=c
68605 ac_cpp='$CPP $CPPFLAGS'
68606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68615 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68617 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68618 for ac_func in ldexpf
68619 do :
68620 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68621 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68622 cat >>confdefs.h <<_ACEOF
68623 #define HAVE_LDEXPF 1
68624 _ACEOF
68627 done
68629 else
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68632 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68633 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68634 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68635 $as_echo_n "(cached) " >&6
68636 else
68639 ac_ext=cpp
68640 ac_cpp='$CXXCPP $CPPFLAGS'
68641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68646 /* end confdefs.h. */
68647 #include <math.h>
68649 main ()
68651 _ldexpf(0, 0);
68653 return 0;
68655 _ACEOF
68656 if ac_fn_cxx_try_compile "$LINENO"; then :
68657 glibcxx_cv_func__ldexpf_use=yes
68658 else
68659 glibcxx_cv_func__ldexpf_use=no
68661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68662 ac_ext=c
68663 ac_cpp='$CPP $CPPFLAGS'
68664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68673 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68675 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68676 for ac_func in _ldexpf
68677 do :
68678 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68679 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68680 cat >>confdefs.h <<_ACEOF
68681 #define HAVE__LDEXPF 1
68682 _ACEOF
68685 done
68694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68695 $as_echo_n "checking for logf declaration... " >&6; }
68696 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68697 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68698 $as_echo_n "(cached) " >&6
68699 else
68702 ac_ext=cpp
68703 ac_cpp='$CXXCPP $CPPFLAGS'
68704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68709 /* end confdefs.h. */
68710 #include <math.h>
68711 #ifdef HAVE_IEEEFP_H
68712 #include <ieeefp.h>
68713 #endif
68716 main ()
68718 logf(0);
68720 return 0;
68722 _ACEOF
68723 if ac_fn_cxx_try_compile "$LINENO"; then :
68724 glibcxx_cv_func_logf_use=yes
68725 else
68726 glibcxx_cv_func_logf_use=no
68728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68729 ac_ext=c
68730 ac_cpp='$CPP $CPPFLAGS'
68731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68740 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68742 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68743 for ac_func in logf
68744 do :
68745 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68746 if test "x$ac_cv_func_logf" = x""yes; then :
68747 cat >>confdefs.h <<_ACEOF
68748 #define HAVE_LOGF 1
68749 _ACEOF
68752 done
68754 else
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68757 $as_echo_n "checking for _logf declaration... " >&6; }
68758 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68759 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68760 $as_echo_n "(cached) " >&6
68761 else
68764 ac_ext=cpp
68765 ac_cpp='$CXXCPP $CPPFLAGS'
68766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68771 /* end confdefs.h. */
68772 #include <math.h>
68773 #ifdef HAVE_IEEEFP_H
68774 #include <ieeefp.h>
68775 #endif
68778 main ()
68780 _logf(0);
68782 return 0;
68784 _ACEOF
68785 if ac_fn_cxx_try_compile "$LINENO"; then :
68786 glibcxx_cv_func__logf_use=yes
68787 else
68788 glibcxx_cv_func__logf_use=no
68790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68791 ac_ext=c
68792 ac_cpp='$CPP $CPPFLAGS'
68793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68802 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68804 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68805 for ac_func in _logf
68806 do :
68807 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68808 if test "x$ac_cv_func__logf" = x""yes; then :
68809 cat >>confdefs.h <<_ACEOF
68810 #define HAVE__LOGF 1
68811 _ACEOF
68814 done
68823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68824 $as_echo_n "checking for log10f declaration... " >&6; }
68825 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68826 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68827 $as_echo_n "(cached) " >&6
68828 else
68831 ac_ext=cpp
68832 ac_cpp='$CXXCPP $CPPFLAGS'
68833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68838 /* end confdefs.h. */
68839 #include <math.h>
68840 #ifdef HAVE_IEEEFP_H
68841 #include <ieeefp.h>
68842 #endif
68845 main ()
68847 log10f(0);
68849 return 0;
68851 _ACEOF
68852 if ac_fn_cxx_try_compile "$LINENO"; then :
68853 glibcxx_cv_func_log10f_use=yes
68854 else
68855 glibcxx_cv_func_log10f_use=no
68857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68858 ac_ext=c
68859 ac_cpp='$CPP $CPPFLAGS'
68860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68869 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68871 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68872 for ac_func in log10f
68873 do :
68874 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68875 if test "x$ac_cv_func_log10f" = x""yes; then :
68876 cat >>confdefs.h <<_ACEOF
68877 #define HAVE_LOG10F 1
68878 _ACEOF
68881 done
68883 else
68885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68886 $as_echo_n "checking for _log10f declaration... " >&6; }
68887 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68888 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68889 $as_echo_n "(cached) " >&6
68890 else
68893 ac_ext=cpp
68894 ac_cpp='$CXXCPP $CPPFLAGS'
68895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68900 /* end confdefs.h. */
68901 #include <math.h>
68902 #ifdef HAVE_IEEEFP_H
68903 #include <ieeefp.h>
68904 #endif
68907 main ()
68909 _log10f(0);
68911 return 0;
68913 _ACEOF
68914 if ac_fn_cxx_try_compile "$LINENO"; then :
68915 glibcxx_cv_func__log10f_use=yes
68916 else
68917 glibcxx_cv_func__log10f_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__log10f_use" >&5
68931 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68933 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68934 for ac_func in _log10f
68935 do :
68936 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68937 if test "x$ac_cv_func__log10f" = x""yes; then :
68938 cat >>confdefs.h <<_ACEOF
68939 #define HAVE__LOG10F 1
68940 _ACEOF
68943 done
68952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68953 $as_echo_n "checking for modff declaration... " >&6; }
68954 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68955 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
68974 return 0;
68976 _ACEOF
68977 if ac_fn_cxx_try_compile "$LINENO"; then :
68978 glibcxx_cv_func_modff_use=yes
68979 else
68980 glibcxx_cv_func_modff_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_modff_use" >&5
68994 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68996 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68997 for ac_func in modff
68998 do :
68999 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69000 if test "x$ac_cv_func_modff" = x""yes; then :
69001 cat >>confdefs.h <<_ACEOF
69002 #define HAVE_MODFF 1
69003 _ACEOF
69006 done
69008 else
69010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69011 $as_echo_n "checking for _modff declaration... " >&6; }
69012 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69013 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
69032 return 0;
69034 _ACEOF
69035 if ac_fn_cxx_try_compile "$LINENO"; then :
69036 glibcxx_cv_func__modff_use=yes
69037 else
69038 glibcxx_cv_func__modff_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__modff_use" >&5
69052 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69054 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69055 for ac_func in _modff
69056 do :
69057 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69058 if test "x$ac_cv_func__modff" = x""yes; then :
69059 cat >>confdefs.h <<_ACEOF
69060 #define HAVE__MODFF 1
69061 _ACEOF
69064 done
69073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69074 $as_echo_n "checking for modf declaration... " >&6; }
69075 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69076 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
69095 return 0;
69097 _ACEOF
69098 if ac_fn_cxx_try_compile "$LINENO"; then :
69099 glibcxx_cv_func_modf_use=yes
69100 else
69101 glibcxx_cv_func_modf_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_modf_use" >&5
69115 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69117 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69118 for ac_func in modf
69119 do :
69120 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69121 if test "x$ac_cv_func_modf" = x""yes; then :
69122 cat >>confdefs.h <<_ACEOF
69123 #define HAVE_MODF 1
69124 _ACEOF
69127 done
69129 else
69131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69132 $as_echo_n "checking for _modf declaration... " >&6; }
69133 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69134 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
69153 return 0;
69155 _ACEOF
69156 if ac_fn_cxx_try_compile "$LINENO"; then :
69157 glibcxx_cv_func__modf_use=yes
69158 else
69159 glibcxx_cv_func__modf_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__modf_use" >&5
69173 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69175 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69176 for ac_func in _modf
69177 do :
69178 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69179 if test "x$ac_cv_func__modf" = x""yes; then :
69180 cat >>confdefs.h <<_ACEOF
69181 #define HAVE__MODF 1
69182 _ACEOF
69185 done
69194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69195 $as_echo_n "checking for powf declaration... " >&6; }
69196 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69197 if test "${glibcxx_cv_func_powf_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>
69212 main ()
69214 powf(0, 0);
69216 return 0;
69218 _ACEOF
69219 if ac_fn_cxx_try_compile "$LINENO"; then :
69220 glibcxx_cv_func_powf_use=yes
69221 else
69222 glibcxx_cv_func_powf_use=no
69224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69225 ac_ext=c
69226 ac_cpp='$CPP $CPPFLAGS'
69227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69236 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69238 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69239 for ac_func in powf
69240 do :
69241 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69242 if test "x$ac_cv_func_powf" = x""yes; then :
69243 cat >>confdefs.h <<_ACEOF
69244 #define HAVE_POWF 1
69245 _ACEOF
69248 done
69250 else
69252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69253 $as_echo_n "checking for _powf declaration... " >&6; }
69254 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69255 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69256 $as_echo_n "(cached) " >&6
69257 else
69260 ac_ext=cpp
69261 ac_cpp='$CXXCPP $CPPFLAGS'
69262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69267 /* end confdefs.h. */
69268 #include <math.h>
69270 main ()
69272 _powf(0, 0);
69274 return 0;
69276 _ACEOF
69277 if ac_fn_cxx_try_compile "$LINENO"; then :
69278 glibcxx_cv_func__powf_use=yes
69279 else
69280 glibcxx_cv_func__powf_use=no
69282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69283 ac_ext=c
69284 ac_cpp='$CPP $CPPFLAGS'
69285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69294 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69296 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69297 for ac_func in _powf
69298 do :
69299 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69300 if test "x$ac_cv_func__powf" = x""yes; then :
69301 cat >>confdefs.h <<_ACEOF
69302 #define HAVE__POWF 1
69303 _ACEOF
69306 done
69315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69316 $as_echo_n "checking for sqrtf declaration... " >&6; }
69317 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69318 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69319 $as_echo_n "(cached) " >&6
69320 else
69323 ac_ext=cpp
69324 ac_cpp='$CXXCPP $CPPFLAGS'
69325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69330 /* end confdefs.h. */
69331 #include <math.h>
69332 #ifdef HAVE_IEEEFP_H
69333 #include <ieeefp.h>
69334 #endif
69337 main ()
69339 sqrtf(0);
69341 return 0;
69343 _ACEOF
69344 if ac_fn_cxx_try_compile "$LINENO"; then :
69345 glibcxx_cv_func_sqrtf_use=yes
69346 else
69347 glibcxx_cv_func_sqrtf_use=no
69349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69350 ac_ext=c
69351 ac_cpp='$CPP $CPPFLAGS'
69352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69361 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69363 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69364 for ac_func in sqrtf
69365 do :
69366 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69367 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69368 cat >>confdefs.h <<_ACEOF
69369 #define HAVE_SQRTF 1
69370 _ACEOF
69373 done
69375 else
69377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69378 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69379 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69380 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69381 $as_echo_n "(cached) " >&6
69382 else
69385 ac_ext=cpp
69386 ac_cpp='$CXXCPP $CPPFLAGS'
69387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69392 /* end confdefs.h. */
69393 #include <math.h>
69394 #ifdef HAVE_IEEEFP_H
69395 #include <ieeefp.h>
69396 #endif
69399 main ()
69401 _sqrtf(0);
69403 return 0;
69405 _ACEOF
69406 if ac_fn_cxx_try_compile "$LINENO"; then :
69407 glibcxx_cv_func__sqrtf_use=yes
69408 else
69409 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
69423 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69425 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69426 for ac_func in _sqrtf
69427 do :
69428 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69429 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69430 cat >>confdefs.h <<_ACEOF
69431 #define HAVE__SQRTF 1
69432 _ACEOF
69435 done
69444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69445 $as_echo_n "checking for sincosf declaration... " >&6; }
69446 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69447 if test "${glibcxx_cv_func_sincosf_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>
69462 main ()
69464 sincosf(0, 0, 0);
69466 return 0;
69468 _ACEOF
69469 if ac_fn_cxx_try_compile "$LINENO"; then :
69470 glibcxx_cv_func_sincosf_use=yes
69471 else
69472 glibcxx_cv_func_sincosf_use=no
69474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69475 ac_ext=c
69476 ac_cpp='$CPP $CPPFLAGS'
69477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69486 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69488 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69489 for ac_func in sincosf
69490 do :
69491 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69492 if test "x$ac_cv_func_sincosf" = x""yes; then :
69493 cat >>confdefs.h <<_ACEOF
69494 #define HAVE_SINCOSF 1
69495 _ACEOF
69498 done
69500 else
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69503 $as_echo_n "checking for _sincosf declaration... " >&6; }
69504 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69505 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69506 $as_echo_n "(cached) " >&6
69507 else
69510 ac_ext=cpp
69511 ac_cpp='$CXXCPP $CPPFLAGS'
69512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69517 /* end confdefs.h. */
69518 #include <math.h>
69520 main ()
69522 _sincosf(0, 0, 0);
69524 return 0;
69526 _ACEOF
69527 if ac_fn_cxx_try_compile "$LINENO"; then :
69528 glibcxx_cv_func__sincosf_use=yes
69529 else
69530 glibcxx_cv_func__sincosf_use=no
69532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69533 ac_ext=c
69534 ac_cpp='$CPP $CPPFLAGS'
69535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69544 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69546 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69547 for ac_func in _sincosf
69548 do :
69549 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69550 if test "x$ac_cv_func__sincosf" = x""yes; then :
69551 cat >>confdefs.h <<_ACEOF
69552 #define HAVE__SINCOSF 1
69553 _ACEOF
69556 done
69565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69566 $as_echo_n "checking for finitef declaration... " >&6; }
69567 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69568 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69569 $as_echo_n "(cached) " >&6
69570 else
69573 ac_ext=cpp
69574 ac_cpp='$CXXCPP $CPPFLAGS'
69575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69580 /* end confdefs.h. */
69581 #include <math.h>
69582 #ifdef HAVE_IEEEFP_H
69583 #include <ieeefp.h>
69584 #endif
69587 main ()
69589 finitef(0);
69591 return 0;
69593 _ACEOF
69594 if ac_fn_cxx_try_compile "$LINENO"; then :
69595 glibcxx_cv_func_finitef_use=yes
69596 else
69597 glibcxx_cv_func_finitef_use=no
69599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69600 ac_ext=c
69601 ac_cpp='$CPP $CPPFLAGS'
69602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69611 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69613 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69614 for ac_func in finitef
69615 do :
69616 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69617 if test "x$ac_cv_func_finitef" = x""yes; then :
69618 cat >>confdefs.h <<_ACEOF
69619 #define HAVE_FINITEF 1
69620 _ACEOF
69623 done
69625 else
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69628 $as_echo_n "checking for _finitef declaration... " >&6; }
69629 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69630 if test "${glibcxx_cv_func__finitef_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>
69644 #ifdef HAVE_IEEEFP_H
69645 #include <ieeefp.h>
69646 #endif
69649 main ()
69651 _finitef(0);
69653 return 0;
69655 _ACEOF
69656 if ac_fn_cxx_try_compile "$LINENO"; then :
69657 glibcxx_cv_func__finitef_use=yes
69658 else
69659 glibcxx_cv_func__finitef_use=no
69661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69662 ac_ext=c
69663 ac_cpp='$CPP $CPPFLAGS'
69664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69673 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69675 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69676 for ac_func in _finitef
69677 do :
69678 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69679 if test "x$ac_cv_func__finitef" = x""yes; then :
69680 cat >>confdefs.h <<_ACEOF
69681 #define HAVE__FINITEF 1
69682 _ACEOF
69685 done
69694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69695 $as_echo_n "checking for long double trig functions... " >&6; }
69696 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69697 $as_echo_n "(cached) " >&6
69698 else
69701 ac_ext=cpp
69702 ac_cpp='$CXXCPP $CPPFLAGS'
69703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69708 /* end confdefs.h. */
69709 #include <math.h>
69711 main ()
69713 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69715 return 0;
69717 _ACEOF
69718 if ac_fn_cxx_try_compile "$LINENO"; then :
69719 glibcxx_cv_func_long_double_trig_use=yes
69720 else
69721 glibcxx_cv_func_long_double_trig_use=no
69723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69724 ac_ext=c
69725 ac_cpp='$CPP $CPPFLAGS'
69726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69733 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69734 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69735 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69736 do :
69737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69739 eval as_val=\$$as_ac_var
69740 if test "x$as_val" = x""yes; then :
69741 cat >>confdefs.h <<_ACEOF
69742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69743 _ACEOF
69746 done
69748 else
69749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69750 $as_echo_n "checking for _long double trig functions... " >&6; }
69751 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69752 $as_echo_n "(cached) " >&6
69753 else
69756 ac_ext=cpp
69757 ac_cpp='$CXXCPP $CPPFLAGS'
69758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69763 /* end confdefs.h. */
69764 #include <math.h>
69766 main ()
69768 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69770 return 0;
69772 _ACEOF
69773 if ac_fn_cxx_try_compile "$LINENO"; then :
69774 glibcxx_cv_func__long_double_trig_use=yes
69775 else
69776 glibcxx_cv_func__long_double_trig_use=no
69778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69779 ac_ext=c
69780 ac_cpp='$CPP $CPPFLAGS'
69781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69788 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69789 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69790 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69791 do :
69792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69794 eval as_val=\$$as_ac_var
69795 if test "x$as_val" = x""yes; then :
69796 cat >>confdefs.h <<_ACEOF
69797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69798 _ACEOF
69801 done
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69811 $as_echo_n "checking for long double round functions... " >&6; }
69812 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69813 $as_echo_n "(cached) " >&6
69814 else
69817 ac_ext=cpp
69818 ac_cpp='$CXXCPP $CPPFLAGS'
69819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69824 /* end confdefs.h. */
69825 #include <math.h>
69827 main ()
69829 ceill (0); floorl (0);
69831 return 0;
69833 _ACEOF
69834 if ac_fn_cxx_try_compile "$LINENO"; then :
69835 glibcxx_cv_func_long_double_round_use=yes
69836 else
69837 glibcxx_cv_func_long_double_round_use=no
69839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69840 ac_ext=c
69841 ac_cpp='$CPP $CPPFLAGS'
69842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69849 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69850 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69851 for ac_func in ceill floorl
69852 do :
69853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69855 eval as_val=\$$as_ac_var
69856 if test "x$as_val" = x""yes; then :
69857 cat >>confdefs.h <<_ACEOF
69858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69859 _ACEOF
69862 done
69864 else
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69866 $as_echo_n "checking for _long double round functions... " >&6; }
69867 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69868 $as_echo_n "(cached) " >&6
69869 else
69872 ac_ext=cpp
69873 ac_cpp='$CXXCPP $CPPFLAGS'
69874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69879 /* end confdefs.h. */
69880 #include <math.h>
69882 main ()
69884 _ceill (0); _floorl (0);
69886 return 0;
69888 _ACEOF
69889 if ac_fn_cxx_try_compile "$LINENO"; then :
69890 glibcxx_cv_func__long_double_round_use=yes
69891 else
69892 glibcxx_cv_func__long_double_round_use=no
69894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69895 ac_ext=c
69896 ac_cpp='$CPP $CPPFLAGS'
69897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69904 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69905 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69906 for ac_func in _ceill _floorl
69907 do :
69908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69910 eval as_val=\$$as_ac_var
69911 if test "x$as_val" = x""yes; then :
69912 cat >>confdefs.h <<_ACEOF
69913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69914 _ACEOF
69917 done
69927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69928 $as_echo_n "checking for isnanl declaration... " >&6; }
69929 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69930 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69931 $as_echo_n "(cached) " >&6
69932 else
69935 ac_ext=cpp
69936 ac_cpp='$CXXCPP $CPPFLAGS'
69937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69942 /* end confdefs.h. */
69943 #include <math.h>
69944 #ifdef HAVE_IEEEFP_H
69945 #include <ieeefp.h>
69946 #endif
69949 main ()
69951 isnanl(0);
69953 return 0;
69955 _ACEOF
69956 if ac_fn_cxx_try_compile "$LINENO"; then :
69957 glibcxx_cv_func_isnanl_use=yes
69958 else
69959 glibcxx_cv_func_isnanl_use=no
69961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69962 ac_ext=c
69963 ac_cpp='$CPP $CPPFLAGS'
69964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69973 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69975 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69976 for ac_func in isnanl
69977 do :
69978 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69979 if test "x$ac_cv_func_isnanl" = x""yes; then :
69980 cat >>confdefs.h <<_ACEOF
69981 #define HAVE_ISNANL 1
69982 _ACEOF
69985 done
69987 else
69989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69990 $as_echo_n "checking for _isnanl declaration... " >&6; }
69991 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69992 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69993 $as_echo_n "(cached) " >&6
69994 else
69997 ac_ext=cpp
69998 ac_cpp='$CXXCPP $CPPFLAGS'
69999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70004 /* end confdefs.h. */
70005 #include <math.h>
70006 #ifdef HAVE_IEEEFP_H
70007 #include <ieeefp.h>
70008 #endif
70011 main ()
70013 _isnanl(0);
70015 return 0;
70017 _ACEOF
70018 if ac_fn_cxx_try_compile "$LINENO"; then :
70019 glibcxx_cv_func__isnanl_use=yes
70020 else
70021 glibcxx_cv_func__isnanl_use=no
70023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70024 ac_ext=c
70025 ac_cpp='$CPP $CPPFLAGS'
70026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70035 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70037 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70038 for ac_func in _isnanl
70039 do :
70040 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70041 if test "x$ac_cv_func__isnanl" = x""yes; then :
70042 cat >>confdefs.h <<_ACEOF
70043 #define HAVE__ISNANL 1
70044 _ACEOF
70047 done
70056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70057 $as_echo_n "checking for isinfl declaration... " >&6; }
70058 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70059 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70060 $as_echo_n "(cached) " >&6
70061 else
70064 ac_ext=cpp
70065 ac_cpp='$CXXCPP $CPPFLAGS'
70066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70071 /* end confdefs.h. */
70072 #include <math.h>
70073 #ifdef HAVE_IEEEFP_H
70074 #include <ieeefp.h>
70075 #endif
70078 main ()
70080 isinfl(0);
70082 return 0;
70084 _ACEOF
70085 if ac_fn_cxx_try_compile "$LINENO"; then :
70086 glibcxx_cv_func_isinfl_use=yes
70087 else
70088 glibcxx_cv_func_isinfl_use=no
70090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70091 ac_ext=c
70092 ac_cpp='$CPP $CPPFLAGS'
70093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70102 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70104 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70105 for ac_func in isinfl
70106 do :
70107 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70108 if test "x$ac_cv_func_isinfl" = x""yes; then :
70109 cat >>confdefs.h <<_ACEOF
70110 #define HAVE_ISINFL 1
70111 _ACEOF
70114 done
70116 else
70118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70119 $as_echo_n "checking for _isinfl declaration... " >&6; }
70120 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70121 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70122 $as_echo_n "(cached) " >&6
70123 else
70126 ac_ext=cpp
70127 ac_cpp='$CXXCPP $CPPFLAGS'
70128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70133 /* end confdefs.h. */
70134 #include <math.h>
70135 #ifdef HAVE_IEEEFP_H
70136 #include <ieeefp.h>
70137 #endif
70140 main ()
70142 _isinfl(0);
70144 return 0;
70146 _ACEOF
70147 if ac_fn_cxx_try_compile "$LINENO"; then :
70148 glibcxx_cv_func__isinfl_use=yes
70149 else
70150 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
70164 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70166 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70167 for ac_func in _isinfl
70168 do :
70169 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70170 if test "x$ac_cv_func__isinfl" = x""yes; then :
70171 cat >>confdefs.h <<_ACEOF
70172 #define HAVE__ISINFL 1
70173 _ACEOF
70176 done
70185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70186 $as_echo_n "checking for atan2l declaration... " >&6; }
70187 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70188 if test "${glibcxx_cv_func_atan2l_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>
70203 main ()
70205 atan2l(0, 0);
70207 return 0;
70209 _ACEOF
70210 if ac_fn_cxx_try_compile "$LINENO"; then :
70211 glibcxx_cv_func_atan2l_use=yes
70212 else
70213 glibcxx_cv_func_atan2l_use=no
70215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70216 ac_ext=c
70217 ac_cpp='$CPP $CPPFLAGS'
70218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70227 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70229 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70230 for ac_func in atan2l
70231 do :
70232 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70233 if test "x$ac_cv_func_atan2l" = x""yes; then :
70234 cat >>confdefs.h <<_ACEOF
70235 #define HAVE_ATAN2L 1
70236 _ACEOF
70239 done
70241 else
70243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70244 $as_echo_n "checking for _atan2l declaration... " >&6; }
70245 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70246 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70247 $as_echo_n "(cached) " >&6
70248 else
70251 ac_ext=cpp
70252 ac_cpp='$CXXCPP $CPPFLAGS'
70253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70258 /* end confdefs.h. */
70259 #include <math.h>
70261 main ()
70263 _atan2l(0, 0);
70265 return 0;
70267 _ACEOF
70268 if ac_fn_cxx_try_compile "$LINENO"; then :
70269 glibcxx_cv_func__atan2l_use=yes
70270 else
70271 glibcxx_cv_func__atan2l_use=no
70273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70274 ac_ext=c
70275 ac_cpp='$CPP $CPPFLAGS'
70276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70285 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70287 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70288 for ac_func in _atan2l
70289 do :
70290 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70291 if test "x$ac_cv_func__atan2l" = x""yes; then :
70292 cat >>confdefs.h <<_ACEOF
70293 #define HAVE__ATAN2L 1
70294 _ACEOF
70297 done
70306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70307 $as_echo_n "checking for expl declaration... " >&6; }
70308 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70309 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70310 $as_echo_n "(cached) " >&6
70311 else
70314 ac_ext=cpp
70315 ac_cpp='$CXXCPP $CPPFLAGS'
70316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70321 /* end confdefs.h. */
70322 #include <math.h>
70323 #ifdef HAVE_IEEEFP_H
70324 #include <ieeefp.h>
70325 #endif
70328 main ()
70330 expl(0);
70332 return 0;
70334 _ACEOF
70335 if ac_fn_cxx_try_compile "$LINENO"; then :
70336 glibcxx_cv_func_expl_use=yes
70337 else
70338 glibcxx_cv_func_expl_use=no
70340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70341 ac_ext=c
70342 ac_cpp='$CPP $CPPFLAGS'
70343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70352 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70354 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70355 for ac_func in expl
70356 do :
70357 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70358 if test "x$ac_cv_func_expl" = x""yes; then :
70359 cat >>confdefs.h <<_ACEOF
70360 #define HAVE_EXPL 1
70361 _ACEOF
70364 done
70366 else
70368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70369 $as_echo_n "checking for _expl declaration... " >&6; }
70370 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70371 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70372 $as_echo_n "(cached) " >&6
70373 else
70376 ac_ext=cpp
70377 ac_cpp='$CXXCPP $CPPFLAGS'
70378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70383 /* end confdefs.h. */
70384 #include <math.h>
70385 #ifdef HAVE_IEEEFP_H
70386 #include <ieeefp.h>
70387 #endif
70390 main ()
70392 _expl(0);
70394 return 0;
70396 _ACEOF
70397 if ac_fn_cxx_try_compile "$LINENO"; then :
70398 glibcxx_cv_func__expl_use=yes
70399 else
70400 glibcxx_cv_func__expl_use=no
70402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70403 ac_ext=c
70404 ac_cpp='$CPP $CPPFLAGS'
70405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70414 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70416 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70417 for ac_func in _expl
70418 do :
70419 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70420 if test "x$ac_cv_func__expl" = x""yes; then :
70421 cat >>confdefs.h <<_ACEOF
70422 #define HAVE__EXPL 1
70423 _ACEOF
70426 done
70435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70436 $as_echo_n "checking for fabsl declaration... " >&6; }
70437 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70438 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70439 $as_echo_n "(cached) " >&6
70440 else
70443 ac_ext=cpp
70444 ac_cpp='$CXXCPP $CPPFLAGS'
70445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70450 /* end confdefs.h. */
70451 #include <math.h>
70452 #ifdef HAVE_IEEEFP_H
70453 #include <ieeefp.h>
70454 #endif
70457 main ()
70459 fabsl(0);
70461 return 0;
70463 _ACEOF
70464 if ac_fn_cxx_try_compile "$LINENO"; then :
70465 glibcxx_cv_func_fabsl_use=yes
70466 else
70467 glibcxx_cv_func_fabsl_use=no
70469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70470 ac_ext=c
70471 ac_cpp='$CPP $CPPFLAGS'
70472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70481 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70483 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70484 for ac_func in fabsl
70485 do :
70486 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70487 if test "x$ac_cv_func_fabsl" = x""yes; then :
70488 cat >>confdefs.h <<_ACEOF
70489 #define HAVE_FABSL 1
70490 _ACEOF
70493 done
70495 else
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70498 $as_echo_n "checking for _fabsl declaration... " >&6; }
70499 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70500 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70501 $as_echo_n "(cached) " >&6
70502 else
70505 ac_ext=cpp
70506 ac_cpp='$CXXCPP $CPPFLAGS'
70507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70512 /* end confdefs.h. */
70513 #include <math.h>
70514 #ifdef HAVE_IEEEFP_H
70515 #include <ieeefp.h>
70516 #endif
70519 main ()
70521 _fabsl(0);
70523 return 0;
70525 _ACEOF
70526 if ac_fn_cxx_try_compile "$LINENO"; then :
70527 glibcxx_cv_func__fabsl_use=yes
70528 else
70529 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
70543 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70545 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70546 for ac_func in _fabsl
70547 do :
70548 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70549 if test "x$ac_cv_func__fabsl" = x""yes; then :
70550 cat >>confdefs.h <<_ACEOF
70551 #define HAVE__FABSL 1
70552 _ACEOF
70555 done
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70565 $as_echo_n "checking for fmodl declaration... " >&6; }
70566 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70567 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
70586 return 0;
70588 _ACEOF
70589 if ac_fn_cxx_try_compile "$LINENO"; then :
70590 glibcxx_cv_func_fmodl_use=yes
70591 else
70592 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
70606 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70608 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70609 for ac_func in fmodl
70610 do :
70611 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70612 if test "x$ac_cv_func_fmodl" = x""yes; then :
70613 cat >>confdefs.h <<_ACEOF
70614 #define HAVE_FMODL 1
70615 _ACEOF
70618 done
70620 else
70622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70623 $as_echo_n "checking for _fmodl declaration... " >&6; }
70624 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70625 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
70644 return 0;
70646 _ACEOF
70647 if ac_fn_cxx_try_compile "$LINENO"; then :
70648 glibcxx_cv_func__fmodl_use=yes
70649 else
70650 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
70664 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70666 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70667 for ac_func in _fmodl
70668 do :
70669 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70670 if test "x$ac_cv_func__fmodl" = x""yes; then :
70671 cat >>confdefs.h <<_ACEOF
70672 #define HAVE__FMODL 1
70673 _ACEOF
70676 done
70685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70686 $as_echo_n "checking for frexpl declaration... " >&6; }
70687 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70688 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
70707 return 0;
70709 _ACEOF
70710 if ac_fn_cxx_try_compile "$LINENO"; then :
70711 glibcxx_cv_func_frexpl_use=yes
70712 else
70713 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
70727 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70729 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70730 for ac_func in frexpl
70731 do :
70732 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70733 if test "x$ac_cv_func_frexpl" = x""yes; then :
70734 cat >>confdefs.h <<_ACEOF
70735 #define HAVE_FREXPL 1
70736 _ACEOF
70739 done
70741 else
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70744 $as_echo_n "checking for _frexpl declaration... " >&6; }
70745 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70746 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
70765 return 0;
70767 _ACEOF
70768 if ac_fn_cxx_try_compile "$LINENO"; then :
70769 glibcxx_cv_func__frexpl_use=yes
70770 else
70771 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
70785 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70787 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70788 for ac_func in _frexpl
70789 do :
70790 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70791 if test "x$ac_cv_func__frexpl" = x""yes; then :
70792 cat >>confdefs.h <<_ACEOF
70793 #define HAVE__FREXPL 1
70794 _ACEOF
70797 done
70806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70807 $as_echo_n "checking for hypotl declaration... " >&6; }
70808 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70809 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
70828 return 0;
70830 _ACEOF
70831 if ac_fn_cxx_try_compile "$LINENO"; then :
70832 glibcxx_cv_func_hypotl_use=yes
70833 else
70834 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
70848 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70850 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70851 for ac_func in hypotl
70852 do :
70853 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70854 if test "x$ac_cv_func_hypotl" = x""yes; then :
70855 cat >>confdefs.h <<_ACEOF
70856 #define HAVE_HYPOTL 1
70857 _ACEOF
70860 done
70862 else
70864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70865 $as_echo_n "checking for _hypotl declaration... " >&6; }
70866 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70867 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
70886 return 0;
70888 _ACEOF
70889 if ac_fn_cxx_try_compile "$LINENO"; then :
70890 glibcxx_cv_func__hypotl_use=yes
70891 else
70892 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
70906 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70908 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70909 for ac_func in _hypotl
70910 do :
70911 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70912 if test "x$ac_cv_func__hypotl" = x""yes; then :
70913 cat >>confdefs.h <<_ACEOF
70914 #define HAVE__HYPOTL 1
70915 _ACEOF
70918 done
70927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70928 $as_echo_n "checking for ldexpl declaration... " >&6; }
70929 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70930 if test "${glibcxx_cv_func_ldexpl_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>
70945 main ()
70947 ldexpl(0, 0);
70949 return 0;
70951 _ACEOF
70952 if ac_fn_cxx_try_compile "$LINENO"; then :
70953 glibcxx_cv_func_ldexpl_use=yes
70954 else
70955 glibcxx_cv_func_ldexpl_use=no
70957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70958 ac_ext=c
70959 ac_cpp='$CPP $CPPFLAGS'
70960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70969 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70971 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70972 for ac_func in ldexpl
70973 do :
70974 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70975 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70976 cat >>confdefs.h <<_ACEOF
70977 #define HAVE_LDEXPL 1
70978 _ACEOF
70981 done
70983 else
70985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70986 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70987 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70988 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70989 $as_echo_n "(cached) " >&6
70990 else
70993 ac_ext=cpp
70994 ac_cpp='$CXXCPP $CPPFLAGS'
70995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71000 /* end confdefs.h. */
71001 #include <math.h>
71003 main ()
71005 _ldexpl(0, 0);
71007 return 0;
71009 _ACEOF
71010 if ac_fn_cxx_try_compile "$LINENO"; then :
71011 glibcxx_cv_func__ldexpl_use=yes
71012 else
71013 glibcxx_cv_func__ldexpl_use=no
71015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71016 ac_ext=c
71017 ac_cpp='$CPP $CPPFLAGS'
71018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71027 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71029 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71030 for ac_func in _ldexpl
71031 do :
71032 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71033 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71034 cat >>confdefs.h <<_ACEOF
71035 #define HAVE__LDEXPL 1
71036 _ACEOF
71039 done
71048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71049 $as_echo_n "checking for logl declaration... " >&6; }
71050 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71051 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71052 $as_echo_n "(cached) " >&6
71053 else
71056 ac_ext=cpp
71057 ac_cpp='$CXXCPP $CPPFLAGS'
71058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71063 /* end confdefs.h. */
71064 #include <math.h>
71065 #ifdef HAVE_IEEEFP_H
71066 #include <ieeefp.h>
71067 #endif
71070 main ()
71072 logl(0);
71074 return 0;
71076 _ACEOF
71077 if ac_fn_cxx_try_compile "$LINENO"; then :
71078 glibcxx_cv_func_logl_use=yes
71079 else
71080 glibcxx_cv_func_logl_use=no
71082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71083 ac_ext=c
71084 ac_cpp='$CPP $CPPFLAGS'
71085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71094 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71096 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71097 for ac_func in logl
71098 do :
71099 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71100 if test "x$ac_cv_func_logl" = x""yes; then :
71101 cat >>confdefs.h <<_ACEOF
71102 #define HAVE_LOGL 1
71103 _ACEOF
71106 done
71108 else
71110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71111 $as_echo_n "checking for _logl declaration... " >&6; }
71112 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71113 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71114 $as_echo_n "(cached) " >&6
71115 else
71118 ac_ext=cpp
71119 ac_cpp='$CXXCPP $CPPFLAGS'
71120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71125 /* end confdefs.h. */
71126 #include <math.h>
71127 #ifdef HAVE_IEEEFP_H
71128 #include <ieeefp.h>
71129 #endif
71132 main ()
71134 _logl(0);
71136 return 0;
71138 _ACEOF
71139 if ac_fn_cxx_try_compile "$LINENO"; then :
71140 glibcxx_cv_func__logl_use=yes
71141 else
71142 glibcxx_cv_func__logl_use=no
71144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71145 ac_ext=c
71146 ac_cpp='$CPP $CPPFLAGS'
71147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71156 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71158 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71159 for ac_func in _logl
71160 do :
71161 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71162 if test "x$ac_cv_func__logl" = x""yes; then :
71163 cat >>confdefs.h <<_ACEOF
71164 #define HAVE__LOGL 1
71165 _ACEOF
71168 done
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71178 $as_echo_n "checking for log10l declaration... " >&6; }
71179 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71180 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71181 $as_echo_n "(cached) " >&6
71182 else
71185 ac_ext=cpp
71186 ac_cpp='$CXXCPP $CPPFLAGS'
71187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71192 /* end confdefs.h. */
71193 #include <math.h>
71194 #ifdef HAVE_IEEEFP_H
71195 #include <ieeefp.h>
71196 #endif
71199 main ()
71201 log10l(0);
71203 return 0;
71205 _ACEOF
71206 if ac_fn_cxx_try_compile "$LINENO"; then :
71207 glibcxx_cv_func_log10l_use=yes
71208 else
71209 glibcxx_cv_func_log10l_use=no
71211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71212 ac_ext=c
71213 ac_cpp='$CPP $CPPFLAGS'
71214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71223 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71225 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71226 for ac_func in log10l
71227 do :
71228 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71229 if test "x$ac_cv_func_log10l" = x""yes; then :
71230 cat >>confdefs.h <<_ACEOF
71231 #define HAVE_LOG10L 1
71232 _ACEOF
71235 done
71237 else
71239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71240 $as_echo_n "checking for _log10l declaration... " >&6; }
71241 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71242 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71243 $as_echo_n "(cached) " >&6
71244 else
71247 ac_ext=cpp
71248 ac_cpp='$CXXCPP $CPPFLAGS'
71249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71254 /* end confdefs.h. */
71255 #include <math.h>
71256 #ifdef HAVE_IEEEFP_H
71257 #include <ieeefp.h>
71258 #endif
71261 main ()
71263 _log10l(0);
71265 return 0;
71267 _ACEOF
71268 if ac_fn_cxx_try_compile "$LINENO"; then :
71269 glibcxx_cv_func__log10l_use=yes
71270 else
71271 glibcxx_cv_func__log10l_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__log10l_use" >&5
71285 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71287 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71288 for ac_func in _log10l
71289 do :
71290 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71291 if test "x$ac_cv_func__log10l" = x""yes; then :
71292 cat >>confdefs.h <<_ACEOF
71293 #define HAVE__LOG10L 1
71294 _ACEOF
71297 done
71306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71307 $as_echo_n "checking for modfl declaration... " >&6; }
71308 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71309 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
71328 return 0;
71330 _ACEOF
71331 if ac_fn_cxx_try_compile "$LINENO"; then :
71332 glibcxx_cv_func_modfl_use=yes
71333 else
71334 glibcxx_cv_func_modfl_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_modfl_use" >&5
71348 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71350 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71351 for ac_func in modfl
71352 do :
71353 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71354 if test "x$ac_cv_func_modfl" = x""yes; then :
71355 cat >>confdefs.h <<_ACEOF
71356 #define HAVE_MODFL 1
71357 _ACEOF
71360 done
71362 else
71364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71365 $as_echo_n "checking for _modfl declaration... " >&6; }
71366 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71367 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
71386 return 0;
71388 _ACEOF
71389 if ac_fn_cxx_try_compile "$LINENO"; then :
71390 glibcxx_cv_func__modfl_use=yes
71391 else
71392 glibcxx_cv_func__modfl_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__modfl_use" >&5
71406 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71408 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71409 for ac_func in _modfl
71410 do :
71411 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71412 if test "x$ac_cv_func__modfl" = x""yes; then :
71413 cat >>confdefs.h <<_ACEOF
71414 #define HAVE__MODFL 1
71415 _ACEOF
71418 done
71427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71428 $as_echo_n "checking for powl declaration... " >&6; }
71429 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71430 if test "${glibcxx_cv_func_powl_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>
71445 main ()
71447 powl(0, 0);
71449 return 0;
71451 _ACEOF
71452 if ac_fn_cxx_try_compile "$LINENO"; then :
71453 glibcxx_cv_func_powl_use=yes
71454 else
71455 glibcxx_cv_func_powl_use=no
71457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71458 ac_ext=c
71459 ac_cpp='$CPP $CPPFLAGS'
71460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71469 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71471 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71472 for ac_func in powl
71473 do :
71474 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71475 if test "x$ac_cv_func_powl" = x""yes; then :
71476 cat >>confdefs.h <<_ACEOF
71477 #define HAVE_POWL 1
71478 _ACEOF
71481 done
71483 else
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71486 $as_echo_n "checking for _powl declaration... " >&6; }
71487 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71488 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71489 $as_echo_n "(cached) " >&6
71490 else
71493 ac_ext=cpp
71494 ac_cpp='$CXXCPP $CPPFLAGS'
71495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71500 /* end confdefs.h. */
71501 #include <math.h>
71503 main ()
71505 _powl(0, 0);
71507 return 0;
71509 _ACEOF
71510 if ac_fn_cxx_try_compile "$LINENO"; then :
71511 glibcxx_cv_func__powl_use=yes
71512 else
71513 glibcxx_cv_func__powl_use=no
71515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71516 ac_ext=c
71517 ac_cpp='$CPP $CPPFLAGS'
71518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71527 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71529 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71530 for ac_func in _powl
71531 do :
71532 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71533 if test "x$ac_cv_func__powl" = x""yes; then :
71534 cat >>confdefs.h <<_ACEOF
71535 #define HAVE__POWL 1
71536 _ACEOF
71539 done
71548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71549 $as_echo_n "checking for sqrtl declaration... " >&6; }
71550 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71551 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71552 $as_echo_n "(cached) " >&6
71553 else
71556 ac_ext=cpp
71557 ac_cpp='$CXXCPP $CPPFLAGS'
71558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71563 /* end confdefs.h. */
71564 #include <math.h>
71565 #ifdef HAVE_IEEEFP_H
71566 #include <ieeefp.h>
71567 #endif
71570 main ()
71572 sqrtl(0);
71574 return 0;
71576 _ACEOF
71577 if ac_fn_cxx_try_compile "$LINENO"; then :
71578 glibcxx_cv_func_sqrtl_use=yes
71579 else
71580 glibcxx_cv_func_sqrtl_use=no
71582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71583 ac_ext=c
71584 ac_cpp='$CPP $CPPFLAGS'
71585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71594 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71596 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71597 for ac_func in sqrtl
71598 do :
71599 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71600 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71601 cat >>confdefs.h <<_ACEOF
71602 #define HAVE_SQRTL 1
71603 _ACEOF
71606 done
71608 else
71610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71611 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71612 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71613 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71614 $as_echo_n "(cached) " >&6
71615 else
71618 ac_ext=cpp
71619 ac_cpp='$CXXCPP $CPPFLAGS'
71620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71625 /* end confdefs.h. */
71626 #include <math.h>
71627 #ifdef HAVE_IEEEFP_H
71628 #include <ieeefp.h>
71629 #endif
71632 main ()
71634 _sqrtl(0);
71636 return 0;
71638 _ACEOF
71639 if ac_fn_cxx_try_compile "$LINENO"; then :
71640 glibcxx_cv_func__sqrtl_use=yes
71641 else
71642 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
71656 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71658 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71659 for ac_func in _sqrtl
71660 do :
71661 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71662 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71663 cat >>confdefs.h <<_ACEOF
71664 #define HAVE__SQRTL 1
71665 _ACEOF
71668 done
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71678 $as_echo_n "checking for sincosl declaration... " >&6; }
71679 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71680 if test "${glibcxx_cv_func_sincosl_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>
71695 main ()
71697 sincosl(0, 0, 0);
71699 return 0;
71701 _ACEOF
71702 if ac_fn_cxx_try_compile "$LINENO"; then :
71703 glibcxx_cv_func_sincosl_use=yes
71704 else
71705 glibcxx_cv_func_sincosl_use=no
71707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71708 ac_ext=c
71709 ac_cpp='$CPP $CPPFLAGS'
71710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71719 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71721 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71722 for ac_func in sincosl
71723 do :
71724 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71725 if test "x$ac_cv_func_sincosl" = x""yes; then :
71726 cat >>confdefs.h <<_ACEOF
71727 #define HAVE_SINCOSL 1
71728 _ACEOF
71731 done
71733 else
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71736 $as_echo_n "checking for _sincosl declaration... " >&6; }
71737 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71738 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71739 $as_echo_n "(cached) " >&6
71740 else
71743 ac_ext=cpp
71744 ac_cpp='$CXXCPP $CPPFLAGS'
71745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71750 /* end confdefs.h. */
71751 #include <math.h>
71753 main ()
71755 _sincosl(0, 0, 0);
71757 return 0;
71759 _ACEOF
71760 if ac_fn_cxx_try_compile "$LINENO"; then :
71761 glibcxx_cv_func__sincosl_use=yes
71762 else
71763 glibcxx_cv_func__sincosl_use=no
71765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71766 ac_ext=c
71767 ac_cpp='$CPP $CPPFLAGS'
71768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71777 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71779 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71780 for ac_func in _sincosl
71781 do :
71782 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71783 if test "x$ac_cv_func__sincosl" = x""yes; then :
71784 cat >>confdefs.h <<_ACEOF
71785 #define HAVE__SINCOSL 1
71786 _ACEOF
71789 done
71798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71799 $as_echo_n "checking for finitel declaration... " >&6; }
71800 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71801 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71802 $as_echo_n "(cached) " >&6
71803 else
71806 ac_ext=cpp
71807 ac_cpp='$CXXCPP $CPPFLAGS'
71808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71813 /* end confdefs.h. */
71814 #include <math.h>
71815 #ifdef HAVE_IEEEFP_H
71816 #include <ieeefp.h>
71817 #endif
71820 main ()
71822 finitel(0);
71824 return 0;
71826 _ACEOF
71827 if ac_fn_cxx_try_compile "$LINENO"; then :
71828 glibcxx_cv_func_finitel_use=yes
71829 else
71830 glibcxx_cv_func_finitel_use=no
71832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71833 ac_ext=c
71834 ac_cpp='$CPP $CPPFLAGS'
71835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71844 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71846 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71847 for ac_func in finitel
71848 do :
71849 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71850 if test "x$ac_cv_func_finitel" = x""yes; then :
71851 cat >>confdefs.h <<_ACEOF
71852 #define HAVE_FINITEL 1
71853 _ACEOF
71856 done
71858 else
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71861 $as_echo_n "checking for _finitel declaration... " >&6; }
71862 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71863 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71864 $as_echo_n "(cached) " >&6
71865 else
71868 ac_ext=cpp
71869 ac_cpp='$CXXCPP $CPPFLAGS'
71870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71875 /* end confdefs.h. */
71876 #include <math.h>
71877 #ifdef HAVE_IEEEFP_H
71878 #include <ieeefp.h>
71879 #endif
71882 main ()
71884 _finitel(0);
71886 return 0;
71888 _ACEOF
71889 if ac_fn_cxx_try_compile "$LINENO"; then :
71890 glibcxx_cv_func__finitel_use=yes
71891 else
71892 glibcxx_cv_func__finitel_use=no
71894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71895 ac_ext=c
71896 ac_cpp='$CPP $CPPFLAGS'
71897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71906 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71908 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71909 for ac_func in _finitel
71910 do :
71911 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71912 if test "x$ac_cv_func__finitel" = x""yes; then :
71913 cat >>confdefs.h <<_ACEOF
71914 #define HAVE__FINITEL 1
71915 _ACEOF
71918 done
71926 LIBS="$ac_save_LIBS"
71927 CXXFLAGS="$ac_save_CXXFLAGS"
71930 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71931 ac_save_CXXFLAGS="$CXXFLAGS"
71932 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71936 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71937 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71938 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71939 $as_echo_n "(cached) " >&6
71940 else
71943 ac_ext=cpp
71944 ac_cpp='$CXXCPP $CPPFLAGS'
71945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71950 /* end confdefs.h. */
71951 #include <stdlib.h>
71953 main ()
71955 at_quick_exit(0);
71957 return 0;
71959 _ACEOF
71960 if ac_fn_cxx_try_compile "$LINENO"; then :
71961 glibcxx_cv_func_at_quick_exit_use=yes
71962 else
71963 glibcxx_cv_func_at_quick_exit_use=no
71965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71966 ac_ext=c
71967 ac_cpp='$CPP $CPPFLAGS'
71968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71977 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71978 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71979 for ac_func in at_quick_exit
71980 do :
71981 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71982 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71983 cat >>confdefs.h <<_ACEOF
71984 #define HAVE_AT_QUICK_EXIT 1
71985 _ACEOF
71988 done
71993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71994 $as_echo_n "checking for quick_exit declaration... " >&6; }
71995 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71996 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71997 $as_echo_n "(cached) " >&6
71998 else
72001 ac_ext=cpp
72002 ac_cpp='$CXXCPP $CPPFLAGS'
72003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72008 /* end confdefs.h. */
72009 #include <stdlib.h>
72011 main ()
72013 quick_exit(0);
72015 return 0;
72017 _ACEOF
72018 if ac_fn_cxx_try_compile "$LINENO"; then :
72019 glibcxx_cv_func_quick_exit_use=yes
72020 else
72021 glibcxx_cv_func_quick_exit_use=no
72023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72024 ac_ext=c
72025 ac_cpp='$CPP $CPPFLAGS'
72026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72035 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72036 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72037 for ac_func in quick_exit
72038 do :
72039 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72040 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72041 cat >>confdefs.h <<_ACEOF
72042 #define HAVE_QUICK_EXIT 1
72043 _ACEOF
72046 done
72051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72052 $as_echo_n "checking for strtold declaration... " >&6; }
72053 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72054 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72055 $as_echo_n "(cached) " >&6
72056 else
72059 ac_ext=cpp
72060 ac_cpp='$CXXCPP $CPPFLAGS'
72061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72066 /* end confdefs.h. */
72067 #include <stdlib.h>
72069 main ()
72071 strtold(0, 0);
72073 return 0;
72075 _ACEOF
72076 if ac_fn_cxx_try_compile "$LINENO"; then :
72077 glibcxx_cv_func_strtold_use=yes
72078 else
72079 glibcxx_cv_func_strtold_use=no
72081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72082 ac_ext=c
72083 ac_cpp='$CPP $CPPFLAGS'
72084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72095 for ac_func in strtold
72096 do :
72097 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72098 if test "x$ac_cv_func_strtold" = x""yes; then :
72099 cat >>confdefs.h <<_ACEOF
72100 #define HAVE_STRTOLD 1
72101 _ACEOF
72104 done
72111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72112 $as_echo_n "checking for strtof declaration... " >&6; }
72113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72114 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72115 $as_echo_n "(cached) " >&6
72116 else
72119 ac_ext=cpp
72120 ac_cpp='$CXXCPP $CPPFLAGS'
72121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72126 /* end confdefs.h. */
72127 #include <stdlib.h>
72129 main ()
72131 strtof(0, 0);
72133 return 0;
72135 _ACEOF
72136 if ac_fn_cxx_try_compile "$LINENO"; then :
72137 glibcxx_cv_func_strtof_use=yes
72138 else
72139 glibcxx_cv_func_strtof_use=no
72141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72142 ac_ext=c
72143 ac_cpp='$CPP $CPPFLAGS'
72144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72154 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72155 for ac_func in strtof
72156 do :
72157 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72158 if test "x$ac_cv_func_strtof" = x""yes; then :
72159 cat >>confdefs.h <<_ACEOF
72160 #define HAVE_STRTOF 1
72161 _ACEOF
72164 done
72171 CXXFLAGS="$ac_save_CXXFLAGS"
72174 *-solaris*)
72176 # If we're not using GNU ld, then there's no point in even trying these
72177 # tests. Check for that first. We should have already tested for gld
72178 # by now (in libtool), but require it now just to be safe...
72179 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72180 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72184 # The name set by libtool depends on the version of libtool. Shame on us
72185 # for depending on an impl detail, but c'est la vie. Older versions used
72186 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72187 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72188 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72189 # set (hence we're using an older libtool), then set it.
72190 if test x${with_gnu_ld+set} != xset; then
72191 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72192 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72193 with_gnu_ld=no
72194 else
72195 with_gnu_ld=$ac_cv_prog_gnu_ld
72199 # Start by getting the version number. I think the libtool test already
72200 # does some of this, but throws away the result.
72201 glibcxx_ld_is_gold=no
72202 if test x"$with_gnu_ld" = x"yes"; then
72203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72204 $as_echo_n "checking for ld version... " >&6; }
72206 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72207 glibcxx_ld_is_gold=yes
72209 ldver=`$LD --version 2>/dev/null |
72210 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'`
72212 glibcxx_gnu_ld_version=`echo $ldver | \
72213 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72215 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72218 # Set --gc-sections.
72219 glibcxx_have_gc_sections=no
72220 if test "$glibcxx_ld_is_gold" = "yes"; then
72221 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72222 glibcxx_have_gc_sections=yes
72224 else
72225 glibcxx_gcsections_min_ld=21602
72226 if test x"$with_gnu_ld" = x"yes" &&
72227 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72228 glibcxx_have_gc_sections=yes
72231 if test "$glibcxx_have_gc_sections" = "yes"; then
72232 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72233 # NB: This flag only works reliably after 2.16.1. Configure tests
72234 # for this are difficult, so hard wire a value that should work.
72236 ac_test_CFLAGS="${CFLAGS+set}"
72237 ac_save_CFLAGS="$CFLAGS"
72238 CFLAGS='-Wl,--gc-sections'
72240 # Check for -Wl,--gc-sections
72241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72242 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72243 if test x$gcc_no_link = xyes; then
72244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72247 /* end confdefs.h. */
72248 int one(void) { return 1; }
72249 int two(void) { return 2; }
72252 main ()
72254 two();
72256 return 0;
72258 _ACEOF
72259 if ac_fn_c_try_link "$LINENO"; then :
72260 ac_gcsections=yes
72261 else
72262 ac_gcsections=no
72264 rm -f core conftest.err conftest.$ac_objext \
72265 conftest$ac_exeext conftest.$ac_ext
72266 if test "$ac_gcsections" = "yes"; then
72267 rm -f conftest.c
72268 touch conftest.c
72269 if $CC -c conftest.c; then
72270 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72271 grep "Warning: gc-sections option ignored" > /dev/null; then
72272 ac_gcsections=no
72275 rm -f conftest.c conftest.o conftest
72277 if test "$ac_gcsections" = "yes"; then
72278 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72281 $as_echo "$ac_gcsections" >&6; }
72283 if test "$ac_test_CFLAGS" = set; then
72284 CFLAGS="$ac_save_CFLAGS"
72285 else
72286 # this is the suspicious part
72287 CFLAGS=''
72291 # Set -z,relro.
72292 # Note this is only for shared objects.
72293 ac_ld_relro=no
72294 if test x"$with_gnu_ld" = x"yes"; then
72295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72296 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72297 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72298 if test -n "$cxx_z_relo"; then
72299 OPT_LDFLAGS="-Wl,-z,relro"
72300 ac_ld_relro=yes
72302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72303 $as_echo "$ac_ld_relro" >&6; }
72306 # Set linker optimization flags.
72307 if test x"$with_gnu_ld" = x"yes"; then
72308 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72314 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72316 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72318 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72320 # All of the dependencies for wide character support are here, so
72321 # turn it on.
72322 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72324 # These two C99 functions are present only in Solaris >= 10
72325 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72327 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72329 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72331 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72333 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72335 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72338 *-tpf)
72339 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72340 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72342 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72344 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72346 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72348 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72350 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72352 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72354 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72356 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72358 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72360 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72362 if test x"long_double_math_on_this_cpu" = x"yes"; then
72363 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72365 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72367 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72369 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72373 *-*vms*)
72374 # Check for available headers.
72375 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72377 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72378 ac_save_CXXFLAGS="$CXXFLAGS"
72379 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72382 $as_echo_n "checking for sin in -lm... " >&6; }
72383 if test "${ac_cv_lib_m_sin+set}" = set; then :
72384 $as_echo_n "(cached) " >&6
72385 else
72386 ac_check_lib_save_LIBS=$LIBS
72387 LIBS="-lm $LIBS"
72388 if test x$gcc_no_link = xyes; then
72389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72394 /* Override any GCC internal prototype to avoid an error.
72395 Use char because int might match the return type of a GCC
72396 builtin and then its argument prototype would still apply. */
72397 #ifdef __cplusplus
72398 extern "C"
72399 #endif
72400 char sin ();
72402 main ()
72404 return sin ();
72406 return 0;
72408 _ACEOF
72409 if ac_fn_c_try_link "$LINENO"; then :
72410 ac_cv_lib_m_sin=yes
72411 else
72412 ac_cv_lib_m_sin=no
72414 rm -f core conftest.err conftest.$ac_objext \
72415 conftest$ac_exeext conftest.$ac_ext
72416 LIBS=$ac_check_lib_save_LIBS
72418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72419 $as_echo "$ac_cv_lib_m_sin" >&6; }
72420 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72421 libm="-lm"
72424 ac_save_LIBS="$LIBS"
72425 LIBS="$LIBS $libm"
72429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72430 $as_echo_n "checking for isinf declaration... " >&6; }
72431 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72432 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72433 $as_echo_n "(cached) " >&6
72434 else
72437 ac_ext=cpp
72438 ac_cpp='$CXXCPP $CPPFLAGS'
72439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72444 /* end confdefs.h. */
72445 #include <math.h>
72446 #ifdef HAVE_IEEEFP_H
72447 #include <ieeefp.h>
72448 #endif
72451 main ()
72453 isinf(0);
72455 return 0;
72457 _ACEOF
72458 if ac_fn_cxx_try_compile "$LINENO"; then :
72459 glibcxx_cv_func_isinf_use=yes
72460 else
72461 glibcxx_cv_func_isinf_use=no
72463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72464 ac_ext=c
72465 ac_cpp='$CPP $CPPFLAGS'
72466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72475 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72477 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72478 for ac_func in isinf
72479 do :
72480 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72481 if test "x$ac_cv_func_isinf" = x""yes; then :
72482 cat >>confdefs.h <<_ACEOF
72483 #define HAVE_ISINF 1
72484 _ACEOF
72487 done
72489 else
72491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72492 $as_echo_n "checking for _isinf declaration... " >&6; }
72493 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72494 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72495 $as_echo_n "(cached) " >&6
72496 else
72499 ac_ext=cpp
72500 ac_cpp='$CXXCPP $CPPFLAGS'
72501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72506 /* end confdefs.h. */
72507 #include <math.h>
72508 #ifdef HAVE_IEEEFP_H
72509 #include <ieeefp.h>
72510 #endif
72513 main ()
72515 _isinf(0);
72517 return 0;
72519 _ACEOF
72520 if ac_fn_cxx_try_compile "$LINENO"; then :
72521 glibcxx_cv_func__isinf_use=yes
72522 else
72523 glibcxx_cv_func__isinf_use=no
72525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72526 ac_ext=c
72527 ac_cpp='$CPP $CPPFLAGS'
72528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72537 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72539 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72540 for ac_func in _isinf
72541 do :
72542 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72543 if test "x$ac_cv_func__isinf" = x""yes; then :
72544 cat >>confdefs.h <<_ACEOF
72545 #define HAVE__ISINF 1
72546 _ACEOF
72549 done
72558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72559 $as_echo_n "checking for isnan declaration... " >&6; }
72560 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72561 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72562 $as_echo_n "(cached) " >&6
72563 else
72566 ac_ext=cpp
72567 ac_cpp='$CXXCPP $CPPFLAGS'
72568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72573 /* end confdefs.h. */
72574 #include <math.h>
72575 #ifdef HAVE_IEEEFP_H
72576 #include <ieeefp.h>
72577 #endif
72580 main ()
72582 isnan(0);
72584 return 0;
72586 _ACEOF
72587 if ac_fn_cxx_try_compile "$LINENO"; then :
72588 glibcxx_cv_func_isnan_use=yes
72589 else
72590 glibcxx_cv_func_isnan_use=no
72592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72593 ac_ext=c
72594 ac_cpp='$CPP $CPPFLAGS'
72595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72604 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72606 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72607 for ac_func in isnan
72608 do :
72609 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72610 if test "x$ac_cv_func_isnan" = x""yes; then :
72611 cat >>confdefs.h <<_ACEOF
72612 #define HAVE_ISNAN 1
72613 _ACEOF
72616 done
72618 else
72620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72621 $as_echo_n "checking for _isnan declaration... " >&6; }
72622 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72623 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72624 $as_echo_n "(cached) " >&6
72625 else
72628 ac_ext=cpp
72629 ac_cpp='$CXXCPP $CPPFLAGS'
72630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72635 /* end confdefs.h. */
72636 #include <math.h>
72637 #ifdef HAVE_IEEEFP_H
72638 #include <ieeefp.h>
72639 #endif
72642 main ()
72644 _isnan(0);
72646 return 0;
72648 _ACEOF
72649 if ac_fn_cxx_try_compile "$LINENO"; then :
72650 glibcxx_cv_func__isnan_use=yes
72651 else
72652 glibcxx_cv_func__isnan_use=no
72654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72655 ac_ext=c
72656 ac_cpp='$CPP $CPPFLAGS'
72657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72666 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72668 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72669 for ac_func in _isnan
72670 do :
72671 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72672 if test "x$ac_cv_func__isnan" = x""yes; then :
72673 cat >>confdefs.h <<_ACEOF
72674 #define HAVE__ISNAN 1
72675 _ACEOF
72678 done
72687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72688 $as_echo_n "checking for finite declaration... " >&6; }
72689 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72690 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72691 $as_echo_n "(cached) " >&6
72692 else
72695 ac_ext=cpp
72696 ac_cpp='$CXXCPP $CPPFLAGS'
72697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72702 /* end confdefs.h. */
72703 #include <math.h>
72704 #ifdef HAVE_IEEEFP_H
72705 #include <ieeefp.h>
72706 #endif
72709 main ()
72711 finite(0);
72713 return 0;
72715 _ACEOF
72716 if ac_fn_cxx_try_compile "$LINENO"; then :
72717 glibcxx_cv_func_finite_use=yes
72718 else
72719 glibcxx_cv_func_finite_use=no
72721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72722 ac_ext=c
72723 ac_cpp='$CPP $CPPFLAGS'
72724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72733 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72735 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72736 for ac_func in finite
72737 do :
72738 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72739 if test "x$ac_cv_func_finite" = x""yes; then :
72740 cat >>confdefs.h <<_ACEOF
72741 #define HAVE_FINITE 1
72742 _ACEOF
72745 done
72747 else
72749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72750 $as_echo_n "checking for _finite declaration... " >&6; }
72751 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72752 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72753 $as_echo_n "(cached) " >&6
72754 else
72757 ac_ext=cpp
72758 ac_cpp='$CXXCPP $CPPFLAGS'
72759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72764 /* end confdefs.h. */
72765 #include <math.h>
72766 #ifdef HAVE_IEEEFP_H
72767 #include <ieeefp.h>
72768 #endif
72771 main ()
72773 _finite(0);
72775 return 0;
72777 _ACEOF
72778 if ac_fn_cxx_try_compile "$LINENO"; then :
72779 glibcxx_cv_func__finite_use=yes
72780 else
72781 glibcxx_cv_func__finite_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__finite_use" >&5
72795 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72797 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72798 for ac_func in _finite
72799 do :
72800 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72801 if test "x$ac_cv_func__finite" = x""yes; then :
72802 cat >>confdefs.h <<_ACEOF
72803 #define HAVE__FINITE 1
72804 _ACEOF
72807 done
72816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72817 $as_echo_n "checking for sincos declaration... " >&6; }
72818 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72819 if test "${glibcxx_cv_func_sincos_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>
72834 main ()
72836 sincos(0, 0, 0);
72838 return 0;
72840 _ACEOF
72841 if ac_fn_cxx_try_compile "$LINENO"; then :
72842 glibcxx_cv_func_sincos_use=yes
72843 else
72844 glibcxx_cv_func_sincos_use=no
72846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72847 ac_ext=c
72848 ac_cpp='$CPP $CPPFLAGS'
72849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72858 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72860 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72861 for ac_func in sincos
72862 do :
72863 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72864 if test "x$ac_cv_func_sincos" = x""yes; then :
72865 cat >>confdefs.h <<_ACEOF
72866 #define HAVE_SINCOS 1
72867 _ACEOF
72870 done
72872 else
72874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72875 $as_echo_n "checking for _sincos declaration... " >&6; }
72876 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72877 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72878 $as_echo_n "(cached) " >&6
72879 else
72882 ac_ext=cpp
72883 ac_cpp='$CXXCPP $CPPFLAGS'
72884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72889 /* end confdefs.h. */
72890 #include <math.h>
72892 main ()
72894 _sincos(0, 0, 0);
72896 return 0;
72898 _ACEOF
72899 if ac_fn_cxx_try_compile "$LINENO"; then :
72900 glibcxx_cv_func__sincos_use=yes
72901 else
72902 glibcxx_cv_func__sincos_use=no
72904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72905 ac_ext=c
72906 ac_cpp='$CPP $CPPFLAGS'
72907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72916 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72918 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72919 for ac_func in _sincos
72920 do :
72921 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72922 if test "x$ac_cv_func__sincos" = x""yes; then :
72923 cat >>confdefs.h <<_ACEOF
72924 #define HAVE__SINCOS 1
72925 _ACEOF
72928 done
72937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72938 $as_echo_n "checking for fpclass declaration... " >&6; }
72939 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72940 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72941 $as_echo_n "(cached) " >&6
72942 else
72945 ac_ext=cpp
72946 ac_cpp='$CXXCPP $CPPFLAGS'
72947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72952 /* end confdefs.h. */
72953 #include <math.h>
72954 #ifdef HAVE_IEEEFP_H
72955 #include <ieeefp.h>
72956 #endif
72959 main ()
72961 fpclass(0);
72963 return 0;
72965 _ACEOF
72966 if ac_fn_cxx_try_compile "$LINENO"; then :
72967 glibcxx_cv_func_fpclass_use=yes
72968 else
72969 glibcxx_cv_func_fpclass_use=no
72971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72972 ac_ext=c
72973 ac_cpp='$CPP $CPPFLAGS'
72974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72983 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72985 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72986 for ac_func in fpclass
72987 do :
72988 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72989 if test "x$ac_cv_func_fpclass" = x""yes; then :
72990 cat >>confdefs.h <<_ACEOF
72991 #define HAVE_FPCLASS 1
72992 _ACEOF
72995 done
72997 else
72999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73000 $as_echo_n "checking for _fpclass declaration... " >&6; }
73001 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73002 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73003 $as_echo_n "(cached) " >&6
73004 else
73007 ac_ext=cpp
73008 ac_cpp='$CXXCPP $CPPFLAGS'
73009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73014 /* end confdefs.h. */
73015 #include <math.h>
73016 #ifdef HAVE_IEEEFP_H
73017 #include <ieeefp.h>
73018 #endif
73021 main ()
73023 _fpclass(0);
73025 return 0;
73027 _ACEOF
73028 if ac_fn_cxx_try_compile "$LINENO"; then :
73029 glibcxx_cv_func__fpclass_use=yes
73030 else
73031 glibcxx_cv_func__fpclass_use=no
73033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73034 ac_ext=c
73035 ac_cpp='$CPP $CPPFLAGS'
73036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73045 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73047 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73048 for ac_func in _fpclass
73049 do :
73050 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73051 if test "x$ac_cv_func__fpclass" = x""yes; then :
73052 cat >>confdefs.h <<_ACEOF
73053 #define HAVE__FPCLASS 1
73054 _ACEOF
73057 done
73066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73067 $as_echo_n "checking for qfpclass declaration... " >&6; }
73068 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73069 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73070 $as_echo_n "(cached) " >&6
73071 else
73074 ac_ext=cpp
73075 ac_cpp='$CXXCPP $CPPFLAGS'
73076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73081 /* end confdefs.h. */
73082 #include <math.h>
73083 #ifdef HAVE_IEEEFP_H
73084 #include <ieeefp.h>
73085 #endif
73088 main ()
73090 qfpclass(0);
73092 return 0;
73094 _ACEOF
73095 if ac_fn_cxx_try_compile "$LINENO"; then :
73096 glibcxx_cv_func_qfpclass_use=yes
73097 else
73098 glibcxx_cv_func_qfpclass_use=no
73100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73101 ac_ext=c
73102 ac_cpp='$CPP $CPPFLAGS'
73103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73112 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73114 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73115 for ac_func in qfpclass
73116 do :
73117 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73118 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73119 cat >>confdefs.h <<_ACEOF
73120 #define HAVE_QFPCLASS 1
73121 _ACEOF
73124 done
73126 else
73128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73129 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73130 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73131 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73132 $as_echo_n "(cached) " >&6
73133 else
73136 ac_ext=cpp
73137 ac_cpp='$CXXCPP $CPPFLAGS'
73138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73143 /* end confdefs.h. */
73144 #include <math.h>
73145 #ifdef HAVE_IEEEFP_H
73146 #include <ieeefp.h>
73147 #endif
73150 main ()
73152 _qfpclass(0);
73154 return 0;
73156 _ACEOF
73157 if ac_fn_cxx_try_compile "$LINENO"; then :
73158 glibcxx_cv_func__qfpclass_use=yes
73159 else
73160 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
73174 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73176 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73177 for ac_func in _qfpclass
73178 do :
73179 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73180 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73181 cat >>confdefs.h <<_ACEOF
73182 #define HAVE__QFPCLASS 1
73183 _ACEOF
73186 done
73195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73196 $as_echo_n "checking for hypot declaration... " >&6; }
73197 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73198 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73199 $as_echo_n "(cached) " >&6
73200 else
73203 ac_ext=cpp
73204 ac_cpp='$CXXCPP $CPPFLAGS'
73205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73210 /* end confdefs.h. */
73211 #include <math.h>
73213 main ()
73215 hypot(0, 0);
73217 return 0;
73219 _ACEOF
73220 if ac_fn_cxx_try_compile "$LINENO"; then :
73221 glibcxx_cv_func_hypot_use=yes
73222 else
73223 glibcxx_cv_func_hypot_use=no
73225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73226 ac_ext=c
73227 ac_cpp='$CPP $CPPFLAGS'
73228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73237 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73239 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73240 for ac_func in hypot
73241 do :
73242 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73243 if test "x$ac_cv_func_hypot" = x""yes; then :
73244 cat >>confdefs.h <<_ACEOF
73245 #define HAVE_HYPOT 1
73246 _ACEOF
73249 done
73251 else
73253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73254 $as_echo_n "checking for _hypot declaration... " >&6; }
73255 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73256 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73257 $as_echo_n "(cached) " >&6
73258 else
73261 ac_ext=cpp
73262 ac_cpp='$CXXCPP $CPPFLAGS'
73263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73268 /* end confdefs.h. */
73269 #include <math.h>
73271 main ()
73273 _hypot(0, 0);
73275 return 0;
73277 _ACEOF
73278 if ac_fn_cxx_try_compile "$LINENO"; then :
73279 glibcxx_cv_func__hypot_use=yes
73280 else
73281 glibcxx_cv_func__hypot_use=no
73283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73284 ac_ext=c
73285 ac_cpp='$CPP $CPPFLAGS'
73286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73295 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73297 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73298 for ac_func in _hypot
73299 do :
73300 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73301 if test "x$ac_cv_func__hypot" = x""yes; then :
73302 cat >>confdefs.h <<_ACEOF
73303 #define HAVE__HYPOT 1
73304 _ACEOF
73307 done
73316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73317 $as_echo_n "checking for float trig functions... " >&6; }
73318 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73319 $as_echo_n "(cached) " >&6
73320 else
73323 ac_ext=cpp
73324 ac_cpp='$CXXCPP $CPPFLAGS'
73325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73330 /* end confdefs.h. */
73331 #include <math.h>
73333 main ()
73335 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73337 return 0;
73339 _ACEOF
73340 if ac_fn_cxx_try_compile "$LINENO"; then :
73341 glibcxx_cv_func_float_trig_use=yes
73342 else
73343 glibcxx_cv_func_float_trig_use=no
73345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73346 ac_ext=c
73347 ac_cpp='$CPP $CPPFLAGS'
73348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73355 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73356 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73357 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73358 do :
73359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73361 eval as_val=\$$as_ac_var
73362 if test "x$as_val" = x""yes; then :
73363 cat >>confdefs.h <<_ACEOF
73364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73365 _ACEOF
73368 done
73370 else
73371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73372 $as_echo_n "checking for _float trig functions... " >&6; }
73373 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73374 $as_echo_n "(cached) " >&6
73375 else
73378 ac_ext=cpp
73379 ac_cpp='$CXXCPP $CPPFLAGS'
73380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73385 /* end confdefs.h. */
73386 #include <math.h>
73388 main ()
73390 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73392 return 0;
73394 _ACEOF
73395 if ac_fn_cxx_try_compile "$LINENO"; then :
73396 glibcxx_cv_func__float_trig_use=yes
73397 else
73398 glibcxx_cv_func__float_trig_use=no
73400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73401 ac_ext=c
73402 ac_cpp='$CPP $CPPFLAGS'
73403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73410 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73411 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73412 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73413 do :
73414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73416 eval as_val=\$$as_ac_var
73417 if test "x$as_val" = x""yes; then :
73418 cat >>confdefs.h <<_ACEOF
73419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73420 _ACEOF
73423 done
73432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73433 $as_echo_n "checking for float round functions... " >&6; }
73434 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73435 $as_echo_n "(cached) " >&6
73436 else
73439 ac_ext=cpp
73440 ac_cpp='$CXXCPP $CPPFLAGS'
73441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73446 /* end confdefs.h. */
73447 #include <math.h>
73449 main ()
73451 ceilf (0); floorf (0);
73453 return 0;
73455 _ACEOF
73456 if ac_fn_cxx_try_compile "$LINENO"; then :
73457 glibcxx_cv_func_float_round_use=yes
73458 else
73459 glibcxx_cv_func_float_round_use=no
73461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73462 ac_ext=c
73463 ac_cpp='$CPP $CPPFLAGS'
73464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73471 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73472 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73473 for ac_func in ceilf floorf
73474 do :
73475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73477 eval as_val=\$$as_ac_var
73478 if test "x$as_val" = x""yes; then :
73479 cat >>confdefs.h <<_ACEOF
73480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73481 _ACEOF
73484 done
73486 else
73487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73488 $as_echo_n "checking for _float round functions... " >&6; }
73489 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73490 $as_echo_n "(cached) " >&6
73491 else
73494 ac_ext=cpp
73495 ac_cpp='$CXXCPP $CPPFLAGS'
73496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73501 /* end confdefs.h. */
73502 #include <math.h>
73504 main ()
73506 _ceilf (0); _floorf (0);
73508 return 0;
73510 _ACEOF
73511 if ac_fn_cxx_try_compile "$LINENO"; then :
73512 glibcxx_cv_func__float_round_use=yes
73513 else
73514 glibcxx_cv_func__float_round_use=no
73516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73517 ac_ext=c
73518 ac_cpp='$CPP $CPPFLAGS'
73519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73526 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73527 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73528 for ac_func in _ceilf _floorf
73529 do :
73530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73532 eval as_val=\$$as_ac_var
73533 if test "x$as_val" = x""yes; then :
73534 cat >>confdefs.h <<_ACEOF
73535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73536 _ACEOF
73539 done
73549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73550 $as_echo_n "checking for expf declaration... " >&6; }
73551 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73552 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73553 $as_echo_n "(cached) " >&6
73554 else
73557 ac_ext=cpp
73558 ac_cpp='$CXXCPP $CPPFLAGS'
73559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73564 /* end confdefs.h. */
73565 #include <math.h>
73566 #ifdef HAVE_IEEEFP_H
73567 #include <ieeefp.h>
73568 #endif
73571 main ()
73573 expf(0);
73575 return 0;
73577 _ACEOF
73578 if ac_fn_cxx_try_compile "$LINENO"; then :
73579 glibcxx_cv_func_expf_use=yes
73580 else
73581 glibcxx_cv_func_expf_use=no
73583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73584 ac_ext=c
73585 ac_cpp='$CPP $CPPFLAGS'
73586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73595 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73597 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73598 for ac_func in expf
73599 do :
73600 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73601 if test "x$ac_cv_func_expf" = x""yes; then :
73602 cat >>confdefs.h <<_ACEOF
73603 #define HAVE_EXPF 1
73604 _ACEOF
73607 done
73609 else
73611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73612 $as_echo_n "checking for _expf declaration... " >&6; }
73613 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73614 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73615 $as_echo_n "(cached) " >&6
73616 else
73619 ac_ext=cpp
73620 ac_cpp='$CXXCPP $CPPFLAGS'
73621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73626 /* end confdefs.h. */
73627 #include <math.h>
73628 #ifdef HAVE_IEEEFP_H
73629 #include <ieeefp.h>
73630 #endif
73633 main ()
73635 _expf(0);
73637 return 0;
73639 _ACEOF
73640 if ac_fn_cxx_try_compile "$LINENO"; then :
73641 glibcxx_cv_func__expf_use=yes
73642 else
73643 glibcxx_cv_func__expf_use=no
73645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73646 ac_ext=c
73647 ac_cpp='$CPP $CPPFLAGS'
73648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73657 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73659 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73660 for ac_func in _expf
73661 do :
73662 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73663 if test "x$ac_cv_func__expf" = x""yes; then :
73664 cat >>confdefs.h <<_ACEOF
73665 #define HAVE__EXPF 1
73666 _ACEOF
73669 done
73678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73679 $as_echo_n "checking for isnanf declaration... " >&6; }
73680 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73681 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73682 $as_echo_n "(cached) " >&6
73683 else
73686 ac_ext=cpp
73687 ac_cpp='$CXXCPP $CPPFLAGS'
73688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73693 /* end confdefs.h. */
73694 #include <math.h>
73695 #ifdef HAVE_IEEEFP_H
73696 #include <ieeefp.h>
73697 #endif
73700 main ()
73702 isnanf(0);
73704 return 0;
73706 _ACEOF
73707 if ac_fn_cxx_try_compile "$LINENO"; then :
73708 glibcxx_cv_func_isnanf_use=yes
73709 else
73710 glibcxx_cv_func_isnanf_use=no
73712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73713 ac_ext=c
73714 ac_cpp='$CPP $CPPFLAGS'
73715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73724 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73726 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73727 for ac_func in isnanf
73728 do :
73729 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73730 if test "x$ac_cv_func_isnanf" = x""yes; then :
73731 cat >>confdefs.h <<_ACEOF
73732 #define HAVE_ISNANF 1
73733 _ACEOF
73736 done
73738 else
73740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73741 $as_echo_n "checking for _isnanf declaration... " >&6; }
73742 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73743 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73744 $as_echo_n "(cached) " >&6
73745 else
73748 ac_ext=cpp
73749 ac_cpp='$CXXCPP $CPPFLAGS'
73750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73755 /* end confdefs.h. */
73756 #include <math.h>
73757 #ifdef HAVE_IEEEFP_H
73758 #include <ieeefp.h>
73759 #endif
73762 main ()
73764 _isnanf(0);
73766 return 0;
73768 _ACEOF
73769 if ac_fn_cxx_try_compile "$LINENO"; then :
73770 glibcxx_cv_func__isnanf_use=yes
73771 else
73772 glibcxx_cv_func__isnanf_use=no
73774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73775 ac_ext=c
73776 ac_cpp='$CPP $CPPFLAGS'
73777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73786 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73788 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73789 for ac_func in _isnanf
73790 do :
73791 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73792 if test "x$ac_cv_func__isnanf" = x""yes; then :
73793 cat >>confdefs.h <<_ACEOF
73794 #define HAVE__ISNANF 1
73795 _ACEOF
73798 done
73807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73808 $as_echo_n "checking for isinff declaration... " >&6; }
73809 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73810 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73811 $as_echo_n "(cached) " >&6
73812 else
73815 ac_ext=cpp
73816 ac_cpp='$CXXCPP $CPPFLAGS'
73817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73822 /* end confdefs.h. */
73823 #include <math.h>
73824 #ifdef HAVE_IEEEFP_H
73825 #include <ieeefp.h>
73826 #endif
73829 main ()
73831 isinff(0);
73833 return 0;
73835 _ACEOF
73836 if ac_fn_cxx_try_compile "$LINENO"; then :
73837 glibcxx_cv_func_isinff_use=yes
73838 else
73839 glibcxx_cv_func_isinff_use=no
73841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73842 ac_ext=c
73843 ac_cpp='$CPP $CPPFLAGS'
73844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73853 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73855 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73856 for ac_func in isinff
73857 do :
73858 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73859 if test "x$ac_cv_func_isinff" = x""yes; then :
73860 cat >>confdefs.h <<_ACEOF
73861 #define HAVE_ISINFF 1
73862 _ACEOF
73865 done
73867 else
73869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73870 $as_echo_n "checking for _isinff declaration... " >&6; }
73871 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73872 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73873 $as_echo_n "(cached) " >&6
73874 else
73877 ac_ext=cpp
73878 ac_cpp='$CXXCPP $CPPFLAGS'
73879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73884 /* end confdefs.h. */
73885 #include <math.h>
73886 #ifdef HAVE_IEEEFP_H
73887 #include <ieeefp.h>
73888 #endif
73891 main ()
73893 _isinff(0);
73895 return 0;
73897 _ACEOF
73898 if ac_fn_cxx_try_compile "$LINENO"; then :
73899 glibcxx_cv_func__isinff_use=yes
73900 else
73901 glibcxx_cv_func__isinff_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__isinff_use" >&5
73915 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73917 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73918 for ac_func in _isinff
73919 do :
73920 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73921 if test "x$ac_cv_func__isinff" = x""yes; then :
73922 cat >>confdefs.h <<_ACEOF
73923 #define HAVE__ISINFF 1
73924 _ACEOF
73927 done
73936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73937 $as_echo_n "checking for atan2f declaration... " >&6; }
73938 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73939 if test "${glibcxx_cv_func_atan2f_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>
73954 main ()
73956 atan2f(0, 0);
73958 return 0;
73960 _ACEOF
73961 if ac_fn_cxx_try_compile "$LINENO"; then :
73962 glibcxx_cv_func_atan2f_use=yes
73963 else
73964 glibcxx_cv_func_atan2f_use=no
73966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73967 ac_ext=c
73968 ac_cpp='$CPP $CPPFLAGS'
73969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73978 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73980 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73981 for ac_func in atan2f
73982 do :
73983 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73984 if test "x$ac_cv_func_atan2f" = x""yes; then :
73985 cat >>confdefs.h <<_ACEOF
73986 #define HAVE_ATAN2F 1
73987 _ACEOF
73990 done
73992 else
73994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73995 $as_echo_n "checking for _atan2f declaration... " >&6; }
73996 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73997 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73998 $as_echo_n "(cached) " >&6
73999 else
74002 ac_ext=cpp
74003 ac_cpp='$CXXCPP $CPPFLAGS'
74004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74009 /* end confdefs.h. */
74010 #include <math.h>
74012 main ()
74014 _atan2f(0, 0);
74016 return 0;
74018 _ACEOF
74019 if ac_fn_cxx_try_compile "$LINENO"; then :
74020 glibcxx_cv_func__atan2f_use=yes
74021 else
74022 glibcxx_cv_func__atan2f_use=no
74024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74025 ac_ext=c
74026 ac_cpp='$CPP $CPPFLAGS'
74027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74036 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74038 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74039 for ac_func in _atan2f
74040 do :
74041 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74042 if test "x$ac_cv_func__atan2f" = x""yes; then :
74043 cat >>confdefs.h <<_ACEOF
74044 #define HAVE__ATAN2F 1
74045 _ACEOF
74048 done
74057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74058 $as_echo_n "checking for fabsf declaration... " >&6; }
74059 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74060 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74061 $as_echo_n "(cached) " >&6
74062 else
74065 ac_ext=cpp
74066 ac_cpp='$CXXCPP $CPPFLAGS'
74067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74072 /* end confdefs.h. */
74073 #include <math.h>
74074 #ifdef HAVE_IEEEFP_H
74075 #include <ieeefp.h>
74076 #endif
74079 main ()
74081 fabsf(0);
74083 return 0;
74085 _ACEOF
74086 if ac_fn_cxx_try_compile "$LINENO"; then :
74087 glibcxx_cv_func_fabsf_use=yes
74088 else
74089 glibcxx_cv_func_fabsf_use=no
74091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74092 ac_ext=c
74093 ac_cpp='$CPP $CPPFLAGS'
74094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74103 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74105 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74106 for ac_func in fabsf
74107 do :
74108 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74109 if test "x$ac_cv_func_fabsf" = x""yes; then :
74110 cat >>confdefs.h <<_ACEOF
74111 #define HAVE_FABSF 1
74112 _ACEOF
74115 done
74117 else
74119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74120 $as_echo_n "checking for _fabsf declaration... " >&6; }
74121 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74122 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74123 $as_echo_n "(cached) " >&6
74124 else
74127 ac_ext=cpp
74128 ac_cpp='$CXXCPP $CPPFLAGS'
74129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74134 /* end confdefs.h. */
74135 #include <math.h>
74136 #ifdef HAVE_IEEEFP_H
74137 #include <ieeefp.h>
74138 #endif
74141 main ()
74143 _fabsf(0);
74145 return 0;
74147 _ACEOF
74148 if ac_fn_cxx_try_compile "$LINENO"; then :
74149 glibcxx_cv_func__fabsf_use=yes
74150 else
74151 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
74165 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74167 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74168 for ac_func in _fabsf
74169 do :
74170 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74171 if test "x$ac_cv_func__fabsf" = x""yes; then :
74172 cat >>confdefs.h <<_ACEOF
74173 #define HAVE__FABSF 1
74174 _ACEOF
74177 done
74186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74187 $as_echo_n "checking for fmodf declaration... " >&6; }
74188 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74189 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
74208 return 0;
74210 _ACEOF
74211 if ac_fn_cxx_try_compile "$LINENO"; then :
74212 glibcxx_cv_func_fmodf_use=yes
74213 else
74214 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
74228 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74230 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74231 for ac_func in fmodf
74232 do :
74233 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74234 if test "x$ac_cv_func_fmodf" = x""yes; then :
74235 cat >>confdefs.h <<_ACEOF
74236 #define HAVE_FMODF 1
74237 _ACEOF
74240 done
74242 else
74244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74245 $as_echo_n "checking for _fmodf declaration... " >&6; }
74246 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74247 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
74266 return 0;
74268 _ACEOF
74269 if ac_fn_cxx_try_compile "$LINENO"; then :
74270 glibcxx_cv_func__fmodf_use=yes
74271 else
74272 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
74286 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74288 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74289 for ac_func in _fmodf
74290 do :
74291 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74292 if test "x$ac_cv_func__fmodf" = x""yes; then :
74293 cat >>confdefs.h <<_ACEOF
74294 #define HAVE__FMODF 1
74295 _ACEOF
74298 done
74307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74308 $as_echo_n "checking for frexpf declaration... " >&6; }
74309 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74310 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
74329 return 0;
74331 _ACEOF
74332 if ac_fn_cxx_try_compile "$LINENO"; then :
74333 glibcxx_cv_func_frexpf_use=yes
74334 else
74335 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
74349 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74351 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74352 for ac_func in frexpf
74353 do :
74354 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74355 if test "x$ac_cv_func_frexpf" = x""yes; then :
74356 cat >>confdefs.h <<_ACEOF
74357 #define HAVE_FREXPF 1
74358 _ACEOF
74361 done
74363 else
74365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74366 $as_echo_n "checking for _frexpf declaration... " >&6; }
74367 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74368 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
74387 return 0;
74389 _ACEOF
74390 if ac_fn_cxx_try_compile "$LINENO"; then :
74391 glibcxx_cv_func__frexpf_use=yes
74392 else
74393 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
74407 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74409 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74410 for ac_func in _frexpf
74411 do :
74412 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74413 if test "x$ac_cv_func__frexpf" = x""yes; then :
74414 cat >>confdefs.h <<_ACEOF
74415 #define HAVE__FREXPF 1
74416 _ACEOF
74419 done
74428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74429 $as_echo_n "checking for hypotf declaration... " >&6; }
74430 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74431 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
74450 return 0;
74452 _ACEOF
74453 if ac_fn_cxx_try_compile "$LINENO"; then :
74454 glibcxx_cv_func_hypotf_use=yes
74455 else
74456 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
74470 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74472 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74473 for ac_func in hypotf
74474 do :
74475 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74476 if test "x$ac_cv_func_hypotf" = x""yes; then :
74477 cat >>confdefs.h <<_ACEOF
74478 #define HAVE_HYPOTF 1
74479 _ACEOF
74482 done
74484 else
74486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74487 $as_echo_n "checking for _hypotf declaration... " >&6; }
74488 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74489 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
74508 return 0;
74510 _ACEOF
74511 if ac_fn_cxx_try_compile "$LINENO"; then :
74512 glibcxx_cv_func__hypotf_use=yes
74513 else
74514 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
74528 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74530 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74531 for ac_func in _hypotf
74532 do :
74533 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74534 if test "x$ac_cv_func__hypotf" = x""yes; then :
74535 cat >>confdefs.h <<_ACEOF
74536 #define HAVE__HYPOTF 1
74537 _ACEOF
74540 done
74549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74550 $as_echo_n "checking for ldexpf declaration... " >&6; }
74551 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74552 if test "${glibcxx_cv_func_ldexpf_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>
74567 main ()
74569 ldexpf(0, 0);
74571 return 0;
74573 _ACEOF
74574 if ac_fn_cxx_try_compile "$LINENO"; then :
74575 glibcxx_cv_func_ldexpf_use=yes
74576 else
74577 glibcxx_cv_func_ldexpf_use=no
74579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74580 ac_ext=c
74581 ac_cpp='$CPP $CPPFLAGS'
74582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74591 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74593 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74594 for ac_func in ldexpf
74595 do :
74596 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74597 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74598 cat >>confdefs.h <<_ACEOF
74599 #define HAVE_LDEXPF 1
74600 _ACEOF
74603 done
74605 else
74607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74608 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74609 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74610 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74611 $as_echo_n "(cached) " >&6
74612 else
74615 ac_ext=cpp
74616 ac_cpp='$CXXCPP $CPPFLAGS'
74617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74622 /* end confdefs.h. */
74623 #include <math.h>
74625 main ()
74627 _ldexpf(0, 0);
74629 return 0;
74631 _ACEOF
74632 if ac_fn_cxx_try_compile "$LINENO"; then :
74633 glibcxx_cv_func__ldexpf_use=yes
74634 else
74635 glibcxx_cv_func__ldexpf_use=no
74637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74638 ac_ext=c
74639 ac_cpp='$CPP $CPPFLAGS'
74640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74649 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74651 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74652 for ac_func in _ldexpf
74653 do :
74654 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74655 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74656 cat >>confdefs.h <<_ACEOF
74657 #define HAVE__LDEXPF 1
74658 _ACEOF
74661 done
74670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74671 $as_echo_n "checking for logf declaration... " >&6; }
74672 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74673 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74674 $as_echo_n "(cached) " >&6
74675 else
74678 ac_ext=cpp
74679 ac_cpp='$CXXCPP $CPPFLAGS'
74680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74685 /* end confdefs.h. */
74686 #include <math.h>
74687 #ifdef HAVE_IEEEFP_H
74688 #include <ieeefp.h>
74689 #endif
74692 main ()
74694 logf(0);
74696 return 0;
74698 _ACEOF
74699 if ac_fn_cxx_try_compile "$LINENO"; then :
74700 glibcxx_cv_func_logf_use=yes
74701 else
74702 glibcxx_cv_func_logf_use=no
74704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74705 ac_ext=c
74706 ac_cpp='$CPP $CPPFLAGS'
74707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74716 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74718 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74719 for ac_func in logf
74720 do :
74721 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74722 if test "x$ac_cv_func_logf" = x""yes; then :
74723 cat >>confdefs.h <<_ACEOF
74724 #define HAVE_LOGF 1
74725 _ACEOF
74728 done
74730 else
74732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74733 $as_echo_n "checking for _logf declaration... " >&6; }
74734 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74735 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74736 $as_echo_n "(cached) " >&6
74737 else
74740 ac_ext=cpp
74741 ac_cpp='$CXXCPP $CPPFLAGS'
74742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74747 /* end confdefs.h. */
74748 #include <math.h>
74749 #ifdef HAVE_IEEEFP_H
74750 #include <ieeefp.h>
74751 #endif
74754 main ()
74756 _logf(0);
74758 return 0;
74760 _ACEOF
74761 if ac_fn_cxx_try_compile "$LINENO"; then :
74762 glibcxx_cv_func__logf_use=yes
74763 else
74764 glibcxx_cv_func__logf_use=no
74766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74767 ac_ext=c
74768 ac_cpp='$CPP $CPPFLAGS'
74769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74778 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74780 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74781 for ac_func in _logf
74782 do :
74783 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74784 if test "x$ac_cv_func__logf" = x""yes; then :
74785 cat >>confdefs.h <<_ACEOF
74786 #define HAVE__LOGF 1
74787 _ACEOF
74790 done
74799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74800 $as_echo_n "checking for log10f declaration... " >&6; }
74801 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74802 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74803 $as_echo_n "(cached) " >&6
74804 else
74807 ac_ext=cpp
74808 ac_cpp='$CXXCPP $CPPFLAGS'
74809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74814 /* end confdefs.h. */
74815 #include <math.h>
74816 #ifdef HAVE_IEEEFP_H
74817 #include <ieeefp.h>
74818 #endif
74821 main ()
74823 log10f(0);
74825 return 0;
74827 _ACEOF
74828 if ac_fn_cxx_try_compile "$LINENO"; then :
74829 glibcxx_cv_func_log10f_use=yes
74830 else
74831 glibcxx_cv_func_log10f_use=no
74833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74834 ac_ext=c
74835 ac_cpp='$CPP $CPPFLAGS'
74836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74845 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74847 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74848 for ac_func in log10f
74849 do :
74850 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74851 if test "x$ac_cv_func_log10f" = x""yes; then :
74852 cat >>confdefs.h <<_ACEOF
74853 #define HAVE_LOG10F 1
74854 _ACEOF
74857 done
74859 else
74861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74862 $as_echo_n "checking for _log10f declaration... " >&6; }
74863 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74864 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74865 $as_echo_n "(cached) " >&6
74866 else
74869 ac_ext=cpp
74870 ac_cpp='$CXXCPP $CPPFLAGS'
74871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74876 /* end confdefs.h. */
74877 #include <math.h>
74878 #ifdef HAVE_IEEEFP_H
74879 #include <ieeefp.h>
74880 #endif
74883 main ()
74885 _log10f(0);
74887 return 0;
74889 _ACEOF
74890 if ac_fn_cxx_try_compile "$LINENO"; then :
74891 glibcxx_cv_func__log10f_use=yes
74892 else
74893 glibcxx_cv_func__log10f_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__log10f_use" >&5
74907 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74909 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74910 for ac_func in _log10f
74911 do :
74912 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74913 if test "x$ac_cv_func__log10f" = x""yes; then :
74914 cat >>confdefs.h <<_ACEOF
74915 #define HAVE__LOG10F 1
74916 _ACEOF
74919 done
74928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74929 $as_echo_n "checking for modff declaration... " >&6; }
74930 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74931 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
74950 return 0;
74952 _ACEOF
74953 if ac_fn_cxx_try_compile "$LINENO"; then :
74954 glibcxx_cv_func_modff_use=yes
74955 else
74956 glibcxx_cv_func_modff_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_modff_use" >&5
74970 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74972 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74973 for ac_func in modff
74974 do :
74975 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74976 if test "x$ac_cv_func_modff" = x""yes; then :
74977 cat >>confdefs.h <<_ACEOF
74978 #define HAVE_MODFF 1
74979 _ACEOF
74982 done
74984 else
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74987 $as_echo_n "checking for _modff declaration... " >&6; }
74988 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74989 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
75008 return 0;
75010 _ACEOF
75011 if ac_fn_cxx_try_compile "$LINENO"; then :
75012 glibcxx_cv_func__modff_use=yes
75013 else
75014 glibcxx_cv_func__modff_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__modff_use" >&5
75028 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75030 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75031 for ac_func in _modff
75032 do :
75033 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75034 if test "x$ac_cv_func__modff" = x""yes; then :
75035 cat >>confdefs.h <<_ACEOF
75036 #define HAVE__MODFF 1
75037 _ACEOF
75040 done
75049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75050 $as_echo_n "checking for modf declaration... " >&6; }
75051 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75052 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
75071 return 0;
75073 _ACEOF
75074 if ac_fn_cxx_try_compile "$LINENO"; then :
75075 glibcxx_cv_func_modf_use=yes
75076 else
75077 glibcxx_cv_func_modf_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_modf_use" >&5
75091 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75093 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75094 for ac_func in modf
75095 do :
75096 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75097 if test "x$ac_cv_func_modf" = x""yes; then :
75098 cat >>confdefs.h <<_ACEOF
75099 #define HAVE_MODF 1
75100 _ACEOF
75103 done
75105 else
75107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75108 $as_echo_n "checking for _modf declaration... " >&6; }
75109 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75110 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
75129 return 0;
75131 _ACEOF
75132 if ac_fn_cxx_try_compile "$LINENO"; then :
75133 glibcxx_cv_func__modf_use=yes
75134 else
75135 glibcxx_cv_func__modf_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__modf_use" >&5
75149 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75151 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75152 for ac_func in _modf
75153 do :
75154 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75155 if test "x$ac_cv_func__modf" = x""yes; then :
75156 cat >>confdefs.h <<_ACEOF
75157 #define HAVE__MODF 1
75158 _ACEOF
75161 done
75170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75171 $as_echo_n "checking for powf declaration... " >&6; }
75172 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75173 if test "${glibcxx_cv_func_powf_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>
75188 main ()
75190 powf(0, 0);
75192 return 0;
75194 _ACEOF
75195 if ac_fn_cxx_try_compile "$LINENO"; then :
75196 glibcxx_cv_func_powf_use=yes
75197 else
75198 glibcxx_cv_func_powf_use=no
75200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75201 ac_ext=c
75202 ac_cpp='$CPP $CPPFLAGS'
75203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75212 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75214 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75215 for ac_func in powf
75216 do :
75217 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75218 if test "x$ac_cv_func_powf" = x""yes; then :
75219 cat >>confdefs.h <<_ACEOF
75220 #define HAVE_POWF 1
75221 _ACEOF
75224 done
75226 else
75228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75229 $as_echo_n "checking for _powf declaration... " >&6; }
75230 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75231 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75232 $as_echo_n "(cached) " >&6
75233 else
75236 ac_ext=cpp
75237 ac_cpp='$CXXCPP $CPPFLAGS'
75238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75243 /* end confdefs.h. */
75244 #include <math.h>
75246 main ()
75248 _powf(0, 0);
75250 return 0;
75252 _ACEOF
75253 if ac_fn_cxx_try_compile "$LINENO"; then :
75254 glibcxx_cv_func__powf_use=yes
75255 else
75256 glibcxx_cv_func__powf_use=no
75258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75259 ac_ext=c
75260 ac_cpp='$CPP $CPPFLAGS'
75261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75270 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75272 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75273 for ac_func in _powf
75274 do :
75275 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75276 if test "x$ac_cv_func__powf" = x""yes; then :
75277 cat >>confdefs.h <<_ACEOF
75278 #define HAVE__POWF 1
75279 _ACEOF
75282 done
75291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75292 $as_echo_n "checking for sqrtf declaration... " >&6; }
75293 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75294 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75295 $as_echo_n "(cached) " >&6
75296 else
75299 ac_ext=cpp
75300 ac_cpp='$CXXCPP $CPPFLAGS'
75301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75306 /* end confdefs.h. */
75307 #include <math.h>
75308 #ifdef HAVE_IEEEFP_H
75309 #include <ieeefp.h>
75310 #endif
75313 main ()
75315 sqrtf(0);
75317 return 0;
75319 _ACEOF
75320 if ac_fn_cxx_try_compile "$LINENO"; then :
75321 glibcxx_cv_func_sqrtf_use=yes
75322 else
75323 glibcxx_cv_func_sqrtf_use=no
75325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75326 ac_ext=c
75327 ac_cpp='$CPP $CPPFLAGS'
75328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75337 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75339 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75340 for ac_func in sqrtf
75341 do :
75342 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75343 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75344 cat >>confdefs.h <<_ACEOF
75345 #define HAVE_SQRTF 1
75346 _ACEOF
75349 done
75351 else
75353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75354 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75355 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75356 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75357 $as_echo_n "(cached) " >&6
75358 else
75361 ac_ext=cpp
75362 ac_cpp='$CXXCPP $CPPFLAGS'
75363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75368 /* end confdefs.h. */
75369 #include <math.h>
75370 #ifdef HAVE_IEEEFP_H
75371 #include <ieeefp.h>
75372 #endif
75375 main ()
75377 _sqrtf(0);
75379 return 0;
75381 _ACEOF
75382 if ac_fn_cxx_try_compile "$LINENO"; then :
75383 glibcxx_cv_func__sqrtf_use=yes
75384 else
75385 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
75399 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75401 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75402 for ac_func in _sqrtf
75403 do :
75404 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75405 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75406 cat >>confdefs.h <<_ACEOF
75407 #define HAVE__SQRTF 1
75408 _ACEOF
75411 done
75420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75421 $as_echo_n "checking for sincosf declaration... " >&6; }
75422 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75423 if test "${glibcxx_cv_func_sincosf_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>
75438 main ()
75440 sincosf(0, 0, 0);
75442 return 0;
75444 _ACEOF
75445 if ac_fn_cxx_try_compile "$LINENO"; then :
75446 glibcxx_cv_func_sincosf_use=yes
75447 else
75448 glibcxx_cv_func_sincosf_use=no
75450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75451 ac_ext=c
75452 ac_cpp='$CPP $CPPFLAGS'
75453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75462 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75464 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75465 for ac_func in sincosf
75466 do :
75467 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75468 if test "x$ac_cv_func_sincosf" = x""yes; then :
75469 cat >>confdefs.h <<_ACEOF
75470 #define HAVE_SINCOSF 1
75471 _ACEOF
75474 done
75476 else
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75479 $as_echo_n "checking for _sincosf declaration... " >&6; }
75480 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75481 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75482 $as_echo_n "(cached) " >&6
75483 else
75486 ac_ext=cpp
75487 ac_cpp='$CXXCPP $CPPFLAGS'
75488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75493 /* end confdefs.h. */
75494 #include <math.h>
75496 main ()
75498 _sincosf(0, 0, 0);
75500 return 0;
75502 _ACEOF
75503 if ac_fn_cxx_try_compile "$LINENO"; then :
75504 glibcxx_cv_func__sincosf_use=yes
75505 else
75506 glibcxx_cv_func__sincosf_use=no
75508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75509 ac_ext=c
75510 ac_cpp='$CPP $CPPFLAGS'
75511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75520 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75522 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75523 for ac_func in _sincosf
75524 do :
75525 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75526 if test "x$ac_cv_func__sincosf" = x""yes; then :
75527 cat >>confdefs.h <<_ACEOF
75528 #define HAVE__SINCOSF 1
75529 _ACEOF
75532 done
75541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75542 $as_echo_n "checking for finitef declaration... " >&6; }
75543 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75544 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75545 $as_echo_n "(cached) " >&6
75546 else
75549 ac_ext=cpp
75550 ac_cpp='$CXXCPP $CPPFLAGS'
75551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75556 /* end confdefs.h. */
75557 #include <math.h>
75558 #ifdef HAVE_IEEEFP_H
75559 #include <ieeefp.h>
75560 #endif
75563 main ()
75565 finitef(0);
75567 return 0;
75569 _ACEOF
75570 if ac_fn_cxx_try_compile "$LINENO"; then :
75571 glibcxx_cv_func_finitef_use=yes
75572 else
75573 glibcxx_cv_func_finitef_use=no
75575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75576 ac_ext=c
75577 ac_cpp='$CPP $CPPFLAGS'
75578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75587 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75589 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75590 for ac_func in finitef
75591 do :
75592 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75593 if test "x$ac_cv_func_finitef" = x""yes; then :
75594 cat >>confdefs.h <<_ACEOF
75595 #define HAVE_FINITEF 1
75596 _ACEOF
75599 done
75601 else
75603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75604 $as_echo_n "checking for _finitef declaration... " >&6; }
75605 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75606 if test "${glibcxx_cv_func__finitef_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>
75620 #ifdef HAVE_IEEEFP_H
75621 #include <ieeefp.h>
75622 #endif
75625 main ()
75627 _finitef(0);
75629 return 0;
75631 _ACEOF
75632 if ac_fn_cxx_try_compile "$LINENO"; then :
75633 glibcxx_cv_func__finitef_use=yes
75634 else
75635 glibcxx_cv_func__finitef_use=no
75637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75638 ac_ext=c
75639 ac_cpp='$CPP $CPPFLAGS'
75640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75649 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75651 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75652 for ac_func in _finitef
75653 do :
75654 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75655 if test "x$ac_cv_func__finitef" = x""yes; then :
75656 cat >>confdefs.h <<_ACEOF
75657 #define HAVE__FINITEF 1
75658 _ACEOF
75661 done
75670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75671 $as_echo_n "checking for long double trig functions... " >&6; }
75672 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75673 $as_echo_n "(cached) " >&6
75674 else
75677 ac_ext=cpp
75678 ac_cpp='$CXXCPP $CPPFLAGS'
75679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75684 /* end confdefs.h. */
75685 #include <math.h>
75687 main ()
75689 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75691 return 0;
75693 _ACEOF
75694 if ac_fn_cxx_try_compile "$LINENO"; then :
75695 glibcxx_cv_func_long_double_trig_use=yes
75696 else
75697 glibcxx_cv_func_long_double_trig_use=no
75699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75700 ac_ext=c
75701 ac_cpp='$CPP $CPPFLAGS'
75702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75709 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75710 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75711 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75712 do :
75713 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75715 eval as_val=\$$as_ac_var
75716 if test "x$as_val" = x""yes; then :
75717 cat >>confdefs.h <<_ACEOF
75718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75719 _ACEOF
75722 done
75724 else
75725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75726 $as_echo_n "checking for _long double trig functions... " >&6; }
75727 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75728 $as_echo_n "(cached) " >&6
75729 else
75732 ac_ext=cpp
75733 ac_cpp='$CXXCPP $CPPFLAGS'
75734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75739 /* end confdefs.h. */
75740 #include <math.h>
75742 main ()
75744 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75746 return 0;
75748 _ACEOF
75749 if ac_fn_cxx_try_compile "$LINENO"; then :
75750 glibcxx_cv_func__long_double_trig_use=yes
75751 else
75752 glibcxx_cv_func__long_double_trig_use=no
75754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75755 ac_ext=c
75756 ac_cpp='$CPP $CPPFLAGS'
75757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75764 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75765 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75766 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75767 do :
75768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75770 eval as_val=\$$as_ac_var
75771 if test "x$as_val" = x""yes; then :
75772 cat >>confdefs.h <<_ACEOF
75773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75774 _ACEOF
75777 done
75786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75787 $as_echo_n "checking for long double round functions... " >&6; }
75788 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75789 $as_echo_n "(cached) " >&6
75790 else
75793 ac_ext=cpp
75794 ac_cpp='$CXXCPP $CPPFLAGS'
75795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75800 /* end confdefs.h. */
75801 #include <math.h>
75803 main ()
75805 ceill (0); floorl (0);
75807 return 0;
75809 _ACEOF
75810 if ac_fn_cxx_try_compile "$LINENO"; then :
75811 glibcxx_cv_func_long_double_round_use=yes
75812 else
75813 glibcxx_cv_func_long_double_round_use=no
75815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75816 ac_ext=c
75817 ac_cpp='$CPP $CPPFLAGS'
75818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75825 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75826 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75827 for ac_func in ceill floorl
75828 do :
75829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75831 eval as_val=\$$as_ac_var
75832 if test "x$as_val" = x""yes; then :
75833 cat >>confdefs.h <<_ACEOF
75834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75835 _ACEOF
75838 done
75840 else
75841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75842 $as_echo_n "checking for _long double round functions... " >&6; }
75843 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75844 $as_echo_n "(cached) " >&6
75845 else
75848 ac_ext=cpp
75849 ac_cpp='$CXXCPP $CPPFLAGS'
75850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75855 /* end confdefs.h. */
75856 #include <math.h>
75858 main ()
75860 _ceill (0); _floorl (0);
75862 return 0;
75864 _ACEOF
75865 if ac_fn_cxx_try_compile "$LINENO"; then :
75866 glibcxx_cv_func__long_double_round_use=yes
75867 else
75868 glibcxx_cv_func__long_double_round_use=no
75870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75871 ac_ext=c
75872 ac_cpp='$CPP $CPPFLAGS'
75873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75880 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75881 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75882 for ac_func in _ceill _floorl
75883 do :
75884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75886 eval as_val=\$$as_ac_var
75887 if test "x$as_val" = x""yes; then :
75888 cat >>confdefs.h <<_ACEOF
75889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75890 _ACEOF
75893 done
75903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75904 $as_echo_n "checking for isnanl declaration... " >&6; }
75905 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75906 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75907 $as_echo_n "(cached) " >&6
75908 else
75911 ac_ext=cpp
75912 ac_cpp='$CXXCPP $CPPFLAGS'
75913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75918 /* end confdefs.h. */
75919 #include <math.h>
75920 #ifdef HAVE_IEEEFP_H
75921 #include <ieeefp.h>
75922 #endif
75925 main ()
75927 isnanl(0);
75929 return 0;
75931 _ACEOF
75932 if ac_fn_cxx_try_compile "$LINENO"; then :
75933 glibcxx_cv_func_isnanl_use=yes
75934 else
75935 glibcxx_cv_func_isnanl_use=no
75937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75938 ac_ext=c
75939 ac_cpp='$CPP $CPPFLAGS'
75940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75949 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75951 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75952 for ac_func in isnanl
75953 do :
75954 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75955 if test "x$ac_cv_func_isnanl" = x""yes; then :
75956 cat >>confdefs.h <<_ACEOF
75957 #define HAVE_ISNANL 1
75958 _ACEOF
75961 done
75963 else
75965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75966 $as_echo_n "checking for _isnanl declaration... " >&6; }
75967 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75968 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75969 $as_echo_n "(cached) " >&6
75970 else
75973 ac_ext=cpp
75974 ac_cpp='$CXXCPP $CPPFLAGS'
75975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75980 /* end confdefs.h. */
75981 #include <math.h>
75982 #ifdef HAVE_IEEEFP_H
75983 #include <ieeefp.h>
75984 #endif
75987 main ()
75989 _isnanl(0);
75991 return 0;
75993 _ACEOF
75994 if ac_fn_cxx_try_compile "$LINENO"; then :
75995 glibcxx_cv_func__isnanl_use=yes
75996 else
75997 glibcxx_cv_func__isnanl_use=no
75999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76000 ac_ext=c
76001 ac_cpp='$CPP $CPPFLAGS'
76002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76011 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76013 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76014 for ac_func in _isnanl
76015 do :
76016 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76017 if test "x$ac_cv_func__isnanl" = x""yes; then :
76018 cat >>confdefs.h <<_ACEOF
76019 #define HAVE__ISNANL 1
76020 _ACEOF
76023 done
76032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76033 $as_echo_n "checking for isinfl declaration... " >&6; }
76034 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76035 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76036 $as_echo_n "(cached) " >&6
76037 else
76040 ac_ext=cpp
76041 ac_cpp='$CXXCPP $CPPFLAGS'
76042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76047 /* end confdefs.h. */
76048 #include <math.h>
76049 #ifdef HAVE_IEEEFP_H
76050 #include <ieeefp.h>
76051 #endif
76054 main ()
76056 isinfl(0);
76058 return 0;
76060 _ACEOF
76061 if ac_fn_cxx_try_compile "$LINENO"; then :
76062 glibcxx_cv_func_isinfl_use=yes
76063 else
76064 glibcxx_cv_func_isinfl_use=no
76066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76067 ac_ext=c
76068 ac_cpp='$CPP $CPPFLAGS'
76069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76078 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76080 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76081 for ac_func in isinfl
76082 do :
76083 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76084 if test "x$ac_cv_func_isinfl" = x""yes; then :
76085 cat >>confdefs.h <<_ACEOF
76086 #define HAVE_ISINFL 1
76087 _ACEOF
76090 done
76092 else
76094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76095 $as_echo_n "checking for _isinfl declaration... " >&6; }
76096 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76097 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76098 $as_echo_n "(cached) " >&6
76099 else
76102 ac_ext=cpp
76103 ac_cpp='$CXXCPP $CPPFLAGS'
76104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76109 /* end confdefs.h. */
76110 #include <math.h>
76111 #ifdef HAVE_IEEEFP_H
76112 #include <ieeefp.h>
76113 #endif
76116 main ()
76118 _isinfl(0);
76120 return 0;
76122 _ACEOF
76123 if ac_fn_cxx_try_compile "$LINENO"; then :
76124 glibcxx_cv_func__isinfl_use=yes
76125 else
76126 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
76140 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76142 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76143 for ac_func in _isinfl
76144 do :
76145 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76146 if test "x$ac_cv_func__isinfl" = x""yes; then :
76147 cat >>confdefs.h <<_ACEOF
76148 #define HAVE__ISINFL 1
76149 _ACEOF
76152 done
76161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76162 $as_echo_n "checking for atan2l declaration... " >&6; }
76163 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76164 if test "${glibcxx_cv_func_atan2l_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>
76179 main ()
76181 atan2l(0, 0);
76183 return 0;
76185 _ACEOF
76186 if ac_fn_cxx_try_compile "$LINENO"; then :
76187 glibcxx_cv_func_atan2l_use=yes
76188 else
76189 glibcxx_cv_func_atan2l_use=no
76191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76192 ac_ext=c
76193 ac_cpp='$CPP $CPPFLAGS'
76194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76203 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76205 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76206 for ac_func in atan2l
76207 do :
76208 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76209 if test "x$ac_cv_func_atan2l" = x""yes; then :
76210 cat >>confdefs.h <<_ACEOF
76211 #define HAVE_ATAN2L 1
76212 _ACEOF
76215 done
76217 else
76219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76220 $as_echo_n "checking for _atan2l declaration... " >&6; }
76221 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76222 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76223 $as_echo_n "(cached) " >&6
76224 else
76227 ac_ext=cpp
76228 ac_cpp='$CXXCPP $CPPFLAGS'
76229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76234 /* end confdefs.h. */
76235 #include <math.h>
76237 main ()
76239 _atan2l(0, 0);
76241 return 0;
76243 _ACEOF
76244 if ac_fn_cxx_try_compile "$LINENO"; then :
76245 glibcxx_cv_func__atan2l_use=yes
76246 else
76247 glibcxx_cv_func__atan2l_use=no
76249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76250 ac_ext=c
76251 ac_cpp='$CPP $CPPFLAGS'
76252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76261 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76263 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76264 for ac_func in _atan2l
76265 do :
76266 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76267 if test "x$ac_cv_func__atan2l" = x""yes; then :
76268 cat >>confdefs.h <<_ACEOF
76269 #define HAVE__ATAN2L 1
76270 _ACEOF
76273 done
76282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76283 $as_echo_n "checking for expl declaration... " >&6; }
76284 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76285 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76286 $as_echo_n "(cached) " >&6
76287 else
76290 ac_ext=cpp
76291 ac_cpp='$CXXCPP $CPPFLAGS'
76292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76297 /* end confdefs.h. */
76298 #include <math.h>
76299 #ifdef HAVE_IEEEFP_H
76300 #include <ieeefp.h>
76301 #endif
76304 main ()
76306 expl(0);
76308 return 0;
76310 _ACEOF
76311 if ac_fn_cxx_try_compile "$LINENO"; then :
76312 glibcxx_cv_func_expl_use=yes
76313 else
76314 glibcxx_cv_func_expl_use=no
76316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76317 ac_ext=c
76318 ac_cpp='$CPP $CPPFLAGS'
76319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76328 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76330 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76331 for ac_func in expl
76332 do :
76333 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76334 if test "x$ac_cv_func_expl" = x""yes; then :
76335 cat >>confdefs.h <<_ACEOF
76336 #define HAVE_EXPL 1
76337 _ACEOF
76340 done
76342 else
76344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76345 $as_echo_n "checking for _expl declaration... " >&6; }
76346 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76347 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76348 $as_echo_n "(cached) " >&6
76349 else
76352 ac_ext=cpp
76353 ac_cpp='$CXXCPP $CPPFLAGS'
76354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76359 /* end confdefs.h. */
76360 #include <math.h>
76361 #ifdef HAVE_IEEEFP_H
76362 #include <ieeefp.h>
76363 #endif
76366 main ()
76368 _expl(0);
76370 return 0;
76372 _ACEOF
76373 if ac_fn_cxx_try_compile "$LINENO"; then :
76374 glibcxx_cv_func__expl_use=yes
76375 else
76376 glibcxx_cv_func__expl_use=no
76378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76379 ac_ext=c
76380 ac_cpp='$CPP $CPPFLAGS'
76381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76390 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76392 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76393 for ac_func in _expl
76394 do :
76395 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76396 if test "x$ac_cv_func__expl" = x""yes; then :
76397 cat >>confdefs.h <<_ACEOF
76398 #define HAVE__EXPL 1
76399 _ACEOF
76402 done
76411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76412 $as_echo_n "checking for fabsl declaration... " >&6; }
76413 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76414 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76415 $as_echo_n "(cached) " >&6
76416 else
76419 ac_ext=cpp
76420 ac_cpp='$CXXCPP $CPPFLAGS'
76421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76426 /* end confdefs.h. */
76427 #include <math.h>
76428 #ifdef HAVE_IEEEFP_H
76429 #include <ieeefp.h>
76430 #endif
76433 main ()
76435 fabsl(0);
76437 return 0;
76439 _ACEOF
76440 if ac_fn_cxx_try_compile "$LINENO"; then :
76441 glibcxx_cv_func_fabsl_use=yes
76442 else
76443 glibcxx_cv_func_fabsl_use=no
76445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76446 ac_ext=c
76447 ac_cpp='$CPP $CPPFLAGS'
76448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76457 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76459 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76460 for ac_func in fabsl
76461 do :
76462 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76463 if test "x$ac_cv_func_fabsl" = x""yes; then :
76464 cat >>confdefs.h <<_ACEOF
76465 #define HAVE_FABSL 1
76466 _ACEOF
76469 done
76471 else
76473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76474 $as_echo_n "checking for _fabsl declaration... " >&6; }
76475 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76476 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76477 $as_echo_n "(cached) " >&6
76478 else
76481 ac_ext=cpp
76482 ac_cpp='$CXXCPP $CPPFLAGS'
76483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76488 /* end confdefs.h. */
76489 #include <math.h>
76490 #ifdef HAVE_IEEEFP_H
76491 #include <ieeefp.h>
76492 #endif
76495 main ()
76497 _fabsl(0);
76499 return 0;
76501 _ACEOF
76502 if ac_fn_cxx_try_compile "$LINENO"; then :
76503 glibcxx_cv_func__fabsl_use=yes
76504 else
76505 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
76519 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76521 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76522 for ac_func in _fabsl
76523 do :
76524 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76525 if test "x$ac_cv_func__fabsl" = x""yes; then :
76526 cat >>confdefs.h <<_ACEOF
76527 #define HAVE__FABSL 1
76528 _ACEOF
76531 done
76540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76541 $as_echo_n "checking for fmodl declaration... " >&6; }
76542 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76543 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
76562 return 0;
76564 _ACEOF
76565 if ac_fn_cxx_try_compile "$LINENO"; then :
76566 glibcxx_cv_func_fmodl_use=yes
76567 else
76568 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
76582 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76584 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76585 for ac_func in fmodl
76586 do :
76587 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76588 if test "x$ac_cv_func_fmodl" = x""yes; then :
76589 cat >>confdefs.h <<_ACEOF
76590 #define HAVE_FMODL 1
76591 _ACEOF
76594 done
76596 else
76598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76599 $as_echo_n "checking for _fmodl declaration... " >&6; }
76600 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76601 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
76620 return 0;
76622 _ACEOF
76623 if ac_fn_cxx_try_compile "$LINENO"; then :
76624 glibcxx_cv_func__fmodl_use=yes
76625 else
76626 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
76640 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76642 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76643 for ac_func in _fmodl
76644 do :
76645 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76646 if test "x$ac_cv_func__fmodl" = x""yes; then :
76647 cat >>confdefs.h <<_ACEOF
76648 #define HAVE__FMODL 1
76649 _ACEOF
76652 done
76661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76662 $as_echo_n "checking for frexpl declaration... " >&6; }
76663 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76664 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
76683 return 0;
76685 _ACEOF
76686 if ac_fn_cxx_try_compile "$LINENO"; then :
76687 glibcxx_cv_func_frexpl_use=yes
76688 else
76689 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
76703 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76705 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76706 for ac_func in frexpl
76707 do :
76708 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76709 if test "x$ac_cv_func_frexpl" = x""yes; then :
76710 cat >>confdefs.h <<_ACEOF
76711 #define HAVE_FREXPL 1
76712 _ACEOF
76715 done
76717 else
76719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76720 $as_echo_n "checking for _frexpl declaration... " >&6; }
76721 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76722 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
76741 return 0;
76743 _ACEOF
76744 if ac_fn_cxx_try_compile "$LINENO"; then :
76745 glibcxx_cv_func__frexpl_use=yes
76746 else
76747 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
76761 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76763 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76764 for ac_func in _frexpl
76765 do :
76766 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76767 if test "x$ac_cv_func__frexpl" = x""yes; then :
76768 cat >>confdefs.h <<_ACEOF
76769 #define HAVE__FREXPL 1
76770 _ACEOF
76773 done
76782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76783 $as_echo_n "checking for hypotl declaration... " >&6; }
76784 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76785 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
76804 return 0;
76806 _ACEOF
76807 if ac_fn_cxx_try_compile "$LINENO"; then :
76808 glibcxx_cv_func_hypotl_use=yes
76809 else
76810 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
76824 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76826 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76827 for ac_func in hypotl
76828 do :
76829 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76830 if test "x$ac_cv_func_hypotl" = x""yes; then :
76831 cat >>confdefs.h <<_ACEOF
76832 #define HAVE_HYPOTL 1
76833 _ACEOF
76836 done
76838 else
76840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76841 $as_echo_n "checking for _hypotl declaration... " >&6; }
76842 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76843 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
76862 return 0;
76864 _ACEOF
76865 if ac_fn_cxx_try_compile "$LINENO"; then :
76866 glibcxx_cv_func__hypotl_use=yes
76867 else
76868 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
76882 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76884 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76885 for ac_func in _hypotl
76886 do :
76887 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76888 if test "x$ac_cv_func__hypotl" = x""yes; then :
76889 cat >>confdefs.h <<_ACEOF
76890 #define HAVE__HYPOTL 1
76891 _ACEOF
76894 done
76903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76904 $as_echo_n "checking for ldexpl declaration... " >&6; }
76905 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76906 if test "${glibcxx_cv_func_ldexpl_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>
76921 main ()
76923 ldexpl(0, 0);
76925 return 0;
76927 _ACEOF
76928 if ac_fn_cxx_try_compile "$LINENO"; then :
76929 glibcxx_cv_func_ldexpl_use=yes
76930 else
76931 glibcxx_cv_func_ldexpl_use=no
76933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76934 ac_ext=c
76935 ac_cpp='$CPP $CPPFLAGS'
76936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76945 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76947 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76948 for ac_func in ldexpl
76949 do :
76950 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76951 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76952 cat >>confdefs.h <<_ACEOF
76953 #define HAVE_LDEXPL 1
76954 _ACEOF
76957 done
76959 else
76961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76962 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76963 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76964 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76965 $as_echo_n "(cached) " >&6
76966 else
76969 ac_ext=cpp
76970 ac_cpp='$CXXCPP $CPPFLAGS'
76971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76976 /* end confdefs.h. */
76977 #include <math.h>
76979 main ()
76981 _ldexpl(0, 0);
76983 return 0;
76985 _ACEOF
76986 if ac_fn_cxx_try_compile "$LINENO"; then :
76987 glibcxx_cv_func__ldexpl_use=yes
76988 else
76989 glibcxx_cv_func__ldexpl_use=no
76991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76992 ac_ext=c
76993 ac_cpp='$CPP $CPPFLAGS'
76994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77003 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77005 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77006 for ac_func in _ldexpl
77007 do :
77008 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77009 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77010 cat >>confdefs.h <<_ACEOF
77011 #define HAVE__LDEXPL 1
77012 _ACEOF
77015 done
77024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77025 $as_echo_n "checking for logl declaration... " >&6; }
77026 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77027 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77028 $as_echo_n "(cached) " >&6
77029 else
77032 ac_ext=cpp
77033 ac_cpp='$CXXCPP $CPPFLAGS'
77034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77039 /* end confdefs.h. */
77040 #include <math.h>
77041 #ifdef HAVE_IEEEFP_H
77042 #include <ieeefp.h>
77043 #endif
77046 main ()
77048 logl(0);
77050 return 0;
77052 _ACEOF
77053 if ac_fn_cxx_try_compile "$LINENO"; then :
77054 glibcxx_cv_func_logl_use=yes
77055 else
77056 glibcxx_cv_func_logl_use=no
77058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77059 ac_ext=c
77060 ac_cpp='$CPP $CPPFLAGS'
77061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77070 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77072 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77073 for ac_func in logl
77074 do :
77075 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77076 if test "x$ac_cv_func_logl" = x""yes; then :
77077 cat >>confdefs.h <<_ACEOF
77078 #define HAVE_LOGL 1
77079 _ACEOF
77082 done
77084 else
77086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77087 $as_echo_n "checking for _logl declaration... " >&6; }
77088 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77089 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77090 $as_echo_n "(cached) " >&6
77091 else
77094 ac_ext=cpp
77095 ac_cpp='$CXXCPP $CPPFLAGS'
77096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77101 /* end confdefs.h. */
77102 #include <math.h>
77103 #ifdef HAVE_IEEEFP_H
77104 #include <ieeefp.h>
77105 #endif
77108 main ()
77110 _logl(0);
77112 return 0;
77114 _ACEOF
77115 if ac_fn_cxx_try_compile "$LINENO"; then :
77116 glibcxx_cv_func__logl_use=yes
77117 else
77118 glibcxx_cv_func__logl_use=no
77120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77121 ac_ext=c
77122 ac_cpp='$CPP $CPPFLAGS'
77123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77132 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77134 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77135 for ac_func in _logl
77136 do :
77137 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77138 if test "x$ac_cv_func__logl" = x""yes; then :
77139 cat >>confdefs.h <<_ACEOF
77140 #define HAVE__LOGL 1
77141 _ACEOF
77144 done
77153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77154 $as_echo_n "checking for log10l declaration... " >&6; }
77155 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77156 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77157 $as_echo_n "(cached) " >&6
77158 else
77161 ac_ext=cpp
77162 ac_cpp='$CXXCPP $CPPFLAGS'
77163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77168 /* end confdefs.h. */
77169 #include <math.h>
77170 #ifdef HAVE_IEEEFP_H
77171 #include <ieeefp.h>
77172 #endif
77175 main ()
77177 log10l(0);
77179 return 0;
77181 _ACEOF
77182 if ac_fn_cxx_try_compile "$LINENO"; then :
77183 glibcxx_cv_func_log10l_use=yes
77184 else
77185 glibcxx_cv_func_log10l_use=no
77187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77188 ac_ext=c
77189 ac_cpp='$CPP $CPPFLAGS'
77190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77199 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77201 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77202 for ac_func in log10l
77203 do :
77204 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77205 if test "x$ac_cv_func_log10l" = x""yes; then :
77206 cat >>confdefs.h <<_ACEOF
77207 #define HAVE_LOG10L 1
77208 _ACEOF
77211 done
77213 else
77215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77216 $as_echo_n "checking for _log10l declaration... " >&6; }
77217 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77218 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77219 $as_echo_n "(cached) " >&6
77220 else
77223 ac_ext=cpp
77224 ac_cpp='$CXXCPP $CPPFLAGS'
77225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77230 /* end confdefs.h. */
77231 #include <math.h>
77232 #ifdef HAVE_IEEEFP_H
77233 #include <ieeefp.h>
77234 #endif
77237 main ()
77239 _log10l(0);
77241 return 0;
77243 _ACEOF
77244 if ac_fn_cxx_try_compile "$LINENO"; then :
77245 glibcxx_cv_func__log10l_use=yes
77246 else
77247 glibcxx_cv_func__log10l_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__log10l_use" >&5
77261 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77263 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77264 for ac_func in _log10l
77265 do :
77266 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77267 if test "x$ac_cv_func__log10l" = x""yes; then :
77268 cat >>confdefs.h <<_ACEOF
77269 #define HAVE__LOG10L 1
77270 _ACEOF
77273 done
77282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77283 $as_echo_n "checking for modfl declaration... " >&6; }
77284 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77285 if test "${glibcxx_cv_func_modfl_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 modfl(0, 0);
77304 return 0;
77306 _ACEOF
77307 if ac_fn_cxx_try_compile "$LINENO"; then :
77308 glibcxx_cv_func_modfl_use=yes
77309 else
77310 glibcxx_cv_func_modfl_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_modfl_use" >&5
77324 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77326 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77327 for ac_func in modfl
77328 do :
77329 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77330 if test "x$ac_cv_func_modfl" = x""yes; then :
77331 cat >>confdefs.h <<_ACEOF
77332 #define HAVE_MODFL 1
77333 _ACEOF
77336 done
77338 else
77340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77341 $as_echo_n "checking for _modfl declaration... " >&6; }
77342 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77343 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
77362 return 0;
77364 _ACEOF
77365 if ac_fn_cxx_try_compile "$LINENO"; then :
77366 glibcxx_cv_func__modfl_use=yes
77367 else
77368 glibcxx_cv_func__modfl_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__modfl_use" >&5
77382 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77384 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77385 for ac_func in _modfl
77386 do :
77387 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77388 if test "x$ac_cv_func__modfl" = x""yes; then :
77389 cat >>confdefs.h <<_ACEOF
77390 #define HAVE__MODFL 1
77391 _ACEOF
77394 done
77403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77404 $as_echo_n "checking for powl declaration... " >&6; }
77405 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77406 if test "${glibcxx_cv_func_powl_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>
77421 main ()
77423 powl(0, 0);
77425 return 0;
77427 _ACEOF
77428 if ac_fn_cxx_try_compile "$LINENO"; then :
77429 glibcxx_cv_func_powl_use=yes
77430 else
77431 glibcxx_cv_func_powl_use=no
77433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77434 ac_ext=c
77435 ac_cpp='$CPP $CPPFLAGS'
77436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77445 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77447 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77448 for ac_func in powl
77449 do :
77450 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77451 if test "x$ac_cv_func_powl" = x""yes; then :
77452 cat >>confdefs.h <<_ACEOF
77453 #define HAVE_POWL 1
77454 _ACEOF
77457 done
77459 else
77461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77462 $as_echo_n "checking for _powl declaration... " >&6; }
77463 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77464 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77465 $as_echo_n "(cached) " >&6
77466 else
77469 ac_ext=cpp
77470 ac_cpp='$CXXCPP $CPPFLAGS'
77471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77476 /* end confdefs.h. */
77477 #include <math.h>
77479 main ()
77481 _powl(0, 0);
77483 return 0;
77485 _ACEOF
77486 if ac_fn_cxx_try_compile "$LINENO"; then :
77487 glibcxx_cv_func__powl_use=yes
77488 else
77489 glibcxx_cv_func__powl_use=no
77491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77492 ac_ext=c
77493 ac_cpp='$CPP $CPPFLAGS'
77494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77503 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77505 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77506 for ac_func in _powl
77507 do :
77508 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77509 if test "x$ac_cv_func__powl" = x""yes; then :
77510 cat >>confdefs.h <<_ACEOF
77511 #define HAVE__POWL 1
77512 _ACEOF
77515 done
77524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77525 $as_echo_n "checking for sqrtl declaration... " >&6; }
77526 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77527 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77528 $as_echo_n "(cached) " >&6
77529 else
77532 ac_ext=cpp
77533 ac_cpp='$CXXCPP $CPPFLAGS'
77534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77539 /* end confdefs.h. */
77540 #include <math.h>
77541 #ifdef HAVE_IEEEFP_H
77542 #include <ieeefp.h>
77543 #endif
77546 main ()
77548 sqrtl(0);
77550 return 0;
77552 _ACEOF
77553 if ac_fn_cxx_try_compile "$LINENO"; then :
77554 glibcxx_cv_func_sqrtl_use=yes
77555 else
77556 glibcxx_cv_func_sqrtl_use=no
77558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77559 ac_ext=c
77560 ac_cpp='$CPP $CPPFLAGS'
77561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77570 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77572 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77573 for ac_func in sqrtl
77574 do :
77575 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77576 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77577 cat >>confdefs.h <<_ACEOF
77578 #define HAVE_SQRTL 1
77579 _ACEOF
77582 done
77584 else
77586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77587 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77588 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77589 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77590 $as_echo_n "(cached) " >&6
77591 else
77594 ac_ext=cpp
77595 ac_cpp='$CXXCPP $CPPFLAGS'
77596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77601 /* end confdefs.h. */
77602 #include <math.h>
77603 #ifdef HAVE_IEEEFP_H
77604 #include <ieeefp.h>
77605 #endif
77608 main ()
77610 _sqrtl(0);
77612 return 0;
77614 _ACEOF
77615 if ac_fn_cxx_try_compile "$LINENO"; then :
77616 glibcxx_cv_func__sqrtl_use=yes
77617 else
77618 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
77632 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77634 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77635 for ac_func in _sqrtl
77636 do :
77637 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77638 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77639 cat >>confdefs.h <<_ACEOF
77640 #define HAVE__SQRTL 1
77641 _ACEOF
77644 done
77653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77654 $as_echo_n "checking for sincosl declaration... " >&6; }
77655 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77656 if test "${glibcxx_cv_func_sincosl_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>
77671 main ()
77673 sincosl(0, 0, 0);
77675 return 0;
77677 _ACEOF
77678 if ac_fn_cxx_try_compile "$LINENO"; then :
77679 glibcxx_cv_func_sincosl_use=yes
77680 else
77681 glibcxx_cv_func_sincosl_use=no
77683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77684 ac_ext=c
77685 ac_cpp='$CPP $CPPFLAGS'
77686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77695 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77697 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77698 for ac_func in sincosl
77699 do :
77700 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77701 if test "x$ac_cv_func_sincosl" = x""yes; then :
77702 cat >>confdefs.h <<_ACEOF
77703 #define HAVE_SINCOSL 1
77704 _ACEOF
77707 done
77709 else
77711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77712 $as_echo_n "checking for _sincosl declaration... " >&6; }
77713 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77714 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77715 $as_echo_n "(cached) " >&6
77716 else
77719 ac_ext=cpp
77720 ac_cpp='$CXXCPP $CPPFLAGS'
77721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77726 /* end confdefs.h. */
77727 #include <math.h>
77729 main ()
77731 _sincosl(0, 0, 0);
77733 return 0;
77735 _ACEOF
77736 if ac_fn_cxx_try_compile "$LINENO"; then :
77737 glibcxx_cv_func__sincosl_use=yes
77738 else
77739 glibcxx_cv_func__sincosl_use=no
77741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77742 ac_ext=c
77743 ac_cpp='$CPP $CPPFLAGS'
77744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77753 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77755 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77756 for ac_func in _sincosl
77757 do :
77758 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77759 if test "x$ac_cv_func__sincosl" = x""yes; then :
77760 cat >>confdefs.h <<_ACEOF
77761 #define HAVE__SINCOSL 1
77762 _ACEOF
77765 done
77774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77775 $as_echo_n "checking for finitel declaration... " >&6; }
77776 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77777 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77778 $as_echo_n "(cached) " >&6
77779 else
77782 ac_ext=cpp
77783 ac_cpp='$CXXCPP $CPPFLAGS'
77784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77789 /* end confdefs.h. */
77790 #include <math.h>
77791 #ifdef HAVE_IEEEFP_H
77792 #include <ieeefp.h>
77793 #endif
77796 main ()
77798 finitel(0);
77800 return 0;
77802 _ACEOF
77803 if ac_fn_cxx_try_compile "$LINENO"; then :
77804 glibcxx_cv_func_finitel_use=yes
77805 else
77806 glibcxx_cv_func_finitel_use=no
77808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77809 ac_ext=c
77810 ac_cpp='$CPP $CPPFLAGS'
77811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77820 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77822 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77823 for ac_func in finitel
77824 do :
77825 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77826 if test "x$ac_cv_func_finitel" = x""yes; then :
77827 cat >>confdefs.h <<_ACEOF
77828 #define HAVE_FINITEL 1
77829 _ACEOF
77832 done
77834 else
77836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77837 $as_echo_n "checking for _finitel declaration... " >&6; }
77838 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77839 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77840 $as_echo_n "(cached) " >&6
77841 else
77844 ac_ext=cpp
77845 ac_cpp='$CXXCPP $CPPFLAGS'
77846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77851 /* end confdefs.h. */
77852 #include <math.h>
77853 #ifdef HAVE_IEEEFP_H
77854 #include <ieeefp.h>
77855 #endif
77858 main ()
77860 _finitel(0);
77862 return 0;
77864 _ACEOF
77865 if ac_fn_cxx_try_compile "$LINENO"; then :
77866 glibcxx_cv_func__finitel_use=yes
77867 else
77868 glibcxx_cv_func__finitel_use=no
77870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77871 ac_ext=c
77872 ac_cpp='$CPP $CPPFLAGS'
77873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77882 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77884 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77885 for ac_func in _finitel
77886 do :
77887 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77888 if test "x$ac_cv_func__finitel" = x""yes; then :
77889 cat >>confdefs.h <<_ACEOF
77890 #define HAVE__FINITEL 1
77891 _ACEOF
77894 done
77902 LIBS="$ac_save_LIBS"
77903 CXXFLAGS="$ac_save_CXXFLAGS"
77906 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77907 ac_save_CXXFLAGS="$CXXFLAGS"
77908 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77912 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77913 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77914 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77915 $as_echo_n "(cached) " >&6
77916 else
77919 ac_ext=cpp
77920 ac_cpp='$CXXCPP $CPPFLAGS'
77921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77926 /* end confdefs.h. */
77927 #include <stdlib.h>
77929 main ()
77931 at_quick_exit(0);
77933 return 0;
77935 _ACEOF
77936 if ac_fn_cxx_try_compile "$LINENO"; then :
77937 glibcxx_cv_func_at_quick_exit_use=yes
77938 else
77939 glibcxx_cv_func_at_quick_exit_use=no
77941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77942 ac_ext=c
77943 ac_cpp='$CPP $CPPFLAGS'
77944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77953 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77954 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77955 for ac_func in at_quick_exit
77956 do :
77957 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77958 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77959 cat >>confdefs.h <<_ACEOF
77960 #define HAVE_AT_QUICK_EXIT 1
77961 _ACEOF
77964 done
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77970 $as_echo_n "checking for quick_exit declaration... " >&6; }
77971 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77972 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77973 $as_echo_n "(cached) " >&6
77974 else
77977 ac_ext=cpp
77978 ac_cpp='$CXXCPP $CPPFLAGS'
77979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77984 /* end confdefs.h. */
77985 #include <stdlib.h>
77987 main ()
77989 quick_exit(0);
77991 return 0;
77993 _ACEOF
77994 if ac_fn_cxx_try_compile "$LINENO"; then :
77995 glibcxx_cv_func_quick_exit_use=yes
77996 else
77997 glibcxx_cv_func_quick_exit_use=no
77999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78000 ac_ext=c
78001 ac_cpp='$CPP $CPPFLAGS'
78002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78011 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78012 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78013 for ac_func in quick_exit
78014 do :
78015 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78016 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78017 cat >>confdefs.h <<_ACEOF
78018 #define HAVE_QUICK_EXIT 1
78019 _ACEOF
78022 done
78027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78028 $as_echo_n "checking for strtold declaration... " >&6; }
78029 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78030 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78031 $as_echo_n "(cached) " >&6
78032 else
78035 ac_ext=cpp
78036 ac_cpp='$CXXCPP $CPPFLAGS'
78037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78042 /* end confdefs.h. */
78043 #include <stdlib.h>
78045 main ()
78047 strtold(0, 0);
78049 return 0;
78051 _ACEOF
78052 if ac_fn_cxx_try_compile "$LINENO"; then :
78053 glibcxx_cv_func_strtold_use=yes
78054 else
78055 glibcxx_cv_func_strtold_use=no
78057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78058 ac_ext=c
78059 ac_cpp='$CPP $CPPFLAGS'
78060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78069 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78070 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78071 for ac_func in strtold
78072 do :
78073 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78074 if test "x$ac_cv_func_strtold" = x""yes; then :
78075 cat >>confdefs.h <<_ACEOF
78076 #define HAVE_STRTOLD 1
78077 _ACEOF
78080 done
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78088 $as_echo_n "checking for strtof declaration... " >&6; }
78089 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78090 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78091 $as_echo_n "(cached) " >&6
78092 else
78095 ac_ext=cpp
78096 ac_cpp='$CXXCPP $CPPFLAGS'
78097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78102 /* end confdefs.h. */
78103 #include <stdlib.h>
78105 main ()
78107 strtof(0, 0);
78109 return 0;
78111 _ACEOF
78112 if ac_fn_cxx_try_compile "$LINENO"; then :
78113 glibcxx_cv_func_strtof_use=yes
78114 else
78115 glibcxx_cv_func_strtof_use=no
78117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78118 ac_ext=c
78119 ac_cpp='$CPP $CPPFLAGS'
78120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78129 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78130 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78131 for ac_func in strtof
78132 do :
78133 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78134 if test "x$ac_cv_func_strtof" = x""yes; then :
78135 cat >>confdefs.h <<_ACEOF
78136 #define HAVE_STRTOF 1
78137 _ACEOF
78140 done
78147 CXXFLAGS="$ac_save_CXXFLAGS"
78150 *-vxworks)
78151 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78153 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78155 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78157 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78159 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78161 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78163 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78165 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78167 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78169 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78171 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78173 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78175 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78177 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78179 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78181 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78183 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78185 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78187 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78189 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78193 as_fn_error "No support for this host/target combination." "$LINENO" 5
78195 esac
78199 # At some point, we should differentiate between architectures
78200 # like x86, which have long double versions, and alpha/powerpc/etc.,
78201 # which don't. For the time being, punt.
78202 if test x"long_double_math_on_this_cpu" = x"yes"; then
78203 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78205 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78207 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78209 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78211 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78213 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78215 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78217 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78219 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78221 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78223 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78225 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78227 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78229 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78231 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78233 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78235 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78237 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78239 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78241 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78243 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78245 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78247 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78252 # Check for _Unwind_GetIPInfo.
78255 # Check whether --with-system-libunwind was given.
78256 if test "${with_system_libunwind+set}" = set; then :
78257 withval=$with_system_libunwind;
78260 # If system-libunwind was not specifically set, pick a default setting.
78261 if test x$with_system_libunwind = x; then
78262 case ${target} in
78263 ia64-*-hpux*) with_system_libunwind=yes ;;
78264 *) with_system_libunwind=no ;;
78265 esac
78267 # Based on system-libunwind and target, do we have ipinfo?
78268 if test x$with_system_libunwind = xyes; then
78269 case ${target} in
78270 ia64-*-*) have_unwind_getipinfo=no ;;
78271 *) have_unwind_getipinfo=yes ;;
78272 esac
78273 else
78274 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78276 case ${target} in
78277 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78278 *) have_unwind_getipinfo=yes ;;
78279 esac
78283 if test x$have_unwind_getipinfo = xyes; then
78285 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78290 # Check whether --enable-linux-futex was given.
78291 if test "${enable_linux_futex+set}" = set; then :
78292 enableval=$enable_linux_futex;
78293 case "$enableval" in
78294 yes|no|default) ;;
78295 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78296 esac
78298 else
78299 enable_linux_futex=default
78303 case "$target" in
78304 *-linux*)
78305 case "$enable_linux_futex" in
78306 default)
78307 # If headers don't have gettid/futex syscalls definition, then
78308 # default to no, otherwise there will be compile time failures.
78309 # Otherwise, default to yes. If we don't detect we are
78310 # compiled/linked against NPTL and not cross-compiling, check
78311 # if programs are run by default against NPTL and if not, issue
78312 # a warning.
78313 enable_linux_futex=no
78314 if test x$gcc_no_link = xyes; then
78315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78318 /* end confdefs.h. */
78319 #include <sys/syscall.h>
78320 int lk;
78322 main ()
78324 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78326 return 0;
78328 _ACEOF
78329 if ac_fn_c_try_link "$LINENO"; then :
78330 save_LIBS="$LIBS"
78331 LIBS="-lpthread $LIBS"
78332 if test x$gcc_no_link = xyes; then
78333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78336 /* end confdefs.h. */
78337 #ifndef _GNU_SOURCE
78338 #define _GNU_SOURCE 1
78339 #endif
78340 #include <pthread.h>
78341 pthread_t th; void *status;
78343 main ()
78345 pthread_tryjoin_np (th, &status);
78347 return 0;
78349 _ACEOF
78350 if ac_fn_c_try_link "$LINENO"; then :
78351 enable_linux_futex=yes
78352 else
78353 if test x$cross_compiling = xno; then
78354 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78355 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78357 If so, please configure with --disable-linux-futex" >&5
78358 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78359 If so, please configure with --disable-linux-futex" >&2;}
78362 enable_linux_futex=yes
78364 rm -f core conftest.err conftest.$ac_objext \
78365 conftest$ac_exeext conftest.$ac_ext
78366 LIBS="$save_LIBS"
78368 rm -f core conftest.err conftest.$ac_objext \
78369 conftest$ac_exeext conftest.$ac_ext
78371 yes)
78372 if test x$gcc_no_link = xyes; then
78373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78376 /* end confdefs.h. */
78377 #include <sys/syscall.h>
78378 int lk;
78380 main ()
78382 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78384 return 0;
78386 _ACEOF
78387 if ac_fn_c_try_link "$LINENO"; then :
78389 else
78390 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78392 rm -f core conftest.err conftest.$ac_objext \
78393 conftest$ac_exeext conftest.$ac_ext
78395 esac
78398 enable_linux_futex=no
78400 esac
78401 if test x$enable_linux_futex = xyes; then
78403 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78410 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78412 acx_cv_header_stdint=stddef.h
78413 acx_cv_header_stdint_kind="(already complete)"
78414 for i in stdint.h $inttype_headers; do
78415 unset ac_cv_type_uintptr_t
78416 unset ac_cv_type_uintmax_t
78417 unset ac_cv_type_int_least32_t
78418 unset ac_cv_type_int_fast32_t
78419 unset ac_cv_type_uint64_t
78420 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78421 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78422 #include <$i>
78424 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78425 acx_cv_header_stdint=$i
78426 else
78427 continue
78430 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78431 #include <$i>
78433 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78435 else
78436 acx_cv_header_stdint_kind="(mostly complete)"
78439 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78440 #include <$i>
78442 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78444 else
78445 acx_cv_header_stdint_kind="(mostly complete)"
78448 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78449 #include <$i>
78451 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78453 else
78454 acx_cv_header_stdint_kind="(mostly complete)"
78457 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78458 #include <$i>
78460 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78462 else
78463 acx_cv_header_stdint_kind="(lacks uint64_t)"
78466 break
78467 done
78468 if test "$acx_cv_header_stdint" = stddef.h; then
78469 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78470 for i in stdint.h $inttype_headers; do
78471 unset ac_cv_type_uintptr_t
78472 unset ac_cv_type_uint32_t
78473 unset ac_cv_type_uint64_t
78474 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78475 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78476 #include <$i>
78478 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78479 acx_cv_header_stdint=$i
78480 else
78481 continue
78484 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78485 #include <$i>
78487 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78491 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78492 #include <$i>
78494 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78498 break
78499 done
78501 if test "$acx_cv_header_stdint" = stddef.h; then
78502 acx_cv_header_stdint_kind="(u_intXX_t style)"
78503 for i in sys/types.h $inttype_headers; do
78504 unset ac_cv_type_u_int32_t
78505 unset ac_cv_type_u_int64_t
78506 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78507 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78508 #include <$i>
78510 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78511 acx_cv_header_stdint=$i
78512 else
78513 continue
78516 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78517 #include <$i>
78519 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78523 break
78524 done
78526 if test "$acx_cv_header_stdint" = stddef.h; then
78527 acx_cv_header_stdint_kind="(using manual detection)"
78530 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78531 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78532 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78533 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78534 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78536 # ----------------- Summarize what we found so far
78538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78539 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78541 case `$as_basename -- include/gstdint.h ||
78542 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78543 Xinclude/gstdint.h : 'X\(//\)$' \| \
78544 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78545 $as_echo X/include/gstdint.h |
78546 sed '/^.*\/\([^/][^/]*\)\/*$/{
78547 s//\1/
78550 /^X\/\(\/\/\)$/{
78551 s//\1/
78554 /^X\/\(\/\).*/{
78555 s//\1/
78558 s/.*/./; q'` in
78559 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78560 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78561 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78562 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78563 *) ;;
78564 esac
78566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78567 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78569 # ----------------- done included file, check C basic types --------
78571 # Lacking an uintptr_t? Test size of void *
78572 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78573 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78576 # This bug is HP SR number 8606223364.
78577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78578 $as_echo_n "checking size of void *... " >&6; }
78579 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78580 $as_echo_n "(cached) " >&6
78581 else
78582 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78584 else
78585 if test "$ac_cv_type_void_p" = yes; then
78586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78588 { as_fn_set_status 77
78589 as_fn_error "cannot compute sizeof (void *)
78590 See \`config.log' for more details." "$LINENO" 5; }; }
78591 else
78592 ac_cv_sizeof_void_p=0
78597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78598 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78602 cat >>confdefs.h <<_ACEOF
78603 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78604 _ACEOF
78607 esac
78609 # Lacking an uint64_t? Test size of long
78610 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78611 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78614 # This bug is HP SR number 8606223364.
78615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78616 $as_echo_n "checking size of long... " >&6; }
78617 if test "${ac_cv_sizeof_long+set}" = set; then :
78618 $as_echo_n "(cached) " >&6
78619 else
78620 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78622 else
78623 if test "$ac_cv_type_long" = yes; then
78624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78626 { as_fn_set_status 77
78627 as_fn_error "cannot compute sizeof (long)
78628 See \`config.log' for more details." "$LINENO" 5; }; }
78629 else
78630 ac_cv_sizeof_long=0
78635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78636 $as_echo "$ac_cv_sizeof_long" >&6; }
78640 cat >>confdefs.h <<_ACEOF
78641 #define SIZEOF_LONG $ac_cv_sizeof_long
78642 _ACEOF
78645 esac
78647 if test $acx_cv_header_stdint = stddef.h; then
78648 # Lacking a good header? Test size of everything and deduce all types.
78649 # The cast to long int works around a bug in the HP C Compiler
78650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78652 # This bug is HP SR number 8606223364.
78653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78654 $as_echo_n "checking size of int... " >&6; }
78655 if test "${ac_cv_sizeof_int+set}" = set; then :
78656 $as_echo_n "(cached) " >&6
78657 else
78658 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78660 else
78661 if test "$ac_cv_type_int" = yes; then
78662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78664 { as_fn_set_status 77
78665 as_fn_error "cannot compute sizeof (int)
78666 See \`config.log' for more details." "$LINENO" 5; }; }
78667 else
78668 ac_cv_sizeof_int=0
78673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78674 $as_echo "$ac_cv_sizeof_int" >&6; }
78678 cat >>confdefs.h <<_ACEOF
78679 #define SIZEOF_INT $ac_cv_sizeof_int
78680 _ACEOF
78683 # The cast to long int works around a bug in the HP C Compiler
78684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78686 # This bug is HP SR number 8606223364.
78687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78688 $as_echo_n "checking size of short... " >&6; }
78689 if test "${ac_cv_sizeof_short+set}" = set; then :
78690 $as_echo_n "(cached) " >&6
78691 else
78692 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78694 else
78695 if test "$ac_cv_type_short" = yes; then
78696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78698 { as_fn_set_status 77
78699 as_fn_error "cannot compute sizeof (short)
78700 See \`config.log' for more details." "$LINENO" 5; }; }
78701 else
78702 ac_cv_sizeof_short=0
78707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78708 $as_echo "$ac_cv_sizeof_short" >&6; }
78712 cat >>confdefs.h <<_ACEOF
78713 #define SIZEOF_SHORT $ac_cv_sizeof_short
78714 _ACEOF
78717 # The cast to long int works around a bug in the HP C Compiler
78718 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78719 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78720 # This bug is HP SR number 8606223364.
78721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78722 $as_echo_n "checking size of char... " >&6; }
78723 if test "${ac_cv_sizeof_char+set}" = set; then :
78724 $as_echo_n "(cached) " >&6
78725 else
78726 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78728 else
78729 if test "$ac_cv_type_char" = yes; then
78730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78732 { as_fn_set_status 77
78733 as_fn_error "cannot compute sizeof (char)
78734 See \`config.log' for more details." "$LINENO" 5; }; }
78735 else
78736 ac_cv_sizeof_char=0
78741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78742 $as_echo "$ac_cv_sizeof_char" >&6; }
78746 cat >>confdefs.h <<_ACEOF
78747 #define SIZEOF_CHAR $ac_cv_sizeof_char
78748 _ACEOF
78752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78753 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78754 case "$ac_cv_sizeof_char" in
78755 1) acx_cv_type_int8_t=char ;;
78756 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78757 esac
78758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78759 $as_echo "$acx_cv_type_int8_t" >&6; }
78761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78762 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78763 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78764 2:*) acx_cv_type_int16_t=int ;;
78765 *:2) acx_cv_type_int16_t=short ;;
78766 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78767 esac
78768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78769 $as_echo "$acx_cv_type_int16_t" >&6; }
78771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78772 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78773 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78774 4:*) acx_cv_type_int32_t=int ;;
78775 *:4) acx_cv_type_int32_t=long ;;
78776 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78777 esac
78778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78779 $as_echo "$acx_cv_type_int32_t" >&6; }
78782 # These tests are here to make the output prettier
78784 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78785 case "$ac_cv_sizeof_long" in
78786 8) acx_cv_type_int64_t=long ;;
78787 esac
78788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78789 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78791 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78794 # Now we can use the above types
78796 if test "$ac_cv_type_uintptr_t" != yes; then
78797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78798 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78799 case $ac_cv_sizeof_void_p in
78800 2) acx_cv_type_intptr_t=int16_t ;;
78801 4) acx_cv_type_intptr_t=int32_t ;;
78802 8) acx_cv_type_intptr_t=int64_t ;;
78803 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78804 esac
78805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78806 $as_echo "$acx_cv_type_intptr_t" >&6; }
78809 # ----------------- done all checks, emit header -------------
78810 ac_config_commands="$ac_config_commands include/gstdint.h"
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78817 $as_echo_n "checking for GNU c++filt... " >&6; }
78818 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78819 $as_echo_n "(cached) " >&6
78820 else
78821 if test -z "$CXXFILT"; then
78822 ac_path_CXXFILT_found=false
78823 # Loop through the user's path and test for each of PROGNAME-LIST
78824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78825 for as_dir in $PATH
78827 IFS=$as_save_IFS
78828 test -z "$as_dir" && as_dir=.
78829 for ac_prog in c++filt gc++filt; do
78830 for ac_exec_ext in '' $ac_executable_extensions; do
78831 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78832 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78833 # Check for GNU $ac_path_CXXFILT
78834 case `"$ac_path_CXXFILT" --version 2>&1` in
78835 *GNU*)
78836 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78837 esac
78839 $ac_path_CXXFILT_found && break 3
78840 done
78841 done
78842 done
78843 IFS=$as_save_IFS
78844 if test -z "$ac_cv_path_CXXFILT"; then
78847 else
78848 ac_cv_path_CXXFILT=$CXXFILT
78852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78853 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78854 CXXFILT=$ac_cv_path_CXXFILT
78858 # Check whether --enable-symvers was given.
78859 if test "${enable_symvers+set}" = set; then :
78860 enableval=$enable_symvers;
78861 case "$enableval" in
78862 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78863 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78864 esac
78866 else
78867 enable_symvers=yes
78872 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78873 # don't know enough about $LD to do tricks...
78875 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78876 # with extern "C++" in version scripts.
78879 # Turn a 'yes' into a suitable default.
78880 if test x$enable_symvers = xyes ; then
78881 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78882 enable_symvers=no
78883 else
78884 if test $with_gnu_ld = yes ; then
78885 case ${target_os} in
78886 hpux*)
78887 enable_symvers=no ;;
78889 enable_symvers=gnu ;;
78890 esac
78891 else
78892 case ${target_os} in
78893 darwin*)
78894 enable_symvers=darwin ;;
78895 # Sun symbol versioning exists since Solaris 2.5.
78896 solaris2.[5-9]* | solaris2.1[0-9]*)
78897 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78898 # version scripts, so disable symbol versioning if none can be
78899 # found.
78900 if test -z "$ac_cv_path_CXXFILT"; then
78901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78902 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78904 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78906 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78907 enable_symvers=no
78908 else
78909 enable_symvers=sun
78913 enable_symvers=no ;;
78914 esac
78919 # Check to see if 'darwin' or 'darwin-export' can win.
78920 if test x$enable_symvers = xdarwin-export ; then
78921 enable_symvers=darwin
78924 # Check if 'sun' was requested on non-Solaris 2 platforms.
78925 if test x$enable_symvers = xsun ; then
78926 case ${target_os} in
78927 solaris2*)
78928 # All fine.
78931 # Unlikely to work.
78932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78933 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78935 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78937 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78938 enable_symvers=no
78940 esac
78943 # Check to see if 'gnu' can win.
78944 if test $enable_symvers = gnu ||
78945 test $enable_symvers = gnu-versioned-namespace ||
78946 test $enable_symvers = sun; then
78947 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78949 $as_echo_n "checking for shared libgcc... " >&6; }
78950 ac_save_CFLAGS="$CFLAGS"
78951 CFLAGS=' -lgcc_s'
78952 if test x$gcc_no_link = xyes; then
78953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78956 /* end confdefs.h. */
78959 main ()
78961 return 0;
78963 return 0;
78965 _ACEOF
78966 if ac_fn_c_try_link "$LINENO"; then :
78967 glibcxx_shared_libgcc=yes
78968 else
78969 glibcxx_shared_libgcc=no
78971 rm -f core conftest.err conftest.$ac_objext \
78972 conftest$ac_exeext conftest.$ac_ext
78973 CFLAGS="$ac_save_CFLAGS"
78974 if test $glibcxx_shared_libgcc = no; then
78975 cat > conftest.c <<EOF
78976 int main (void) { return 0; }
78978 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78979 -shared -shared-libgcc -o conftest.so \
78980 conftest.c -v 2>&1 >/dev/null \
78981 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78982 rm -f conftest.c conftest.so
78983 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78984 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78985 if test x$gcc_no_link = xyes; then
78986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78989 /* end confdefs.h. */
78992 main ()
78994 return 0;
78996 return 0;
78998 _ACEOF
78999 if ac_fn_c_try_link "$LINENO"; then :
79000 glibcxx_shared_libgcc=yes
79002 rm -f core conftest.err conftest.$ac_objext \
79003 conftest$ac_exeext conftest.$ac_ext
79004 CFLAGS="$ac_save_CFLAGS"
79007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79008 $as_echo "$glibcxx_shared_libgcc" >&6; }
79010 # For GNU ld, we need at least this version. The format is described in
79011 # GLIBCXX_CHECK_LINKER_FEATURES above.
79012 glibcxx_min_gnu_ld_version=21400
79014 # If no shared libgcc, can't win.
79015 if test $glibcxx_shared_libgcc != yes; then
79016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79017 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79019 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79021 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79022 enable_symvers=no
79023 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79024 : All interesting versions of Sun ld support sun style symbol versioning.
79025 elif test $with_gnu_ld != yes ; then
79026 # just fail for now
79027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79028 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79030 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79032 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79033 enable_symvers=no
79034 elif test $glibcxx_ld_is_gold = yes ; then
79035 : All versions of gold support symbol versioning.
79036 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79037 # The right tools, the right setup, but too old. Fallbacks?
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79039 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79041 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79043 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79045 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79047 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79048 enable_symvers=no
79052 # For libtool versioning info, format is CURRENT:REVISION:AGE
79053 libtool_VERSION=6:22:0
79055 # Everything parsed; figure out what files and settings to use.
79056 case $enable_symvers in
79058 SYMVER_FILE=config/abi/pre/none.ver
79060 gnu)
79061 SYMVER_FILE=config/abi/pre/gnu.ver
79063 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79066 gnu-versioned-namespace)
79067 libtool_VERSION=7:0:0
79068 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79070 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79073 darwin)
79074 SYMVER_FILE=config/abi/pre/gnu.ver
79076 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79079 sun)
79080 SYMVER_FILE=config/abi/pre/gnu.ver
79082 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79085 esac
79087 if test x$enable_symvers != xno ; then
79089 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79094 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79095 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79096 $as_echo_n "(cached) " >&6
79097 else
79099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79100 /* end confdefs.h. */
79101 void foo (void); __asm (".symver foo, bar@SYMVER");
79103 main ()
79107 return 0;
79109 _ACEOF
79110 if ac_fn_c_try_compile "$LINENO"; then :
79111 glibcxx_cv_have_as_symver_directive=yes
79112 else
79113 glibcxx_cv_have_as_symver_directive=no
79115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79118 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79119 if test $glibcxx_cv_have_as_symver_directive = yes; then
79121 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79132 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79133 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79135 if test $enable_symvers != no ; then
79136 case ${target_os} in
79137 # The Solaris 2 runtime linker doesn't support the GNU extension of
79138 # binding the same symbol to different versions
79139 solaris2*)
79141 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79144 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79147 esac
79150 # Now, set up compatibility support, if any.
79151 # In addition, need this to deal with std::size_t mangling in
79152 # src/compatibility.cc. In a perfect world, could use
79153 # typeid(std::size_t).name()[0] to do direct substitution.
79154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79155 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79156 ac_save_CFLAGS="$CFLAGS"
79157 CFLAGS="-Werror"
79158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79159 /* end confdefs.h. */
79162 main ()
79164 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79166 return 0;
79168 _ACEOF
79169 if ac_fn_c_try_compile "$LINENO"; then :
79170 glibcxx_size_t_is_i=yes
79171 else
79172 glibcxx_size_t_is_i=no
79174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79175 CFLAGS=$ac_save_CFLAGS
79176 if test "$glibcxx_size_t_is_i" = yes; then
79178 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79182 $as_echo "$glibcxx_size_t_is_i" >&6; }
79184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79185 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79186 ac_save_CFLAGS="$CFLAGS"
79187 CFLAGS="-Werror"
79188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79189 /* end confdefs.h. */
79192 main ()
79194 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79196 return 0;
79198 _ACEOF
79199 if ac_fn_c_try_compile "$LINENO"; then :
79200 glibcxx_ptrdiff_t_is_i=yes
79201 else
79202 glibcxx_ptrdiff_t_is_i=no
79204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79205 CFLAGS=$ac_save_CFLAGS
79206 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79208 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79212 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79217 # Check whether --enable-libstdcxx-visibility was given.
79218 if test "${enable_libstdcxx_visibility+set}" = set; then :
79219 enableval=$enable_libstdcxx_visibility;
79220 case "$enableval" in
79221 yes|no) ;;
79222 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79223 esac
79225 else
79226 enable_libstdcxx_visibility=yes
79231 if test x$enable_libstdcxx_visibility = xyes ; then
79232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79233 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79234 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79235 $as_echo_n "(cached) " >&6
79236 else
79238 save_CFLAGS="$CFLAGS"
79239 CFLAGS="$CFLAGS -Werror"
79240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79241 /* end confdefs.h. */
79242 void __attribute__((visibility("hidden"))) foo(void) { }
79244 main ()
79248 return 0;
79250 _ACEOF
79251 if ac_fn_c_try_compile "$LINENO"; then :
79252 glibcxx_cv_have_attribute_visibility=yes
79253 else
79254 glibcxx_cv_have_attribute_visibility=no
79256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79257 CFLAGS="$save_CFLAGS"
79259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79260 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79261 if test $glibcxx_cv_have_attribute_visibility = no; then
79262 enable_libstdcxx_visibility=no
79267 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79268 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79272 # Check whether --enable-libstdcxx-dual-abi was given.
79273 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79274 enableval=$enable_libstdcxx_dual_abi;
79275 case "$enableval" in
79276 yes|no) ;;
79277 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79278 esac
79280 else
79281 enable_libstdcxx_dual_abi=yes
79285 if test x$enable_symvers = xgnu-versioned-namespace; then
79286 # gnu-versioned-namespace is incompatible with the dual ABI.
79287 enable_libstdcxx_dual_abi="no"
79289 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79290 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79291 $as_echo "$as_me: dual ABI is disabled" >&6;}
79292 default_libstdcxx_abi="gcc4-compatible"
79297 if test x$enable_libstdcxx_dual_abi = xyes; then
79298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79299 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79301 # Check whether --with-default-libstdcxx-abi was given.
79302 if test "${with_default_libstdcxx_abi+set}" = set; then :
79303 withval=$with_default_libstdcxx_abi; case "$withval" in
79304 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79305 new|cxx11) default_libstdcxx_abi="new" ;;
79306 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79307 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79308 esac
79310 else
79311 default_libstdcxx_abi="new"
79314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79315 $as_echo "${default_libstdcxx_abi}" >&6; }
79317 if test $default_libstdcxx_abi = "new"; then
79318 glibcxx_cxx11_abi=1
79319 glibcxx_cxx98_abi=0
79320 else
79321 glibcxx_cxx11_abi=0
79322 glibcxx_cxx98_abi=1
79328 ac_ldbl_compat=no
79329 case "$target" in
79330 powerpc*-*-linux* | \
79331 sparc*-*-linux* | \
79332 s390*-*-linux* | \
79333 alpha*-*-linux*)
79334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79335 /* end confdefs.h. */
79338 main ()
79341 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79342 #error no need for long double compatibility
79343 #endif
79346 return 0;
79348 _ACEOF
79349 if ac_fn_c_try_compile "$LINENO"; then :
79350 ac_ldbl_compat=yes
79351 else
79352 ac_ldbl_compat=no
79354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79355 if test "$ac_ldbl_compat" = yes; then
79357 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79359 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79361 esac
79364 # Check if assembler supports disabling hardware capability support.
79366 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79368 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79369 # with a different meaning.
79370 case ${target_os} in
79371 solaris2*)
79372 ac_save_CFLAGS="$CFLAGS"
79373 CFLAGS="$CFLAGS -Wa,-nH"
79375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79376 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79378 /* end confdefs.h. */
79381 main ()
79383 return 0;
79385 return 0;
79387 _ACEOF
79388 if ac_fn_c_try_compile "$LINENO"; then :
79389 ac_hwcap_flags=yes
79390 else
79391 ac_hwcap_flags=no
79393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79394 if test "$ac_hwcap_flags" = "yes"; then
79395 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79398 $as_echo "$ac_hwcap_flags" >&6; }
79400 CFLAGS="$ac_save_CFLAGS"
79402 esac
79407 # Check if assembler supports rdrand opcode.
79409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79410 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79411 if test "${ac_cv_x86_rdrand+set}" = set; then :
79412 $as_echo_n "(cached) " >&6
79413 else
79415 ac_cv_x86_rdrand=no
79416 case "$target" in
79417 i?86-*-* | \
79418 x86_64-*-*)
79419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79420 /* end confdefs.h. */
79423 main ()
79425 asm("rdrand %eax");
79427 return 0;
79429 _ACEOF
79430 if ac_fn_c_try_compile "$LINENO"; then :
79431 ac_cv_x86_rdrand=yes
79432 else
79433 ac_cv_x86_rdrand=no
79435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79436 esac
79440 if test $ac_cv_x86_rdrand = yes; then
79442 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79446 $as_echo "$ac_cv_x86_rdrand" >&6; }
79449 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79451 if $GLIBCXX_IS_NATIVE ; then
79452 # Do checks for resource limit functions.
79454 setrlimit_have_headers=yes
79455 for ac_header in unistd.h sys/time.h sys/resource.h
79456 do :
79457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79458 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79459 eval as_val=\$$as_ac_Header
79460 if test "x$as_val" = x""yes; then :
79461 cat >>confdefs.h <<_ACEOF
79462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79463 _ACEOF
79465 else
79466 setrlimit_have_headers=no
79469 done
79471 # If don't have the headers, then we can't run the tests now, and we
79472 # won't be seeing any of these during testsuite compilation.
79473 if test $setrlimit_have_headers = yes; then
79474 # Can't do these in a loop, else the resulting syntax is wrong.
79476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79477 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79479 /* end confdefs.h. */
79480 #include <unistd.h>
79481 #include <sys/time.h>
79482 #include <sys/resource.h>
79485 main ()
79487 int f = RLIMIT_DATA ;
79489 return 0;
79491 _ACEOF
79492 if ac_fn_c_try_compile "$LINENO"; then :
79493 glibcxx_mresult=1
79494 else
79495 glibcxx_mresult=0
79497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79499 cat >>confdefs.h <<_ACEOF
79500 #define HAVE_LIMIT_DATA $glibcxx_mresult
79501 _ACEOF
79503 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79505 $as_echo "$res" >&6; }
79508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79509 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79511 /* end confdefs.h. */
79512 #include <unistd.h>
79513 #include <sys/time.h>
79514 #include <sys/resource.h>
79517 main ()
79519 int f = RLIMIT_RSS ;
79521 return 0;
79523 _ACEOF
79524 if ac_fn_c_try_compile "$LINENO"; then :
79525 glibcxx_mresult=1
79526 else
79527 glibcxx_mresult=0
79529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79531 cat >>confdefs.h <<_ACEOF
79532 #define HAVE_LIMIT_RSS $glibcxx_mresult
79533 _ACEOF
79535 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79537 $as_echo "$res" >&6; }
79540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79541 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79543 /* end confdefs.h. */
79544 #include <unistd.h>
79545 #include <sys/time.h>
79546 #include <sys/resource.h>
79549 main ()
79551 int f = RLIMIT_VMEM ;
79553 return 0;
79555 _ACEOF
79556 if ac_fn_c_try_compile "$LINENO"; then :
79557 glibcxx_mresult=1
79558 else
79559 glibcxx_mresult=0
79561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79563 cat >>confdefs.h <<_ACEOF
79564 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79565 _ACEOF
79567 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79569 $as_echo "$res" >&6; }
79572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79573 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79575 /* end confdefs.h. */
79576 #include <unistd.h>
79577 #include <sys/time.h>
79578 #include <sys/resource.h>
79581 main ()
79583 int f = RLIMIT_AS ;
79585 return 0;
79587 _ACEOF
79588 if ac_fn_c_try_compile "$LINENO"; then :
79589 glibcxx_mresult=1
79590 else
79591 glibcxx_mresult=0
79593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79595 cat >>confdefs.h <<_ACEOF
79596 #define HAVE_LIMIT_AS $glibcxx_mresult
79597 _ACEOF
79599 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79601 $as_echo "$res" >&6; }
79604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79605 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79607 /* end confdefs.h. */
79608 #include <unistd.h>
79609 #include <sys/time.h>
79610 #include <sys/resource.h>
79613 main ()
79615 int f = RLIMIT_FSIZE ;
79617 return 0;
79619 _ACEOF
79620 if ac_fn_c_try_compile "$LINENO"; then :
79621 glibcxx_mresult=1
79622 else
79623 glibcxx_mresult=0
79625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79627 cat >>confdefs.h <<_ACEOF
79628 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79629 _ACEOF
79631 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79633 $as_echo "$res" >&6; }
79636 # Check for rlimit, setrlimit.
79637 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79638 $as_echo_n "(cached) " >&6
79639 else
79641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79642 /* end confdefs.h. */
79643 #include <unistd.h>
79644 #include <sys/time.h>
79645 #include <sys/resource.h>
79648 main ()
79650 struct rlimit r;
79651 setrlimit(0, &r);
79653 return 0;
79655 _ACEOF
79656 if ac_fn_c_try_compile "$LINENO"; then :
79657 glibcxx_cv_setrlimit=yes
79658 else
79659 glibcxx_cv_setrlimit=no
79661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79668 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79669 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79670 ac_res_limits=yes
79672 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79674 else
79675 ac_res_limits=no
79677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79678 $as_echo "$ac_res_limits" >&6; }
79681 # Look for setenv, so that extended locale tests can be performed.
79683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79684 $as_echo_n "checking for setenv declaration... " >&6; }
79685 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79686 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79687 $as_echo_n "(cached) " >&6
79688 else
79691 ac_ext=cpp
79692 ac_cpp='$CXXCPP $CPPFLAGS'
79693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79698 /* end confdefs.h. */
79699 #include <stdlib.h>
79701 main ()
79703 setenv(0, 0, 0);
79705 return 0;
79707 _ACEOF
79708 if ac_fn_cxx_try_compile "$LINENO"; then :
79709 glibcxx_cv_func_setenv_use=yes
79710 else
79711 glibcxx_cv_func_setenv_use=no
79713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79714 ac_ext=c
79715 ac_cpp='$CPP $CPPFLAGS'
79716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79725 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79726 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79727 for ac_func in setenv
79728 do :
79729 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79730 if test "x$ac_cv_func_setenv" = x""yes; then :
79731 cat >>confdefs.h <<_ACEOF
79732 #define HAVE_SETENV 1
79733 _ACEOF
79736 done
79742 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79743 test $enable_symvers != no; then
79744 case "$host" in
79745 *-*-cygwin*)
79746 enable_abi_check=no ;;
79748 enable_abi_check=yes ;;
79749 esac
79750 else
79751 # Only build this as native, since automake does not understand
79752 # CXX_FOR_BUILD.
79753 enable_abi_check=no
79756 # Export file names for ABI checking.
79757 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79759 baseline_subdir_switch="$abi_baseline_subdir_switch"
79763 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79765 # Check whether --enable-libstdcxx-threads was given.
79766 if test "${enable_libstdcxx_threads+set}" = set; then :
79767 enableval=$enable_libstdcxx_threads;
79768 case "$enableval" in
79769 yes|no) ;;
79770 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79771 esac
79773 else
79774 enable_libstdcxx_threads=auto
79779 if test x$enable_libstdcxx_threads = xauto ||
79780 test x$enable_libstdcxx_threads = xyes; then
79783 ac_ext=cpp
79784 ac_cpp='$CXXCPP $CPPFLAGS'
79785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79790 ac_save_CXXFLAGS="$CXXFLAGS"
79791 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79792 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79794 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79795 case $target_thread_file in
79796 posix)
79797 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79798 esac
79800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79801 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79804 /* end confdefs.h. */
79805 #include <unistd.h>
79807 main ()
79810 // In case of POSIX threads check _POSIX_TIMEOUTS.
79811 #if (defined(_PTHREADS) \
79812 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79813 #error
79814 #endif
79817 return 0;
79819 _ACEOF
79820 if ac_fn_cxx_try_compile "$LINENO"; then :
79821 ac_gthread_use_mutex_timedlock=1
79822 else
79823 ac_gthread_use_mutex_timedlock=0
79825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79828 cat >>confdefs.h <<_ACEOF
79829 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79830 _ACEOF
79833 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79834 else res_mutex_timedlock=no ; fi
79835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79836 $as_echo "$res_mutex_timedlock" >&6; }
79838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79839 $as_echo_n "checking for gthreads library... " >&6; }
79841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79842 /* end confdefs.h. */
79843 #include "gthr.h"
79845 main ()
79848 #ifndef __GTHREADS_CXX0X
79849 #error
79850 #endif
79853 return 0;
79855 _ACEOF
79856 if ac_fn_cxx_try_compile "$LINENO"; then :
79857 ac_has_gthreads=yes
79858 else
79859 ac_has_gthreads=no
79861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79862 else
79863 ac_has_gthreads=no
79866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79867 $as_echo "$ac_has_gthreads" >&6; }
79869 if test x"$ac_has_gthreads" = x"yes"; then
79871 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79874 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79875 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79877 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79879 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79885 CXXFLAGS="$ac_save_CXXFLAGS"
79886 ac_ext=c
79887 ac_cpp='$CPP $CPPFLAGS'
79888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79894 # For Filesystem TS.
79895 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79896 do :
79897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79898 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79899 eval as_val=\$$as_ac_Header
79900 if test "x$as_val" = x""yes; then :
79901 cat >>confdefs.h <<_ACEOF
79902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79903 _ACEOF
79907 done
79910 # Check whether --enable-libstdcxx-filesystem-ts was given.
79911 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79912 enableval=$enable_libstdcxx_filesystem_ts;
79913 case "$enableval" in
79914 yes|no|auto) ;;
79915 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79916 esac
79918 else
79919 enable_libstdcxx_filesystem_ts=auto
79924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79925 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79926 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79927 enable_libstdcxx_filesystem_ts=no
79929 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79930 case "${target_os}" in
79931 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79932 enable_libstdcxx_filesystem_ts=yes
79934 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79935 enable_libstdcxx_filesystem_ts=yes
79937 solaris*)
79938 enable_libstdcxx_filesystem_ts=yes
79941 enable_libstdcxx_filesystem_ts=no
79943 esac
79945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79946 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79950 ac_ext=cpp
79951 ac_cpp='$CXXCPP $CPPFLAGS'
79952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79956 ac_save_CXXFLAGS="$CXXFLAGS"
79957 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79959 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79960 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79961 $as_echo_n "(cached) " >&6
79962 else
79963 if test x$gcc_no_link = xyes; then
79964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79965 /* end confdefs.h. */
79966 #include <dirent.h>
79968 main ()
79971 struct dirent d;
79972 if (sizeof d.d_type) return 0;
79975 return 0;
79977 _ACEOF
79978 if ac_fn_cxx_try_compile "$LINENO"; then :
79979 glibcxx_cv_dirent_d_type=yes
79980 else
79981 glibcxx_cv_dirent_d_type=no
79983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79984 else
79985 if test x$gcc_no_link = xyes; then
79986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79989 /* end confdefs.h. */
79990 #include <dirent.h>
79992 main ()
79995 struct dirent d;
79996 if (sizeof d.d_type) return 0;
79999 return 0;
80001 _ACEOF
80002 if ac_fn_cxx_try_link "$LINENO"; then :
80003 glibcxx_cv_dirent_d_type=yes
80004 else
80005 glibcxx_cv_dirent_d_type=no
80007 rm -f core conftest.err conftest.$ac_objext \
80008 conftest$ac_exeext conftest.$ac_ext
80013 if test $glibcxx_cv_dirent_d_type = yes; then
80015 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80019 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80021 $as_echo_n "checking for realpath... " >&6; }
80022 if test "${glibcxx_cv_realpath+set}" = set; then :
80023 $as_echo_n "(cached) " >&6
80024 else
80025 if test x$gcc_no_link = xyes; then
80026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80027 /* end confdefs.h. */
80029 #include <stdlib.h>
80030 #include <unistd.h>
80033 main ()
80036 #if _XOPEN_VERSION < 500
80037 #error
80038 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80039 char *tmp = realpath((const char*)NULL, (char*)NULL);
80040 #else
80041 #error
80042 #endif
80045 return 0;
80047 _ACEOF
80048 if ac_fn_cxx_try_compile "$LINENO"; then :
80049 glibcxx_cv_realpath=yes
80050 else
80051 glibcxx_cv_realpath=no
80053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80054 else
80055 if test x$gcc_no_link = xyes; then
80056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80059 /* end confdefs.h. */
80061 #include <stdlib.h>
80062 #include <unistd.h>
80065 main ()
80068 #if _XOPEN_VERSION < 500
80069 #error
80070 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80071 char *tmp = realpath((const char*)NULL, (char*)NULL);
80072 #else
80073 #error
80074 #endif
80077 return 0;
80079 _ACEOF
80080 if ac_fn_cxx_try_link "$LINENO"; then :
80081 glibcxx_cv_realpath=yes
80082 else
80083 glibcxx_cv_realpath=no
80085 rm -f core conftest.err conftest.$ac_objext \
80086 conftest$ac_exeext conftest.$ac_ext
80091 if test $glibcxx_cv_realpath = yes; then
80093 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80097 $as_echo "$glibcxx_cv_realpath" >&6; }
80098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80099 $as_echo_n "checking for utimensat... " >&6; }
80100 if test "${glibcxx_cv_utimensat+set}" = set; then :
80101 $as_echo_n "(cached) " >&6
80102 else
80103 if test x$gcc_no_link = xyes; then
80104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80105 /* end confdefs.h. */
80107 #include <fcntl.h>
80108 #include <sys/stat.h>
80111 main ()
80114 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80115 int i = utimensat(AT_FDCWD, "path", ts, 0);
80118 return 0;
80120 _ACEOF
80121 if ac_fn_cxx_try_compile "$LINENO"; then :
80122 glibcxx_cv_utimensat=yes
80123 else
80124 glibcxx_cv_utimensat=no
80126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80127 else
80128 if test x$gcc_no_link = xyes; then
80129 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80132 /* end confdefs.h. */
80134 #include <fcntl.h>
80135 #include <sys/stat.h>
80138 main ()
80141 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80142 int i = utimensat(AT_FDCWD, "path", ts, 0);
80145 return 0;
80147 _ACEOF
80148 if ac_fn_cxx_try_link "$LINENO"; then :
80149 glibcxx_cv_utimensat=yes
80150 else
80151 glibcxx_cv_utimensat=no
80153 rm -f core conftest.err conftest.$ac_objext \
80154 conftest$ac_exeext conftest.$ac_ext
80159 if test $glibcxx_cv_utimensat = yes; then
80161 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80165 $as_echo "$glibcxx_cv_utimensat" >&6; }
80166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80167 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80168 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80169 $as_echo_n "(cached) " >&6
80170 else
80171 if test x$gcc_no_link = xyes; then
80172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80173 /* end confdefs.h. */
80174 #include <sys/stat.h>
80176 main ()
80179 struct stat st;
80180 return st.st_mtim.tv_nsec;
80183 return 0;
80185 _ACEOF
80186 if ac_fn_cxx_try_compile "$LINENO"; then :
80187 glibcxx_cv_st_mtim=yes
80188 else
80189 glibcxx_cv_st_mtim=no
80191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80192 else
80193 if test x$gcc_no_link = xyes; then
80194 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80197 /* end confdefs.h. */
80198 #include <sys/stat.h>
80200 main ()
80203 struct stat st;
80204 return st.st_mtim.tv_nsec;
80207 return 0;
80209 _ACEOF
80210 if ac_fn_cxx_try_link "$LINENO"; then :
80211 glibcxx_cv_st_mtim=yes
80212 else
80213 glibcxx_cv_st_mtim=no
80215 rm -f core conftest.err conftest.$ac_objext \
80216 conftest$ac_exeext conftest.$ac_ext
80221 if test $glibcxx_cv_st_mtim = yes; then
80223 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80227 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80229 $as_echo_n "checking for fchmod... " >&6; }
80230 if test "${glibcxx_cv_fchmod+set}" = set; then :
80231 $as_echo_n "(cached) " >&6
80232 else
80233 if test x$gcc_no_link = xyes; then
80234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80235 /* end confdefs.h. */
80236 #include <sys/stat.h>
80238 main ()
80240 fchmod(1, S_IWUSR);
80242 return 0;
80244 _ACEOF
80245 if ac_fn_cxx_try_compile "$LINENO"; then :
80246 glibcxx_cv_fchmod=yes
80247 else
80248 glibcxx_cv_fchmod=no
80250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80251 else
80252 if test x$gcc_no_link = xyes; then
80253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80256 /* end confdefs.h. */
80257 #include <sys/stat.h>
80259 main ()
80261 fchmod(1, S_IWUSR);
80263 return 0;
80265 _ACEOF
80266 if ac_fn_cxx_try_link "$LINENO"; then :
80267 glibcxx_cv_fchmod=yes
80268 else
80269 glibcxx_cv_fchmod=no
80271 rm -f core conftest.err conftest.$ac_objext \
80272 conftest$ac_exeext conftest.$ac_ext
80277 if test $glibcxx_cv_fchmod = yes; then
80279 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80283 $as_echo "$glibcxx_cv_fchmod" >&6; }
80284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80285 $as_echo_n "checking for fchmodat... " >&6; }
80286 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80287 $as_echo_n "(cached) " >&6
80288 else
80289 if test x$gcc_no_link = xyes; then
80290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80291 /* end confdefs.h. */
80293 #include <fcntl.h>
80294 #include <sys/stat.h>
80297 main ()
80299 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80301 return 0;
80303 _ACEOF
80304 if ac_fn_cxx_try_compile "$LINENO"; then :
80305 glibcxx_cv_fchmodat=yes
80306 else
80307 glibcxx_cv_fchmodat=no
80309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80310 else
80311 if test x$gcc_no_link = xyes; then
80312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80315 /* end confdefs.h. */
80317 #include <fcntl.h>
80318 #include <sys/stat.h>
80321 main ()
80323 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80325 return 0;
80327 _ACEOF
80328 if ac_fn_cxx_try_link "$LINENO"; then :
80329 glibcxx_cv_fchmodat=yes
80330 else
80331 glibcxx_cv_fchmodat=no
80333 rm -f core conftest.err conftest.$ac_objext \
80334 conftest$ac_exeext conftest.$ac_ext
80339 if test $glibcxx_cv_fchmodat = yes; then
80341 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80345 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80347 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80348 if test "${glibcxx_cv_sendfile+set}" = set; then :
80349 $as_echo_n "(cached) " >&6
80350 else
80351 case "${target_os}" in
80352 gnu* | linux* | solaris*)
80353 if test x$gcc_no_link = xyes; then
80354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80355 /* end confdefs.h. */
80356 #include <sys/sendfile.h>
80358 main ()
80360 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80362 return 0;
80364 _ACEOF
80365 if ac_fn_cxx_try_compile "$LINENO"; then :
80366 glibcxx_cv_sendfile=yes
80367 else
80368 glibcxx_cv_sendfile=no
80370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80371 else
80372 if test x$gcc_no_link = xyes; then
80373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80376 /* end confdefs.h. */
80377 #include <sys/sendfile.h>
80379 main ()
80381 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80383 return 0;
80385 _ACEOF
80386 if ac_fn_cxx_try_link "$LINENO"; then :
80387 glibcxx_cv_sendfile=yes
80388 else
80389 glibcxx_cv_sendfile=no
80391 rm -f core conftest.err conftest.$ac_objext \
80392 conftest$ac_exeext conftest.$ac_ext
80396 glibcxx_cv_sendfile=no
80398 esac
80402 if test $glibcxx_cv_sendfile = yes; then
80404 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80408 $as_echo "$glibcxx_cv_sendfile" >&6; }
80409 CXXFLAGS="$ac_save_CXXFLAGS"
80410 ac_ext=c
80411 ac_cpp='$CPP $CPPFLAGS'
80412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80418 # For Transactional Memory TS
80420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80421 $as_echo_n "checking how size_t is mangled... " >&6; }
80422 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80423 $as_echo_n "(cached) " >&6
80424 else
80426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80427 /* end confdefs.h. */
80430 main ()
80432 extern __SIZE_TYPE__ x; extern unsigned long x;
80434 return 0;
80436 _ACEOF
80437 if ac_fn_c_try_compile "$LINENO"; then :
80438 glibcxx_cv_size_t_mangling=m
80439 else
80441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80442 /* end confdefs.h. */
80445 main ()
80447 extern __SIZE_TYPE__ x; extern unsigned int x;
80449 return 0;
80451 _ACEOF
80452 if ac_fn_c_try_compile "$LINENO"; then :
80453 glibcxx_cv_size_t_mangling=j
80454 else
80456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80457 /* end confdefs.h. */
80460 main ()
80462 extern __SIZE_TYPE__ x; extern unsigned long long x;
80464 return 0;
80466 _ACEOF
80467 if ac_fn_c_try_compile "$LINENO"; then :
80468 glibcxx_cv_size_t_mangling=y
80469 else
80471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80472 /* end confdefs.h. */
80475 main ()
80477 extern __SIZE_TYPE__ x; extern unsigned short x;
80479 return 0;
80481 _ACEOF
80482 if ac_fn_c_try_compile "$LINENO"; then :
80483 glibcxx_cv_size_t_mangling=t
80484 else
80485 glibcxx_cv_size_t_mangling=x
80487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80500 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80501 if test $glibcxx_cv_size_t_mangling = x; then
80502 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80505 cat >>confdefs.h <<_ACEOF
80506 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80507 _ACEOF
80511 # Define documentation rules conditionally.
80513 # See if makeinfo has been installed and is modern enough
80514 # that we can use it.
80516 # Extract the first word of "makeinfo", so it can be a program name with args.
80517 set dummy makeinfo; ac_word=$2
80518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80519 $as_echo_n "checking for $ac_word... " >&6; }
80520 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80521 $as_echo_n "(cached) " >&6
80522 else
80523 if test -n "$MAKEINFO"; then
80524 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80525 else
80526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80527 for as_dir in $PATH
80529 IFS=$as_save_IFS
80530 test -z "$as_dir" && as_dir=.
80531 for ac_exec_ext in '' $ac_executable_extensions; do
80532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80533 ac_cv_prog_MAKEINFO="makeinfo"
80534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80535 break 2
80537 done
80538 done
80539 IFS=$as_save_IFS
80543 MAKEINFO=$ac_cv_prog_MAKEINFO
80544 if test -n "$MAKEINFO"; then
80545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80546 $as_echo "$MAKEINFO" >&6; }
80547 else
80548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80549 $as_echo "no" >&6; }
80553 if test -n "$MAKEINFO"; then
80554 # Found it, now check the version.
80555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80556 $as_echo_n "checking for modern makeinfo... " >&6; }
80557 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80558 $as_echo_n "(cached) " >&6
80559 else
80560 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80561 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80563 case $ac_prog_version in
80564 '') gcc_cv_prog_makeinfo_modern=no;;
80565 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80566 *) gcc_cv_prog_makeinfo_modern=no;;
80567 esac
80570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80571 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80572 else
80573 gcc_cv_prog_makeinfo_modern=no
80575 if test $gcc_cv_prog_makeinfo_modern = no; then
80576 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80579 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80580 BUILD_INFO_TRUE=
80581 BUILD_INFO_FALSE='#'
80582 else
80583 BUILD_INFO_TRUE='#'
80584 BUILD_INFO_FALSE=
80588 # Check for doxygen
80589 # Extract the first word of "doxygen", so it can be a program name with args.
80590 set dummy doxygen; ac_word=$2
80591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80592 $as_echo_n "checking for $ac_word... " >&6; }
80593 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80594 $as_echo_n "(cached) " >&6
80595 else
80596 if test -n "$DOXYGEN"; then
80597 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80598 else
80599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80600 for as_dir in $PATH
80602 IFS=$as_save_IFS
80603 test -z "$as_dir" && as_dir=.
80604 for ac_exec_ext in '' $ac_executable_extensions; do
80605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80606 ac_cv_prog_DOXYGEN="yes"
80607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80608 break 2
80610 done
80611 done
80612 IFS=$as_save_IFS
80614 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80617 DOXYGEN=$ac_cv_prog_DOXYGEN
80618 if test -n "$DOXYGEN"; then
80619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80620 $as_echo "$DOXYGEN" >&6; }
80621 else
80622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80623 $as_echo "no" >&6; }
80627 # Extract the first word of "dot", so it can be a program name with args.
80628 set dummy dot; ac_word=$2
80629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80630 $as_echo_n "checking for $ac_word... " >&6; }
80631 if test "${ac_cv_prog_DOT+set}" = set; then :
80632 $as_echo_n "(cached) " >&6
80633 else
80634 if test -n "$DOT"; then
80635 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80636 else
80637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80638 for as_dir in $PATH
80640 IFS=$as_save_IFS
80641 test -z "$as_dir" && as_dir=.
80642 for ac_exec_ext in '' $ac_executable_extensions; do
80643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80644 ac_cv_prog_DOT="yes"
80645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80646 break 2
80648 done
80649 done
80650 IFS=$as_save_IFS
80652 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80655 DOT=$ac_cv_prog_DOT
80656 if test -n "$DOT"; then
80657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80658 $as_echo "$DOT" >&6; }
80659 else
80660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80661 $as_echo "no" >&6; }
80666 # Check for docbook
80667 # Extract the first word of "xsltproc", so it can be a program name with args.
80668 set dummy xsltproc; 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_XSLTPROC+set}" = set; then :
80672 $as_echo_n "(cached) " >&6
80673 else
80674 if test -n "$XSLTPROC"; then
80675 ac_cv_prog_XSLTPROC="$XSLTPROC" # 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_XSLTPROC="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_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80695 XSLTPROC=$ac_cv_prog_XSLTPROC
80696 if test -n "$XSLTPROC"; then
80697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80698 $as_echo "$XSLTPROC" >&6; }
80699 else
80700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80701 $as_echo "no" >&6; }
80705 # Extract the first word of "xmllint", so it can be a program name with args.
80706 set dummy xmllint; ac_word=$2
80707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80708 $as_echo_n "checking for $ac_word... " >&6; }
80709 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80710 $as_echo_n "(cached) " >&6
80711 else
80712 if test -n "$XMLLINT"; then
80713 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80714 else
80715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80716 for as_dir in $PATH
80718 IFS=$as_save_IFS
80719 test -z "$as_dir" && as_dir=.
80720 for ac_exec_ext in '' $ac_executable_extensions; do
80721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80722 ac_cv_prog_XMLLINT="yes"
80723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80724 break 2
80726 done
80727 done
80728 IFS=$as_save_IFS
80730 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80733 XMLLINT=$ac_cv_prog_XMLLINT
80734 if test -n "$XMLLINT"; then
80735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80736 $as_echo "$XMLLINT" >&6; }
80737 else
80738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80739 $as_echo "no" >&6; }
80745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80746 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80747 glibcxx_stylesheets=no
80748 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
80749 glibcxx_stylesheets=yes
80751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80752 $as_echo "$glibcxx_stylesheets" >&6; }
80754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80755 $as_echo_n "checking for local stylesheet directory... " >&6; }
80756 glibcxx_local_stylesheets=no
80757 if test x"$glibcxx_stylesheets" = x"yes"; then
80758 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80759 glibcxx_local_stylesheets=yes
80760 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80762 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80763 glibcxx_local_stylesheets=yes
80764 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80766 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80767 glibcxx_local_stylesheets=yes
80768 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80772 $as_echo "$glibcxx_local_stylesheets" >&6; }
80774 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80776 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80777 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80778 else
80779 glibcxx_stylesheets=no
80782 # Check for epub3 dependencies.
80783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80784 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80785 glibcxx_epub_stylesheets=no
80786 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80787 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80788 glibcxx_epub_stylesheets=yes
80791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80792 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80793 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80794 BUILD_EPUB_TRUE=
80795 BUILD_EPUB_FALSE='#'
80796 else
80797 BUILD_EPUB_TRUE='#'
80798 BUILD_EPUB_FALSE=
80804 # Check for xml/html dependencies.
80805 if test $ac_cv_prog_DOXYGEN = "yes" &&
80806 test $ac_cv_prog_DOT = "yes" &&
80807 test $ac_cv_prog_XSLTPROC = "yes" &&
80808 test $ac_cv_prog_XMLLINT = "yes" &&
80809 test $glibcxx_stylesheets = "yes"; then
80810 BUILD_XML_TRUE=
80811 BUILD_XML_FALSE='#'
80812 else
80813 BUILD_XML_TRUE='#'
80814 BUILD_XML_FALSE=
80818 if test $ac_cv_prog_DOXYGEN = "yes" &&
80819 test $ac_cv_prog_DOT = "yes" &&
80820 test $ac_cv_prog_XSLTPROC = "yes" &&
80821 test $ac_cv_prog_XMLLINT = "yes" &&
80822 test $glibcxx_stylesheets = "yes"; then
80823 BUILD_HTML_TRUE=
80824 BUILD_HTML_FALSE='#'
80825 else
80826 BUILD_HTML_TRUE='#'
80827 BUILD_HTML_FALSE=
80831 # Check for man dependencies.
80832 if test $ac_cv_prog_DOXYGEN = "yes" &&
80833 test $ac_cv_prog_DOT = "yes"; then
80834 BUILD_MAN_TRUE=
80835 BUILD_MAN_FALSE='#'
80836 else
80837 BUILD_MAN_TRUE='#'
80838 BUILD_MAN_FALSE=
80842 # Check for pdf dependencies.
80843 # Extract the first word of "dblatex", so it can be a program name with args.
80844 set dummy dblatex; ac_word=$2
80845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80846 $as_echo_n "checking for $ac_word... " >&6; }
80847 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80848 $as_echo_n "(cached) " >&6
80849 else
80850 if test -n "$DBLATEX"; then
80851 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80852 else
80853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80854 for as_dir in $PATH
80856 IFS=$as_save_IFS
80857 test -z "$as_dir" && as_dir=.
80858 for ac_exec_ext in '' $ac_executable_extensions; do
80859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80860 ac_cv_prog_DBLATEX="yes"
80861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80862 break 2
80864 done
80865 done
80866 IFS=$as_save_IFS
80868 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80871 DBLATEX=$ac_cv_prog_DBLATEX
80872 if test -n "$DBLATEX"; then
80873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80874 $as_echo "$DBLATEX" >&6; }
80875 else
80876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80877 $as_echo "no" >&6; }
80881 # Extract the first word of "pdflatex", so it can be a program name with args.
80882 set dummy pdflatex; ac_word=$2
80883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80884 $as_echo_n "checking for $ac_word... " >&6; }
80885 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80886 $as_echo_n "(cached) " >&6
80887 else
80888 if test -n "$PDFLATEX"; then
80889 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80890 else
80891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80892 for as_dir in $PATH
80894 IFS=$as_save_IFS
80895 test -z "$as_dir" && as_dir=.
80896 for ac_exec_ext in '' $ac_executable_extensions; do
80897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80898 ac_cv_prog_PDFLATEX="yes"
80899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80900 break 2
80902 done
80903 done
80904 IFS=$as_save_IFS
80906 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80909 PDFLATEX=$ac_cv_prog_PDFLATEX
80910 if test -n "$PDFLATEX"; then
80911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80912 $as_echo "$PDFLATEX" >&6; }
80913 else
80914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80915 $as_echo "no" >&6; }
80919 if test $ac_cv_prog_DBLATEX = "yes" &&
80920 test $ac_cv_prog_PDFLATEX = "yes"; then
80921 BUILD_PDF_TRUE=
80922 BUILD_PDF_FALSE='#'
80923 else
80924 BUILD_PDF_TRUE='#'
80925 BUILD_PDF_FALSE=
80930 # Propagate the target-specific source directories through the build chain.
80931 ATOMICITY_SRCDIR=config/${atomicity_dir}
80932 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80933 ATOMIC_FLAGS=${atomic_flags}
80934 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80935 OS_INC_SRCDIR=config/${os_include_dir}
80936 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80937 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80938 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80939 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80951 # Determine cross-compile flags and AM_CONDITIONALs.
80952 #AC_SUBST(GLIBCXX_IS_NATIVE)
80953 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80954 if test $is_hosted = yes; then
80955 GLIBCXX_HOSTED_TRUE=
80956 GLIBCXX_HOSTED_FALSE='#'
80957 else
80958 GLIBCXX_HOSTED_TRUE='#'
80959 GLIBCXX_HOSTED_FALSE=
80963 if test $enable_libstdcxx_pch = yes; then
80964 GLIBCXX_BUILD_PCH_TRUE=
80965 GLIBCXX_BUILD_PCH_FALSE='#'
80966 else
80967 GLIBCXX_BUILD_PCH_TRUE='#'
80968 GLIBCXX_BUILD_PCH_FALSE=
80972 if test $enable_libstdcxx_allocator_flag = new; then
80973 ENABLE_ALLOCATOR_NEW_TRUE=
80974 ENABLE_ALLOCATOR_NEW_FALSE='#'
80975 else
80976 ENABLE_ALLOCATOR_NEW_TRUE='#'
80977 ENABLE_ALLOCATOR_NEW_FALSE=
80981 if test $enable_cheaders = c; then
80982 GLIBCXX_C_HEADERS_C_TRUE=
80983 GLIBCXX_C_HEADERS_C_FALSE='#'
80984 else
80985 GLIBCXX_C_HEADERS_C_TRUE='#'
80986 GLIBCXX_C_HEADERS_C_FALSE=
80990 if test $enable_cheaders = c_std; then
80991 GLIBCXX_C_HEADERS_C_STD_TRUE=
80992 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80993 else
80994 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80995 GLIBCXX_C_HEADERS_C_STD_FALSE=
80999 if test $enable_cheaders = c_global; then
81000 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81001 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81002 else
81003 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81004 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81008 if test $c_compatibility = yes; then
81009 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81010 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81011 else
81012 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81013 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81017 if test $enable_libstdcxx_debug = yes; then
81018 GLIBCXX_BUILD_DEBUG_TRUE=
81019 GLIBCXX_BUILD_DEBUG_FALSE='#'
81020 else
81021 GLIBCXX_BUILD_DEBUG_TRUE='#'
81022 GLIBCXX_BUILD_DEBUG_FALSE=
81026 if test $enable_extern_template = yes; then
81027 ENABLE_EXTERN_TEMPLATE_TRUE=
81028 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81029 else
81030 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81031 ENABLE_EXTERN_TEMPLATE_FALSE=
81035 if test $python_mod_dir != no; then
81036 ENABLE_PYTHONDIR_TRUE=
81037 ENABLE_PYTHONDIR_FALSE='#'
81038 else
81039 ENABLE_PYTHONDIR_TRUE='#'
81040 ENABLE_PYTHONDIR_FALSE=
81044 if test $enable_werror = yes; then
81045 ENABLE_WERROR_TRUE=
81046 ENABLE_WERROR_FALSE='#'
81047 else
81048 ENABLE_WERROR_TRUE='#'
81049 ENABLE_WERROR_FALSE=
81053 if test $enable_vtable_verify = yes; then
81054 ENABLE_VTABLE_VERIFY_TRUE=
81055 ENABLE_VTABLE_VERIFY_FALSE='#'
81056 else
81057 ENABLE_VTABLE_VERIFY_TRUE='#'
81058 ENABLE_VTABLE_VERIFY_FALSE=
81062 if test $enable_symvers != no; then
81063 ENABLE_SYMVERS_TRUE=
81064 ENABLE_SYMVERS_FALSE='#'
81065 else
81066 ENABLE_SYMVERS_TRUE='#'
81067 ENABLE_SYMVERS_FALSE=
81071 if test $enable_symvers = gnu; then
81072 ENABLE_SYMVERS_GNU_TRUE=
81073 ENABLE_SYMVERS_GNU_FALSE='#'
81074 else
81075 ENABLE_SYMVERS_GNU_TRUE='#'
81076 ENABLE_SYMVERS_GNU_FALSE=
81080 if test $enable_symvers = gnu-versioned-namespace; then
81081 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81082 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81083 else
81084 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81085 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81089 if test $enable_symvers = darwin; then
81090 ENABLE_SYMVERS_DARWIN_TRUE=
81091 ENABLE_SYMVERS_DARWIN_FALSE='#'
81092 else
81093 ENABLE_SYMVERS_DARWIN_TRUE='#'
81094 ENABLE_SYMVERS_DARWIN_FALSE=
81098 if test $enable_symvers = sun; then
81099 ENABLE_SYMVERS_SUN_TRUE=
81100 ENABLE_SYMVERS_SUN_FALSE='#'
81101 else
81102 ENABLE_SYMVERS_SUN_TRUE='#'
81103 ENABLE_SYMVERS_SUN_FALSE=
81107 if test $enable_libstdcxx_visibility = yes; then
81108 ENABLE_VISIBILITY_TRUE=
81109 ENABLE_VISIBILITY_FALSE='#'
81110 else
81111 ENABLE_VISIBILITY_TRUE='#'
81112 ENABLE_VISIBILITY_FALSE=
81116 if test $enable_libstdcxx_dual_abi = yes; then
81117 ENABLE_DUAL_ABI_TRUE=
81118 ENABLE_DUAL_ABI_FALSE='#'
81119 else
81120 ENABLE_DUAL_ABI_TRUE='#'
81121 ENABLE_DUAL_ABI_FALSE=
81125 if test $glibcxx_cxx11_abi = 1; then
81126 ENABLE_CXX11_ABI_TRUE=
81127 ENABLE_CXX11_ABI_FALSE='#'
81128 else
81129 ENABLE_CXX11_ABI_TRUE='#'
81130 ENABLE_CXX11_ABI_FALSE=
81134 if test $ac_ldbl_compat = yes; then
81135 GLIBCXX_LDBL_COMPAT_TRUE=
81136 GLIBCXX_LDBL_COMPAT_FALSE='#'
81137 else
81138 GLIBCXX_LDBL_COMPAT_TRUE='#'
81139 GLIBCXX_LDBL_COMPAT_FALSE=
81143 if test $enable_libstdcxx_filesystem_ts = yes; then
81144 ENABLE_FILESYSTEM_TS_TRUE=
81145 ENABLE_FILESYSTEM_TS_FALSE='#'
81146 else
81147 ENABLE_FILESYSTEM_TS_TRUE='#'
81148 ENABLE_FILESYSTEM_TS_FALSE=
81154 cat >confcache <<\_ACEOF
81155 # This file is a shell script that caches the results of configure
81156 # tests run on this system so they can be shared between configure
81157 # scripts and configure runs, see configure's option --config-cache.
81158 # It is not useful on other systems. If it contains results you don't
81159 # want to keep, you may remove or edit it.
81161 # config.status only pays attention to the cache file if you give it
81162 # the --recheck option to rerun configure.
81164 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81165 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81166 # following values.
81168 _ACEOF
81170 # The following way of writing the cache mishandles newlines in values,
81171 # but we know of no workaround that is simple, portable, and efficient.
81172 # So, we kill variables containing newlines.
81173 # Ultrix sh set writes to stderr and can't be redirected directly,
81174 # and sets the high bit in the cache file unless we assign to the vars.
81176 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81177 eval ac_val=\$$ac_var
81178 case $ac_val in #(
81179 *${as_nl}*)
81180 case $ac_var in #(
81181 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81182 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81183 esac
81184 case $ac_var in #(
81185 _ | IFS | as_nl) ;; #(
81186 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81187 *) { eval $ac_var=; unset $ac_var;} ;;
81188 esac ;;
81189 esac
81190 done
81192 (set) 2>&1 |
81193 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81194 *${as_nl}ac_space=\ *)
81195 # `set' does not quote correctly, so add quotes: double-quote
81196 # substitution turns \\\\ into \\, and sed turns \\ into \.
81197 sed -n \
81198 "s/'/'\\\\''/g;
81199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81200 ;; #(
81202 # `set' quotes correctly as required by POSIX, so do not add quotes.
81203 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81205 esac |
81206 sort
81208 sed '
81209 /^ac_cv_env_/b end
81210 t clear
81211 :clear
81212 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81213 t end
81214 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81215 :end' >>confcache
81216 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81217 if test -w "$cache_file"; then
81218 test "x$cache_file" != "x/dev/null" &&
81219 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81220 $as_echo "$as_me: updating cache $cache_file" >&6;}
81221 cat confcache >$cache_file
81222 else
81223 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81224 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81227 rm -f confcache
81229 if test ${multilib} = yes; then
81230 multilib_arg="--enable-multilib"
81231 else
81232 multilib_arg=
81235 # Export all the install information.
81237 glibcxx_toolexecdir=no
81238 glibcxx_toolexeclibdir=no
81239 glibcxx_prefixdir=$prefix
81241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81242 $as_echo_n "checking for gxx-include-dir... " >&6; }
81244 # Check whether --with-gxx-include-dir was given.
81245 if test "${with_gxx_include_dir+set}" = set; then :
81246 withval=$with_gxx_include_dir; case "$withval" in
81247 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81248 no) gxx_include_dir=no ;;
81249 *) gxx_include_dir=$withval ;;
81250 esac
81251 else
81252 gxx_include_dir=no
81255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81256 $as_echo "$gxx_include_dir" >&6; }
81258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81259 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81260 # Check whether --enable-version-specific-runtime-libs was given.
81261 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81262 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81263 yes) version_specific_libs=yes ;;
81264 no) version_specific_libs=no ;;
81265 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81266 esac
81267 else
81268 version_specific_libs=no
81271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81272 $as_echo "$version_specific_libs" >&6; }
81274 # Default case for install directory for include files.
81275 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81276 gxx_include_dir='include/c++/${gcc_version}'
81277 if test -n "$with_cross_host" &&
81278 test x"$with_cross_host" != x"no"; then
81279 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81280 else
81281 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81285 # Version-specific runtime libs processing.
81286 if test $version_specific_libs = yes; then
81287 # Need the gcc compiler version to know where to install libraries
81288 # and header files if --enable-version-specific-runtime-libs option
81289 # is selected. FIXME: these variables are misnamed, there are
81290 # no executables installed in _toolexecdir or _toolexeclibdir.
81291 if test x"$gxx_include_dir" = x"no"; then
81292 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81294 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81295 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81298 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81299 # Install a library built with a cross compiler in tooldir, not libdir.
81300 if test x"$glibcxx_toolexecdir" = x"no"; then
81301 if test -n "$with_cross_host" &&
81302 test x"$with_cross_host" != x"no"; then
81303 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81304 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81305 else
81306 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81307 glibcxx_toolexeclibdir='${libdir}'
81309 multi_os_directory=`$CXX -print-multi-os-directory`
81310 case $multi_os_directory in
81311 .) ;; # Avoid trailing /.
81312 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81313 esac
81316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81317 $as_echo_n "checking for install location... " >&6; }
81318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81319 $as_echo "$gxx_include_dir" >&6; }
81327 # Export all the include and flag information to Makefiles.
81329 # Used for every C++ compile we perform.
81330 GLIBCXX_INCLUDES="\
81331 -I$glibcxx_builddir/include/$host_alias \
81332 -I$glibcxx_builddir/include \
81333 -I$glibcxx_srcdir/libsupc++"
81335 # For Canadian crosses, pick this up too.
81336 if test $CANADIAN = yes; then
81337 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81340 # Stuff in the actual top level. Currently only used by libsupc++ to
81341 # get unwind* headers from the libgcc dir.
81342 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81343 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81345 # Now, export this to all the little Makefiles....
81350 # Optimization flags that are probably a good idea for thrill-seekers. Just
81351 # uncomment the lines below and make, everything else is ready to go...
81352 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81353 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81356 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81360 ac_config_files="$ac_config_files Makefile"
81362 ac_config_files="$ac_config_files scripts/testsuite_flags"
81364 ac_config_files="$ac_config_files scripts/extract_symvers"
81366 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81369 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81370 # that multilib installs will end up installed in the correct place.
81371 # The testsuite needs it for multilib-aware ABI baseline files.
81372 # To work around this not being passed down from config-ml.in ->
81373 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81374 # append it here. Only modify Makefiles that have just been created.
81376 # Also, get rid of this simulated-VPATH thing that automake does.
81377 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"
81380 ac_config_commands="$ac_config_commands generate-headers"
81383 cat >confcache <<\_ACEOF
81384 # This file is a shell script that caches the results of configure
81385 # tests run on this system so they can be shared between configure
81386 # scripts and configure runs, see configure's option --config-cache.
81387 # It is not useful on other systems. If it contains results you don't
81388 # want to keep, you may remove or edit it.
81390 # config.status only pays attention to the cache file if you give it
81391 # the --recheck option to rerun configure.
81393 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81394 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81395 # following values.
81397 _ACEOF
81399 # The following way of writing the cache mishandles newlines in values,
81400 # but we know of no workaround that is simple, portable, and efficient.
81401 # So, we kill variables containing newlines.
81402 # Ultrix sh set writes to stderr and can't be redirected directly,
81403 # and sets the high bit in the cache file unless we assign to the vars.
81405 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81406 eval ac_val=\$$ac_var
81407 case $ac_val in #(
81408 *${as_nl}*)
81409 case $ac_var in #(
81410 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81411 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81412 esac
81413 case $ac_var in #(
81414 _ | IFS | as_nl) ;; #(
81415 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81416 *) { eval $ac_var=; unset $ac_var;} ;;
81417 esac ;;
81418 esac
81419 done
81421 (set) 2>&1 |
81422 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81423 *${as_nl}ac_space=\ *)
81424 # `set' does not quote correctly, so add quotes: double-quote
81425 # substitution turns \\\\ into \\, and sed turns \\ into \.
81426 sed -n \
81427 "s/'/'\\\\''/g;
81428 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81429 ;; #(
81431 # `set' quotes correctly as required by POSIX, so do not add quotes.
81432 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81434 esac |
81435 sort
81437 sed '
81438 /^ac_cv_env_/b end
81439 t clear
81440 :clear
81441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81442 t end
81443 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81444 :end' >>confcache
81445 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81446 if test -w "$cache_file"; then
81447 test "x$cache_file" != "x/dev/null" &&
81448 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81449 $as_echo "$as_me: updating cache $cache_file" >&6;}
81450 cat confcache >$cache_file
81451 else
81452 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81453 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81456 rm -f confcache
81458 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81459 # Let make expand exec_prefix.
81460 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81462 DEFS=-DHAVE_CONFIG_H
81464 ac_libobjs=
81465 ac_ltlibobjs=
81466 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81467 # 1. Remove the extension, and $U if already installed.
81468 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81469 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81470 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81471 # will be set to the directory where LIBOBJS objects are built.
81472 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81473 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81474 done
81475 LIBOBJS=$ac_libobjs
81477 LTLIBOBJS=$ac_ltlibobjs
81480 if test -n "$EXEEXT"; then
81481 am__EXEEXT_TRUE=
81482 am__EXEEXT_FALSE='#'
81483 else
81484 am__EXEEXT_TRUE='#'
81485 am__EXEEXT_FALSE=
81488 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81489 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81492 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81493 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81496 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81497 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81500 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81501 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81504 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81505 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81508 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81509 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81512 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81513 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81516 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81517 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81520 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81521 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81524 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81525 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81528 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81529 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81532 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81533 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81536 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81537 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81540 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81541 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81544 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81545 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81548 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81549 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81552 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81553 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81556 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81557 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81560 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81561 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81564 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81565 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81568 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81569 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81572 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81573 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81576 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81577 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81580 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81581 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81584 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81585 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81588 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81589 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81592 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81593 as_fn_error "conditional \"BUILD_XML\" was never defined.
81594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81596 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81597 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81600 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81601 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81604 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81605 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81609 : ${CONFIG_STATUS=./config.status}
81610 ac_write_fail=0
81611 ac_clean_files_save=$ac_clean_files
81612 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81614 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81615 as_write_fail=0
81616 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81617 #! $SHELL
81618 # Generated by $as_me.
81619 # Run this file to recreate the current configuration.
81620 # Compiler output produced by configure, useful for debugging
81621 # configure, is in config.log if it exists.
81623 debug=false
81624 ac_cs_recheck=false
81625 ac_cs_silent=false
81627 SHELL=\${CONFIG_SHELL-$SHELL}
81628 export SHELL
81629 _ASEOF
81630 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81631 ## -------------------- ##
81632 ## M4sh Initialization. ##
81633 ## -------------------- ##
81635 # Be more Bourne compatible
81636 DUALCASE=1; export DUALCASE # for MKS sh
81637 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81638 emulate sh
81639 NULLCMD=:
81640 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81641 # is contrary to our usage. Disable this feature.
81642 alias -g '${1+"$@"}'='"$@"'
81643 setopt NO_GLOB_SUBST
81644 else
81645 case `(set -o) 2>/dev/null` in #(
81646 *posix*) :
81647 set -o posix ;; #(
81648 *) :
81650 esac
81654 as_nl='
81656 export as_nl
81657 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81658 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81661 # Prefer a ksh shell builtin over an external printf program on Solaris,
81662 # but without wasting forks for bash or zsh.
81663 if test -z "$BASH_VERSION$ZSH_VERSION" \
81664 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81665 as_echo='print -r --'
81666 as_echo_n='print -rn --'
81667 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81668 as_echo='printf %s\n'
81669 as_echo_n='printf %s'
81670 else
81671 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81672 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81673 as_echo_n='/usr/ucb/echo -n'
81674 else
81675 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81676 as_echo_n_body='eval
81677 arg=$1;
81678 case $arg in #(
81679 *"$as_nl"*)
81680 expr "X$arg" : "X\\(.*\\)$as_nl";
81681 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81682 esac;
81683 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81685 export as_echo_n_body
81686 as_echo_n='sh -c $as_echo_n_body as_echo'
81688 export as_echo_body
81689 as_echo='sh -c $as_echo_body as_echo'
81692 # The user is always right.
81693 if test "${PATH_SEPARATOR+set}" != set; then
81694 PATH_SEPARATOR=:
81695 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81696 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81697 PATH_SEPARATOR=';'
81702 # IFS
81703 # We need space, tab and new line, in precisely that order. Quoting is
81704 # there to prevent editors from complaining about space-tab.
81705 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81706 # splitting by setting IFS to empty value.)
81707 IFS=" "" $as_nl"
81709 # Find who we are. Look in the path if we contain no directory separator.
81710 case $0 in #((
81711 *[\\/]* ) as_myself=$0 ;;
81712 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81713 for as_dir in $PATH
81715 IFS=$as_save_IFS
81716 test -z "$as_dir" && as_dir=.
81717 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81718 done
81719 IFS=$as_save_IFS
81722 esac
81723 # We did not find ourselves, most probably we were run as `sh COMMAND'
81724 # in which case we are not to be found in the path.
81725 if test "x$as_myself" = x; then
81726 as_myself=$0
81728 if test ! -f "$as_myself"; then
81729 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81730 exit 1
81733 # Unset variables that we do not need and which cause bugs (e.g. in
81734 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81735 # suppresses any "Segmentation fault" message there. '((' could
81736 # trigger a bug in pdksh 5.2.14.
81737 for as_var in BASH_ENV ENV MAIL MAILPATH
81738 do eval test x\${$as_var+set} = xset \
81739 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81740 done
81741 PS1='$ '
81742 PS2='> '
81743 PS4='+ '
81745 # NLS nuisances.
81746 LC_ALL=C
81747 export LC_ALL
81748 LANGUAGE=C
81749 export LANGUAGE
81751 # CDPATH.
81752 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81755 # as_fn_error ERROR [LINENO LOG_FD]
81756 # ---------------------------------
81757 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81758 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81759 # script with status $?, using 1 if that was 0.
81760 as_fn_error ()
81762 as_status=$?; test $as_status -eq 0 && as_status=1
81763 if test "$3"; then
81764 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81765 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81767 $as_echo "$as_me: error: $1" >&2
81768 as_fn_exit $as_status
81769 } # as_fn_error
81772 # as_fn_set_status STATUS
81773 # -----------------------
81774 # Set $? to STATUS, without forking.
81775 as_fn_set_status ()
81777 return $1
81778 } # as_fn_set_status
81780 # as_fn_exit STATUS
81781 # -----------------
81782 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81783 as_fn_exit ()
81785 set +e
81786 as_fn_set_status $1
81787 exit $1
81788 } # as_fn_exit
81790 # as_fn_unset VAR
81791 # ---------------
81792 # Portably unset VAR.
81793 as_fn_unset ()
81795 { eval $1=; unset $1;}
81797 as_unset=as_fn_unset
81798 # as_fn_append VAR VALUE
81799 # ----------------------
81800 # Append the text in VALUE to the end of the definition contained in VAR. Take
81801 # advantage of any shell optimizations that allow amortized linear growth over
81802 # repeated appends, instead of the typical quadratic growth present in naive
81803 # implementations.
81804 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81805 eval 'as_fn_append ()
81807 eval $1+=\$2
81809 else
81810 as_fn_append ()
81812 eval $1=\$$1\$2
81814 fi # as_fn_append
81816 # as_fn_arith ARG...
81817 # ------------------
81818 # Perform arithmetic evaluation on the ARGs, and store the result in the
81819 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81820 # must be portable across $(()) and expr.
81821 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81822 eval 'as_fn_arith ()
81824 as_val=$(( $* ))
81826 else
81827 as_fn_arith ()
81829 as_val=`expr "$@" || test $? -eq 1`
81831 fi # as_fn_arith
81834 if expr a : '\(a\)' >/dev/null 2>&1 &&
81835 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81836 as_expr=expr
81837 else
81838 as_expr=false
81841 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81842 as_basename=basename
81843 else
81844 as_basename=false
81847 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81848 as_dirname=dirname
81849 else
81850 as_dirname=false
81853 as_me=`$as_basename -- "$0" ||
81854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81855 X"$0" : 'X\(//\)$' \| \
81856 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81857 $as_echo X/"$0" |
81858 sed '/^.*\/\([^/][^/]*\)\/*$/{
81859 s//\1/
81862 /^X\/\(\/\/\)$/{
81863 s//\1/
81866 /^X\/\(\/\).*/{
81867 s//\1/
81870 s/.*/./; q'`
81872 # Avoid depending upon Character Ranges.
81873 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81874 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81875 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81876 as_cr_digits='0123456789'
81877 as_cr_alnum=$as_cr_Letters$as_cr_digits
81879 ECHO_C= ECHO_N= ECHO_T=
81880 case `echo -n x` in #(((((
81881 -n*)
81882 case `echo 'xy\c'` in
81883 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81884 xy) ECHO_C='\c';;
81885 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81886 ECHO_T=' ';;
81887 esac;;
81889 ECHO_N='-n';;
81890 esac
81892 rm -f conf$$ conf$$.exe conf$$.file
81893 if test -d conf$$.dir; then
81894 rm -f conf$$.dir/conf$$.file
81895 else
81896 rm -f conf$$.dir
81897 mkdir conf$$.dir 2>/dev/null
81899 if (echo >conf$$.file) 2>/dev/null; then
81900 if ln -s conf$$.file conf$$ 2>/dev/null; then
81901 as_ln_s='ln -s'
81902 # ... but there are two gotchas:
81903 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81904 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81905 # In both cases, we have to default to `cp -p'.
81906 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81907 as_ln_s='cp -p'
81908 elif ln conf$$.file conf$$ 2>/dev/null; then
81909 as_ln_s=ln
81910 else
81911 as_ln_s='cp -p'
81913 else
81914 as_ln_s='cp -p'
81916 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81917 rmdir conf$$.dir 2>/dev/null
81920 # as_fn_mkdir_p
81921 # -------------
81922 # Create "$as_dir" as a directory, including parents if necessary.
81923 as_fn_mkdir_p ()
81926 case $as_dir in #(
81927 -*) as_dir=./$as_dir;;
81928 esac
81929 test -d "$as_dir" || eval $as_mkdir_p || {
81930 as_dirs=
81931 while :; do
81932 case $as_dir in #(
81933 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81934 *) as_qdir=$as_dir;;
81935 esac
81936 as_dirs="'$as_qdir' $as_dirs"
81937 as_dir=`$as_dirname -- "$as_dir" ||
81938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81939 X"$as_dir" : 'X\(//\)[^/]' \| \
81940 X"$as_dir" : 'X\(//\)$' \| \
81941 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81942 $as_echo X"$as_dir" |
81943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81944 s//\1/
81947 /^X\(\/\/\)[^/].*/{
81948 s//\1/
81951 /^X\(\/\/\)$/{
81952 s//\1/
81955 /^X\(\/\).*/{
81956 s//\1/
81959 s/.*/./; q'`
81960 test -d "$as_dir" && break
81961 done
81962 test -z "$as_dirs" || eval "mkdir $as_dirs"
81963 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81966 } # as_fn_mkdir_p
81967 if mkdir -p . 2>/dev/null; then
81968 as_mkdir_p='mkdir -p "$as_dir"'
81969 else
81970 test -d ./-p && rmdir ./-p
81971 as_mkdir_p=false
81974 if test -x / >/dev/null 2>&1; then
81975 as_test_x='test -x'
81976 else
81977 if ls -dL / >/dev/null 2>&1; then
81978 as_ls_L_option=L
81979 else
81980 as_ls_L_option=
81982 as_test_x='
81983 eval sh -c '\''
81984 if test -d "$1"; then
81985 test -d "$1/.";
81986 else
81987 case $1 in #(
81988 -*)set "./$1";;
81989 esac;
81990 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81991 ???[sx]*):;;*)false;;esac;fi
81992 '\'' sh
81995 as_executable_p=$as_test_x
81997 # Sed expression to map a string onto a valid CPP name.
81998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82000 # Sed expression to map a string onto a valid variable name.
82001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82004 exec 6>&1
82005 ## ----------------------------------- ##
82006 ## Main body of $CONFIG_STATUS script. ##
82007 ## ----------------------------------- ##
82008 _ASEOF
82009 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82012 # Save the log message, to keep $0 and so on meaningful, and to
82013 # report actual input values of CONFIG_FILES etc. instead of their
82014 # values after options handling.
82015 ac_log="
82016 This file was extended by package-unused $as_me version-unused, which was
82017 generated by GNU Autoconf 2.64. Invocation command line was
82019 CONFIG_FILES = $CONFIG_FILES
82020 CONFIG_HEADERS = $CONFIG_HEADERS
82021 CONFIG_LINKS = $CONFIG_LINKS
82022 CONFIG_COMMANDS = $CONFIG_COMMANDS
82023 $ $0 $@
82025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82028 _ACEOF
82030 case $ac_config_files in *"
82031 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82032 esac
82034 case $ac_config_headers in *"
82035 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82036 esac
82039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82040 # Files that config.status was made for.
82041 config_files="$ac_config_files"
82042 config_headers="$ac_config_headers"
82043 config_commands="$ac_config_commands"
82045 _ACEOF
82047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82048 ac_cs_usage="\
82049 \`$as_me' instantiates files and other configuration actions
82050 from templates according to the current configuration. Unless the files
82051 and actions are specified as TAGs, all are instantiated by default.
82053 Usage: $0 [OPTION]... [TAG]...
82055 -h, --help print this help, then exit
82056 -V, --version print version number and configuration settings, then exit
82057 -q, --quiet, --silent
82058 do not print progress messages
82059 -d, --debug don't remove temporary files
82060 --recheck update $as_me by reconfiguring in the same conditions
82061 --file=FILE[:TEMPLATE]
82062 instantiate the configuration file FILE
82063 --header=FILE[:TEMPLATE]
82064 instantiate the configuration header FILE
82066 Configuration files:
82067 $config_files
82069 Configuration headers:
82070 $config_headers
82072 Configuration commands:
82073 $config_commands
82075 Report bugs to the package provider."
82077 _ACEOF
82078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82079 ac_cs_version="\\
82080 package-unused config.status version-unused
82081 configured by $0, generated by GNU Autoconf 2.64,
82082 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82084 Copyright (C) 2009 Free Software Foundation, Inc.
82085 This config.status script is free software; the Free Software Foundation
82086 gives unlimited permission to copy, distribute and modify it."
82088 ac_pwd='$ac_pwd'
82089 srcdir='$srcdir'
82090 INSTALL='$INSTALL'
82091 MKDIR_P='$MKDIR_P'
82092 AWK='$AWK'
82093 test -n "\$AWK" || AWK=awk
82094 _ACEOF
82096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82097 # The default lists apply if the user does not specify any file.
82098 ac_need_defaults=:
82099 while test $# != 0
82101 case $1 in
82102 --*=*)
82103 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82104 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82105 ac_shift=:
82108 ac_option=$1
82109 ac_optarg=$2
82110 ac_shift=shift
82112 esac
82114 case $ac_option in
82115 # Handling of the options.
82116 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82117 ac_cs_recheck=: ;;
82118 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82119 $as_echo "$ac_cs_version"; exit ;;
82120 --debug | --debu | --deb | --de | --d | -d )
82121 debug=: ;;
82122 --file | --fil | --fi | --f )
82123 $ac_shift
82124 case $ac_optarg in
82125 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82126 esac
82127 as_fn_append CONFIG_FILES " '$ac_optarg'"
82128 ac_need_defaults=false;;
82129 --header | --heade | --head | --hea )
82130 $ac_shift
82131 case $ac_optarg in
82132 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82133 esac
82134 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82135 ac_need_defaults=false;;
82136 --he | --h)
82137 # Conflict between --help and --header
82138 as_fn_error "ambiguous option: \`$1'
82139 Try \`$0 --help' for more information.";;
82140 --help | --hel | -h )
82141 $as_echo "$ac_cs_usage"; exit ;;
82142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82143 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82144 ac_cs_silent=: ;;
82146 # This is an error.
82147 -*) as_fn_error "unrecognized option: \`$1'
82148 Try \`$0 --help' for more information." ;;
82150 *) as_fn_append ac_config_targets " $1"
82151 ac_need_defaults=false ;;
82153 esac
82154 shift
82155 done
82157 ac_configure_extra_args=
82159 if $ac_cs_silent; then
82160 exec 6>/dev/null
82161 ac_configure_extra_args="$ac_configure_extra_args --silent"
82164 _ACEOF
82165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82166 if \$ac_cs_recheck; then
82167 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82168 shift
82169 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82170 CONFIG_SHELL='$SHELL'
82171 export CONFIG_SHELL
82172 exec "\$@"
82175 _ACEOF
82176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82177 exec 5>>config.log
82179 echo
82180 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82181 ## Running $as_me. ##
82182 _ASBOX
82183 $as_echo "$ac_log"
82184 } >&5
82186 _ACEOF
82187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82189 # INIT-COMMANDS
82192 srcdir="$srcdir"
82193 host="$host"
82194 target="$target"
82195 with_multisubdir="$with_multisubdir"
82196 with_multisrctop="$with_multisrctop"
82197 with_target_subdir="$with_target_subdir"
82198 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82199 multi_basedir="$multi_basedir"
82200 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82201 CC="$CC"
82202 CXX="$CXX"
82203 GFORTRAN="$GFORTRAN"
82204 GCJ="$GCJ"
82207 # The HP-UX ksh and POSIX shell print the target directory to stdout
82208 # if CDPATH is set.
82209 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82211 sed_quote_subst='$sed_quote_subst'
82212 double_quote_subst='$double_quote_subst'
82213 delay_variable_subst='$delay_variable_subst'
82214 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82215 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82216 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82217 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82218 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82219 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82220 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82221 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82222 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82223 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82224 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82225 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82226 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82227 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82228 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82229 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82230 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82231 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82232 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82233 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82234 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82235 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82236 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82237 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82238 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82239 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82240 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82241 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82242 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82243 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82244 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82245 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82246 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82247 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82248 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82249 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82250 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82251 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82252 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82253 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82254 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82255 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82256 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82257 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82258 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82259 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82260 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82261 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82262 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"`'
82263 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82264 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82265 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82266 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82267 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82268 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82269 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82270 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82271 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82272 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82273 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82274 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82275 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82276 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82277 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82278 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82279 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82280 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82281 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82282 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82283 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82284 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82285 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82286 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82287 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82288 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82289 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82290 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82291 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82292 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82293 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82294 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82295 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82296 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82297 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82298 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82299 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82300 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82301 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82302 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82303 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82304 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82305 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82306 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82307 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82308 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82309 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82310 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82311 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82312 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82313 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82314 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82315 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82316 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82317 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82318 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82319 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82320 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82321 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82322 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82323 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82324 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82325 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82326 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82327 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82328 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82329 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82330 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82331 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82332 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82333 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82334 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82335 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82336 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82337 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82338 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82339 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82340 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82341 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82342 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82343 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82344 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82345 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82346 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82347 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82348 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82349 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82350 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82351 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82352 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82353 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82354 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82355 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82356 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82357 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82358 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82359 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82360 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82361 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82362 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82363 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82364 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82365 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82366 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82367 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82368 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82369 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82370 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82371 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82372 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82373 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82374 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82375 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82376 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82377 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82378 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82379 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82380 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82381 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82382 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82383 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82384 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82385 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82386 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82387 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82388 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82390 LTCC='$LTCC'
82391 LTCFLAGS='$LTCFLAGS'
82392 compiler='$compiler_DEFAULT'
82394 # A function that is used when there is no print builtin or printf.
82395 func_fallback_echo ()
82397 eval 'cat <<_LTECHO_EOF
82399 _LTECHO_EOF'
82402 # Quote evaled strings.
82403 for var in SHELL \
82404 ECHO \
82405 SED \
82406 GREP \
82407 EGREP \
82408 FGREP \
82409 LD \
82410 NM \
82411 LN_S \
82412 lt_SP2NL \
82413 lt_NL2SP \
82414 reload_flag \
82415 OBJDUMP \
82416 deplibs_check_method \
82417 file_magic_cmd \
82418 AR \
82419 AR_FLAGS \
82420 STRIP \
82421 RANLIB \
82422 CC \
82423 CFLAGS \
82424 compiler \
82425 lt_cv_sys_global_symbol_pipe \
82426 lt_cv_sys_global_symbol_to_cdecl \
82427 lt_cv_sys_global_symbol_to_c_name_address \
82428 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82429 lt_prog_compiler_no_builtin_flag \
82430 lt_prog_compiler_wl \
82431 lt_prog_compiler_pic \
82432 lt_prog_compiler_static \
82433 lt_cv_prog_compiler_c_o \
82434 need_locks \
82435 DSYMUTIL \
82436 NMEDIT \
82437 LIPO \
82438 OTOOL \
82439 OTOOL64 \
82440 shrext_cmds \
82441 export_dynamic_flag_spec \
82442 whole_archive_flag_spec \
82443 compiler_needs_object \
82444 with_gnu_ld \
82445 allow_undefined_flag \
82446 no_undefined_flag \
82447 hardcode_libdir_flag_spec \
82448 hardcode_libdir_flag_spec_ld \
82449 hardcode_libdir_separator \
82450 fix_srcfile_path \
82451 exclude_expsyms \
82452 include_expsyms \
82453 file_list_spec \
82454 variables_saved_for_relink \
82455 libname_spec \
82456 library_names_spec \
82457 soname_spec \
82458 install_override_mode \
82459 finish_eval \
82460 old_striplib \
82461 striplib \
82462 compiler_lib_search_dirs \
82463 predep_objects \
82464 postdep_objects \
82465 predeps \
82466 postdeps \
82467 compiler_lib_search_path \
82468 LD_CXX \
82469 reload_flag_CXX \
82470 compiler_CXX \
82471 lt_prog_compiler_no_builtin_flag_CXX \
82472 lt_prog_compiler_wl_CXX \
82473 lt_prog_compiler_pic_CXX \
82474 lt_prog_compiler_static_CXX \
82475 lt_cv_prog_compiler_c_o_CXX \
82476 export_dynamic_flag_spec_CXX \
82477 whole_archive_flag_spec_CXX \
82478 compiler_needs_object_CXX \
82479 with_gnu_ld_CXX \
82480 allow_undefined_flag_CXX \
82481 no_undefined_flag_CXX \
82482 hardcode_libdir_flag_spec_CXX \
82483 hardcode_libdir_flag_spec_ld_CXX \
82484 hardcode_libdir_separator_CXX \
82485 fix_srcfile_path_CXX \
82486 exclude_expsyms_CXX \
82487 include_expsyms_CXX \
82488 file_list_spec_CXX \
82489 compiler_lib_search_dirs_CXX \
82490 predep_objects_CXX \
82491 postdep_objects_CXX \
82492 predeps_CXX \
82493 postdeps_CXX \
82494 compiler_lib_search_path_CXX; do
82495 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82496 *[\\\\\\\`\\"\\\$]*)
82497 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82500 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82502 esac
82503 done
82505 # Double-quote double-evaled strings.
82506 for var in reload_cmds \
82507 old_postinstall_cmds \
82508 old_postuninstall_cmds \
82509 old_archive_cmds \
82510 extract_expsyms_cmds \
82511 old_archive_from_new_cmds \
82512 old_archive_from_expsyms_cmds \
82513 archive_cmds \
82514 archive_expsym_cmds \
82515 module_cmds \
82516 module_expsym_cmds \
82517 export_symbols_cmds \
82518 prelink_cmds \
82519 postinstall_cmds \
82520 postuninstall_cmds \
82521 finish_cmds \
82522 sys_lib_search_path_spec \
82523 sys_lib_dlsearch_path_spec \
82524 reload_cmds_CXX \
82525 old_archive_cmds_CXX \
82526 old_archive_from_new_cmds_CXX \
82527 old_archive_from_expsyms_cmds_CXX \
82528 archive_cmds_CXX \
82529 archive_expsym_cmds_CXX \
82530 module_cmds_CXX \
82531 module_expsym_cmds_CXX \
82532 export_symbols_cmds_CXX \
82533 prelink_cmds_CXX; do
82534 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82535 *[\\\\\\\`\\"\\\$]*)
82536 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82539 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82541 esac
82542 done
82544 ac_aux_dir='$ac_aux_dir'
82545 xsi_shell='$xsi_shell'
82546 lt_shell_append='$lt_shell_append'
82548 # See if we are running on zsh, and set the options which allow our
82549 # commands through without removal of \ escapes INIT.
82550 if test -n "\${ZSH_VERSION+set}" ; then
82551 setopt NO_GLOB_SUBST
82555 PACKAGE='$PACKAGE'
82556 VERSION='$VERSION'
82557 TIMESTAMP='$TIMESTAMP'
82558 RM='$RM'
82559 ofile='$ofile'
82566 GCC="$GCC"
82567 CC="$CC"
82568 acx_cv_header_stdint="$acx_cv_header_stdint"
82569 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82570 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82571 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82572 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82573 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82574 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82575 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82576 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82577 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82578 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82579 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82580 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82581 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82584 _ACEOF
82586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82588 # Handling of arguments.
82589 for ac_config_target in $ac_config_targets
82591 case $ac_config_target in
82592 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82593 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82594 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82595 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82596 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82597 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82598 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82599 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82600 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82601 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82602 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82603 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82604 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82605 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82606 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82607 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82608 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82609 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82610 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82612 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82613 esac
82614 done
82617 # If the user did not use the arguments to specify the items to instantiate,
82618 # then the envvar interface is used. Set only those that are not.
82619 # We use the long form for the default assignment because of an extremely
82620 # bizarre bug on SunOS 4.1.3.
82621 if $ac_need_defaults; then
82622 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82623 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82624 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82627 # Have a temporary directory for convenience. Make it in the build tree
82628 # simply because there is no reason against having it here, and in addition,
82629 # creating and moving files from /tmp can sometimes cause problems.
82630 # Hook for its removal unless debugging.
82631 # Note that there is a small window in which the directory will not be cleaned:
82632 # after its creation but before its name has been assigned to `$tmp'.
82633 $debug ||
82635 tmp=
82636 trap 'exit_status=$?
82637 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82639 trap 'as_fn_exit 1' 1 2 13 15
82641 # Create a (secure) tmp directory for tmp files.
82644 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82645 test -n "$tmp" && test -d "$tmp"
82646 } ||
82648 tmp=./conf$$-$RANDOM
82649 (umask 077 && mkdir "$tmp")
82650 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82652 # Set up the scripts for CONFIG_FILES section.
82653 # No need to generate them if there are no CONFIG_FILES.
82654 # This happens for instance with `./config.status config.h'.
82655 if test -n "$CONFIG_FILES"; then
82658 ac_cr=`echo X | tr X '\015'`
82659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82660 # But we know of no other shell where ac_cr would be empty at this
82661 # point, so we can use a bashism as a fallback.
82662 if test "x$ac_cr" = x; then
82663 eval ac_cr=\$\'\\r\'
82665 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82667 ac_cs_awk_cr='\r'
82668 else
82669 ac_cs_awk_cr=$ac_cr
82672 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82673 _ACEOF
82677 echo "cat >conf$$subs.awk <<_ACEOF" &&
82678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82679 echo "_ACEOF"
82680 } >conf$$subs.sh ||
82681 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82682 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82683 ac_delim='%!_!# '
82684 for ac_last_try in false false false false false :; do
82685 . ./conf$$subs.sh ||
82686 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82688 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82689 if test $ac_delim_n = $ac_delim_num; then
82690 break
82691 elif $ac_last_try; then
82692 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82693 else
82694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82696 done
82697 rm -f conf$$subs.sh
82699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82700 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82701 _ACEOF
82702 sed -n '
82704 s/^/S["/; s/!.*/"]=/
82707 s/^[^!]*!//
82708 :repl
82709 t repl
82710 s/'"$ac_delim"'$//
82711 t delim
82714 s/\(.\{148\}\).*/\1/
82715 t more1
82716 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82719 b repl
82720 :more1
82721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82724 s/.\{148\}//
82725 t nl
82726 :delim
82728 s/\(.\{148\}\).*/\1/
82729 t more2
82730 s/["\\]/\\&/g; s/^/"/; s/$/"/
82733 :more2
82734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82737 s/.\{148\}//
82738 t delim
82739 ' <conf$$subs.awk | sed '
82740 /^[^""]/{
82742 s/\n//
82744 ' >>$CONFIG_STATUS || ac_write_fail=1
82745 rm -f conf$$subs.awk
82746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82747 _ACAWK
82748 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82749 for (key in S) S_is_set[key] = 1
82750 FS = "\a"
82754 line = $ 0
82755 nfields = split(line, field, "@")
82756 substed = 0
82757 len = length(field[1])
82758 for (i = 2; i < nfields; i++) {
82759 key = field[i]
82760 keylen = length(key)
82761 if (S_is_set[key]) {
82762 value = S[key]
82763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82764 len += length(value) + length(field[++i])
82765 substed = 1
82766 } else
82767 len += 1 + keylen
82770 print line
82773 _ACAWK
82774 _ACEOF
82775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82776 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82777 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82778 else
82780 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82781 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82782 _ACEOF
82784 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82785 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82786 # trailing colons and then remove the whole line if VPATH becomes empty
82787 # (actually we leave an empty line to preserve line numbers).
82788 if test "x$srcdir" = x.; then
82789 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82790 s/:*\$(srcdir):*/:/
82791 s/:*\${srcdir}:*/:/
82792 s/:*@srcdir@:*/:/
82793 s/^\([^=]*=[ ]*\):*/\1/
82794 s/:*$//
82795 s/^[^=]*=[ ]*$//
82799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82800 fi # test -n "$CONFIG_FILES"
82802 # Set up the scripts for CONFIG_HEADERS section.
82803 # No need to generate them if there are no CONFIG_HEADERS.
82804 # This happens for instance with `./config.status Makefile'.
82805 if test -n "$CONFIG_HEADERS"; then
82806 cat >"$tmp/defines.awk" <<\_ACAWK ||
82807 BEGIN {
82808 _ACEOF
82810 # Transform confdefs.h into an awk script `defines.awk', embedded as
82811 # here-document in config.status, that substitutes the proper values into
82812 # config.h.in to produce config.h.
82814 # Create a delimiter string that does not exist in confdefs.h, to ease
82815 # handling of long lines.
82816 ac_delim='%!_!# '
82817 for ac_last_try in false false :; do
82818 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82819 if test -z "$ac_t"; then
82820 break
82821 elif $ac_last_try; then
82822 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82823 else
82824 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82826 done
82828 # For the awk script, D is an array of macro values keyed by name,
82829 # likewise P contains macro parameters if any. Preserve backslash
82830 # newline sequences.
82832 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82833 sed -n '
82834 s/.\{148\}/&'"$ac_delim"'/g
82835 t rset
82836 :rset
82837 s/^[ ]*#[ ]*define[ ][ ]*/ /
82838 t def
82840 :def
82841 s/\\$//
82842 t bsnl
82843 s/["\\]/\\&/g
82844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82845 D["\1"]=" \3"/p
82846 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82848 :bsnl
82849 s/["\\]/\\&/g
82850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82851 D["\1"]=" \3\\\\\\n"\\/p
82852 t cont
82853 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82854 t cont
82856 :cont
82858 s/.\{148\}/&'"$ac_delim"'/g
82859 t clear
82860 :clear
82861 s/\\$//
82862 t bsnlc
82863 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82865 :bsnlc
82866 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82867 b cont
82868 ' <confdefs.h | sed '
82869 s/'"$ac_delim"'/"\\\
82870 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82873 for (key in D) D_is_set[key] = 1
82874 FS = "\a"
82876 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82877 line = \$ 0
82878 split(line, arg, " ")
82879 if (arg[1] == "#") {
82880 defundef = arg[2]
82881 mac1 = arg[3]
82882 } else {
82883 defundef = substr(arg[1], 2)
82884 mac1 = arg[2]
82886 split(mac1, mac2, "(") #)
82887 macro = mac2[1]
82888 prefix = substr(line, 1, index(line, defundef) - 1)
82889 if (D_is_set[macro]) {
82890 # Preserve the white space surrounding the "#".
82891 print prefix "define", macro P[macro] D[macro]
82892 next
82893 } else {
82894 # Replace #undef with comments. This is necessary, for example,
82895 # in the case of _POSIX_SOURCE, which is predefined and required
82896 # on some systems where configure will not decide to define it.
82897 if (defundef == "undef") {
82898 print "/*", prefix defundef, macro, "*/"
82899 next
82903 { print }
82904 _ACAWK
82905 _ACEOF
82906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82907 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82908 fi # test -n "$CONFIG_HEADERS"
82911 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82912 shift
82913 for ac_tag
82915 case $ac_tag in
82916 :[FHLC]) ac_mode=$ac_tag; continue;;
82917 esac
82918 case $ac_mode$ac_tag in
82919 :[FHL]*:*);;
82920 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82921 :[FH]-) ac_tag=-:-;;
82922 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82923 esac
82924 ac_save_IFS=$IFS
82925 IFS=:
82926 set x $ac_tag
82927 IFS=$ac_save_IFS
82928 shift
82929 ac_file=$1
82930 shift
82932 case $ac_mode in
82933 :L) ac_source=$1;;
82934 :[FH])
82935 ac_file_inputs=
82936 for ac_f
82938 case $ac_f in
82939 -) ac_f="$tmp/stdin";;
82940 *) # Look for the file first in the build tree, then in the source tree
82941 # (if the path is not absolute). The absolute path cannot be DOS-style,
82942 # because $ac_f cannot contain `:'.
82943 test -f "$ac_f" ||
82944 case $ac_f in
82945 [\\/$]*) false;;
82946 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82947 esac ||
82948 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82949 esac
82950 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82951 as_fn_append ac_file_inputs " '$ac_f'"
82952 done
82954 # Let's still pretend it is `configure' which instantiates (i.e., don't
82955 # use $as_me), people would be surprised to read:
82956 # /* config.h. Generated by config.status. */
82957 configure_input='Generated from '`
82958 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82959 `' by configure.'
82960 if test x"$ac_file" != x-; then
82961 configure_input="$ac_file. $configure_input"
82962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82963 $as_echo "$as_me: creating $ac_file" >&6;}
82965 # Neutralize special characters interpreted by sed in replacement strings.
82966 case $configure_input in #(
82967 *\&* | *\|* | *\\* )
82968 ac_sed_conf_input=`$as_echo "$configure_input" |
82969 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82970 *) ac_sed_conf_input=$configure_input;;
82971 esac
82973 case $ac_tag in
82974 *:-:* | *:-) cat >"$tmp/stdin" \
82975 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82976 esac
82978 esac
82980 ac_dir=`$as_dirname -- "$ac_file" ||
82981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82982 X"$ac_file" : 'X\(//\)[^/]' \| \
82983 X"$ac_file" : 'X\(//\)$' \| \
82984 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82985 $as_echo X"$ac_file" |
82986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82987 s//\1/
82990 /^X\(\/\/\)[^/].*/{
82991 s//\1/
82994 /^X\(\/\/\)$/{
82995 s//\1/
82998 /^X\(\/\).*/{
82999 s//\1/
83002 s/.*/./; q'`
83003 as_dir="$ac_dir"; as_fn_mkdir_p
83004 ac_builddir=.
83006 case "$ac_dir" in
83007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83009 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83010 # A ".." for each directory in $ac_dir_suffix.
83011 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83012 case $ac_top_builddir_sub in
83013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83015 esac ;;
83016 esac
83017 ac_abs_top_builddir=$ac_pwd
83018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83019 # for backward compatibility:
83020 ac_top_builddir=$ac_top_build_prefix
83022 case $srcdir in
83023 .) # We are building in place.
83024 ac_srcdir=.
83025 ac_top_srcdir=$ac_top_builddir_sub
83026 ac_abs_top_srcdir=$ac_pwd ;;
83027 [\\/]* | ?:[\\/]* ) # Absolute name.
83028 ac_srcdir=$srcdir$ac_dir_suffix;
83029 ac_top_srcdir=$srcdir
83030 ac_abs_top_srcdir=$srcdir ;;
83031 *) # Relative name.
83032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83033 ac_top_srcdir=$ac_top_build_prefix$srcdir
83034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83035 esac
83036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83039 case $ac_mode in
83042 # CONFIG_FILE
83045 case $INSTALL in
83046 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83047 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83048 esac
83049 ac_MKDIR_P=$MKDIR_P
83050 case $MKDIR_P in
83051 [\\/$]* | ?:[\\/]* ) ;;
83052 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83053 esac
83054 _ACEOF
83056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83057 # If the template does not know about datarootdir, expand it.
83058 # FIXME: This hack should be removed a few years after 2.60.
83059 ac_datarootdir_hack=; ac_datarootdir_seen=
83060 ac_sed_dataroot='
83061 /datarootdir/ {
83065 /@datadir@/p
83066 /@docdir@/p
83067 /@infodir@/p
83068 /@localedir@/p
83069 /@mandir@/p'
83070 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83071 *datarootdir*) ac_datarootdir_seen=yes;;
83072 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83074 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83075 _ACEOF
83076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83077 ac_datarootdir_hack='
83078 s&@datadir@&$datadir&g
83079 s&@docdir@&$docdir&g
83080 s&@infodir@&$infodir&g
83081 s&@localedir@&$localedir&g
83082 s&@mandir@&$mandir&g
83083 s&\\\${datarootdir}&$datarootdir&g' ;;
83084 esac
83085 _ACEOF
83087 # Neutralize VPATH when `$srcdir' = `.'.
83088 # Shell code in configure.ac might set extrasub.
83089 # FIXME: do we really want to maintain this feature?
83090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83091 ac_sed_extra="$ac_vpsub
83092 $extrasub
83093 _ACEOF
83094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83097 s|@configure_input@|$ac_sed_conf_input|;t t
83098 s&@top_builddir@&$ac_top_builddir_sub&;t t
83099 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83100 s&@srcdir@&$ac_srcdir&;t t
83101 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83102 s&@top_srcdir@&$ac_top_srcdir&;t t
83103 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83104 s&@builddir@&$ac_builddir&;t t
83105 s&@abs_builddir@&$ac_abs_builddir&;t t
83106 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83107 s&@INSTALL@&$ac_INSTALL&;t t
83108 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83109 $ac_datarootdir_hack
83111 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83112 || as_fn_error "could not create $ac_file" "$LINENO" 5
83114 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83115 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83116 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83118 which seems to be undefined. Please make sure it is defined." >&5
83119 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83120 which seems to be undefined. Please make sure it is defined." >&2;}
83122 rm -f "$tmp/stdin"
83123 case $ac_file in
83124 -) cat "$tmp/out" && rm -f "$tmp/out";;
83125 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83126 esac \
83127 || as_fn_error "could not create $ac_file" "$LINENO" 5
83131 # CONFIG_HEADER
83133 if test x"$ac_file" != x-; then
83135 $as_echo "/* $configure_input */" \
83136 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83137 } >"$tmp/config.h" \
83138 || as_fn_error "could not create $ac_file" "$LINENO" 5
83139 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83140 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83141 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83142 else
83143 rm -f "$ac_file"
83144 mv "$tmp/config.h" "$ac_file" \
83145 || as_fn_error "could not create $ac_file" "$LINENO" 5
83147 else
83148 $as_echo "/* $configure_input */" \
83149 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83150 || as_fn_error "could not create -" "$LINENO" 5
83152 # Compute "$ac_file"'s index in $config_headers.
83153 _am_arg="$ac_file"
83154 _am_stamp_count=1
83155 for _am_header in $config_headers :; do
83156 case $_am_header in
83157 $_am_arg | $_am_arg:* )
83158 break ;;
83160 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83161 esac
83162 done
83163 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83164 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83165 X"$_am_arg" : 'X\(//\)[^/]' \| \
83166 X"$_am_arg" : 'X\(//\)$' \| \
83167 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83168 $as_echo X"$_am_arg" |
83169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83170 s//\1/
83173 /^X\(\/\/\)[^/].*/{
83174 s//\1/
83177 /^X\(\/\/\)$/{
83178 s//\1/
83181 /^X\(\/\).*/{
83182 s//\1/
83185 s/.*/./; q'`/stamp-h$_am_stamp_count
83188 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83189 $as_echo "$as_me: executing $ac_file commands" >&6;}
83191 esac
83194 case $ac_file$ac_mode in
83195 "default-1":C)
83196 # Only add multilib support code if we just rebuilt the top-level
83197 # Makefile.
83198 case " $CONFIG_FILES " in
83199 *" Makefile "*)
83200 ac_file=Makefile . ${multi_basedir}/config-ml.in
83202 esac ;;
83203 "libtool":C)
83205 # See if we are running on zsh, and set the options which allow our
83206 # commands through without removal of \ escapes.
83207 if test -n "${ZSH_VERSION+set}" ; then
83208 setopt NO_GLOB_SUBST
83211 cfgfile="${ofile}T"
83212 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83213 $RM "$cfgfile"
83215 cat <<_LT_EOF >> "$cfgfile"
83216 #! $SHELL
83218 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83219 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83220 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83221 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83223 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83224 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83225 # Written by Gordon Matzigkeit, 1996
83227 # This file is part of GNU Libtool.
83229 # GNU Libtool is free software; you can redistribute it and/or
83230 # modify it under the terms of the GNU General Public License as
83231 # published by the Free Software Foundation; either version 2 of
83232 # the License, or (at your option) any later version.
83234 # As a special exception to the GNU General Public License,
83235 # if you distribute this file as part of a program or library that
83236 # is built using GNU Libtool, you may include this file under the
83237 # same distribution terms that you use for the rest of that program.
83239 # GNU Libtool is distributed in the hope that it will be useful,
83240 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83241 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83242 # GNU General Public License for more details.
83244 # You should have received a copy of the GNU General Public License
83245 # along with GNU Libtool; see the file COPYING. If not, a copy
83246 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83247 # obtained by writing to the Free Software Foundation, Inc.,
83248 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83251 # The names of the tagged configurations supported by this script.
83252 available_tags="CXX "
83254 # ### BEGIN LIBTOOL CONFIG
83256 # Which release of libtool.m4 was used?
83257 macro_version=$macro_version
83258 macro_revision=$macro_revision
83260 # Whether or not to build shared libraries.
83261 build_libtool_libs=$enable_shared
83263 # Whether or not to build static libraries.
83264 build_old_libs=$enable_static
83266 # What type of objects to build.
83267 pic_mode=$pic_mode
83269 # Whether or not to optimize for fast installation.
83270 fast_install=$enable_fast_install
83272 # Shell to use when invoking shell scripts.
83273 SHELL=$lt_SHELL
83275 # An echo program that protects backslashes.
83276 ECHO=$lt_ECHO
83278 # The host system.
83279 host_alias=$host_alias
83280 host=$host
83281 host_os=$host_os
83283 # The build system.
83284 build_alias=$build_alias
83285 build=$build
83286 build_os=$build_os
83288 # A sed program that does not truncate output.
83289 SED=$lt_SED
83291 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83292 Xsed="\$SED -e 1s/^X//"
83294 # A grep program that handles long lines.
83295 GREP=$lt_GREP
83297 # An ERE matcher.
83298 EGREP=$lt_EGREP
83300 # A literal string matcher.
83301 FGREP=$lt_FGREP
83303 # A BSD- or MS-compatible name lister.
83304 NM=$lt_NM
83306 # Whether we need soft or hard links.
83307 LN_S=$lt_LN_S
83309 # What is the maximum length of a command?
83310 max_cmd_len=$max_cmd_len
83312 # Object file suffix (normally "o").
83313 objext=$ac_objext
83315 # Executable file suffix (normally "").
83316 exeext=$exeext
83318 # whether the shell understands "unset".
83319 lt_unset=$lt_unset
83321 # turn spaces into newlines.
83322 SP2NL=$lt_lt_SP2NL
83324 # turn newlines into spaces.
83325 NL2SP=$lt_lt_NL2SP
83327 # An object symbol dumper.
83328 OBJDUMP=$lt_OBJDUMP
83330 # Method to check whether dependent libraries are shared objects.
83331 deplibs_check_method=$lt_deplibs_check_method
83333 # Command to use when deplibs_check_method == "file_magic".
83334 file_magic_cmd=$lt_file_magic_cmd
83336 # The archiver.
83337 AR=$lt_AR
83338 AR_FLAGS=$lt_AR_FLAGS
83340 # A symbol stripping program.
83341 STRIP=$lt_STRIP
83343 # Commands used to install an old-style archive.
83344 RANLIB=$lt_RANLIB
83345 old_postinstall_cmds=$lt_old_postinstall_cmds
83346 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83348 # Whether to use a lock for old archive extraction.
83349 lock_old_archive_extraction=$lock_old_archive_extraction
83351 # A C compiler.
83352 LTCC=$lt_CC
83354 # LTCC compiler flags.
83355 LTCFLAGS=$lt_CFLAGS
83357 # Take the output of nm and produce a listing of raw symbols and C names.
83358 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83360 # Transform the output of nm in a proper C declaration.
83361 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83363 # Transform the output of nm in a C name address pair.
83364 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83366 # Transform the output of nm in a C name address pair when lib prefix is needed.
83367 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83369 # The name of the directory that contains temporary libtool files.
83370 objdir=$objdir
83372 # Used to examine libraries when file_magic_cmd begins with "file".
83373 MAGIC_CMD=$MAGIC_CMD
83375 # Must we lock files when doing compilation?
83376 need_locks=$lt_need_locks
83378 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83379 DSYMUTIL=$lt_DSYMUTIL
83381 # Tool to change global to local symbols on Mac OS X.
83382 NMEDIT=$lt_NMEDIT
83384 # Tool to manipulate fat objects and archives on Mac OS X.
83385 LIPO=$lt_LIPO
83387 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83388 OTOOL=$lt_OTOOL
83390 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83391 OTOOL64=$lt_OTOOL64
83393 # Old archive suffix (normally "a").
83394 libext=$libext
83396 # Shared library suffix (normally ".so").
83397 shrext_cmds=$lt_shrext_cmds
83399 # The commands to extract the exported symbol list from a shared archive.
83400 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83402 # Variables whose values should be saved in libtool wrapper scripts and
83403 # restored at link time.
83404 variables_saved_for_relink=$lt_variables_saved_for_relink
83406 # Do we need the "lib" prefix for modules?
83407 need_lib_prefix=$need_lib_prefix
83409 # Do we need a version for libraries?
83410 need_version=$need_version
83412 # Library versioning type.
83413 version_type=$version_type
83415 # Shared library runtime path variable.
83416 runpath_var=$runpath_var
83418 # Shared library path variable.
83419 shlibpath_var=$shlibpath_var
83421 # Is shlibpath searched before the hard-coded library search path?
83422 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83424 # Format of library name prefix.
83425 libname_spec=$lt_libname_spec
83427 # List of archive names. First name is the real one, the rest are links.
83428 # The last name is the one that the linker finds with -lNAME
83429 library_names_spec=$lt_library_names_spec
83431 # The coded name of the library, if different from the real name.
83432 soname_spec=$lt_soname_spec
83434 # Permission mode override for installation of shared libraries.
83435 install_override_mode=$lt_install_override_mode
83437 # Command to use after installation of a shared archive.
83438 postinstall_cmds=$lt_postinstall_cmds
83440 # Command to use after uninstallation of a shared archive.
83441 postuninstall_cmds=$lt_postuninstall_cmds
83443 # Commands used to finish a libtool library installation in a directory.
83444 finish_cmds=$lt_finish_cmds
83446 # As "finish_cmds", except a single script fragment to be evaled but
83447 # not shown.
83448 finish_eval=$lt_finish_eval
83450 # Whether we should hardcode library paths into libraries.
83451 hardcode_into_libs=$hardcode_into_libs
83453 # Compile-time system search path for libraries.
83454 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83456 # Run-time system search path for libraries.
83457 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83459 # Whether dlopen is supported.
83460 dlopen_support=$enable_dlopen
83462 # Whether dlopen of programs is supported.
83463 dlopen_self=$enable_dlopen_self
83465 # Whether dlopen of statically linked programs is supported.
83466 dlopen_self_static=$enable_dlopen_self_static
83468 # Commands to strip libraries.
83469 old_striplib=$lt_old_striplib
83470 striplib=$lt_striplib
83473 # The linker used to build libraries.
83474 LD=$lt_LD
83476 # How to create reloadable object files.
83477 reload_flag=$lt_reload_flag
83478 reload_cmds=$lt_reload_cmds
83480 # Commands used to build an old-style archive.
83481 old_archive_cmds=$lt_old_archive_cmds
83483 # A language specific compiler.
83484 CC=$lt_compiler
83486 # Is the compiler the GNU compiler?
83487 with_gcc=$GCC
83489 # Compiler flag to turn off builtin functions.
83490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83492 # How to pass a linker flag through the compiler.
83493 wl=$lt_lt_prog_compiler_wl
83495 # Additional compiler flags for building library objects.
83496 pic_flag=$lt_lt_prog_compiler_pic
83498 # Compiler flag to prevent dynamic linking.
83499 link_static_flag=$lt_lt_prog_compiler_static
83501 # Does compiler simultaneously support -c and -o options?
83502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83504 # Whether or not to add -lc for building shared libraries.
83505 build_libtool_need_lc=$archive_cmds_need_lc
83507 # Whether or not to disallow shared libs when runtime libs are static.
83508 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83510 # Compiler flag to allow reflexive dlopens.
83511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83513 # Compiler flag to generate shared objects directly from archives.
83514 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83516 # Whether the compiler copes with passing no objects directly.
83517 compiler_needs_object=$lt_compiler_needs_object
83519 # Create an old-style archive from a shared archive.
83520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83522 # Create a temporary old-style archive to link instead of a shared archive.
83523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83525 # Commands used to build a shared archive.
83526 archive_cmds=$lt_archive_cmds
83527 archive_expsym_cmds=$lt_archive_expsym_cmds
83529 # Commands used to build a loadable module if different from building
83530 # a shared archive.
83531 module_cmds=$lt_module_cmds
83532 module_expsym_cmds=$lt_module_expsym_cmds
83534 # Whether we are building with GNU ld or not.
83535 with_gnu_ld=$lt_with_gnu_ld
83537 # Flag that allows shared libraries with undefined symbols to be built.
83538 allow_undefined_flag=$lt_allow_undefined_flag
83540 # Flag that enforces no undefined symbols.
83541 no_undefined_flag=$lt_no_undefined_flag
83543 # Flag to hardcode \$libdir into a binary during linking.
83544 # This must work even if \$libdir does not exist
83545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83547 # If ld is used when linking, flag to hardcode \$libdir into a binary
83548 # during linking. This must work even if \$libdir does not exist.
83549 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83551 # Whether we need a single "-rpath" flag with a separated argument.
83552 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83555 # DIR into the resulting binary.
83556 hardcode_direct=$hardcode_direct
83558 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83559 # DIR into the resulting binary and the resulting library dependency is
83560 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83561 # library is relocated.
83562 hardcode_direct_absolute=$hardcode_direct_absolute
83564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83565 # into the resulting binary.
83566 hardcode_minus_L=$hardcode_minus_L
83568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83569 # into the resulting binary.
83570 hardcode_shlibpath_var=$hardcode_shlibpath_var
83572 # Set to "yes" if building a shared library automatically hardcodes DIR
83573 # into the library and all subsequent libraries and executables linked
83574 # against it.
83575 hardcode_automatic=$hardcode_automatic
83577 # Set to yes if linker adds runtime paths of dependent libraries
83578 # to runtime path list.
83579 inherit_rpath=$inherit_rpath
83581 # Whether libtool must link a program against all its dependency libraries.
83582 link_all_deplibs=$link_all_deplibs
83584 # Fix the shell variable \$srcfile for the compiler.
83585 fix_srcfile_path=$lt_fix_srcfile_path
83587 # Set to "yes" if exported symbols are required.
83588 always_export_symbols=$always_export_symbols
83590 # The commands to list exported symbols.
83591 export_symbols_cmds=$lt_export_symbols_cmds
83593 # Symbols that should not be listed in the preloaded symbols.
83594 exclude_expsyms=$lt_exclude_expsyms
83596 # Symbols that must always be exported.
83597 include_expsyms=$lt_include_expsyms
83599 # Commands necessary for linking programs (against libraries) with templates.
83600 prelink_cmds=$lt_prelink_cmds
83602 # Specify filename containing input files.
83603 file_list_spec=$lt_file_list_spec
83605 # How to hardcode a shared library path into an executable.
83606 hardcode_action=$hardcode_action
83608 # The directories searched by this compiler when creating a shared library.
83609 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83611 # Dependencies to place before and after the objects being linked to
83612 # create a shared library.
83613 predep_objects=$lt_predep_objects
83614 postdep_objects=$lt_postdep_objects
83615 predeps=$lt_predeps
83616 postdeps=$lt_postdeps
83618 # The library search path used internally by the compiler when linking
83619 # a shared library.
83620 compiler_lib_search_path=$lt_compiler_lib_search_path
83622 # ### END LIBTOOL CONFIG
83624 _LT_EOF
83626 case $host_os in
83627 aix3*)
83628 cat <<\_LT_EOF >> "$cfgfile"
83629 # AIX sometimes has problems with the GCC collect2 program. For some
83630 # reason, if we set the COLLECT_NAMES environment variable, the problems
83631 # vanish in a puff of smoke.
83632 if test "X${COLLECT_NAMES+set}" != Xset; then
83633 COLLECT_NAMES=
83634 export COLLECT_NAMES
83636 _LT_EOF
83638 esac
83641 ltmain="$ac_aux_dir/ltmain.sh"
83644 # We use sed instead of cat because bash on DJGPP gets confused if
83645 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83646 # text mode, it properly converts lines to CR/LF. This bash problem
83647 # is reportedly fixed, but why not run on old versions too?
83648 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83649 || (rm -f "$cfgfile"; exit 1)
83651 case $xsi_shell in
83652 yes)
83653 cat << \_LT_EOF >> "$cfgfile"
83655 # func_dirname file append nondir_replacement
83656 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83657 # otherwise set result to NONDIR_REPLACEMENT.
83658 func_dirname ()
83660 case ${1} in
83661 */*) func_dirname_result="${1%/*}${2}" ;;
83662 * ) func_dirname_result="${3}" ;;
83663 esac
83666 # func_basename file
83667 func_basename ()
83669 func_basename_result="${1##*/}"
83672 # func_dirname_and_basename file append nondir_replacement
83673 # perform func_basename and func_dirname in a single function
83674 # call:
83675 # dirname: Compute the dirname of FILE. If nonempty,
83676 # add APPEND to the result, otherwise set result
83677 # to NONDIR_REPLACEMENT.
83678 # value returned in "$func_dirname_result"
83679 # basename: Compute filename of FILE.
83680 # value retuned in "$func_basename_result"
83681 # Implementation must be kept synchronized with func_dirname
83682 # and func_basename. For efficiency, we do not delegate to
83683 # those functions but instead duplicate the functionality here.
83684 func_dirname_and_basename ()
83686 case ${1} in
83687 */*) func_dirname_result="${1%/*}${2}" ;;
83688 * ) func_dirname_result="${3}" ;;
83689 esac
83690 func_basename_result="${1##*/}"
83693 # func_stripname prefix suffix name
83694 # strip PREFIX and SUFFIX off of NAME.
83695 # PREFIX and SUFFIX must not contain globbing or regex special
83696 # characters, hashes, percent signs, but SUFFIX may contain a leading
83697 # dot (in which case that matches only a dot).
83698 func_stripname ()
83700 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83701 # positional parameters, so assign one to ordinary parameter first.
83702 func_stripname_result=${3}
83703 func_stripname_result=${func_stripname_result#"${1}"}
83704 func_stripname_result=${func_stripname_result%"${2}"}
83707 # func_opt_split
83708 func_opt_split ()
83710 func_opt_split_opt=${1%%=*}
83711 func_opt_split_arg=${1#*=}
83714 # func_lo2o object
83715 func_lo2o ()
83717 case ${1} in
83718 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83719 *) func_lo2o_result=${1} ;;
83720 esac
83723 # func_xform libobj-or-source
83724 func_xform ()
83726 func_xform_result=${1%.*}.lo
83729 # func_arith arithmetic-term...
83730 func_arith ()
83732 func_arith_result=$(( $* ))
83735 # func_len string
83736 # STRING may not start with a hyphen.
83737 func_len ()
83739 func_len_result=${#1}
83742 _LT_EOF
83744 *) # Bourne compatible functions.
83745 cat << \_LT_EOF >> "$cfgfile"
83747 # func_dirname file append nondir_replacement
83748 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83749 # otherwise set result to NONDIR_REPLACEMENT.
83750 func_dirname ()
83752 # Extract subdirectory from the argument.
83753 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83754 if test "X$func_dirname_result" = "X${1}"; then
83755 func_dirname_result="${3}"
83756 else
83757 func_dirname_result="$func_dirname_result${2}"
83761 # func_basename file
83762 func_basename ()
83764 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83768 # func_stripname prefix suffix name
83769 # strip PREFIX and SUFFIX off of NAME.
83770 # PREFIX and SUFFIX must not contain globbing or regex special
83771 # characters, hashes, percent signs, but SUFFIX may contain a leading
83772 # dot (in which case that matches only a dot).
83773 # func_strip_suffix prefix name
83774 func_stripname ()
83776 case ${2} in
83777 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83778 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83779 esac
83782 # sed scripts:
83783 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83784 my_sed_long_arg='1s/^-[^=]*=//'
83786 # func_opt_split
83787 func_opt_split ()
83789 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83790 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83793 # func_lo2o object
83794 func_lo2o ()
83796 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83799 # func_xform libobj-or-source
83800 func_xform ()
83802 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83805 # func_arith arithmetic-term...
83806 func_arith ()
83808 func_arith_result=`expr "$@"`
83811 # func_len string
83812 # STRING may not start with a hyphen.
83813 func_len ()
83815 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83818 _LT_EOF
83819 esac
83821 case $lt_shell_append in
83822 yes)
83823 cat << \_LT_EOF >> "$cfgfile"
83825 # func_append var value
83826 # Append VALUE to the end of shell variable VAR.
83827 func_append ()
83829 eval "$1+=\$2"
83831 _LT_EOF
83834 cat << \_LT_EOF >> "$cfgfile"
83836 # func_append var value
83837 # Append VALUE to the end of shell variable VAR.
83838 func_append ()
83840 eval "$1=\$$1\$2"
83843 _LT_EOF
83845 esac
83848 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83849 || (rm -f "$cfgfile"; exit 1)
83851 mv -f "$cfgfile" "$ofile" ||
83852 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83853 chmod +x "$ofile"
83856 cat <<_LT_EOF >> "$ofile"
83858 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83860 # The linker used to build libraries.
83861 LD=$lt_LD_CXX
83863 # How to create reloadable object files.
83864 reload_flag=$lt_reload_flag_CXX
83865 reload_cmds=$lt_reload_cmds_CXX
83867 # Commands used to build an old-style archive.
83868 old_archive_cmds=$lt_old_archive_cmds_CXX
83870 # A language specific compiler.
83871 CC=$lt_compiler_CXX
83873 # Is the compiler the GNU compiler?
83874 with_gcc=$GCC_CXX
83876 # Compiler flag to turn off builtin functions.
83877 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83879 # How to pass a linker flag through the compiler.
83880 wl=$lt_lt_prog_compiler_wl_CXX
83882 # Additional compiler flags for building library objects.
83883 pic_flag=$lt_lt_prog_compiler_pic_CXX
83885 # Compiler flag to prevent dynamic linking.
83886 link_static_flag=$lt_lt_prog_compiler_static_CXX
83888 # Does compiler simultaneously support -c and -o options?
83889 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83891 # Whether or not to add -lc for building shared libraries.
83892 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83894 # Whether or not to disallow shared libs when runtime libs are static.
83895 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83897 # Compiler flag to allow reflexive dlopens.
83898 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83900 # Compiler flag to generate shared objects directly from archives.
83901 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83903 # Whether the compiler copes with passing no objects directly.
83904 compiler_needs_object=$lt_compiler_needs_object_CXX
83906 # Create an old-style archive from a shared archive.
83907 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83909 # Create a temporary old-style archive to link instead of a shared archive.
83910 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83912 # Commands used to build a shared archive.
83913 archive_cmds=$lt_archive_cmds_CXX
83914 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83916 # Commands used to build a loadable module if different from building
83917 # a shared archive.
83918 module_cmds=$lt_module_cmds_CXX
83919 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83921 # Whether we are building with GNU ld or not.
83922 with_gnu_ld=$lt_with_gnu_ld_CXX
83924 # Flag that allows shared libraries with undefined symbols to be built.
83925 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83927 # Flag that enforces no undefined symbols.
83928 no_undefined_flag=$lt_no_undefined_flag_CXX
83930 # Flag to hardcode \$libdir into a binary during linking.
83931 # This must work even if \$libdir does not exist
83932 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83934 # If ld is used when linking, flag to hardcode \$libdir into a binary
83935 # during linking. This must work even if \$libdir does not exist.
83936 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83938 # Whether we need a single "-rpath" flag with a separated argument.
83939 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83941 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83942 # DIR into the resulting binary.
83943 hardcode_direct=$hardcode_direct_CXX
83945 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83946 # DIR into the resulting binary and the resulting library dependency is
83947 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83948 # library is relocated.
83949 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83951 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83952 # into the resulting binary.
83953 hardcode_minus_L=$hardcode_minus_L_CXX
83955 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83956 # into the resulting binary.
83957 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83959 # Set to "yes" if building a shared library automatically hardcodes DIR
83960 # into the library and all subsequent libraries and executables linked
83961 # against it.
83962 hardcode_automatic=$hardcode_automatic_CXX
83964 # Set to yes if linker adds runtime paths of dependent libraries
83965 # to runtime path list.
83966 inherit_rpath=$inherit_rpath_CXX
83968 # Whether libtool must link a program against all its dependency libraries.
83969 link_all_deplibs=$link_all_deplibs_CXX
83971 # Fix the shell variable \$srcfile for the compiler.
83972 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83974 # Set to "yes" if exported symbols are required.
83975 always_export_symbols=$always_export_symbols_CXX
83977 # The commands to list exported symbols.
83978 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83980 # Symbols that should not be listed in the preloaded symbols.
83981 exclude_expsyms=$lt_exclude_expsyms_CXX
83983 # Symbols that must always be exported.
83984 include_expsyms=$lt_include_expsyms_CXX
83986 # Commands necessary for linking programs (against libraries) with templates.
83987 prelink_cmds=$lt_prelink_cmds_CXX
83989 # Specify filename containing input files.
83990 file_list_spec=$lt_file_list_spec_CXX
83992 # How to hardcode a shared library path into an executable.
83993 hardcode_action=$hardcode_action_CXX
83995 # The directories searched by this compiler when creating a shared library.
83996 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83998 # Dependencies to place before and after the objects being linked to
83999 # create a shared library.
84000 predep_objects=$lt_predep_objects_CXX
84001 postdep_objects=$lt_postdep_objects_CXX
84002 predeps=$lt_predeps_CXX
84003 postdeps=$lt_postdeps_CXX
84005 # The library search path used internally by the compiler when linking
84006 # a shared library.
84007 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84009 # ### END LIBTOOL TAG CONFIG: CXX
84010 _LT_EOF
84013 "include/gstdint.h":C)
84014 if test "$GCC" = yes; then
84015 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84016 else
84017 echo "/* generated for $CC */" > tmp-stdint.h
84020 sed 's/^ *//' >> tmp-stdint.h <<EOF
84022 #ifndef GCC_GENERATED_STDINT_H
84023 #define GCC_GENERATED_STDINT_H 1
84025 #include <sys/types.h>
84028 if test "$acx_cv_header_stdint" != stdint.h; then
84029 echo "#include <stddef.h>" >> tmp-stdint.h
84031 if test "$acx_cv_header_stdint" != stddef.h; then
84032 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84035 sed 's/^ *//' >> tmp-stdint.h <<EOF
84036 /* glibc uses these symbols as guards to prevent redefinitions. */
84037 #ifdef __int8_t_defined
84038 #define _INT8_T
84039 #define _INT16_T
84040 #define _INT32_T
84041 #endif
84042 #ifdef __uint32_t_defined
84043 #define _UINT32_T
84044 #endif
84048 # ----------------- done header, emit basic int types -------------
84049 if test "$acx_cv_header_stdint" = stddef.h; then
84050 sed 's/^ *//' >> tmp-stdint.h <<EOF
84052 #ifndef _UINT8_T
84053 #define _UINT8_T
84054 #ifndef __uint8_t_defined
84055 #define __uint8_t_defined
84056 #ifndef uint8_t
84057 typedef unsigned $acx_cv_type_int8_t uint8_t;
84058 #endif
84059 #endif
84060 #endif
84062 #ifndef _UINT16_T
84063 #define _UINT16_T
84064 #ifndef __uint16_t_defined
84065 #define __uint16_t_defined
84066 #ifndef uint16_t
84067 typedef unsigned $acx_cv_type_int16_t uint16_t;
84068 #endif
84069 #endif
84070 #endif
84072 #ifndef _UINT32_T
84073 #define _UINT32_T
84074 #ifndef __uint32_t_defined
84075 #define __uint32_t_defined
84076 #ifndef uint32_t
84077 typedef unsigned $acx_cv_type_int32_t uint32_t;
84078 #endif
84079 #endif
84080 #endif
84082 #ifndef _INT8_T
84083 #define _INT8_T
84084 #ifndef __int8_t_defined
84085 #define __int8_t_defined
84086 #ifndef int8_t
84087 typedef $acx_cv_type_int8_t int8_t;
84088 #endif
84089 #endif
84090 #endif
84092 #ifndef _INT16_T
84093 #define _INT16_T
84094 #ifndef __int16_t_defined
84095 #define __int16_t_defined
84096 #ifndef int16_t
84097 typedef $acx_cv_type_int16_t int16_t;
84098 #endif
84099 #endif
84100 #endif
84102 #ifndef _INT32_T
84103 #define _INT32_T
84104 #ifndef __int32_t_defined
84105 #define __int32_t_defined
84106 #ifndef int32_t
84107 typedef $acx_cv_type_int32_t int32_t;
84108 #endif
84109 #endif
84110 #endif
84112 elif test "$ac_cv_type_u_int32_t" = yes; then
84113 sed 's/^ *//' >> tmp-stdint.h <<EOF
84115 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84116 #ifndef _INT8_T
84117 #define _INT8_T
84118 #endif
84119 #ifndef _INT16_T
84120 #define _INT16_T
84121 #endif
84122 #ifndef _INT32_T
84123 #define _INT32_T
84124 #endif
84126 #ifndef _UINT8_T
84127 #define _UINT8_T
84128 #ifndef __uint8_t_defined
84129 #define __uint8_t_defined
84130 #ifndef uint8_t
84131 typedef u_int8_t uint8_t;
84132 #endif
84133 #endif
84134 #endif
84136 #ifndef _UINT16_T
84137 #define _UINT16_T
84138 #ifndef __uint16_t_defined
84139 #define __uint16_t_defined
84140 #ifndef uint16_t
84141 typedef u_int16_t uint16_t;
84142 #endif
84143 #endif
84144 #endif
84146 #ifndef _UINT32_T
84147 #define _UINT32_T
84148 #ifndef __uint32_t_defined
84149 #define __uint32_t_defined
84150 #ifndef uint32_t
84151 typedef u_int32_t uint32_t;
84152 #endif
84153 #endif
84154 #endif
84156 else
84157 sed 's/^ *//' >> tmp-stdint.h <<EOF
84159 /* Some systems have guard macros to prevent redefinitions, define them. */
84160 #ifndef _INT8_T
84161 #define _INT8_T
84162 #endif
84163 #ifndef _INT16_T
84164 #define _INT16_T
84165 #endif
84166 #ifndef _INT32_T
84167 #define _INT32_T
84168 #endif
84169 #ifndef _UINT8_T
84170 #define _UINT8_T
84171 #endif
84172 #ifndef _UINT16_T
84173 #define _UINT16_T
84174 #endif
84175 #ifndef _UINT32_T
84176 #define _UINT32_T
84177 #endif
84181 # ------------- done basic int types, emit int64_t types ------------
84182 if test "$ac_cv_type_uint64_t" = yes; then
84183 sed 's/^ *//' >> tmp-stdint.h <<EOF
84185 /* system headers have good uint64_t and int64_t */
84186 #ifndef _INT64_T
84187 #define _INT64_T
84188 #endif
84189 #ifndef _UINT64_T
84190 #define _UINT64_T
84191 #endif
84193 elif test "$ac_cv_type_u_int64_t" = yes; then
84194 sed 's/^ *//' >> tmp-stdint.h <<EOF
84196 /* system headers have an u_int64_t (and int64_t) */
84197 #ifndef _INT64_T
84198 #define _INT64_T
84199 #endif
84200 #ifndef _UINT64_T
84201 #define _UINT64_T
84202 #ifndef __uint64_t_defined
84203 #define __uint64_t_defined
84204 #ifndef uint64_t
84205 typedef u_int64_t uint64_t;
84206 #endif
84207 #endif
84208 #endif
84210 elif test -n "$acx_cv_type_int64_t"; then
84211 sed 's/^ *//' >> tmp-stdint.h <<EOF
84213 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84214 #ifndef _INT64_T
84215 #define _INT64_T
84216 #ifndef int64_t
84217 typedef $acx_cv_type_int64_t int64_t;
84218 #endif
84219 #endif
84220 #ifndef _UINT64_T
84221 #define _UINT64_T
84222 #ifndef __uint64_t_defined
84223 #define __uint64_t_defined
84224 #ifndef uint64_t
84225 typedef unsigned $acx_cv_type_int64_t uint64_t;
84226 #endif
84227 #endif
84228 #endif
84230 else
84231 sed 's/^ *//' >> tmp-stdint.h <<EOF
84233 /* some common heuristics for int64_t, using compiler-specific tests */
84234 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84235 #ifndef _INT64_T
84236 #define _INT64_T
84237 #ifndef __int64_t_defined
84238 #ifndef int64_t
84239 typedef long long int64_t;
84240 #endif
84241 #endif
84242 #endif
84243 #ifndef _UINT64_T
84244 #define _UINT64_T
84245 #ifndef uint64_t
84246 typedef unsigned long long uint64_t;
84247 #endif
84248 #endif
84250 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84251 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84252 does not implement __extension__. But that compiler doesn't define
84253 __GNUC_MINOR__. */
84254 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84255 # define __extension__
84256 # endif
84258 # ifndef _INT64_T
84259 # define _INT64_T
84260 # ifndef int64_t
84261 __extension__ typedef long long int64_t;
84262 # endif
84263 # endif
84264 # ifndef _UINT64_T
84265 # define _UINT64_T
84266 # ifndef uint64_t
84267 __extension__ typedef unsigned long long uint64_t;
84268 # endif
84269 # endif
84271 #elif !defined __STRICT_ANSI__
84272 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84274 # ifndef _INT64_T
84275 # define _INT64_T
84276 # ifndef int64_t
84277 typedef __int64 int64_t;
84278 # endif
84279 # endif
84280 # ifndef _UINT64_T
84281 # define _UINT64_T
84282 # ifndef uint64_t
84283 typedef unsigned __int64 uint64_t;
84284 # endif
84285 # endif
84286 # endif /* compiler */
84288 #endif /* ANSI version */
84292 # ------------- done int64_t types, emit intptr types ------------
84293 if test "$ac_cv_type_uintptr_t" != yes; then
84294 sed 's/^ *//' >> tmp-stdint.h <<EOF
84296 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84297 #ifndef __uintptr_t_defined
84298 #ifndef uintptr_t
84299 typedef u$acx_cv_type_intptr_t uintptr_t;
84300 #endif
84301 #endif
84302 #ifndef __intptr_t_defined
84303 #ifndef intptr_t
84304 typedef $acx_cv_type_intptr_t intptr_t;
84305 #endif
84306 #endif
84310 # ------------- done intptr types, emit int_least types ------------
84311 if test "$ac_cv_type_int_least32_t" != yes; then
84312 sed 's/^ *//' >> tmp-stdint.h <<EOF
84314 /* Define int_least types */
84315 typedef int8_t int_least8_t;
84316 typedef int16_t int_least16_t;
84317 typedef int32_t int_least32_t;
84318 #ifdef _INT64_T
84319 typedef int64_t int_least64_t;
84320 #endif
84322 typedef uint8_t uint_least8_t;
84323 typedef uint16_t uint_least16_t;
84324 typedef uint32_t uint_least32_t;
84325 #ifdef _UINT64_T
84326 typedef uint64_t uint_least64_t;
84327 #endif
84331 # ------------- done intptr types, emit int_fast types ------------
84332 if test "$ac_cv_type_int_fast32_t" != yes; then
84333 sed 's/^ *//' >> tmp-stdint.h <<EOF
84335 /* Define int_fast types. short is often slow */
84336 typedef int8_t int_fast8_t;
84337 typedef int int_fast16_t;
84338 typedef int32_t int_fast32_t;
84339 #ifdef _INT64_T
84340 typedef int64_t int_fast64_t;
84341 #endif
84343 typedef uint8_t uint_fast8_t;
84344 typedef unsigned int uint_fast16_t;
84345 typedef uint32_t uint_fast32_t;
84346 #ifdef _UINT64_T
84347 typedef uint64_t uint_fast64_t;
84348 #endif
84352 if test "$ac_cv_type_uintmax_t" != yes; then
84353 sed 's/^ *//' >> tmp-stdint.h <<EOF
84355 /* Define intmax based on what we found */
84356 #ifndef intmax_t
84357 #ifdef _INT64_T
84358 typedef int64_t intmax_t;
84359 #else
84360 typedef long intmax_t;
84361 #endif
84362 #endif
84363 #ifndef uintmax_t
84364 #ifdef _UINT64_T
84365 typedef uint64_t uintmax_t;
84366 #else
84367 typedef unsigned long uintmax_t;
84368 #endif
84369 #endif
84373 sed 's/^ *//' >> tmp-stdint.h <<EOF
84375 #endif /* GCC_GENERATED_STDINT_H */
84378 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84379 rm -f tmp-stdint.h
84380 else
84381 mv -f tmp-stdint.h include/gstdint.h
84385 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84386 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84387 "include/Makefile":F) cat > vpsed$$ << \_EOF
84388 s!`test -f '$<' || echo '$(srcdir)/'`!!
84389 _EOF
84390 sed -f vpsed$$ $ac_file > tmp$$
84391 mv tmp$$ $ac_file
84392 rm vpsed$$
84393 echo 'MULTISUBDIR =' >> $ac_file
84394 ml_norecursion=yes
84395 . ${multi_basedir}/config-ml.in
84396 { ml_norecursion=; unset ml_norecursion;}
84398 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84399 s!`test -f '$<' || echo '$(srcdir)/'`!!
84400 _EOF
84401 sed -f vpsed$$ $ac_file > tmp$$
84402 mv tmp$$ $ac_file
84403 rm vpsed$$
84404 echo 'MULTISUBDIR =' >> $ac_file
84405 ml_norecursion=yes
84406 . ${multi_basedir}/config-ml.in
84407 { ml_norecursion=; unset ml_norecursion;}
84409 "src/Makefile":F) cat > vpsed$$ << \_EOF
84410 s!`test -f '$<' || echo '$(srcdir)/'`!!
84411 _EOF
84412 sed -f vpsed$$ $ac_file > tmp$$
84413 mv tmp$$ $ac_file
84414 rm vpsed$$
84415 echo 'MULTISUBDIR =' >> $ac_file
84416 ml_norecursion=yes
84417 . ${multi_basedir}/config-ml.in
84418 { ml_norecursion=; unset ml_norecursion;}
84420 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84421 s!`test -f '$<' || echo '$(srcdir)/'`!!
84422 _EOF
84423 sed -f vpsed$$ $ac_file > tmp$$
84424 mv tmp$$ $ac_file
84425 rm vpsed$$
84426 echo 'MULTISUBDIR =' >> $ac_file
84427 ml_norecursion=yes
84428 . ${multi_basedir}/config-ml.in
84429 { ml_norecursion=; unset ml_norecursion;}
84431 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84432 s!`test -f '$<' || echo '$(srcdir)/'`!!
84433 _EOF
84434 sed -f vpsed$$ $ac_file > tmp$$
84435 mv tmp$$ $ac_file
84436 rm vpsed$$
84437 echo 'MULTISUBDIR =' >> $ac_file
84438 ml_norecursion=yes
84439 . ${multi_basedir}/config-ml.in
84440 { ml_norecursion=; unset ml_norecursion;}
84442 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84443 s!`test -f '$<' || echo '$(srcdir)/'`!!
84444 _EOF
84445 sed -f vpsed$$ $ac_file > tmp$$
84446 mv tmp$$ $ac_file
84447 rm vpsed$$
84448 echo 'MULTISUBDIR =' >> $ac_file
84449 ml_norecursion=yes
84450 . ${multi_basedir}/config-ml.in
84451 { ml_norecursion=; unset ml_norecursion;}
84453 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84454 s!`test -f '$<' || echo '$(srcdir)/'`!!
84455 _EOF
84456 sed -f vpsed$$ $ac_file > tmp$$
84457 mv tmp$$ $ac_file
84458 rm vpsed$$
84459 echo 'MULTISUBDIR =' >> $ac_file
84460 ml_norecursion=yes
84461 . ${multi_basedir}/config-ml.in
84462 { ml_norecursion=; unset ml_norecursion;}
84464 "po/Makefile":F) cat > vpsed$$ << \_EOF
84465 s!`test -f '$<' || echo '$(srcdir)/'`!!
84466 _EOF
84467 sed -f vpsed$$ $ac_file > tmp$$
84468 mv tmp$$ $ac_file
84469 rm vpsed$$
84470 echo 'MULTISUBDIR =' >> $ac_file
84471 ml_norecursion=yes
84472 . ${multi_basedir}/config-ml.in
84473 { ml_norecursion=; unset ml_norecursion;}
84475 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84476 s!`test -f '$<' || echo '$(srcdir)/'`!!
84477 _EOF
84478 sed -f vpsed$$ $ac_file > tmp$$
84479 mv tmp$$ $ac_file
84480 rm vpsed$$
84481 echo 'MULTISUBDIR =' >> $ac_file
84482 ml_norecursion=yes
84483 . ${multi_basedir}/config-ml.in
84484 { ml_norecursion=; unset ml_norecursion;}
84486 "python/Makefile":F) cat > vpsed$$ << \_EOF
84487 s!`test -f '$<' || echo '$(srcdir)/'`!!
84488 _EOF
84489 sed -f vpsed$$ $ac_file > tmp$$
84490 mv tmp$$ $ac_file
84491 rm vpsed$$
84492 echo 'MULTISUBDIR =' >> $ac_file
84493 ml_norecursion=yes
84494 . ${multi_basedir}/config-ml.in
84495 { ml_norecursion=; unset ml_norecursion;}
84497 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84499 esac
84500 done # for ac_tag
84503 as_fn_exit 0
84504 _ACEOF
84505 ac_clean_files=$ac_clean_files_save
84507 test $ac_write_fail = 0 ||
84508 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84511 # configure is writing to config.log, and then calls config.status.
84512 # config.status does its own redirection, appending to config.log.
84513 # Unfortunately, on DOS this fails, as config.log is still kept open
84514 # by configure, so config.status won't be able to write to it; its
84515 # output is simply discarded. So we exec the FD to /dev/null,
84516 # effectively closing config.log, so it can be properly (re)opened and
84517 # appended to by config.status. When coming back to configure, we
84518 # need to make the FD available again.
84519 if test "$no_create" != yes; then
84520 ac_cs_success=:
84521 ac_config_status_args=
84522 test "$silent" = yes &&
84523 ac_config_status_args="$ac_config_status_args --quiet"
84524 exec 5>/dev/null
84525 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84526 exec 5>>config.log
84527 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84528 # would make configure fail if this is the last instruction.
84529 $ac_cs_success || as_fn_exit $?
84531 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84533 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}