Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blob69845f486f07f8bdb9e41b9372adc4dcc9628a84
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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 BUILD_PDF_FALSE
625 BUILD_PDF_TRUE
626 PDFLATEX
627 DBLATEX
628 BUILD_MAN_FALSE
629 BUILD_MAN_TRUE
630 BUILD_HTML_FALSE
631 BUILD_HTML_TRUE
632 BUILD_XML_FALSE
633 BUILD_XML_TRUE
634 BUILD_EPUB_FALSE
635 BUILD_EPUB_TRUE
636 XSL_STYLE_DIR
637 XMLLINT
638 XSLTPROC
640 DOXYGEN
641 BUILD_INFO_FALSE
642 BUILD_INFO_TRUE
643 ENABLE_FILESYSTEM_TS_FALSE
644 ENABLE_FILESYSTEM_TS_TRUE
645 baseline_subdir_switch
646 baseline_dir
647 HWCAP_CFLAGS
648 GLIBCXX_LDBL_COMPAT_FALSE
649 GLIBCXX_LDBL_COMPAT_TRUE
650 LONG_DOUBLE_COMPAT_FLAGS
651 ENABLE_CXX11_ABI_FALSE
652 ENABLE_CXX11_ABI_TRUE
653 glibcxx_cxx98_abi
654 ENABLE_DUAL_ABI_FALSE
655 ENABLE_DUAL_ABI_TRUE
656 ENABLE_VISIBILITY_FALSE
657 ENABLE_VISIBILITY_TRUE
658 libtool_VERSION
659 ENABLE_SYMVERS_SUN_FALSE
660 ENABLE_SYMVERS_SUN_TRUE
661 ENABLE_SYMVERS_DARWIN_FALSE
662 ENABLE_SYMVERS_DARWIN_TRUE
663 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
664 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
665 ENABLE_SYMVERS_GNU_FALSE
666 ENABLE_SYMVERS_GNU_TRUE
667 ENABLE_SYMVERS_FALSE
668 ENABLE_SYMVERS_TRUE
669 port_specific_symbol_files
670 SYMVER_FILE
671 CXXFILT
672 LTLIBICONV
673 LIBICONV
674 OPT_LDFLAGS
675 SECTION_LDFLAGS
676 GLIBCXX_LIBS
677 ENABLE_VTABLE_VERIFY_FALSE
678 ENABLE_VTABLE_VERIFY_TRUE
679 VTV_CYGMIN_FALSE
680 VTV_CYGMIN_TRUE
681 VTV_CXXLINKFLAGS
682 VTV_PCH_CXXFLAGS
683 VTV_CXXFLAGS
684 ENABLE_WERROR_FALSE
685 ENABLE_WERROR_TRUE
686 ENABLE_PYTHONDIR_FALSE
687 ENABLE_PYTHONDIR_TRUE
688 python_mod_dir
689 ENABLE_EXTERN_TEMPLATE_FALSE
690 ENABLE_EXTERN_TEMPLATE_TRUE
691 EXTRA_CXX_FLAGS
692 GLIBCXX_BUILD_DEBUG_FALSE
693 GLIBCXX_BUILD_DEBUG_TRUE
694 DEBUG_FLAGS
695 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
696 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
697 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
698 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
699 GLIBCXX_C_HEADERS_C_STD_FALSE
700 GLIBCXX_C_HEADERS_C_STD_TRUE
701 GLIBCXX_C_HEADERS_C_FALSE
702 GLIBCXX_C_HEADERS_C_TRUE
703 C_INCLUDE_DIR
704 ALLOCATOR_NAME
705 ALLOCATOR_H
706 ENABLE_ALLOCATOR_NEW_FALSE
707 ENABLE_ALLOCATOR_NEW_TRUE
708 CLOCALE_INTERNAL_H
709 CLOCALE_CC
710 CTIME_CC
711 CTIME_H
712 CNUMERIC_CC
713 CMONEY_CC
714 CMESSAGES_CC
715 CCTYPE_CC
716 CCOLLATE_CC
717 CCODECVT_CC
718 CMESSAGES_H
719 CLOCALE_H
720 USE_NLS
721 glibcxx_localedir
722 glibcxx_POFILES
723 glibcxx_MOFILES
724 check_msgfmt
725 BASIC_FILE_CC
726 BASIC_FILE_H
727 CSTDIO_H
728 SECTION_FLAGS
729 WERROR
730 thread_header
731 glibcxx_PCHFLAGS
732 GLIBCXX_BUILD_PCH_FALSE
733 GLIBCXX_BUILD_PCH_TRUE
734 GLIBCXX_HOSTED_FALSE
735 GLIBCXX_HOSTED_TRUE
736 glibcxx_compiler_shared_flag
737 glibcxx_compiler_pic_flag
738 glibcxx_lt_pic_flag
739 enable_static
740 enable_shared
741 lt_host_flags
742 CXXCPP
743 OTOOL64
744 OTOOL
745 LIPO
746 NMEDIT
747 DSYMUTIL
748 OBJDUMP
750 ac_ct_DUMPBIN
751 DUMPBIN
753 FGREP
755 LIBTOOL
756 EGREP
757 GREP
759 MAINT
760 MAINTAINER_MODE_FALSE
761 MAINTAINER_MODE_TRUE
762 RANLIB
765 LN_S
766 toplevel_srcdir
767 toplevel_builddir
768 glibcxx_srcdir
769 glibcxx_builddir
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 am__untar
781 am__tar
782 AMTAR
783 am__leading_dot
784 SET_MAKE
786 mkdir_p
787 MKDIR_P
788 INSTALL_STRIP_PROGRAM
789 STRIP
790 install_sh
791 MAKEINFO
792 AUTOHEADER
793 AUTOMAKE
794 AUTOCONF
795 ACLOCAL
796 VERSION
797 PACKAGE
798 CYGPATH_W
799 am__isrc
800 INSTALL_DATA
801 INSTALL_SCRIPT
802 INSTALL_PROGRAM
803 target_os
804 target_vendor
805 target_cpu
806 target
807 host_os
808 host_vendor
809 host_cpu
810 host
811 build_os
812 build_vendor
813 build_cpu
814 build
815 multi_basedir
816 target_alias
817 host_alias
818 build_alias
819 LIBS
820 ECHO_T
821 ECHO_N
822 ECHO_C
823 DEFS
824 mandir
825 localedir
826 libdir
827 psdir
828 pdfdir
829 dvidir
830 htmldir
831 infodir
832 docdir
833 oldincludedir
834 includedir
835 localstatedir
836 sharedstatedir
837 sysconfdir
838 datadir
839 datarootdir
840 libexecdir
841 sbindir
842 bindir
843 program_transform_name
844 prefix
845 exec_prefix
846 PACKAGE_URL
847 PACKAGE_BUGREPORT
848 PACKAGE_STRING
849 PACKAGE_VERSION
850 PACKAGE_TARNAME
851 PACKAGE_NAME
852 PATH_SEPARATOR
853 SHELL'
854 ac_subst_files=''
855 ac_user_opts='
856 enable_option_checking
857 enable_multilib
858 with_target_subdir
859 with_cross_host
860 with_newlib
861 enable_maintainer_mode
862 enable_shared
863 enable_static
864 with_pic
865 enable_fast_install
866 with_gnu_ld
867 enable_libtool_lock
868 enable_hosted_libstdcxx
869 enable_libstdcxx_verbose
870 enable_libstdcxx_pch
871 enable_cstdio
872 enable_clocale
873 enable_nls
874 enable_libstdcxx_allocator
875 enable_cheaders
876 enable_long_long
877 enable_wchar_t
878 enable_c99
879 enable_concept_checks
880 enable_libstdcxx_debug_flags
881 enable_libstdcxx_debug
882 enable_cxx_flags
883 enable_fully_dynamic_string
884 enable_extern_template
885 with_python_dir
886 enable_werror
887 enable_vtable_verify
888 enable_libstdcxx_time
889 enable_tls
890 enable_rpath
891 with_libiconv_prefix
892 with_system_libunwind
893 enable_linux_futex
894 enable_symvers
895 enable_libstdcxx_visibility
896 enable_libstdcxx_dual_abi
897 with_default_libstdcxx_abi
898 enable_libstdcxx_threads
899 enable_libstdcxx_filesystem_ts
900 enable_cet
901 with_gxx_include_dir
902 enable_version_specific_runtime_libs
903 with_gcc_major_version_only
905 ac_precious_vars='build_alias
906 host_alias
907 target_alias
909 CFLAGS
910 LDFLAGS
911 LIBS
912 CPPFLAGS
914 CXXFLAGS
917 CXXCPP
918 CXXFILT'
921 # Initialize some variables set by options.
922 ac_init_help=
923 ac_init_version=false
924 ac_unrecognized_opts=
925 ac_unrecognized_sep=
926 # The variables have the same names as the options, with
927 # dashes changed to underlines.
928 cache_file=/dev/null
929 exec_prefix=NONE
930 no_create=
931 no_recursion=
932 prefix=NONE
933 program_prefix=NONE
934 program_suffix=NONE
935 program_transform_name=s,x,x,
936 silent=
937 site=
938 srcdir=
939 verbose=
940 x_includes=NONE
941 x_libraries=NONE
943 # Installation directory options.
944 # These are left unexpanded so users can "make install exec_prefix=/foo"
945 # and all the variables that are supposed to be based on exec_prefix
946 # by default will actually change.
947 # Use braces instead of parens because sh, perl, etc. also accept them.
948 # (The list follows the same order as the GNU Coding Standards.)
949 bindir='${exec_prefix}/bin'
950 sbindir='${exec_prefix}/sbin'
951 libexecdir='${exec_prefix}/libexec'
952 datarootdir='${prefix}/share'
953 datadir='${datarootdir}'
954 sysconfdir='${prefix}/etc'
955 sharedstatedir='${prefix}/com'
956 localstatedir='${prefix}/var'
957 includedir='${prefix}/include'
958 oldincludedir='/usr/include'
959 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
960 infodir='${datarootdir}/info'
961 htmldir='${docdir}'
962 dvidir='${docdir}'
963 pdfdir='${docdir}'
964 psdir='${docdir}'
965 libdir='${exec_prefix}/lib'
966 localedir='${datarootdir}/locale'
967 mandir='${datarootdir}/man'
969 ac_prev=
970 ac_dashdash=
971 for ac_option
973 # If the previous option needs an argument, assign it.
974 if test -n "$ac_prev"; then
975 eval $ac_prev=\$ac_option
976 ac_prev=
977 continue
980 case $ac_option in
981 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982 *) ac_optarg=yes ;;
983 esac
985 # Accept the important Cygnus configure options, so we can diagnose typos.
987 case $ac_dashdash$ac_option in
989 ac_dashdash=yes ;;
991 -bindir | --bindir | --bindi | --bind | --bin | --bi)
992 ac_prev=bindir ;;
993 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
994 bindir=$ac_optarg ;;
996 -build | --build | --buil | --bui | --bu)
997 ac_prev=build_alias ;;
998 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
999 build_alias=$ac_optarg ;;
1001 -cache-file | --cache-file | --cache-fil | --cache-fi \
1002 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1003 ac_prev=cache_file ;;
1004 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1005 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1006 cache_file=$ac_optarg ;;
1008 --config-cache | -C)
1009 cache_file=config.cache ;;
1011 -datadir | --datadir | --datadi | --datad)
1012 ac_prev=datadir ;;
1013 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1014 datadir=$ac_optarg ;;
1016 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1017 | --dataroo | --dataro | --datar)
1018 ac_prev=datarootdir ;;
1019 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1020 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1021 datarootdir=$ac_optarg ;;
1023 -disable-* | --disable-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error "invalid feature name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_$ac_useropt"
1033 "*) ;;
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1036 esac
1037 eval enable_$ac_useropt=no ;;
1039 -docdir | --docdir | --docdi | --doc | --do)
1040 ac_prev=docdir ;;
1041 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1042 docdir=$ac_optarg ;;
1044 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045 ac_prev=dvidir ;;
1046 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1047 dvidir=$ac_optarg ;;
1049 -enable-* | --enable-*)
1050 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error "invalid feature name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "enable_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval enable_$ac_useropt=\$ac_optarg ;;
1065 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1066 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1067 | --exec | --exe | --ex)
1068 ac_prev=exec_prefix ;;
1069 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1070 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1071 | --exec=* | --exe=* | --ex=*)
1072 exec_prefix=$ac_optarg ;;
1074 -gas | --gas | --ga | --g)
1075 # Obsolete; use --with-gas.
1076 with_gas=yes ;;
1078 -help | --help | --hel | --he | -h)
1079 ac_init_help=long ;;
1080 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1081 ac_init_help=recursive ;;
1082 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1083 ac_init_help=short ;;
1085 -host | --host | --hos | --ho)
1086 ac_prev=host_alias ;;
1087 -host=* | --host=* | --hos=* | --ho=*)
1088 host_alias=$ac_optarg ;;
1090 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091 ac_prev=htmldir ;;
1092 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093 | --ht=*)
1094 htmldir=$ac_optarg ;;
1096 -includedir | --includedir | --includedi | --included | --include \
1097 | --includ | --inclu | --incl | --inc)
1098 ac_prev=includedir ;;
1099 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1100 | --includ=* | --inclu=* | --incl=* | --inc=*)
1101 includedir=$ac_optarg ;;
1103 -infodir | --infodir | --infodi | --infod | --info | --inf)
1104 ac_prev=infodir ;;
1105 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1106 infodir=$ac_optarg ;;
1108 -libdir | --libdir | --libdi | --libd)
1109 ac_prev=libdir ;;
1110 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1111 libdir=$ac_optarg ;;
1113 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1114 | --libexe | --libex | --libe)
1115 ac_prev=libexecdir ;;
1116 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1117 | --libexe=* | --libex=* | --libe=*)
1118 libexecdir=$ac_optarg ;;
1120 -localedir | --localedir | --localedi | --localed | --locale)
1121 ac_prev=localedir ;;
1122 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1123 localedir=$ac_optarg ;;
1125 -localstatedir | --localstatedir | --localstatedi | --localstated \
1126 | --localstate | --localstat | --localsta | --localst | --locals)
1127 ac_prev=localstatedir ;;
1128 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1129 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1130 localstatedir=$ac_optarg ;;
1132 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133 ac_prev=mandir ;;
1134 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1135 mandir=$ac_optarg ;;
1137 -nfp | --nfp | --nf)
1138 # Obsolete; use --without-fp.
1139 with_fp=no ;;
1141 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1142 | --no-cr | --no-c | -n)
1143 no_create=yes ;;
1145 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1146 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1147 no_recursion=yes ;;
1149 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1150 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1151 | --oldin | --oldi | --old | --ol | --o)
1152 ac_prev=oldincludedir ;;
1153 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1154 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1155 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1156 oldincludedir=$ac_optarg ;;
1158 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159 ac_prev=prefix ;;
1160 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1161 prefix=$ac_optarg ;;
1163 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1164 | --program-pre | --program-pr | --program-p)
1165 ac_prev=program_prefix ;;
1166 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1167 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1168 program_prefix=$ac_optarg ;;
1170 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1171 | --program-suf | --program-su | --program-s)
1172 ac_prev=program_suffix ;;
1173 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1174 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1175 program_suffix=$ac_optarg ;;
1177 -program-transform-name | --program-transform-name \
1178 | --program-transform-nam | --program-transform-na \
1179 | --program-transform-n | --program-transform- \
1180 | --program-transform | --program-transfor \
1181 | --program-transfo | --program-transf \
1182 | --program-trans | --program-tran \
1183 | --progr-tra | --program-tr | --program-t)
1184 ac_prev=program_transform_name ;;
1185 -program-transform-name=* | --program-transform-name=* \
1186 | --program-transform-nam=* | --program-transform-na=* \
1187 | --program-transform-n=* | --program-transform-=* \
1188 | --program-transform=* | --program-transfor=* \
1189 | --program-transfo=* | --program-transf=* \
1190 | --program-trans=* | --program-tran=* \
1191 | --progr-tra=* | --program-tr=* | --program-t=*)
1192 program_transform_name=$ac_optarg ;;
1194 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195 ac_prev=pdfdir ;;
1196 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1197 pdfdir=$ac_optarg ;;
1199 -psdir | --psdir | --psdi | --psd | --ps)
1200 ac_prev=psdir ;;
1201 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1202 psdir=$ac_optarg ;;
1204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1205 | -silent | --silent | --silen | --sile | --sil)
1206 silent=yes ;;
1208 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209 ac_prev=sbindir ;;
1210 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211 | --sbi=* | --sb=*)
1212 sbindir=$ac_optarg ;;
1214 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1215 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1216 | --sharedst | --shareds | --shared | --share | --shar \
1217 | --sha | --sh)
1218 ac_prev=sharedstatedir ;;
1219 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1220 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1221 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222 | --sha=* | --sh=*)
1223 sharedstatedir=$ac_optarg ;;
1225 -site | --site | --sit)
1226 ac_prev=site ;;
1227 -site=* | --site=* | --sit=*)
1228 site=$ac_optarg ;;
1230 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231 ac_prev=srcdir ;;
1232 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1233 srcdir=$ac_optarg ;;
1235 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1236 | --syscon | --sysco | --sysc | --sys | --sy)
1237 ac_prev=sysconfdir ;;
1238 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1239 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1240 sysconfdir=$ac_optarg ;;
1242 -target | --target | --targe | --targ | --tar | --ta | --t)
1243 ac_prev=target_alias ;;
1244 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1245 target_alias=$ac_optarg ;;
1247 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1248 verbose=yes ;;
1250 -version | --version | --versio | --versi | --vers | -V)
1251 ac_init_version=: ;;
1253 -with-* | --with-*)
1254 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1257 as_fn_error "invalid package name: $ac_useropt"
1258 ac_useropt_orig=$ac_useropt
1259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1262 "with_$ac_useropt"
1263 "*) ;;
1264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1265 ac_unrecognized_sep=', ';;
1266 esac
1267 eval with_$ac_useropt=\$ac_optarg ;;
1269 -without-* | --without-*)
1270 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1273 as_fn_error "invalid package name: $ac_useropt"
1274 ac_useropt_orig=$ac_useropt
1275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1278 "with_$ac_useropt"
1279 "*) ;;
1280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1281 ac_unrecognized_sep=', ';;
1282 esac
1283 eval with_$ac_useropt=no ;;
1285 --x)
1286 # Obsolete; use --with-x.
1287 with_x=yes ;;
1289 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1290 | --x-incl | --x-inc | --x-in | --x-i)
1291 ac_prev=x_includes ;;
1292 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1293 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1294 x_includes=$ac_optarg ;;
1296 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1297 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1298 ac_prev=x_libraries ;;
1299 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1300 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1301 x_libraries=$ac_optarg ;;
1303 -*) as_fn_error "unrecognized option: \`$ac_option'
1304 Try \`$0 --help' for more information."
1307 *=*)
1308 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1309 # Reject names that are not valid shell variable names.
1310 case $ac_envvar in #(
1311 '' | [0-9]* | *[!_$as_cr_alnum]* )
1312 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1313 esac
1314 eval $ac_envvar=\$ac_optarg
1315 export $ac_envvar ;;
1318 # FIXME: should be removed in autoconf 3.0.
1319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1322 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 esac
1326 done
1328 if test -n "$ac_prev"; then
1329 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1330 as_fn_error "missing argument to $ac_option"
1333 if test -n "$ac_unrecognized_opts"; then
1334 case $enable_option_checking in
1335 no) ;;
1336 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1338 esac
1341 # Check all directory arguments for consistency.
1342 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1343 datadir sysconfdir sharedstatedir localstatedir includedir \
1344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1345 libdir localedir mandir
1347 eval ac_val=\$$ac_var
1348 # Remove trailing slashes.
1349 case $ac_val in
1350 */ )
1351 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1352 eval $ac_var=\$ac_val;;
1353 esac
1354 # Be sure to have absolute directory names.
1355 case $ac_val in
1356 [\\/$]* | ?:[\\/]* ) continue;;
1357 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358 esac
1359 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1360 done
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1365 build=$build_alias
1366 host=$host_alias
1367 target=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x; then
1371 if test "x$build_alias" = x; then
1372 cross_compiling=maybe
1373 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used." >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1376 cross_compiling=yes
1380 ac_tool_prefix=
1381 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1383 test "$silent" = yes && exec 6>/dev/null
1386 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di=`ls -di .` &&
1388 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1389 as_fn_error "working directory cannot be determined"
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 as_fn_error "pwd does not report name of working directory"
1394 # Find the source files, if location was not specified.
1395 if test -z "$srcdir"; then
1396 ac_srcdir_defaulted=yes
1397 # Try the directory containing this script, then the parent directory.
1398 ac_confdir=`$as_dirname -- "$as_myself" ||
1399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400 X"$as_myself" : 'X\(//\)[^/]' \| \
1401 X"$as_myself" : 'X\(//\)$' \| \
1402 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1403 $as_echo X"$as_myself" |
1404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 s//\1/
1408 /^X\(\/\/\)[^/].*/{
1409 s//\1/
1412 /^X\(\/\/\)$/{
1413 s//\1/
1416 /^X\(\/\).*/{
1417 s//\1/
1420 s/.*/./; q'`
1421 srcdir=$ac_confdir
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 srcdir=..
1425 else
1426 ac_srcdir_defaulted=no
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1429 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1430 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1432 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 ac_abs_confdir=`(
1434 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1435 pwd)`
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1438 srcdir=.
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1443 case $srcdir in
1444 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 esac
1446 for ac_var in $ac_precious_vars; do
1447 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_${ac_var}_value=\$${ac_var}
1449 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1451 done
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1459 cat <<_ACEOF
1460 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1469 Configuration:
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1484 [PREFIX]
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1513 _ACEOF
1515 cat <<\_ACEOF
1517 Program names:
1518 --program-prefix=PREFIX prepend PREFIX to installed program names
1519 --program-suffix=SUFFIX append SUFFIX to installed program names
1520 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1522 System types:
1523 --build=BUILD configure for building on BUILD [guessed]
1524 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1525 --target=TARGET configure for building compilers for TARGET [HOST]
1526 _ACEOF
1529 if test -n "$ac_init_help"; then
1530 case $ac_init_help in
1531 short | recursive ) echo "Configuration of package-unused version-unused:";;
1532 esac
1533 cat <<\_ACEOF
1535 Optional Features:
1536 --disable-option-checking ignore unrecognized --enable/--with options
1537 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1538 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1539 --enable-multilib build many library versions (default)
1540 --enable-maintainer-mode enable make rules and dependencies not useful
1541 (and sometimes confusing) to the casual installer
1542 --enable-shared[=PKGS] build shared libraries [default=yes]
1543 --enable-static[=PKGS] build static libraries [default=yes]
1544 --enable-fast-install[=PKGS]
1545 optimize for fast installation [default=yes]
1546 --disable-libtool-lock avoid locking (might break parallel builds)
1547 --disable-hosted-libstdcxx
1548 only build freestanding C++ runtime support
1549 --disable-libstdcxx-verbose
1550 disable termination messages to standard error
1551 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1552 [default=$is_hosted]
1553 --enable-cstdio[=PACKAGE]
1554 use target-specific I/O package [default=stdio]
1555 --enable-clocale[=MODEL]
1556 use MODEL for target locale package [default=auto]
1557 --enable-nls use Native Language Support (default)
1558 --enable-libstdcxx-allocator[=KIND]
1559 use KIND for target std::allocator base
1560 [default=auto]
1561 --enable-cheaders[=KIND]
1562 construct "C" headers for g++ [default=$c_model]
1563 --enable-long-long enable template specializations for 'long long'
1564 [default=yes]
1565 --enable-wchar_t enable template specializations for 'wchar_t'
1566 [default=yes]
1567 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1568 --enable-concept-checks use Boost-derived template checks [default=no]
1569 --enable-libstdcxx-debug-flags=FLAGS
1570 pass compiler FLAGS when building debug library
1571 [default="-gdwarf-4 -g3 -O0"]
1572 --enable-libstdcxx-debug
1573 build extra debug library [default=no]
1574 --enable-cxx-flags=FLAGS
1575 pass compiler FLAGS when building library [default=]
1576 --enable-fully-dynamic-string
1577 do not put empty strings in per-process static
1578 memory [default=no]
1579 --enable-extern-template
1580 enable extern template [default=yes]
1581 --enable-werror turns on -Werror [default=yes]
1582 --enable-vtable-verify enable vtable verify [default=no]
1583 --enable-libstdcxx-time[=KIND]
1584 use KIND for check type [default=auto]
1585 --enable-tls Use thread-local storage [default=yes]
1586 --disable-rpath do not hardcode runtime library paths
1587 --enable-linux-futex use the Linux futex system call [default=default]
1588 --enable-symvers[=STYLE]
1589 enables symbol versioning of the shared library
1590 [default=yes]
1591 --enable-libstdcxx-visibility
1592 enables visibility safe usage [default=yes]
1593 --enable-libstdcxx-dual-abi
1594 support two versions of std::string [default=yes]
1595 --enable-libstdcxx-threads
1596 enable C++11 threads support [default=auto]
1597 --enable-libstdcxx-filesystem-ts
1598 turns on ISO/IEC TS 18822 support [default=auto]
1599 --enable-cet enable Intel CET in target libraries
1600 [default=default]
1601 --enable-version-specific-runtime-libs
1602 Specify that runtime libraries should be installed
1603 in a compiler-specific directory
1605 Optional Packages:
1606 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1607 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1608 --with-target-subdir=SUBDIR
1609 configuring in a subdirectory
1610 --with-cross-host=HOST configuring with a cross compiler
1611 --with-newlib assume newlib as a system C library
1612 --with-pic try to use only PIC/non-PIC objects [default=use
1613 both]
1614 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1615 --with-python-dir the location to install Python modules. This path is
1616 relative starting from the prefix.
1617 --with-gnu-ld assume the C compiler uses GNU ld default=no
1618 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1619 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1620 --with-system-libunwind use installed libunwind
1621 --with-default-libstdcxx-abi
1622 set the std::string ABI to use by default
1623 --with-gxx-include-dir=DIR
1624 installation directory for include files
1625 --with-gcc-major-version-only
1626 use only GCC major number in filesystem paths
1628 Some influential environment variables:
1629 CC C compiler command
1630 CFLAGS C compiler flags
1631 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1632 nonstandard directory <lib dir>
1633 LIBS libraries to pass to the linker, e.g. -l<library>
1634 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1635 you have headers in a nonstandard directory <include dir>
1636 CXX C++ compiler command
1637 CXXFLAGS C++ compiler flags
1638 CPP C preprocessor
1639 CXXCPP C++ preprocessor
1640 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1641 `c++filt', `gc++filt' on PATH.
1643 Use these variables to override the choices made by `configure' or to help
1644 it to find libraries and programs with nonstandard names/locations.
1646 Report bugs to the package provider.
1647 _ACEOF
1648 ac_status=$?
1651 if test "$ac_init_help" = "recursive"; then
1652 # If there are subdirs, report their specific --help.
1653 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1654 test -d "$ac_dir" ||
1655 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1656 continue
1657 ac_builddir=.
1659 case "$ac_dir" in
1660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1663 # A ".." for each directory in $ac_dir_suffix.
1664 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1665 case $ac_top_builddir_sub in
1666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1668 esac ;;
1669 esac
1670 ac_abs_top_builddir=$ac_pwd
1671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1672 # for backward compatibility:
1673 ac_top_builddir=$ac_top_build_prefix
1675 case $srcdir in
1676 .) # We are building in place.
1677 ac_srcdir=.
1678 ac_top_srcdir=$ac_top_builddir_sub
1679 ac_abs_top_srcdir=$ac_pwd ;;
1680 [\\/]* | ?:[\\/]* ) # Absolute name.
1681 ac_srcdir=$srcdir$ac_dir_suffix;
1682 ac_top_srcdir=$srcdir
1683 ac_abs_top_srcdir=$srcdir ;;
1684 *) # Relative name.
1685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1686 ac_top_srcdir=$ac_top_build_prefix$srcdir
1687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1688 esac
1689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1691 cd "$ac_dir" || { ac_status=$?; continue; }
1692 # Check for guested configure.
1693 if test -f "$ac_srcdir/configure.gnu"; then
1694 echo &&
1695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1696 elif test -f "$ac_srcdir/configure"; then
1697 echo &&
1698 $SHELL "$ac_srcdir/configure" --help=recursive
1699 else
1700 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701 fi || ac_status=$?
1702 cd "$ac_pwd" || { ac_status=$?; break; }
1703 done
1706 test -n "$ac_init_help" && exit $ac_status
1707 if $ac_init_version; then
1708 cat <<\_ACEOF
1709 package-unused configure version-unused
1710 generated by GNU Autoconf 2.64
1712 Copyright (C) 2009 Free Software Foundation, Inc.
1713 This configure script is free software; the Free Software Foundation
1714 gives unlimited permission to copy, distribute and modify it.
1715 _ACEOF
1716 exit
1719 ## ------------------------ ##
1720 ## Autoconf initialization. ##
1721 ## ------------------------ ##
1723 # ac_fn_c_try_compile LINENO
1724 # --------------------------
1725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_c_try_compile ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext
1730 if { { ac_try="$ac_compile"
1731 case "(($ac_try" in
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1734 esac
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_compile") 2>conftest.err
1738 ac_status=$?
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest.$ac_objext; then :
1749 ac_retval=0
1750 else
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1754 ac_retval=1
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757 return $ac_retval
1759 } # ac_fn_c_try_compile
1761 # ac_fn_cxx_try_compile LINENO
1762 # ----------------------------
1763 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1764 ac_fn_cxx_try_compile ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 rm -f conftest.$ac_objext
1768 if { { ac_try="$ac_compile"
1769 case "(($ac_try" in
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_compile") 2>conftest.err
1776 ac_status=$?
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && {
1784 test -z "$ac_cxx_werror_flag" ||
1785 test ! -s conftest.err
1786 } && test -s conftest.$ac_objext; then :
1787 ac_retval=0
1788 else
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1792 ac_retval=1
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795 return $ac_retval
1797 } # ac_fn_cxx_try_compile
1799 # ac_fn_c_try_cpp LINENO
1800 # ----------------------
1801 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_c_try_cpp ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_cpp conftest.$ac_ext"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } >/dev/null && {
1821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=1
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 return $ac_retval
1834 } # ac_fn_c_try_cpp
1836 # ac_fn_c_try_link LINENO
1837 # -----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_c_try_link ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext conftest$ac_exeext
1843 if { { ac_try="$ac_link"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>conftest.err
1851 ac_status=$?
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_c_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest$ac_exeext && {
1862 test "$cross_compiling" = yes ||
1863 $as_test_x conftest$ac_exeext
1864 }; then :
1865 ac_retval=0
1866 else
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1870 ac_retval=1
1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874 # interfere with the next link command; also delete a directory that is
1875 # left behind by Apple's compiler. We do this before executing the actions.
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 return $ac_retval
1880 } # ac_fn_c_try_link
1882 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1883 # -------------------------------------------------------
1884 # Tests whether HEADER exists and can be compiled using the include files in
1885 # INCLUDES, setting the cache variable VAR accordingly.
1886 ac_fn_c_check_header_compile ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1893 else
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1897 #include <$2>
1898 _ACEOF
1899 if ac_fn_c_try_compile "$LINENO"; then :
1900 eval "$3=yes"
1901 else
1902 eval "$3=no"
1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 eval ac_res=\$$3
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 } # ac_fn_c_check_header_compile
1913 # ac_fn_c_try_run LINENO
1914 # ----------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1916 # that executables *can* be run.
1917 ac_fn_c_try_run ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if { { ac_try="$ac_link"
1921 case "(($ac_try" in
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1924 esac
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_link") 2>&5
1928 ac_status=$?
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1931 { { case "(($ac_try" in
1932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933 *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937 (eval "$ac_try") 2>&5
1938 ac_status=$?
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; }; }; then :
1941 ac_retval=0
1942 else
1943 $as_echo "$as_me: program exited with status $ac_status" >&5
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.$ac_ext >&5
1947 ac_retval=$ac_status
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 return $ac_retval
1953 } # ac_fn_c_try_run
1955 # ac_fn_c_check_func LINENO FUNC VAR
1956 # ----------------------------------
1957 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1958 ac_fn_c_check_func ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test x$gcc_no_link = xyes; then
1967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1973 #define $2 innocuous_$2
1975 /* System header to define __stub macros and hopefully few prototypes,
1976 which can conflict with char $2 (); below.
1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1978 <limits.h> exists even on freestanding compilers. */
1980 #ifdef __STDC__
1981 # include <limits.h>
1982 #else
1983 # include <assert.h>
1984 #endif
1986 #undef $2
1988 /* Override any GCC internal prototype to avoid an error.
1989 Use char because int might match the return type of a GCC
1990 builtin and then its argument prototype would still apply. */
1991 #ifdef __cplusplus
1992 extern "C"
1993 #endif
1994 char $2 ();
1995 /* The GNU C library defines this for functions which it implements
1996 to always fail with ENOSYS. Some functions are actually named
1997 something starting with __ and the normal name is an alias. */
1998 #if defined __stub_$2 || defined __stub___$2
1999 choke me
2000 #endif
2003 main ()
2005 return $2 ();
2007 return 0;
2009 _ACEOF
2010 if ac_fn_c_try_link "$LINENO"; then :
2011 eval "$3=yes"
2012 else
2013 eval "$3=no"
2015 rm -f core conftest.err conftest.$ac_objext \
2016 conftest$ac_exeext conftest.$ac_ext
2018 eval ac_res=\$$3
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2023 } # ac_fn_c_check_func
2025 # ac_fn_cxx_try_cpp LINENO
2026 # ------------------------
2027 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_cpp ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 if { { ac_try="$ac_cpp conftest.$ac_ext"
2032 case "(($ac_try" in
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2035 esac
2036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037 $as_echo "$ac_try_echo"; } >&5
2038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2039 ac_status=$?
2040 if test -s conftest.err; then
2041 grep -v '^ *+' conftest.err >conftest.er1
2042 cat conftest.er1 >&5
2043 mv -f conftest.er1 conftest.err
2045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046 test $ac_status = 0; } >/dev/null && {
2047 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2048 test ! -s conftest.err
2049 }; then :
2050 ac_retval=0
2051 else
2052 $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2055 ac_retval=1
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058 return $ac_retval
2060 } # ac_fn_cxx_try_cpp
2062 # ac_fn_cxx_try_link LINENO
2063 # -------------------------
2064 # Try to link conftest.$ac_ext, and return whether this succeeded.
2065 ac_fn_cxx_try_link ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 rm -f conftest.$ac_objext conftest$ac_exeext
2069 if { { ac_try="$ac_link"
2070 case "(($ac_try" in
2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2073 esac
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_link") 2>conftest.err
2077 ac_status=$?
2078 if test -s conftest.err; then
2079 grep -v '^ *+' conftest.err >conftest.er1
2080 cat conftest.er1 >&5
2081 mv -f conftest.er1 conftest.err
2083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084 test $ac_status = 0; } && {
2085 test -z "$ac_cxx_werror_flag" ||
2086 test ! -s conftest.err
2087 } && test -s conftest$ac_exeext && {
2088 test "$cross_compiling" = yes ||
2089 $as_test_x conftest$ac_exeext
2090 }; then :
2091 ac_retval=0
2092 else
2093 $as_echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2096 ac_retval=1
2098 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2099 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2100 # interfere with the next link command; also delete a directory that is
2101 # left behind by Apple's compiler. We do this before executing the actions.
2102 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2103 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104 return $ac_retval
2106 } # ac_fn_cxx_try_link
2108 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2109 # -------------------------------------------------------
2110 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2111 # the include files in INCLUDES and setting the cache variable VAR
2112 # accordingly.
2113 ac_fn_c_check_header_mongrel ()
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2118 $as_echo_n "checking for $2... " >&6; }
2119 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2120 $as_echo_n "(cached) " >&6
2122 eval ac_res=\$$3
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2125 else
2126 # Is the header compilable?
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2128 $as_echo_n "checking $2 usability... " >&6; }
2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2132 #include <$2>
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135 ac_header_compiler=yes
2136 else
2137 ac_header_compiler=no
2139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2141 $as_echo "$ac_header_compiler" >&6; }
2143 # Is the header present?
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2145 $as_echo_n "checking $2 presence... " >&6; }
2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 /* end confdefs.h. */
2148 #include <$2>
2149 _ACEOF
2150 if ac_fn_c_try_cpp "$LINENO"; then :
2151 ac_header_preproc=yes
2152 else
2153 ac_header_preproc=no
2155 rm -f conftest.err conftest.$ac_ext
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2157 $as_echo "$ac_header_preproc" >&6; }
2159 # So? What about this header?
2160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2161 yes:no: )
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2163 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 no:yes:* )
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2169 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2171 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2173 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2175 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2177 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2179 esac
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181 $as_echo_n "checking for $2... " >&6; }
2182 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2183 $as_echo_n "(cached) " >&6
2184 else
2185 eval "$3=\$ac_header_compiler"
2187 eval ac_res=\$$3
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2193 } # ac_fn_c_check_header_mongrel
2195 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2196 # ---------------------------------------------------------
2197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2198 # the include files in INCLUDES and setting the cache variable VAR
2199 # accordingly.
2200 ac_fn_cxx_check_header_mongrel ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205 $as_echo_n "checking for $2... " >&6; }
2206 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2207 $as_echo_n "(cached) " >&6
2209 eval ac_res=\$$3
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211 $as_echo "$ac_res" >&6; }
2212 else
2213 # Is the header compilable?
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2215 $as_echo_n "checking $2 usability... " >&6; }
2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2219 #include <$2>
2220 _ACEOF
2221 if ac_fn_cxx_try_compile "$LINENO"; then :
2222 ac_header_compiler=yes
2223 else
2224 ac_header_compiler=no
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2228 $as_echo "$ac_header_compiler" >&6; }
2230 # Is the header present?
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2232 $as_echo_n "checking $2 presence... " >&6; }
2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234 /* end confdefs.h. */
2235 #include <$2>
2236 _ACEOF
2237 if ac_fn_cxx_try_cpp "$LINENO"; then :
2238 ac_header_preproc=yes
2239 else
2240 ac_header_preproc=no
2242 rm -f conftest.err conftest.$ac_ext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2244 $as_echo "$ac_header_preproc" >&6; }
2246 # So? What about this header?
2247 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2248 yes:no: )
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 no:yes:* )
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2258 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2262 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2266 esac
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2268 $as_echo_n "checking for $2... " >&6; }
2269 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2270 $as_echo_n "(cached) " >&6
2271 else
2272 eval "$3=\$ac_header_compiler"
2274 eval ac_res=\$$3
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2276 $as_echo "$ac_res" >&6; }
2278 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2280 } # ac_fn_cxx_check_header_mongrel
2282 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2283 # --------------------------------------------
2284 # Tries to find the compile-time value of EXPR in a program that includes
2285 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2286 # computed
2287 ac_fn_c_compute_int ()
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 if test "$cross_compiling" = yes; then
2291 # Depending upon the size, compute the lo and hi bounds.
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2296 main ()
2298 static int test_array [1 - 2 * !(($2) >= 0)];
2299 test_array [0] = 0
2302 return 0;
2304 _ACEOF
2305 if ac_fn_c_try_compile "$LINENO"; then :
2306 ac_lo=0 ac_mid=0
2307 while :; do
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2312 main ()
2314 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2315 test_array [0] = 0
2318 return 0;
2320 _ACEOF
2321 if ac_fn_c_try_compile "$LINENO"; then :
2322 ac_hi=$ac_mid; break
2323 else
2324 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2325 if test $ac_lo -le $ac_mid; then
2326 ac_lo= ac_hi=
2327 break
2329 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 done
2333 else
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2338 main ()
2340 static int test_array [1 - 2 * !(($2) < 0)];
2341 test_array [0] = 0
2344 return 0;
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348 ac_hi=-1 ac_mid=-1
2349 while :; do
2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351 /* end confdefs.h. */
2354 main ()
2356 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2357 test_array [0] = 0
2360 return 0;
2362 _ACEOF
2363 if ac_fn_c_try_compile "$LINENO"; then :
2364 ac_lo=$ac_mid; break
2365 else
2366 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2367 if test $ac_mid -le $ac_hi; then
2368 ac_lo= ac_hi=
2369 break
2371 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 done
2375 else
2376 ac_lo= ac_hi=
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 # Binary search between lo and hi bounds.
2382 while test "x$ac_lo" != "x$ac_hi"; do
2383 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2391 test_array [0] = 0
2394 return 0;
2396 _ACEOF
2397 if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_hi=$ac_mid
2399 else
2400 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403 done
2404 case $ac_lo in #((
2405 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2406 '') ac_retval=1 ;;
2407 esac
2408 else
2409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2412 static long int longval () { return $2; }
2413 static unsigned long int ulongval () { return $2; }
2414 #include <stdio.h>
2415 #include <stdlib.h>
2417 main ()
2420 FILE *f = fopen ("conftest.val", "w");
2421 if (! f)
2422 return 1;
2423 if (($2) < 0)
2425 long int i = longval ();
2426 if (i != ($2))
2427 return 1;
2428 fprintf (f, "%ld", i);
2430 else
2432 unsigned long int i = ulongval ();
2433 if (i != ($2))
2434 return 1;
2435 fprintf (f, "%lu", i);
2437 /* Do not output a trailing newline, as this causes \r\n confusion
2438 on some platforms. */
2439 return ferror (f) || fclose (f) != 0;
2442 return 0;
2444 _ACEOF
2445 if ac_fn_c_try_run "$LINENO"; then :
2446 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2447 else
2448 ac_retval=1
2450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2451 conftest.$ac_objext conftest.beam conftest.$ac_ext
2452 rm -f conftest.val
2455 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456 return $ac_retval
2458 } # ac_fn_c_compute_int
2460 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2461 # -------------------------------------------
2462 # Tests whether TYPE exists after having included INCLUDES, setting cache
2463 # variable VAR accordingly.
2464 ac_fn_c_check_type ()
2466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2468 $as_echo_n "checking for $2... " >&6; }
2469 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2470 $as_echo_n "(cached) " >&6
2471 else
2472 eval "$3=no"
2473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2474 /* end confdefs.h. */
2477 main ()
2479 if (sizeof ($2))
2480 return 0;
2482 return 0;
2484 _ACEOF
2485 if ac_fn_c_try_compile "$LINENO"; then :
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2490 main ()
2492 if (sizeof (($2)))
2493 return 0;
2495 return 0;
2497 _ACEOF
2498 if ac_fn_c_try_compile "$LINENO"; then :
2500 else
2501 eval "$3=yes"
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 eval ac_res=\$$3
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2510 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2512 } # ac_fn_c_check_type
2514 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2515 # ---------------------------------------------
2516 # Tests whether TYPE exists after having included INCLUDES, setting cache
2517 # variable VAR accordingly.
2518 ac_fn_cxx_check_type ()
2520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2522 $as_echo_n "checking for $2... " >&6; }
2523 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2524 $as_echo_n "(cached) " >&6
2525 else
2526 eval "$3=no"
2527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528 /* end confdefs.h. */
2531 main ()
2533 if (sizeof ($2))
2534 return 0;
2536 return 0;
2538 _ACEOF
2539 if ac_fn_cxx_try_compile "$LINENO"; then :
2540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2541 /* end confdefs.h. */
2544 main ()
2546 if (sizeof (($2)))
2547 return 0;
2549 return 0;
2551 _ACEOF
2552 if ac_fn_cxx_try_compile "$LINENO"; then :
2554 else
2555 eval "$3=yes"
2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 eval ac_res=\$$3
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2566 } # ac_fn_cxx_check_type
2567 cat >config.log <<_ACEOF
2568 This file contains any messages produced by compilers while
2569 running configure, to aid debugging if configure makes a mistake.
2571 It was created by package-unused $as_me version-unused, which was
2572 generated by GNU Autoconf 2.64. Invocation command line was
2574 $ $0 $@
2576 _ACEOF
2577 exec 5>>config.log
2579 cat <<_ASUNAME
2580 ## --------- ##
2581 ## Platform. ##
2582 ## --------- ##
2584 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2585 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2586 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2587 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2588 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2590 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2591 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2593 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2594 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2595 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2596 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2597 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2598 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2599 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2601 _ASUNAME
2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 for as_dir in $PATH
2606 IFS=$as_save_IFS
2607 test -z "$as_dir" && as_dir=.
2608 $as_echo "PATH: $as_dir"
2609 done
2610 IFS=$as_save_IFS
2612 } >&5
2614 cat >&5 <<_ACEOF
2617 ## ----------- ##
2618 ## Core tests. ##
2619 ## ----------- ##
2621 _ACEOF
2624 # Keep a trace of the command line.
2625 # Strip out --no-create and --no-recursion so they do not pile up.
2626 # Strip out --silent because we don't want to record it for future runs.
2627 # Also quote any args containing shell meta-characters.
2628 # Make two passes to allow for proper duplicate-argument suppression.
2629 ac_configure_args=
2630 ac_configure_args0=
2631 ac_configure_args1=
2632 ac_must_keep_next=false
2633 for ac_pass in 1 2
2635 for ac_arg
2637 case $ac_arg in
2638 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2639 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2640 | -silent | --silent | --silen | --sile | --sil)
2641 continue ;;
2642 *\'*)
2643 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 esac
2645 case $ac_pass in
2646 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2648 as_fn_append ac_configure_args1 " '$ac_arg'"
2649 if test $ac_must_keep_next = true; then
2650 ac_must_keep_next=false # Got value, back to normal.
2651 else
2652 case $ac_arg in
2653 *=* | --config-cache | -C | -disable-* | --disable-* \
2654 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2655 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2656 | -with-* | --with-* | -without-* | --without-* | --x)
2657 case "$ac_configure_args0 " in
2658 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2659 esac
2661 -* ) ac_must_keep_next=true ;;
2662 esac
2664 as_fn_append ac_configure_args " '$ac_arg'"
2666 esac
2667 done
2668 done
2669 { ac_configure_args0=; unset ac_configure_args0;}
2670 { ac_configure_args1=; unset ac_configure_args1;}
2672 # When interrupted or exit'd, cleanup temporary files, and complete
2673 # config.log. We remove comments because anyway the quotes in there
2674 # would cause problems or look ugly.
2675 # WARNING: Use '\'' to represent an apostrophe within the trap.
2676 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2677 trap 'exit_status=$?
2678 # Save into config.log some information that might help in debugging.
2680 echo
2682 cat <<\_ASBOX
2683 ## ---------------- ##
2684 ## Cache variables. ##
2685 ## ---------------- ##
2686 _ASBOX
2687 echo
2688 # The following way of writing the cache mishandles newlines in values,
2690 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2691 eval ac_val=\$$ac_var
2692 case $ac_val in #(
2693 *${as_nl}*)
2694 case $ac_var in #(
2695 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2696 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2697 esac
2698 case $ac_var in #(
2699 _ | IFS | as_nl) ;; #(
2700 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2701 *) { eval $ac_var=; unset $ac_var;} ;;
2702 esac ;;
2703 esac
2704 done
2705 (set) 2>&1 |
2706 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2707 *${as_nl}ac_space=\ *)
2708 sed -n \
2709 "s/'\''/'\''\\\\'\'''\''/g;
2710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2711 ;; #(
2713 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2715 esac |
2716 sort
2718 echo
2720 cat <<\_ASBOX
2721 ## ----------------- ##
2722 ## Output variables. ##
2723 ## ----------------- ##
2724 _ASBOX
2725 echo
2726 for ac_var in $ac_subst_vars
2728 eval ac_val=\$$ac_var
2729 case $ac_val in
2730 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2731 esac
2732 $as_echo "$ac_var='\''$ac_val'\''"
2733 done | sort
2734 echo
2736 if test -n "$ac_subst_files"; then
2737 cat <<\_ASBOX
2738 ## ------------------- ##
2739 ## File substitutions. ##
2740 ## ------------------- ##
2741 _ASBOX
2742 echo
2743 for ac_var in $ac_subst_files
2745 eval ac_val=\$$ac_var
2746 case $ac_val in
2747 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2748 esac
2749 $as_echo "$ac_var='\''$ac_val'\''"
2750 done | sort
2751 echo
2754 if test -s confdefs.h; then
2755 cat <<\_ASBOX
2756 ## ----------- ##
2757 ## confdefs.h. ##
2758 ## ----------- ##
2759 _ASBOX
2760 echo
2761 cat confdefs.h
2762 echo
2764 test "$ac_signal" != 0 &&
2765 $as_echo "$as_me: caught signal $ac_signal"
2766 $as_echo "$as_me: exit $exit_status"
2767 } >&5
2768 rm -f core *.core core.conftest.* &&
2769 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2770 exit $exit_status
2772 for ac_signal in 1 2 13 15; do
2773 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2774 done
2775 ac_signal=0
2777 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2778 rm -f -r conftest* confdefs.h
2780 $as_echo "/* confdefs.h */" > confdefs.h
2782 # Predefined preprocessor variables.
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_NAME "$PACKAGE_NAME"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2794 _ACEOF
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_STRING "$PACKAGE_STRING"
2798 _ACEOF
2800 cat >>confdefs.h <<_ACEOF
2801 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2802 _ACEOF
2804 cat >>confdefs.h <<_ACEOF
2805 #define PACKAGE_URL "$PACKAGE_URL"
2806 _ACEOF
2809 # Let the site file select an alternate cache file if it wants to.
2810 # Prefer an explicitly selected file to automatically selected ones.
2811 ac_site_file1=NONE
2812 ac_site_file2=NONE
2813 if test -n "$CONFIG_SITE"; then
2814 ac_site_file1=$CONFIG_SITE
2815 elif test "x$prefix" != xNONE; then
2816 ac_site_file1=$prefix/share/config.site
2817 ac_site_file2=$prefix/etc/config.site
2818 else
2819 ac_site_file1=$ac_default_prefix/share/config.site
2820 ac_site_file2=$ac_default_prefix/etc/config.site
2822 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2824 test "x$ac_site_file" = xNONE && continue
2825 if test -r "$ac_site_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2827 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2828 sed 's/^/| /' "$ac_site_file" >&5
2829 . "$ac_site_file"
2831 done
2833 if test -r "$cache_file"; then
2834 # Some versions of bash will fail to source /dev/null (special
2835 # files actually), so we avoid doing that.
2836 if test -f "$cache_file"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2838 $as_echo "$as_me: loading cache $cache_file" >&6;}
2839 case $cache_file in
2840 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2841 *) . "./$cache_file";;
2842 esac
2844 else
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2846 $as_echo "$as_me: creating cache $cache_file" >&6;}
2847 >$cache_file
2850 # Check that the precious variables saved in the cache have kept the same
2851 # value.
2852 ac_cache_corrupted=false
2853 for ac_var in $ac_precious_vars; do
2854 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2855 eval ac_new_set=\$ac_env_${ac_var}_set
2856 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2857 eval ac_new_val=\$ac_env_${ac_var}_value
2858 case $ac_old_set,$ac_new_set in
2859 set,)
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2861 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2862 ac_cache_corrupted=: ;;
2863 ,set)
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2865 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2866 ac_cache_corrupted=: ;;
2867 ,);;
2869 if test "x$ac_old_val" != "x$ac_new_val"; then
2870 # differences in whitespace do not lead to failure.
2871 ac_old_val_w=`echo x $ac_old_val`
2872 ac_new_val_w=`echo x $ac_new_val`
2873 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2875 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2876 ac_cache_corrupted=:
2877 else
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2879 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2880 eval $ac_var=\$ac_old_val
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2883 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2885 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2886 fi;;
2887 esac
2888 # Pass precious variables to config.status.
2889 if test "$ac_new_set" = set; then
2890 case $ac_new_val in
2891 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2892 *) ac_arg=$ac_var=$ac_new_val ;;
2893 esac
2894 case " $ac_configure_args " in
2895 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2896 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2897 esac
2899 done
2900 if $ac_cache_corrupted; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2904 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2905 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2907 ## -------------------- ##
2908 ## Main body of script. ##
2909 ## -------------------- ##
2911 ac_ext=c
2912 ac_cpp='$CPP $CPPFLAGS'
2913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922 ac_config_headers="$ac_config_headers config.h"
2925 # This works around the fact that libtool configuration may change LD
2926 # for this particular configuration, but some shells, instead of
2927 # keeping the changes in LD private, export them just because LD is
2928 # exported. Only used at the end of this file.
2929 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2931 # Find the rest of the source tree framework.
2932 # Default to --enable-multilib
2933 # Check whether --enable-multilib was given.
2934 if test "${enable_multilib+set}" = set; then :
2935 enableval=$enable_multilib; case "$enableval" in
2936 yes) multilib=yes ;;
2937 no) multilib=no ;;
2938 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2939 esac
2940 else
2941 multilib=yes
2945 # We may get other options which we leave undocumented:
2946 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2947 # See config-ml.in if you want the gory details.
2949 if test "$srcdir" = "."; then
2950 if test "$with_target_subdir" != "."; then
2951 multi_basedir="$srcdir/$with_multisrctop../.."
2952 else
2953 multi_basedir="$srcdir/$with_multisrctop.."
2955 else
2956 multi_basedir="$srcdir/.."
2960 # Even if the default multilib is not a cross compilation,
2961 # it may be that some of the other multilibs are.
2962 if test $cross_compiling = no && test $multilib = yes \
2963 && test "x${with_multisubdir}" != x ; then
2964 cross_compiling=maybe
2967 ac_config_commands="$ac_config_commands default-1"
2970 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2972 # You will slowly go insane if you do not grok the following fact: when
2973 # building v3 as part of the compiler, the top-level /target/ becomes the
2974 # library's /host/. configure then causes --target to default to --host,
2975 # exactly like any other package using autoconf. Therefore, 'target' and
2976 # 'host' will always be the same. This makes sense both for native and
2977 # cross compilers, just think about it for a little while. :-)
2979 # Also, if v3 is being configured as part of a cross compiler, the top-level
2980 # configure script will pass the "real" host as $with_cross_host.
2982 # Do not delete or change the following two lines. For why, see
2983 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2984 ac_aux_dir=
2985 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2986 for ac_t in install-sh install.sh shtool; do
2987 if test -f "$ac_dir/$ac_t"; then
2988 ac_aux_dir=$ac_dir
2989 ac_install_sh="$ac_aux_dir/$ac_t -c"
2990 break 2
2992 done
2993 done
2994 if test -z "$ac_aux_dir"; then
2995 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2998 # These three variables are undocumented and unsupported,
2999 # and are intended to be withdrawn in a future Autoconf release.
3000 # They can cause serious problems if a builder's source tree is in a directory
3001 # whose full name contains unusual characters.
3002 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3003 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3004 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3007 # Make sure we can run config.sub.
3008 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3009 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3012 $as_echo_n "checking build system type... " >&6; }
3013 if test "${ac_cv_build+set}" = set; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 ac_build_alias=$build_alias
3017 test "x$ac_build_alias" = x &&
3018 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3019 test "x$ac_build_alias" = x &&
3020 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3021 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3022 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3026 $as_echo "$ac_cv_build" >&6; }
3027 case $ac_cv_build in
3028 *-*-*) ;;
3029 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3030 esac
3031 build=$ac_cv_build
3032 ac_save_IFS=$IFS; IFS='-'
3033 set x $ac_cv_build
3034 shift
3035 build_cpu=$1
3036 build_vendor=$2
3037 shift; shift
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3040 build_os=$*
3041 IFS=$ac_save_IFS
3042 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3046 $as_echo_n "checking host system type... " >&6; }
3047 if test "${ac_cv_host+set}" = set; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3050 if test "x$host_alias" = x; then
3051 ac_cv_host=$ac_cv_build
3052 else
3053 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3054 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3059 $as_echo "$ac_cv_host" >&6; }
3060 case $ac_cv_host in
3061 *-*-*) ;;
3062 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3063 esac
3064 host=$ac_cv_host
3065 ac_save_IFS=$IFS; IFS='-'
3066 set x $ac_cv_host
3067 shift
3068 host_cpu=$1
3069 host_vendor=$2
3070 shift; shift
3071 # Remember, the first character of IFS is used to create $*,
3072 # except with old shells:
3073 host_os=$*
3074 IFS=$ac_save_IFS
3075 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3079 $as_echo_n "checking target system type... " >&6; }
3080 if test "${ac_cv_target+set}" = set; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 if test "x$target_alias" = x; then
3084 ac_cv_target=$ac_cv_host
3085 else
3086 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3087 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3092 $as_echo "$ac_cv_target" >&6; }
3093 case $ac_cv_target in
3094 *-*-*) ;;
3095 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3096 esac
3097 target=$ac_cv_target
3098 ac_save_IFS=$IFS; IFS='-'
3099 set x $ac_cv_target
3100 shift
3101 target_cpu=$1
3102 target_vendor=$2
3103 shift; shift
3104 # Remember, the first character of IFS is used to create $*,
3105 # except with old shells:
3106 target_os=$*
3107 IFS=$ac_save_IFS
3108 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3111 # The aliases save the names the user supplied, while $host etc.
3112 # will get canonicalized.
3113 test -n "$target_alias" &&
3114 test "$program_prefix$program_suffix$program_transform_name" = \
3115 NONENONEs,x,x, &&
3116 program_prefix=${target_alias}-
3118 target_alias=${target_alias-$host_alias}
3120 # Handy for debugging:
3121 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3123 if test "$build" != "$host"; then
3124 # We are being configured with some form of cross compiler.
3125 GLIBCXX_IS_NATIVE=false
3126 case "$host","$target" in
3127 # Darwin crosses can use the host system's libraries and headers,
3128 # because of the fat library support. Of course, it must be the
3129 # same version of Darwin on both sides. Allow the user to
3130 # just say --target=foo-darwin without a version number to mean
3131 # "the version on this system".
3132 *-*-darwin*,*-*-darwin*)
3133 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3134 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3135 if test $hostos = $targetos -o $targetos = darwin ; then
3136 GLIBCXX_IS_NATIVE=true
3143 esac
3144 else
3145 GLIBCXX_IS_NATIVE=true
3148 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3149 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3150 # 1.x: minimum required version
3151 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3152 # of other PACKAGE_* variables will, however, and there's nothing
3153 # we can do about that; they come from AC_INIT).
3154 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3155 # file in the top srcdir, etc, etc), so stop complaining.
3156 # no-dependencies: turns off auto dependency generation (just for now)
3157 # no-dist: we don't want 'dist' and related rules.
3158 # -Wall: turns on all automake warnings...
3159 # -Wno-portability: ...except this one, since GNU make is now required.
3160 am__api_version='1.11'
3162 # Find a good install program. We prefer a C program (faster),
3163 # so one script is as good as another. But avoid the broken or
3164 # incompatible versions:
3165 # SysV /etc/install, /usr/sbin/install
3166 # SunOS /usr/etc/install
3167 # IRIX /sbin/install
3168 # AIX /bin/install
3169 # AmigaOS /C/install, which installs bootblocks on floppy discs
3170 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3171 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3172 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3173 # OS/2's system install, which has a completely different semantic
3174 # ./install, which can be erroneously created by make from ./install.sh.
3175 # Reject install programs that cannot install multiple files.
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3177 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3178 if test -z "$INSTALL"; then
3179 if test "${ac_cv_path_install+set}" = set; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3185 IFS=$as_save_IFS
3186 test -z "$as_dir" && as_dir=.
3187 # Account for people who put trailing slashes in PATH elements.
3188 case $as_dir/ in #((
3189 ./ | .// | /[cC]/* | \
3190 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3191 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3192 /usr/ucb/* ) ;;
3194 # OSF1 and SCO ODT 3.0 have their own names for install.
3195 # Don't use installbsd from OSF since it installs stuff as root
3196 # by default.
3197 for ac_prog in ginstall scoinst install; do
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3200 if test $ac_prog = install &&
3201 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3202 # AIX install. It has an incompatible calling convention.
3204 elif test $ac_prog = install &&
3205 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3206 # program-specific install script used by HP pwplus--don't use.
3208 else
3209 rm -rf conftest.one conftest.two conftest.dir
3210 echo one > conftest.one
3211 echo two > conftest.two
3212 mkdir conftest.dir
3213 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3214 test -s conftest.one && test -s conftest.two &&
3215 test -s conftest.dir/conftest.one &&
3216 test -s conftest.dir/conftest.two
3217 then
3218 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3219 break 3
3223 done
3224 done
3226 esac
3228 done
3229 IFS=$as_save_IFS
3231 rm -rf conftest.one conftest.two conftest.dir
3234 if test "${ac_cv_path_install+set}" = set; then
3235 INSTALL=$ac_cv_path_install
3236 else
3237 # As a last resort, use the slow shell script. Don't cache a
3238 # value for INSTALL within a source directory, because that will
3239 # break other packages using the cache if that directory is
3240 # removed, or if the value is a relative name.
3241 INSTALL=$ac_install_sh
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3245 $as_echo "$INSTALL" >&6; }
3247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3248 # It thinks the first close brace ends the variable substitution.
3249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3253 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3256 $as_echo_n "checking whether build environment is sane... " >&6; }
3257 # Just in case
3258 sleep 1
3259 echo timestamp > conftest.file
3260 # Reject unsafe characters in $srcdir or the absolute working directory
3261 # name. Accept space and tab only in the latter.
3262 am_lf='
3264 case `pwd` in
3265 *[\\\"\#\$\&\'\`$am_lf]*)
3266 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3267 esac
3268 case $srcdir in
3269 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3270 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3271 esac
3273 # Do `set' in a subshell so we don't clobber the current shell's
3274 # arguments. Must try -L first in case configure is actually a
3275 # symlink; some systems play weird games with the mod time of symlinks
3276 # (eg FreeBSD returns the mod time of the symlink's containing
3277 # directory).
3278 if (
3279 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3280 if test "$*" = "X"; then
3281 # -L didn't work.
3282 set X `ls -t "$srcdir/configure" conftest.file`
3284 rm -f conftest.file
3285 if test "$*" != "X $srcdir/configure conftest.file" \
3286 && test "$*" != "X conftest.file $srcdir/configure"; then
3288 # If neither matched, then we have a broken ls. This can happen
3289 # if, for instance, CONFIG_SHELL is bash and it inherits a
3290 # broken ls alias from the environment. This has actually
3291 # happened. Such a system could not be considered "sane".
3292 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3293 alias in your environment" "$LINENO" 5
3296 test "$2" = conftest.file
3298 then
3299 # Ok.
3301 else
3302 as_fn_error "newly created file is older than distributed files!
3303 Check your system clock" "$LINENO" 5
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3307 test "$program_prefix" != NONE &&
3308 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3309 # Use a double $ so make ignores it.
3310 test "$program_suffix" != NONE &&
3311 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3312 # Double any \ or $.
3313 # By default was `s,x,x', remove it if useless.
3314 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3315 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3317 # expand $ac_aux_dir to an absolute path
3318 am_aux_dir=`cd $ac_aux_dir && pwd`
3320 if test x"${MISSING+set}" != xset; then
3321 case $am_aux_dir in
3322 *\ * | *\ *)
3323 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3325 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3326 esac
3328 # Use eval to expand $SHELL
3329 if eval "$MISSING --run true"; then
3330 am_missing_run="$MISSING --run "
3331 else
3332 am_missing_run=
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3334 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3337 if test x"${install_sh}" != xset; then
3338 case $am_aux_dir in
3339 *\ * | *\ *)
3340 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3342 install_sh="\${SHELL} $am_aux_dir/install-sh"
3343 esac
3346 # Installed binaries are usually stripped using `strip' when the user
3347 # run `make install-strip'. However `strip' might not be the right
3348 # tool to use in cross-compilation environments, therefore Automake
3349 # will honor the `STRIP' environment variable to overrule this program.
3350 if test "$cross_compiling" != no; then
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}strip; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_STRIP+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if test -n "$STRIP"; then
3360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 break 2
3373 done
3374 done
3375 IFS=$as_save_IFS
3379 STRIP=$ac_cv_prog_STRIP
3380 if test -n "$STRIP"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3382 $as_echo "$STRIP" >&6; }
3383 else
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3390 if test -z "$ac_cv_prog_STRIP"; then
3391 ac_ct_STRIP=$STRIP
3392 # Extract the first word of "strip", so it can be a program name with args.
3393 set dummy strip; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -n "$ac_ct_STRIP"; then
3400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_ac_ct_STRIP="strip"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3413 done
3414 done
3415 IFS=$as_save_IFS
3419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3420 if test -n "$ac_ct_STRIP"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3422 $as_echo "$ac_ct_STRIP" >&6; }
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3428 if test "x$ac_ct_STRIP" = x; then
3429 STRIP=":"
3430 else
3431 case $cross_compiling:$ac_tool_warned in
3432 yes:)
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3436 esac
3437 STRIP=$ac_ct_STRIP
3439 else
3440 STRIP="$ac_cv_prog_STRIP"
3444 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3447 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3448 if test -z "$MKDIR_P"; then
3449 if test "${ac_cv_path_mkdir+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_prog in mkdir gmkdir; do
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3460 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3461 'mkdir (GNU coreutils) '* | \
3462 'mkdir (coreutils) '* | \
3463 'mkdir (fileutils) '4.1*)
3464 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3465 break 3;;
3466 esac
3467 done
3468 done
3469 done
3470 IFS=$as_save_IFS
3474 if test "${ac_cv_path_mkdir+set}" = set; then
3475 MKDIR_P="$ac_cv_path_mkdir -p"
3476 else
3477 # As a last resort, use the slow shell script. Don't cache a
3478 # value for MKDIR_P within a source directory, because that will
3479 # break other packages using the cache if that directory is
3480 # removed, or if the value is a relative name.
3481 test -d ./--version && rmdir ./--version
3482 MKDIR_P="$ac_install_sh -d"
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3486 $as_echo "$MKDIR_P" >&6; }
3488 mkdir_p="$MKDIR_P"
3489 case $mkdir_p in
3490 [\\/$]* | ?:[\\/]*) ;;
3491 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3492 esac
3494 for ac_prog in gawk mawk nawk awk
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if test "${ac_cv_prog_AWK+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 if test -n "$AWK"; then
3504 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_AWK="$ac_prog"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3519 IFS=$as_save_IFS
3523 AWK=$ac_cv_prog_AWK
3524 if test -n "$AWK"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3526 $as_echo "$AWK" >&6; }
3527 else
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3533 test -n "$AWK" && break
3534 done
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3537 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3538 set x ${MAKE-make}
3539 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3540 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 cat >conftest.make <<\_ACEOF
3544 SHELL = /bin/sh
3545 all:
3546 @echo '@@@%%%=$(MAKE)=@@@%%%'
3547 _ACEOF
3548 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3549 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3550 *@@@%%%=?*=@@@%%%*)
3551 eval ac_cv_prog_make_${ac_make}_set=yes;;
3553 eval ac_cv_prog_make_${ac_make}_set=no;;
3554 esac
3555 rm -f conftest.make
3557 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3559 $as_echo "yes" >&6; }
3560 SET_MAKE=
3561 else
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 SET_MAKE="MAKE=${MAKE-make}"
3567 rm -rf .tst 2>/dev/null
3568 mkdir .tst 2>/dev/null
3569 if test -d .tst; then
3570 am__leading_dot=.
3571 else
3572 am__leading_dot=_
3574 rmdir .tst 2>/dev/null
3576 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3577 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3578 # is not polluted with repeated "-I."
3579 am__isrc=' -I$(srcdir)'
3580 # test to see if srcdir already configured
3581 if test -f $srcdir/config.status; then
3582 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3586 # test whether we have cygpath
3587 if test -z "$CYGPATH_W"; then
3588 if (cygpath --version) >/dev/null 2>/dev/null; then
3589 CYGPATH_W='cygpath -w'
3590 else
3591 CYGPATH_W=echo
3596 # Define the identity of the package.
3597 PACKAGE='libstdc++'
3598 VERSION='version-unused'
3601 # Some tools Automake needs.
3603 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3606 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3609 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3612 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3615 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3617 # We need awk for the "check" target. The system "awk" is bad on
3618 # some platforms.
3619 # Always define AMTAR for backward compatibility. Yes, it's still used
3620 # in the wild :-( We should find a proper way to deprecate it ...
3621 AMTAR='$${TAR-tar}'
3623 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3632 # -fno-builtin must be present here so that a non-conflicting form of
3633 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3635 save_CXXFLAGS="$CXXFLAGS"
3636 CXXFLAGS="$CXXFLAGS -fno-builtin"
3637 ac_ext=c
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3681 if test -z "$ac_cv_prog_CC"; then
3682 ac_ct_CC=$CC
3683 # Extract the first word of "gcc", so it can be a program name with args.
3684 set dummy gcc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$ac_ct_CC"; then
3691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3692 else
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 for as_dir in $PATH
3696 IFS=$as_save_IFS
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_prog_ac_ct_CC="gcc"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 break 2
3704 done
3705 done
3706 IFS=$as_save_IFS
3710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3711 if test -n "$ac_ct_CC"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3713 $as_echo "$ac_ct_CC" >&6; }
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3719 if test "x$ac_ct_CC" = x; then
3720 CC=""
3721 else
3722 case $cross_compiling:$ac_tool_warned in
3723 yes:)
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3726 ac_tool_warned=yes ;;
3727 esac
3728 CC=$ac_ct_CC
3730 else
3731 CC="$ac_cv_prog_CC"
3734 if test -z "$CC"; then
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3737 set dummy ${ac_tool_prefix}cc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC="${ac_tool_prefix}cc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3775 if test -z "$CC"; then
3776 # Extract the first word of "cc", so it can be a program name with args.
3777 set dummy cc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$CC"; then
3784 ac_cv_prog_CC="$CC" # Let the user override the test.
3785 else
3786 ac_prog_rejected=no
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3795 ac_prog_rejected=yes
3796 continue
3798 ac_cv_prog_CC="cc"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 break 2
3802 done
3803 done
3804 IFS=$as_save_IFS
3806 if test $ac_prog_rejected = yes; then
3807 # We found a bogon in the path, so make sure we never use it.
3808 set dummy $ac_cv_prog_CC
3809 shift
3810 if test $# != 0; then
3811 # We chose a different compiler from the bogus one.
3812 # However, it has the same basename, so the bogon will be chosen
3813 # first if we set CC to just the basename; use the full file name.
3814 shift
3815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3820 CC=$ac_cv_prog_CC
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3831 if test -z "$CC"; then
3832 if test -n "$ac_tool_prefix"; then
3833 for ac_prog in cl.exe
3835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_CC+set}" = set; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -n "$CC"; then
3843 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$CC" && break
3873 done
3875 if test -z "$CC"; then
3876 ac_ct_CC=$CC
3877 for ac_prog in cl.exe
3879 # Extract the first word of "$ac_prog", so it can be a program name with args.
3880 set dummy $ac_prog; ac_word=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3885 else
3886 if test -n "$ac_ct_CC"; then
3887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3888 else
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in $PATH
3892 IFS=$as_save_IFS
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3896 ac_cv_prog_ac_ct_CC="$ac_prog"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 break 2
3900 done
3901 done
3902 IFS=$as_save_IFS
3906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3907 if test -n "$ac_ct_CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3909 $as_echo "$ac_ct_CC" >&6; }
3910 else
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3916 test -n "$ac_ct_CC" && break
3917 done
3919 if test "x$ac_ct_CC" = x; then
3920 CC=""
3921 else
3922 case $cross_compiling:$ac_tool_warned in
3923 yes:)
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3926 ac_tool_warned=yes ;;
3927 esac
3928 CC=$ac_ct_CC
3935 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3937 as_fn_error "no acceptable C compiler found in \$PATH
3938 See \`config.log' for more details." "$LINENO" 5; }
3940 # Provide some information about the compiler.
3941 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3942 set X $ac_compile
3943 ac_compiler=$2
3944 for ac_option in --version -v -V -qversion; do
3945 { { ac_try="$ac_compiler $ac_option >&5"
3946 case "(($ac_try" in
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3949 esac
3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951 $as_echo "$ac_try_echo"; } >&5
3952 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3953 ac_status=$?
3954 if test -s conftest.err; then
3955 sed '10a\
3956 ... rest of stderr output deleted ...
3957 10q' conftest.err >conftest.er1
3958 cat conftest.er1 >&5
3959 rm -f conftest.er1 conftest.err
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }
3963 done
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 main ()
3973 return 0;
3975 _ACEOF
3976 # FIXME: Cleanup?
3977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3978 (eval $ac_link) 2>&5
3979 ac_status=$?
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 gcc_no_link=no
3983 else
3984 gcc_no_link=yes
3986 if test x$gcc_no_link = xyes; then
3987 # Setting cross_compile will disable run tests; it will
3988 # also disable AC_CHECK_FILE but that's generally
3989 # correct if we can't link.
3990 cross_compiling=yes
3991 EXEEXT=
3992 else
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3997 main ()
4001 return 0;
4003 _ACEOF
4004 ac_clean_files_save=$ac_clean_files
4005 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4006 # Try to create an executable without -o first, disregard a.out.
4007 # It will help us diagnose broken compilers, and finding out an intuition
4008 # of exeext.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4010 $as_echo_n "checking for C compiler default output file name... " >&6; }
4011 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4013 # The possible output files:
4014 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4016 ac_rmfiles=
4017 for ac_file in $ac_files
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4022 esac
4023 done
4024 rm -f $ac_rmfiles
4026 if { { ac_try="$ac_link_default"
4027 case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link_default") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4038 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4039 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4040 # so that the user can short-circuit this test for compilers unknown to
4041 # Autoconf.
4042 for ac_file in $ac_files ''
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4048 [ab].out )
4049 # We found the default executable, but exeext='' is most
4050 # certainly right.
4051 break;;
4052 *.* )
4053 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4054 then :; else
4055 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 # We set ac_cv_exeext here because the later test for it is not
4058 # safe: cross compilers may not add the suffix if given an `-o'
4059 # argument, so we may need to know it at that point already.
4060 # Even if this section looks crufty: it has the advantage of
4061 # actually working.
4062 break;;
4064 break;;
4065 esac
4066 done
4067 test "$ac_cv_exeext" = no && ac_cv_exeext=
4069 else
4070 ac_file=''
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4073 $as_echo "$ac_file" >&6; }
4074 if test -z "$ac_file"; then :
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 { as_fn_set_status 77
4081 as_fn_error "C compiler cannot create executables
4082 See \`config.log' for more details." "$LINENO" 5; }; }
4084 ac_exeext=$ac_cv_exeext
4086 # Check that the compiler produces executables we can run. If not, either
4087 # the compiler is broken, or we cross compile.
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4089 $as_echo_n "checking whether the C compiler works... " >&6; }
4090 # If not cross compiling, check that we can run a simple program.
4091 if test "$cross_compiling" != yes; then
4092 if { ac_try='./$ac_file'
4093 { { case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_try") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; }; then
4103 cross_compiling=no
4104 else
4105 if test "$cross_compiling" = maybe; then
4106 cross_compiling=yes
4107 else
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot run C compiled programs.
4111 If you meant to cross compile, use \`--host'.
4112 See \`config.log' for more details." "$LINENO" 5; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4117 $as_echo "yes" >&6; }
4119 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4120 ac_clean_files=$ac_clean_files_save
4121 # Check that the compiler produces executables we can run. If not, either
4122 # the compiler is broken, or we cross compile.
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4124 $as_echo_n "checking whether we are cross compiling... " >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4126 $as_echo "$cross_compiling" >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4129 $as_echo_n "checking for suffix of executables... " >&6; }
4130 if { { ac_try="$ac_link"
4131 case "(($ac_try" in
4132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4133 *) ac_try_echo=$ac_try;;
4134 esac
4135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4136 $as_echo "$ac_try_echo"; } >&5
4137 (eval "$ac_link") 2>&5
4138 ac_status=$?
4139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4140 test $ac_status = 0; }; then :
4141 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4142 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4143 # work properly (i.e., refer to `conftest.exe'), while it won't with
4144 # `rm'.
4145 for ac_file in conftest.exe conftest conftest.*; do
4146 test -f "$ac_file" || continue
4147 case $ac_file in
4148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4150 break;;
4151 * ) break;;
4152 esac
4153 done
4154 else
4155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4157 as_fn_error "cannot compute suffix of executables: cannot compile and link
4158 See \`config.log' for more details." "$LINENO" 5; }
4160 rm -f conftest$ac_cv_exeext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4162 $as_echo "$ac_cv_exeext" >&6; }
4164 rm -f conftest.$ac_ext
4165 EXEEXT=$ac_cv_exeext
4166 ac_exeext=$EXEEXT
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4169 $as_echo_n "checking for suffix of object files... " >&6; }
4170 if test "${ac_cv_objext+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 rm -f conftest.o conftest.obj
4185 if { { ac_try="$ac_compile"
4186 case "(($ac_try" in
4187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188 *) ac_try_echo=$ac_try;;
4189 esac
4190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4191 $as_echo "$ac_try_echo"; } >&5
4192 (eval "$ac_compile") 2>&5
4193 ac_status=$?
4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195 test $ac_status = 0; }; then :
4196 for ac_file in conftest.o conftest.obj conftest.*; do
4197 test -f "$ac_file" || continue;
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4200 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4201 break;;
4202 esac
4203 done
4204 else
4205 $as_echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4210 as_fn_error "cannot compute suffix of object files: cannot compile
4211 See \`config.log' for more details." "$LINENO" 5; }
4213 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4216 $as_echo "$ac_cv_objext" >&6; }
4217 OBJEXT=$ac_cv_objext
4218 ac_objext=$OBJEXT
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4220 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4221 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4223 else
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4230 #ifndef __GNUC__
4231 choke me
4232 #endif
4235 return 0;
4237 _ACEOF
4238 if ac_fn_c_try_compile "$LINENO"; then :
4239 ac_compiler_gnu=yes
4240 else
4241 ac_compiler_gnu=no
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4248 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4249 if test $ac_compiler_gnu = yes; then
4250 GCC=yes
4251 else
4252 GCC=
4254 ac_test_CFLAGS=${CFLAGS+set}
4255 ac_save_CFLAGS=$CFLAGS
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4257 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4258 if test "${ac_cv_prog_cc_g+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 ac_save_c_werror_flag=$ac_c_werror_flag
4262 ac_c_werror_flag=yes
4263 ac_cv_prog_cc_g=no
4264 CFLAGS="-g"
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4269 main ()
4273 return 0;
4275 _ACEOF
4276 if ac_fn_c_try_compile "$LINENO"; then :
4277 ac_cv_prog_cc_g=yes
4278 else
4279 CFLAGS=""
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4284 main ()
4288 return 0;
4290 _ACEOF
4291 if ac_fn_c_try_compile "$LINENO"; then :
4293 else
4294 ac_c_werror_flag=$ac_save_c_werror_flag
4295 CFLAGS="-g"
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4300 main ()
4304 return 0;
4306 _ACEOF
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_g=yes
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 ac_c_werror_flag=$ac_save_c_werror_flag
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4318 $as_echo "$ac_cv_prog_cc_g" >&6; }
4319 if test "$ac_test_CFLAGS" = set; then
4320 CFLAGS=$ac_save_CFLAGS
4321 elif test $ac_cv_prog_cc_g = yes; then
4322 if test "$GCC" = yes; then
4323 CFLAGS="-g -O2"
4324 else
4325 CFLAGS="-g"
4327 else
4328 if test "$GCC" = yes; then
4329 CFLAGS="-O2"
4330 else
4331 CFLAGS=
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4335 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4336 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 ac_cv_prog_cc_c89=no
4340 ac_save_CC=$CC
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4343 #include <stdarg.h>
4344 #include <stdio.h>
4345 #include <sys/types.h>
4346 #include <sys/stat.h>
4347 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4348 struct buf { int x; };
4349 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4350 static char *e (p, i)
4351 char **p;
4352 int i;
4354 return p[i];
4356 static char *f (char * (*g) (char **, int), char **p, ...)
4358 char *s;
4359 va_list v;
4360 va_start (v,p);
4361 s = g (p, va_arg (v,int));
4362 va_end (v);
4363 return s;
4366 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4367 function prototypes and stuff, but not '\xHH' hex character constants.
4368 These don't provoke an error unfortunately, instead are silently treated
4369 as 'x'. The following induces an error, until -std is added to get
4370 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4371 array size at least. It's necessary to write '\x00'==0 to get something
4372 that's true only with -std. */
4373 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4375 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4376 inside strings and character constants. */
4377 #define FOO(x) 'x'
4378 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4380 int test (int i, double x);
4381 struct s1 {int (*f) (int a);};
4382 struct s2 {int (*f) (double a);};
4383 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4384 int argc;
4385 char **argv;
4387 main ()
4389 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4391 return 0;
4393 _ACEOF
4394 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4395 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4397 CC="$ac_save_CC $ac_arg"
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399 ac_cv_prog_cc_c89=$ac_arg
4401 rm -f core conftest.err conftest.$ac_objext
4402 test "x$ac_cv_prog_cc_c89" != "xno" && break
4403 done
4404 rm -f conftest.$ac_ext
4405 CC=$ac_save_CC
4408 # AC_CACHE_VAL
4409 case "x$ac_cv_prog_cc_c89" in
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4412 $as_echo "none needed" >&6; } ;;
4413 xno)
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4415 $as_echo "unsupported" >&6; } ;;
4417 CC="$CC $ac_cv_prog_cc_c89"
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4419 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4420 esac
4421 if test "x$ac_cv_prog_cc_c89" != xno; then :
4425 ac_ext=c
4426 ac_cpp='$CPP $CPPFLAGS'
4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 ac_ext=cpp
4432 ac_cpp='$CXXCPP $CPPFLAGS'
4433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4436 if test -z "$CXX"; then
4437 if test -n "$CCC"; then
4438 CXX=$CCC
4439 else
4440 if test -n "$ac_tool_prefix"; then
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if test "${ac_cv_prog_CXX+set}" = set; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CXX"; then
4451 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CXX=$ac_cv_prog_CXX
4471 if test -n "$CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4473 $as_echo "$CXX" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$CXX" && break
4481 done
4483 if test -z "$CXX"; then
4484 ac_ct_CXX=$CXX
4485 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4487 # Extract the first word of "$ac_prog", so it can be a program name with args.
4488 set dummy $ac_prog; ac_word=$2
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490 $as_echo_n "checking for $ac_word... " >&6; }
4491 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 if test -n "$ac_ct_CXX"; then
4495 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4496 else
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498 for as_dir in $PATH
4500 IFS=$as_save_IFS
4501 test -z "$as_dir" && as_dir=.
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4504 ac_cv_prog_ac_ct_CXX="$ac_prog"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 break 2
4508 done
4509 done
4510 IFS=$as_save_IFS
4514 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4515 if test -n "$ac_ct_CXX"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4517 $as_echo "$ac_ct_CXX" >&6; }
4518 else
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4524 test -n "$ac_ct_CXX" && break
4525 done
4527 if test "x$ac_ct_CXX" = x; then
4528 CXX="g++"
4529 else
4530 case $cross_compiling:$ac_tool_warned in
4531 yes:)
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4534 ac_tool_warned=yes ;;
4535 esac
4536 CXX=$ac_ct_CXX
4542 # Provide some information about the compiler.
4543 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4544 set X $ac_compile
4545 ac_compiler=$2
4546 for ac_option in --version -v -V -qversion; do
4547 { { ac_try="$ac_compiler $ac_option >&5"
4548 case "(($ac_try" in
4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
4551 esac
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4555 ac_status=$?
4556 if test -s conftest.err; then
4557 sed '10a\
4558 ... rest of stderr output deleted ...
4559 10q' conftest.err >conftest.er1
4560 cat conftest.er1 >&5
4561 rm -f conftest.er1 conftest.err
4563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4564 test $ac_status = 0; }
4565 done
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4568 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4569 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4576 main ()
4578 #ifndef __GNUC__
4579 choke me
4580 #endif
4583 return 0;
4585 _ACEOF
4586 if ac_fn_cxx_try_compile "$LINENO"; then :
4587 ac_compiler_gnu=yes
4588 else
4589 ac_compiler_gnu=no
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4596 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4597 if test $ac_compiler_gnu = yes; then
4598 GXX=yes
4599 else
4600 GXX=
4602 ac_test_CXXFLAGS=${CXXFLAGS+set}
4603 ac_save_CXXFLAGS=$CXXFLAGS
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4605 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4606 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4610 ac_cxx_werror_flag=yes
4611 ac_cv_prog_cxx_g=no
4612 CXXFLAGS="-g"
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4617 main ()
4621 return 0;
4623 _ACEOF
4624 if ac_fn_cxx_try_compile "$LINENO"; then :
4625 ac_cv_prog_cxx_g=yes
4626 else
4627 CXXFLAGS=""
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4632 main ()
4636 return 0;
4638 _ACEOF
4639 if ac_fn_cxx_try_compile "$LINENO"; then :
4641 else
4642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4643 CXXFLAGS="-g"
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4648 main ()
4652 return 0;
4654 _ACEOF
4655 if ac_fn_cxx_try_compile "$LINENO"; then :
4656 ac_cv_prog_cxx_g=yes
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4666 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4667 if test "$ac_test_CXXFLAGS" = set; then
4668 CXXFLAGS=$ac_save_CXXFLAGS
4669 elif test $ac_cv_prog_cxx_g = yes; then
4670 if test "$GXX" = yes; then
4671 CXXFLAGS="-g -O2"
4672 else
4673 CXXFLAGS="-g"
4675 else
4676 if test "$GXX" = yes; then
4677 CXXFLAGS="-O2"
4678 else
4679 CXXFLAGS=
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4688 CXXFLAGS="$save_CXXFLAGS"
4690 # Runs configure.host, and assorted other critical bits. Sets
4691 # up critical shell variables.
4693 ac_ext=c
4694 ac_cpp='$CPP $CPPFLAGS'
4695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4699 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4700 # On Suns, sometimes $CPP names a directory.
4701 if test -n "$CPP" && test -d "$CPP"; then
4702 CPP=
4704 if test -z "$CPP"; then
4705 if test "${ac_cv_prog_CPP+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 # Double quotes because CPP needs to be expanded
4709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4711 ac_preproc_ok=false
4712 for ac_c_preproc_warn_flag in '' yes
4714 # Use a header file that comes with gcc, so configuring glibc
4715 # with a fresh cross-compiler works.
4716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4717 # <limits.h> exists even on freestanding compilers.
4718 # On the NeXT, cc -E runs the code through the compiler's parser,
4719 # not just through cpp. "Syntax error" is here to catch this case.
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4722 #ifdef __STDC__
4723 # include <limits.h>
4724 #else
4725 # include <assert.h>
4726 #endif
4727 Syntax error
4728 _ACEOF
4729 if ac_fn_c_try_cpp "$LINENO"; then :
4731 else
4732 # Broken: fails on valid input.
4733 continue
4735 rm -f conftest.err conftest.$ac_ext
4737 # OK, works on sane cases. Now check whether nonexistent headers
4738 # can be detected and how.
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4741 #include <ac_nonexistent.h>
4742 _ACEOF
4743 if ac_fn_c_try_cpp "$LINENO"; then :
4744 # Broken: success on invalid input.
4745 continue
4746 else
4747 # Passes both tests.
4748 ac_preproc_ok=:
4749 break
4751 rm -f conftest.err conftest.$ac_ext
4753 done
4754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4755 rm -f conftest.err conftest.$ac_ext
4756 if $ac_preproc_ok; then :
4757 break
4760 done
4761 ac_cv_prog_CPP=$CPP
4764 CPP=$ac_cv_prog_CPP
4765 else
4766 ac_cv_prog_CPP=$CPP
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4769 $as_echo "$CPP" >&6; }
4770 ac_preproc_ok=false
4771 for ac_c_preproc_warn_flag in '' yes
4773 # Use a header file that comes with gcc, so configuring glibc
4774 # with a fresh cross-compiler works.
4775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4776 # <limits.h> exists even on freestanding compilers.
4777 # On the NeXT, cc -E runs the code through the compiler's parser,
4778 # not just through cpp. "Syntax error" is here to catch this case.
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4781 #ifdef __STDC__
4782 # include <limits.h>
4783 #else
4784 # include <assert.h>
4785 #endif
4786 Syntax error
4787 _ACEOF
4788 if ac_fn_c_try_cpp "$LINENO"; then :
4790 else
4791 # Broken: fails on valid input.
4792 continue
4794 rm -f conftest.err conftest.$ac_ext
4796 # OK, works on sane cases. Now check whether nonexistent headers
4797 # can be detected and how.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <ac_nonexistent.h>
4801 _ACEOF
4802 if ac_fn_c_try_cpp "$LINENO"; then :
4803 # Broken: success on invalid input.
4804 continue
4805 else
4806 # Passes both tests.
4807 ac_preproc_ok=:
4808 break
4810 rm -f conftest.err conftest.$ac_ext
4812 done
4813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4814 rm -f conftest.err conftest.$ac_ext
4815 if $ac_preproc_ok; then :
4817 else
4818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4820 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4821 See \`config.log' for more details." "$LINENO" 5; }
4824 ac_ext=c
4825 ac_cpp='$CPP $CPPFLAGS'
4826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4832 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4833 if test "${ac_cv_path_GREP+set}" = set; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 if test -z "$GREP"; then
4837 ac_path_GREP_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in grep ggrep; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4847 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4848 # Check for GNU ac_path_GREP and select it if it is found.
4849 # Check for GNU $ac_path_GREP
4850 case `"$ac_path_GREP" --version 2>&1` in
4851 *GNU*)
4852 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4854 ac_count=0
4855 $as_echo_n 0123456789 >"conftest.in"
4856 while :
4858 cat "conftest.in" "conftest.in" >"conftest.tmp"
4859 mv "conftest.tmp" "conftest.in"
4860 cp "conftest.in" "conftest.nl"
4861 $as_echo 'GREP' >> "conftest.nl"
4862 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_GREP="$ac_path_GREP"
4868 ac_path_GREP_max=$ac_count
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4872 done
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4874 esac
4876 $ac_path_GREP_found && break 3
4877 done
4878 done
4879 done
4880 IFS=$as_save_IFS
4881 if test -z "$ac_cv_path_GREP"; then
4882 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 else
4885 ac_cv_path_GREP=$GREP
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4890 $as_echo "$ac_cv_path_GREP" >&6; }
4891 GREP="$ac_cv_path_GREP"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4895 $as_echo_n "checking for egrep... " >&6; }
4896 if test "${ac_cv_path_EGREP+set}" = set; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4900 then ac_cv_path_EGREP="$GREP -E"
4901 else
4902 if test -z "$EGREP"; then
4903 ac_path_EGREP_found=false
4904 # Loop through the user's path and test for each of PROGNAME-LIST
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_prog in egrep; do
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4913 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4914 # Check for GNU ac_path_EGREP and select it if it is found.
4915 # Check for GNU $ac_path_EGREP
4916 case `"$ac_path_EGREP" --version 2>&1` in
4917 *GNU*)
4918 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4920 ac_count=0
4921 $as_echo_n 0123456789 >"conftest.in"
4922 while :
4924 cat "conftest.in" "conftest.in" >"conftest.tmp"
4925 mv "conftest.tmp" "conftest.in"
4926 cp "conftest.in" "conftest.nl"
4927 $as_echo 'EGREP' >> "conftest.nl"
4928 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4930 as_fn_arith $ac_count + 1 && ac_count=$as_val
4931 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4932 # Best one so far, save it but keep looking for a better one
4933 ac_cv_path_EGREP="$ac_path_EGREP"
4934 ac_path_EGREP_max=$ac_count
4936 # 10*(2^10) chars as input seems more than enough
4937 test $ac_count -gt 10 && break
4938 done
4939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4940 esac
4942 $ac_path_EGREP_found && break 3
4943 done
4944 done
4945 done
4946 IFS=$as_save_IFS
4947 if test -z "$ac_cv_path_EGREP"; then
4948 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4950 else
4951 ac_cv_path_EGREP=$EGREP
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4957 $as_echo "$ac_cv_path_EGREP" >&6; }
4958 EGREP="$ac_cv_path_EGREP"
4962 # Keep these sync'd with the list in Makefile.am. The first provides an
4963 # expandable list at autoconf time; the second provides an expandable list
4964 # (i.e., shell variable) at configure time.
4966 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4968 # These need to be absolute paths, yet at the same time need to
4969 # canonicalize only relative paths, because then amd will not unmount
4970 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4971 glibcxx_builddir=`${PWDCMD-pwd}`
4972 case $srcdir in
4973 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4974 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4975 esac
4976 toplevel_builddir=${glibcxx_builddir}/..
4977 toplevel_srcdir=${glibcxx_srcdir}/..
4983 # We use these options to decide which functions to include. They are
4984 # set from the top level.
4986 # Check whether --with-target-subdir was given.
4987 if test "${with_target_subdir+set}" = set; then :
4988 withval=$with_target_subdir;
4993 # Check whether --with-cross-host was given.
4994 if test "${with_cross_host+set}" = set; then :
4995 withval=$with_cross_host;
5000 # Check whether --with-newlib was given.
5001 if test "${with_newlib+set}" = set; then :
5002 withval=$with_newlib;
5006 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5007 # available). Uncomment the next line to force a particular method.
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5009 $as_echo_n "checking whether ln -s works... " >&6; }
5010 LN_S=$as_ln_s
5011 if test "$LN_S" = "ln -s"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5016 $as_echo "no, using $LN_S" >&6; }
5019 #LN_S='cp -p'
5021 if test -n "$ac_tool_prefix"; then
5022 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5023 set dummy ${ac_tool_prefix}as; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_AS+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$AS"; then
5030 ac_cv_prog_AS="$AS" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_AS="${ac_tool_prefix}as"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 AS=$ac_cv_prog_AS
5050 if test -n "$AS"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5052 $as_echo "$AS" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5060 if test -z "$ac_cv_prog_AS"; then
5061 ac_ct_AS=$AS
5062 # Extract the first word of "as", so it can be a program name with args.
5063 set dummy as; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5067 $as_echo_n "(cached) " >&6
5068 else
5069 if test -n "$ac_ct_AS"; then
5070 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5071 else
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073 for as_dir in $PATH
5075 IFS=$as_save_IFS
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_ac_ct_AS="as"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 break 2
5083 done
5084 done
5085 IFS=$as_save_IFS
5089 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5090 if test -n "$ac_ct_AS"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5092 $as_echo "$ac_ct_AS" >&6; }
5093 else
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5098 if test "x$ac_ct_AS" = x; then
5099 AS=""
5100 else
5101 case $cross_compiling:$ac_tool_warned in
5102 yes:)
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105 ac_tool_warned=yes ;;
5106 esac
5107 AS=$ac_ct_AS
5109 else
5110 AS="$ac_cv_prog_AS"
5113 if test -n "$ac_tool_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5115 set dummy ${ac_tool_prefix}ar; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_AR+set}" = set; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$AR"; then
5122 ac_cv_prog_AR="$AR" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_AR="${ac_tool_prefix}ar"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 AR=$ac_cv_prog_AR
5142 if test -n "$AR"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5144 $as_echo "$AR" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5152 if test -z "$ac_cv_prog_AR"; then
5153 ac_ct_AR=$AR
5154 # Extract the first word of "ar", so it can be a program name with args.
5155 set dummy ar; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$ac_ct_AR"; then
5162 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5171 ac_cv_prog_ac_ct_AR="ar"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5182 if test -n "$ac_ct_AR"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5184 $as_echo "$ac_ct_AR" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_ct_AR" = x; then
5191 AR=""
5192 else
5193 case $cross_compiling:$ac_tool_warned in
5194 yes:)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5198 esac
5199 AR=$ac_ct_AR
5201 else
5202 AR="$ac_cv_prog_AR"
5205 if test -n "$ac_tool_prefix"; then
5206 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5207 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 if test -n "$RANLIB"; then
5214 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5215 else
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH
5219 IFS=$as_save_IFS
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 break 2
5227 done
5228 done
5229 IFS=$as_save_IFS
5233 RANLIB=$ac_cv_prog_RANLIB
5234 if test -n "$RANLIB"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5236 $as_echo "$RANLIB" >&6; }
5237 else
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5244 if test -z "$ac_cv_prog_RANLIB"; then
5245 ac_ct_RANLIB=$RANLIB
5246 # Extract the first word of "ranlib", so it can be a program name with args.
5247 set dummy ranlib; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5251 $as_echo_n "(cached) " >&6
5252 else
5253 if test -n "$ac_ct_RANLIB"; then
5254 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5255 else
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 for as_dir in $PATH
5259 IFS=$as_save_IFS
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_ac_ct_RANLIB="ranlib"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 break 2
5267 done
5268 done
5269 IFS=$as_save_IFS
5273 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5274 if test -n "$ac_ct_RANLIB"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5276 $as_echo "$ac_ct_RANLIB" >&6; }
5277 else
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5282 if test "x$ac_ct_RANLIB" = x; then
5283 RANLIB="ranlib-not-found-in-path-error"
5284 else
5285 case $cross_compiling:$ac_tool_warned in
5286 yes:)
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5289 ac_tool_warned=yes ;;
5290 esac
5291 RANLIB=$ac_ct_RANLIB
5293 else
5294 RANLIB="$ac_cv_prog_RANLIB"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5300 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5301 # Check whether --enable-maintainer-mode was given.
5302 if test "${enable_maintainer_mode+set}" = set; then :
5303 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5304 else
5305 USE_MAINTAINER_MODE=no
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5309 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5310 if test $USE_MAINTAINER_MODE = yes; then
5311 MAINTAINER_MODE_TRUE=
5312 MAINTAINER_MODE_FALSE='#'
5313 else
5314 MAINTAINER_MODE_TRUE='#'
5315 MAINTAINER_MODE_FALSE=
5318 MAINT=$MAINTAINER_MODE_TRUE
5322 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5323 # which are themselves conditionally expanded.
5324 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5325 ## other macros from doing the same. This should be automated.) -pme
5327 # Check for C library flavor since GNU/Linux platforms use different
5328 # configuration directories depending on the C library in use.
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5332 #include <stdio.h>
5333 #if __UCLIBC__
5334 _using_uclibc
5335 #endif
5337 _ACEOF
5338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5339 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5340 uclibc=yes
5341 else
5342 uclibc=no
5344 rm -f conftest*
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5350 #include <stdio.h>
5351 #if __BIONIC__
5352 _using_bionic
5353 #endif
5355 _ACEOF
5356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5357 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5358 bionic=yes
5359 else
5360 bionic=no
5362 rm -f conftest*
5365 # Find platform-specific directories containing configuration info.
5366 # Also possibly modify flags used elsewhere, as needed by the platform.
5368 . $glibcxx_srcdir/configure.host
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5370 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5372 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5376 # Libtool setup.
5377 if test "x${with_newlib}" != "xyes"; then
5378 enable_dlopen=yes
5383 case `pwd` in
5384 *\ * | *\ *)
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5386 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5387 esac
5391 macro_version='2.2.7a'
5392 macro_revision='1.3134'
5406 ltmain="$ac_aux_dir/ltmain.sh"
5408 # Backslashify metacharacters that are still active within
5409 # double-quoted strings.
5410 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5412 # Same as above, but do not quote variable references.
5413 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5415 # Sed substitution to delay expansion of an escaped shell variable in a
5416 # double_quote_subst'ed string.
5417 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5419 # Sed substitution to delay expansion of an escaped single quote.
5420 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5422 # Sed substitution to avoid accidental globbing in evaled expressions
5423 no_glob_subst='s/\*/\\\*/g'
5425 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5426 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5427 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5430 $as_echo_n "checking how to print strings... " >&6; }
5431 # Test print first, because it will be a builtin if present.
5432 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5433 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5434 ECHO='print -r --'
5435 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='printf %s\n'
5437 else
5438 # Use this function as a fallback that always works.
5439 func_fallback_echo ()
5441 eval 'cat <<_LTECHO_EOF
5443 _LTECHO_EOF'
5445 ECHO='func_fallback_echo'
5448 # func_echo_all arg...
5449 # Invoke $ECHO with all args, space-separated.
5450 func_echo_all ()
5452 $ECHO ""
5455 case "$ECHO" in
5456 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5457 $as_echo "printf" >&6; } ;;
5458 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5459 $as_echo "print -r" >&6; } ;;
5460 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5461 $as_echo "cat" >&6; } ;;
5462 esac
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5478 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5479 if test "${ac_cv_path_SED+set}" = set; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5483 for ac_i in 1 2 3 4 5 6 7; do
5484 ac_script="$ac_script$as_nl$ac_script"
5485 done
5486 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5487 { ac_script=; unset ac_script;}
5488 if test -z "$SED"; then
5489 ac_path_SED_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in sed gsed; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5500 # Check for GNU ac_path_SED and select it if it is found.
5501 # Check for GNU $ac_path_SED
5502 case `"$ac_path_SED" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo '' >> "conftest.nl"
5514 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_SED_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_SED="$ac_path_SED"
5520 ac_path_SED_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_SED_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_SED"; then
5534 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5536 else
5537 ac_cv_path_SED=$SED
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5542 $as_echo "$ac_cv_path_SED" >&6; }
5543 SED="$ac_cv_path_SED"
5544 rm -f conftest.sed
5546 test -z "$SED" && SED=sed
5547 Xsed="$SED -e 1s/^X//"
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5560 $as_echo_n "checking for fgrep... " >&6; }
5561 if test "${ac_cv_path_FGREP+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5565 then ac_cv_path_FGREP="$GREP -F"
5566 else
5567 if test -z "$FGREP"; then
5568 ac_path_FGREP_found=false
5569 # Loop through the user's path and test for each of PROGNAME-LIST
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_prog in fgrep; do
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5578 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5579 # Check for GNU ac_path_FGREP and select it if it is found.
5580 # Check for GNU $ac_path_FGREP
5581 case `"$ac_path_FGREP" --version 2>&1` in
5582 *GNU*)
5583 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5585 ac_count=0
5586 $as_echo_n 0123456789 >"conftest.in"
5587 while :
5589 cat "conftest.in" "conftest.in" >"conftest.tmp"
5590 mv "conftest.tmp" "conftest.in"
5591 cp "conftest.in" "conftest.nl"
5592 $as_echo 'FGREP' >> "conftest.nl"
5593 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5595 as_fn_arith $ac_count + 1 && ac_count=$as_val
5596 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5597 # Best one so far, save it but keep looking for a better one
5598 ac_cv_path_FGREP="$ac_path_FGREP"
5599 ac_path_FGREP_max=$ac_count
5601 # 10*(2^10) chars as input seems more than enough
5602 test $ac_count -gt 10 && break
5603 done
5604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5605 esac
5607 $ac_path_FGREP_found && break 3
5608 done
5609 done
5610 done
5611 IFS=$as_save_IFS
5612 if test -z "$ac_cv_path_FGREP"; then
5613 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615 else
5616 ac_cv_path_FGREP=$FGREP
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5622 $as_echo "$ac_cv_path_FGREP" >&6; }
5623 FGREP="$ac_cv_path_FGREP"
5626 test -z "$GREP" && GREP=grep
5646 # Check whether --with-gnu-ld was given.
5647 if test "${with_gnu_ld+set}" = set; then :
5648 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5649 else
5650 with_gnu_ld=no
5653 ac_prog=ld
5654 if test "$GCC" = yes; then
5655 # Check if gcc -print-prog-name=ld gives a path.
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5657 $as_echo_n "checking for ld used by $CC... " >&6; }
5658 case $host in
5659 *-*-mingw*)
5660 # gcc leaves a trailing carriage return which upsets mingw
5661 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5664 esac
5665 case $ac_prog in
5666 # Accept absolute paths.
5667 [\\/]* | ?:[\\/]*)
5668 re_direlt='/[^/][^/]*/\.\./'
5669 # Canonicalize the pathname of ld
5670 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5671 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5672 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5673 done
5674 test -z "$LD" && LD="$ac_prog"
5677 # If it fails, then pretend we aren't using GCC.
5678 ac_prog=ld
5681 # If it is relative, then search for the first ld in PATH.
5682 with_gnu_ld=unknown
5684 esac
5685 elif test "$with_gnu_ld" = yes; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5687 $as_echo_n "checking for GNU ld... " >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5690 $as_echo_n "checking for non-GNU ld... " >&6; }
5692 if test "${lt_cv_path_LD+set}" = set; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -z "$LD"; then
5696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5697 for ac_dir in $PATH; do
5698 IFS="$lt_save_ifs"
5699 test -z "$ac_dir" && ac_dir=.
5700 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5701 lt_cv_path_LD="$ac_dir/$ac_prog"
5702 # Check to see if the program is GNU ld. I'd rather use --version,
5703 # but apparently some variants of GNU ld only accept -v.
5704 # Break only if it was the GNU/non-GNU ld that we prefer.
5705 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5706 *GNU* | *'with BFD'*)
5707 test "$with_gnu_ld" != no && break
5710 test "$with_gnu_ld" != yes && break
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 else
5717 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5721 LD="$lt_cv_path_LD"
5722 if test -n "$LD"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5724 $as_echo "$LD" >&6; }
5725 else
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5729 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5731 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5732 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5736 case `$LD -v 2>&1 </dev/null` in
5737 *GNU* | *'with BFD'*)
5738 lt_cv_prog_gnu_ld=yes
5741 lt_cv_prog_gnu_ld=no
5743 esac
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5746 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5747 with_gnu_ld=$lt_cv_prog_gnu_ld
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5758 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5759 if test "${lt_cv_path_NM+set}" = set; then :
5760 $as_echo_n "(cached) " >&6
5761 else
5762 if test -n "$NM"; then
5763 # Let the user override the test.
5764 lt_cv_path_NM="$NM"
5765 else
5766 lt_nm_to_check="${ac_tool_prefix}nm"
5767 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5768 lt_nm_to_check="$lt_nm_to_check nm"
5770 for lt_tmp_nm in $lt_nm_to_check; do
5771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5772 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5773 IFS="$lt_save_ifs"
5774 test -z "$ac_dir" && ac_dir=.
5775 tmp_nm="$ac_dir/$lt_tmp_nm"
5776 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5777 # Check to see if the nm accepts a BSD-compat flag.
5778 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5779 # nm: unknown option "B" ignored
5780 # Tru64's nm complains that /dev/null is an invalid object file
5781 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5782 */dev/null* | *'Invalid file or object type'*)
5783 lt_cv_path_NM="$tmp_nm -B"
5784 break
5787 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5788 */dev/null*)
5789 lt_cv_path_NM="$tmp_nm -p"
5790 break
5793 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5794 continue # so that we can try to find one that supports BSD flags
5796 esac
5798 esac
5800 done
5801 IFS="$lt_save_ifs"
5802 done
5803 : ${lt_cv_path_NM=no}
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5807 $as_echo "$lt_cv_path_NM" >&6; }
5808 if test "$lt_cv_path_NM" != "no"; then
5809 NM="$lt_cv_path_NM"
5810 else
5811 # Didn't find any BSD compatible name lister, look for dumpbin.
5812 if test -n "$DUMPBIN"; then :
5813 # Let the user override the test.
5814 else
5815 if test -n "$ac_tool_prefix"; then
5816 for ac_prog in dumpbin "link -dump"
5818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$DUMPBIN"; then
5826 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5835 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 DUMPBIN=$ac_cv_prog_DUMPBIN
5846 if test -n "$DUMPBIN"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5848 $as_echo "$DUMPBIN" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$DUMPBIN" && break
5856 done
5858 if test -z "$DUMPBIN"; then
5859 ac_ct_DUMPBIN=$DUMPBIN
5860 for ac_prog in dumpbin "link -dump"
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy $ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$ac_ct_DUMPBIN"; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5890 if test -n "$ac_ct_DUMPBIN"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5892 $as_echo "$ac_ct_DUMPBIN" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ac_ct_DUMPBIN" && break
5900 done
5902 if test "x$ac_ct_DUMPBIN" = x; then
5903 DUMPBIN=":"
5904 else
5905 case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned=yes ;;
5910 esac
5911 DUMPBIN=$ac_ct_DUMPBIN
5915 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5916 *COFF*)
5917 DUMPBIN="$DUMPBIN -symbols"
5920 DUMPBIN=:
5922 esac
5925 if test "$DUMPBIN" != ":"; then
5926 NM="$DUMPBIN"
5929 test -z "$NM" && NM=nm
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5937 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5938 if test "${lt_cv_nm_interface+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 lt_cv_nm_interface="BSD nm"
5942 echo "int some_variable = 0;" > conftest.$ac_ext
5943 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5944 (eval "$ac_compile" 2>conftest.err)
5945 cat conftest.err >&5
5946 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5947 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5948 cat conftest.err >&5
5949 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5950 cat conftest.out >&5
5951 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5952 lt_cv_nm_interface="MS dumpbin"
5954 rm -f conftest*
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5957 $as_echo "$lt_cv_nm_interface" >&6; }
5959 # find the maximum length of command line arguments
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5961 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5962 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5966 teststring="ABCD"
5968 case $build_os in
5969 msdosdjgpp*)
5970 # On DJGPP, this test can blow up pretty badly due to problems in libc
5971 # (any single argument exceeding 2000 bytes causes a buffer overrun
5972 # during glob expansion). Even if it were fixed, the result of this
5973 # check would be larger than it should be.
5974 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5977 gnu*)
5978 # Under GNU Hurd, this test is not required because there is
5979 # no limit to the length of command line arguments.
5980 # Libtool will interpret -1 as no limit whatsoever
5981 lt_cv_sys_max_cmd_len=-1;
5984 cygwin* | mingw* | cegcc*)
5985 # On Win9x/ME, this test blows up -- it succeeds, but takes
5986 # about 5 minutes as the teststring grows exponentially.
5987 # Worse, since 9x/ME are not pre-emptively multitasking,
5988 # you end up with a "frozen" computer, even though with patience
5989 # the test eventually succeeds (with a max line length of 256k).
5990 # Instead, let's just punt: use the minimum linelength reported by
5991 # all of the supported platforms: 8192 (on NT/2K/XP).
5992 lt_cv_sys_max_cmd_len=8192;
5995 mint*)
5996 # On MiNT this can take a long time and run out of memory.
5997 lt_cv_sys_max_cmd_len=8192;
6000 amigaos*)
6001 # On AmigaOS with pdksh, this test takes hours, literally.
6002 # So we just punt and use a minimum line length of 8192.
6003 lt_cv_sys_max_cmd_len=8192;
6006 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6007 # This has been around since 386BSD, at least. Likely further.
6008 if test -x /sbin/sysctl; then
6009 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6010 elif test -x /usr/sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6012 else
6013 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6015 # And add a safety zone
6016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020 interix*)
6021 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6022 lt_cv_sys_max_cmd_len=196608
6025 osf*)
6026 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6027 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6028 # nice to cause kernel panics so lets avoid the loop below.
6029 # First set a reasonable default.
6030 lt_cv_sys_max_cmd_len=16384
6032 if test -x /sbin/sysconfig; then
6033 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6034 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6035 esac
6038 sco3.2v5*)
6039 lt_cv_sys_max_cmd_len=102400
6041 sysv5* | sco5v6* | sysv4.2uw2*)
6042 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6043 if test -n "$kargmax"; then
6044 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6045 else
6046 lt_cv_sys_max_cmd_len=32768
6050 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6051 if test -n "$lt_cv_sys_max_cmd_len"; then
6052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6053 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6054 else
6055 # Make teststring a little bigger before we do anything with it.
6056 # a 1K string should be a reasonable start.
6057 for i in 1 2 3 4 5 6 7 8 ; do
6058 teststring=$teststring$teststring
6059 done
6060 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6061 # If test is not a shell built-in, we'll probably end up computing a
6062 # maximum length that is only half of the actual maximum length, but
6063 # we can't tell.
6064 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6065 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6066 test $i != 17 # 1/2 MB should be enough
6068 i=`expr $i + 1`
6069 teststring=$teststring$teststring
6070 done
6071 # Only check the string length outside the loop.
6072 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6073 teststring=
6074 # Add a significant safety factor because C++ compilers can tack on
6075 # massive amounts of additional arguments before passing them to the
6076 # linker. It appears as though 1/2 is a usable value.
6077 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6080 esac
6084 if test -n $lt_cv_sys_max_cmd_len ; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6086 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6089 $as_echo "none" >&6; }
6091 max_cmd_len=$lt_cv_sys_max_cmd_len
6098 : ${CP="cp -f"}
6099 : ${MV="mv -f"}
6100 : ${RM="rm -f"}
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6103 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6104 # Try some XSI features
6105 xsi_shell=no
6106 ( _lt_dummy="a/b/c"
6107 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6108 = c,a/b,, \
6109 && eval 'test $(( 1 + 1 )) -eq 2 \
6110 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6111 && xsi_shell=yes
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6113 $as_echo "$xsi_shell" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6117 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6118 lt_shell_append=no
6119 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6120 >/dev/null 2>&1 \
6121 && lt_shell_append=yes
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6123 $as_echo "$lt_shell_append" >&6; }
6126 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6127 lt_unset=unset
6128 else
6129 lt_unset=false
6136 # test EBCDIC or ASCII
6137 case `echo X|tr X '\101'` in
6138 A) # ASCII based system
6139 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6140 lt_SP2NL='tr \040 \012'
6141 lt_NL2SP='tr \015\012 \040\040'
6143 *) # EBCDIC based system
6144 lt_SP2NL='tr \100 \n'
6145 lt_NL2SP='tr \r\n \100\100'
6147 esac
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6158 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6159 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6160 $as_echo_n "(cached) " >&6
6161 else
6162 lt_cv_ld_reload_flag='-r'
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6165 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6166 reload_flag=$lt_cv_ld_reload_flag
6167 case $reload_flag in
6168 "" | " "*) ;;
6169 *) reload_flag=" $reload_flag" ;;
6170 esac
6171 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6172 case $host_os in
6173 darwin*)
6174 if test "$GCC" = yes; then
6175 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6176 else
6177 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6180 esac
6190 if test -n "$ac_tool_prefix"; then
6191 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6192 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$OBJDUMP"; then
6199 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6208 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 OBJDUMP=$ac_cv_prog_OBJDUMP
6219 if test -n "$OBJDUMP"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6221 $as_echo "$OBJDUMP" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6229 if test -z "$ac_cv_prog_OBJDUMP"; then
6230 ac_ct_OBJDUMP=$OBJDUMP
6231 # Extract the first word of "objdump", so it can be a program name with args.
6232 set dummy objdump; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 if test -n "$ac_ct_OBJDUMP"; then
6239 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6240 else
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 for as_dir in $PATH
6244 IFS=$as_save_IFS
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 break 2
6252 done
6253 done
6254 IFS=$as_save_IFS
6258 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6259 if test -n "$ac_ct_OBJDUMP"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6261 $as_echo "$ac_ct_OBJDUMP" >&6; }
6262 else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6267 if test "x$ac_ct_OBJDUMP" = x; then
6268 OBJDUMP="false"
6269 else
6270 case $cross_compiling:$ac_tool_warned in
6271 yes:)
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6274 ac_tool_warned=yes ;;
6275 esac
6276 OBJDUMP=$ac_ct_OBJDUMP
6278 else
6279 OBJDUMP="$ac_cv_prog_OBJDUMP"
6282 test -z "$OBJDUMP" && OBJDUMP=objdump
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6293 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6294 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 lt_cv_file_magic_cmd='$MAGIC_CMD'
6298 lt_cv_file_magic_test_file=
6299 lt_cv_deplibs_check_method='unknown'
6300 # Need to set the preceding variable on all platforms that support
6301 # interlibrary dependencies.
6302 # 'none' -- dependencies not supported.
6303 # `unknown' -- same as none, but documents that we really don't know.
6304 # 'pass_all' -- all dependencies passed with no checks.
6305 # 'test_compile' -- check by making test program.
6306 # 'file_magic [[regex]]' -- check by looking for files in library path
6307 # which responds to the $file_magic_cmd with a given extended regex.
6308 # If you have `file' or equivalent on your system and you're not sure
6309 # whether `pass_all' will *always* work, you probably want this one.
6311 case $host_os in
6312 aix[4-9]*)
6313 lt_cv_deplibs_check_method=pass_all
6316 beos*)
6317 lt_cv_deplibs_check_method=pass_all
6320 bsdi[45]*)
6321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6322 lt_cv_file_magic_cmd='/usr/bin/file -L'
6323 lt_cv_file_magic_test_file=/shlib/libc.so
6326 cygwin*)
6327 # func_win32_libid is a shell function defined in ltmain.sh
6328 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6329 lt_cv_file_magic_cmd='func_win32_libid'
6332 mingw* | pw32*)
6333 # Base MSYS/MinGW do not provide the 'file' command needed by
6334 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6335 # unless we find 'file', for example because we are cross-compiling.
6336 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6337 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6338 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6339 lt_cv_file_magic_cmd='func_win32_libid'
6340 else
6341 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6342 lt_cv_file_magic_cmd='$OBJDUMP -f'
6346 cegcc*)
6347 # use the weaker test based on 'objdump'. See mingw*.
6348 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6349 lt_cv_file_magic_cmd='$OBJDUMP -f'
6352 darwin* | rhapsody*)
6353 lt_cv_deplibs_check_method=pass_all
6356 freebsd* | dragonfly*)
6357 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6358 case $host_cpu in
6359 i*86 )
6360 # Not sure whether the presence of OpenBSD here was a mistake.
6361 # Let's accept both of them until this is cleared up.
6362 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6363 lt_cv_file_magic_cmd=/usr/bin/file
6364 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6366 esac
6367 else
6368 lt_cv_deplibs_check_method=pass_all
6372 gnu*)
6373 lt_cv_deplibs_check_method=pass_all
6376 haiku*)
6377 lt_cv_deplibs_check_method=pass_all
6380 hpux10.20* | hpux11*)
6381 lt_cv_file_magic_cmd=/usr/bin/file
6382 case $host_cpu in
6383 ia64*)
6384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6385 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6387 hppa*64*)
6388 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]'
6389 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6392 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6393 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6395 esac
6398 interix[3-9]*)
6399 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6400 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6403 irix5* | irix6* | nonstopux*)
6404 case $LD in
6405 *-32|*"-32 ") libmagic=32-bit;;
6406 *-n32|*"-n32 ") libmagic=N32;;
6407 *-64|*"-64 ") libmagic=64-bit;;
6408 *) libmagic=never-match;;
6409 esac
6410 lt_cv_deplibs_check_method=pass_all
6413 # This must be Linux ELF.
6414 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6415 lt_cv_deplibs_check_method=pass_all
6418 netbsd*)
6419 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6420 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6421 else
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6426 newos6*)
6427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6428 lt_cv_file_magic_cmd=/usr/bin/file
6429 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6432 *nto* | *qnx*)
6433 lt_cv_deplibs_check_method=pass_all
6436 openbsd*)
6437 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6438 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6439 else
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6444 osf3* | osf4* | osf5*)
6445 lt_cv_deplibs_check_method=pass_all
6448 rdos*)
6449 lt_cv_deplibs_check_method=pass_all
6452 solaris*)
6453 lt_cv_deplibs_check_method=pass_all
6456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6457 lt_cv_deplibs_check_method=pass_all
6460 sysv4 | sysv4.3*)
6461 case $host_vendor in
6462 motorola)
6463 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]'
6464 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6466 ncr)
6467 lt_cv_deplibs_check_method=pass_all
6469 sequent)
6470 lt_cv_file_magic_cmd='/bin/file'
6471 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6473 sni)
6474 lt_cv_file_magic_cmd='/bin/file'
6475 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6476 lt_cv_file_magic_test_file=/lib/libc.so
6478 siemens)
6479 lt_cv_deplibs_check_method=pass_all
6482 lt_cv_deplibs_check_method=pass_all
6484 esac
6487 tpf*)
6488 lt_cv_deplibs_check_method=pass_all
6490 esac
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6494 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6495 file_magic_cmd=$lt_cv_file_magic_cmd
6496 deplibs_check_method=$lt_cv_deplibs_check_method
6497 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}ar; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_AR+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$AR"; then
6519 ac_cv_prog_AR="$AR" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_AR="${ac_tool_prefix}ar"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 AR=$ac_cv_prog_AR
6539 if test -n "$AR"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6541 $as_echo "$AR" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if test -z "$ac_cv_prog_AR"; then
6550 ac_ct_AR=$AR
6551 # Extract the first word of "ar", so it can be a program name with args.
6552 set dummy ar; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 if test -n "$ac_ct_AR"; then
6559 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_ac_ct_AR="ar"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 break 2
6572 done
6573 done
6574 IFS=$as_save_IFS
6578 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6579 if test -n "$ac_ct_AR"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6581 $as_echo "$ac_ct_AR" >&6; }
6582 else
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6587 if test "x$ac_ct_AR" = x; then
6588 AR="false"
6589 else
6590 case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596 AR=$ac_ct_AR
6598 else
6599 AR="$ac_cv_prog_AR"
6602 test -z "$AR" && AR=ar
6603 test -z "$AR_FLAGS" && AR_FLAGS=cru
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}strip; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_STRIP+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$STRIP"; then
6624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6629 IFS=$as_save_IFS
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 STRIP=$ac_cv_prog_STRIP
6644 if test -n "$STRIP"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6646 $as_echo "$STRIP" >&6; }
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 if test -z "$ac_cv_prog_STRIP"; then
6655 ac_ct_STRIP=$STRIP
6656 # Extract the first word of "strip", so it can be a program name with args.
6657 set dummy strip; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6661 $as_echo_n "(cached) " >&6
6662 else
6663 if test -n "$ac_ct_STRIP"; then
6664 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6669 IFS=$as_save_IFS
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_ac_ct_STRIP="strip"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 break 2
6677 done
6678 done
6679 IFS=$as_save_IFS
6683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6684 if test -n "$ac_ct_STRIP"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6686 $as_echo "$ac_ct_STRIP" >&6; }
6687 else
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6692 if test "x$ac_ct_STRIP" = x; then
6693 STRIP=":"
6694 else
6695 case $cross_compiling:$ac_tool_warned in
6696 yes:)
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6700 esac
6701 STRIP=$ac_ct_STRIP
6703 else
6704 STRIP="$ac_cv_prog_STRIP"
6707 test -z "$STRIP" && STRIP=:
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6716 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6720 $as_echo_n "(cached) " >&6
6721 else
6722 if test -n "$RANLIB"; then
6723 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6728 IFS=$as_save_IFS
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6732 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 break 2
6736 done
6737 done
6738 IFS=$as_save_IFS
6742 RANLIB=$ac_cv_prog_RANLIB
6743 if test -n "$RANLIB"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6745 $as_echo "$RANLIB" >&6; }
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6753 if test -z "$ac_cv_prog_RANLIB"; then
6754 ac_ct_RANLIB=$RANLIB
6755 # Extract the first word of "ranlib", so it can be a program name with args.
6756 set dummy ranlib; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 if test -n "$ac_ct_RANLIB"; then
6763 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772 ac_cv_prog_ac_ct_RANLIB="ranlib"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 break 2
6776 done
6777 done
6778 IFS=$as_save_IFS
6782 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6783 if test -n "$ac_ct_RANLIB"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6785 $as_echo "$ac_ct_RANLIB" >&6; }
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6791 if test "x$ac_ct_RANLIB" = x; then
6792 RANLIB=":"
6793 else
6794 case $cross_compiling:$ac_tool_warned in
6795 yes:)
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6798 ac_tool_warned=yes ;;
6799 esac
6800 RANLIB=$ac_ct_RANLIB
6802 else
6803 RANLIB="$ac_cv_prog_RANLIB"
6806 test -z "$RANLIB" && RANLIB=:
6813 # Determine commands to create old-style static archives.
6814 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6815 old_postinstall_cmds='chmod 644 $oldlib'
6816 old_postuninstall_cmds=
6818 if test -n "$RANLIB"; then
6819 case $host_os in
6820 openbsd*)
6821 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6824 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6826 esac
6827 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6830 case $host_os in
6831 darwin*)
6832 lock_old_archive_extraction=yes ;;
6834 lock_old_archive_extraction=no ;;
6835 esac
6875 # If no C compiler was specified, use CC.
6876 LTCC=${LTCC-"$CC"}
6878 # If no C compiler flags were specified, use CFLAGS.
6879 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6881 # Allow CC to be a program name with arguments.
6882 compiler=$CC
6885 # Check for command to grab the raw symbol name followed by C symbol from nm.
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6887 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6888 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6889 $as_echo_n "(cached) " >&6
6890 else
6892 # These are sane defaults that work on at least a few old systems.
6893 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6895 # Character class describing NM global symbol codes.
6896 symcode='[BCDEGRST]'
6898 # Regexp to match symbols that can be accessed directly from C.
6899 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6901 # Define system-specific variables.
6902 case $host_os in
6903 aix*)
6904 symcode='[BCDT]'
6906 cygwin* | mingw* | pw32* | cegcc*)
6907 symcode='[ABCDGISTW]'
6909 hpux*)
6910 if test "$host_cpu" = ia64; then
6911 symcode='[ABCDEGRST]'
6914 irix* | nonstopux*)
6915 symcode='[BCDEGRST]'
6917 osf*)
6918 symcode='[BCDEGQRST]'
6920 solaris*)
6921 symcode='[BDRT]'
6923 sco3.2v5*)
6924 symcode='[DT]'
6926 sysv4.2uw2*)
6927 symcode='[DT]'
6929 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6930 symcode='[ABDT]'
6932 sysv4)
6933 symcode='[DFNSTU]'
6935 esac
6937 # If we're using GNU nm, then use its standard symbol codes.
6938 case `$NM -V 2>&1` in
6939 *GNU* | *'with BFD'*)
6940 symcode='[ABCDGIRSTW]' ;;
6941 esac
6943 # Transform an extracted symbol line into a proper C declaration.
6944 # Some systems (esp. on ia64) link data and code symbols differently,
6945 # so use this general approach.
6946 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6948 # Transform an extracted symbol line into symbol name and symbol address
6949 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6950 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'"
6952 # Handle CRLF in mingw tool chain
6953 opt_cr=
6954 case $build_os in
6955 mingw*)
6956 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6958 esac
6960 # Try without a prefix underscore, then with it.
6961 for ac_symprfx in "" "_"; do
6963 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6964 symxfrm="\\1 $ac_symprfx\\2 \\2"
6966 # Write the raw and C identifiers.
6967 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6968 # Fake it for dumpbin and say T for any non-static function
6969 # and D for any global variable.
6970 # Also find C++ and __fastcall symbols from MSVC++,
6971 # which start with @ or ?.
6972 lt_cv_sys_global_symbol_pipe="$AWK '"\
6973 " {last_section=section; section=\$ 3};"\
6974 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6975 " \$ 0!~/External *\|/{next};"\
6976 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6977 " {if(hide[section]) next};"\
6978 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6979 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6980 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6981 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6982 " ' prfx=^$ac_symprfx"
6983 else
6984 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6987 # Check to see that the pipe works correctly.
6988 pipe_works=no
6990 rm -f conftest*
6991 cat > conftest.$ac_ext <<_LT_EOF
6992 #ifdef __cplusplus
6993 extern "C" {
6994 #endif
6995 char nm_test_var;
6996 void nm_test_func(void);
6997 void nm_test_func(void){}
6998 #ifdef __cplusplus
7000 #endif
7001 int main(){nm_test_var='a';nm_test_func();return(0);}
7002 _LT_EOF
7004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7005 (eval $ac_compile) 2>&5
7006 ac_status=$?
7007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7008 test $ac_status = 0; }; then
7009 # Now try to grab the symbols.
7010 nlist=conftest.nm
7011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7012 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7013 ac_status=$?
7014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7015 test $ac_status = 0; } && test -s "$nlist"; then
7016 # Try sorting and uniquifying the output.
7017 if sort "$nlist" | uniq > "$nlist"T; then
7018 mv -f "$nlist"T "$nlist"
7019 else
7020 rm -f "$nlist"T
7023 # Make sure that we snagged all the symbols we need.
7024 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7025 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7026 cat <<_LT_EOF > conftest.$ac_ext
7027 #ifdef __cplusplus
7028 extern "C" {
7029 #endif
7031 _LT_EOF
7032 # Now generate the symbol file.
7033 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7035 cat <<_LT_EOF >> conftest.$ac_ext
7037 /* The mapping between symbol names and symbols. */
7038 const struct {
7039 const char *name;
7040 void *address;
7042 lt__PROGRAM__LTX_preloaded_symbols[] =
7044 { "@PROGRAM@", (void *) 0 },
7045 _LT_EOF
7046 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7047 cat <<\_LT_EOF >> conftest.$ac_ext
7048 {0, (void *) 0}
7051 /* This works around a problem in FreeBSD linker */
7052 #ifdef FREEBSD_WORKAROUND
7053 static const void *lt_preloaded_setup() {
7054 return lt__PROGRAM__LTX_preloaded_symbols;
7056 #endif
7058 #ifdef __cplusplus
7060 #endif
7061 _LT_EOF
7062 # Now try linking the two files.
7063 mv conftest.$ac_objext conftstm.$ac_objext
7064 lt_save_LIBS="$LIBS"
7065 lt_save_CFLAGS="$CFLAGS"
7066 LIBS="conftstm.$ac_objext"
7067 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7069 (eval $ac_link) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7073 pipe_works=yes
7075 LIBS="$lt_save_LIBS"
7076 CFLAGS="$lt_save_CFLAGS"
7077 else
7078 echo "cannot find nm_test_func in $nlist" >&5
7080 else
7081 echo "cannot find nm_test_var in $nlist" >&5
7083 else
7084 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7086 else
7087 echo "$progname: failed program was:" >&5
7088 cat conftest.$ac_ext >&5
7090 rm -rf conftest* conftst*
7092 # Do not use the global_symbol_pipe unless it works.
7093 if test "$pipe_works" = yes; then
7094 break
7095 else
7096 lt_cv_sys_global_symbol_pipe=
7098 done
7102 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7103 lt_cv_sys_global_symbol_to_cdecl=
7105 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7107 $as_echo "failed" >&6; }
7108 else
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7110 $as_echo "ok" >&6; }
7134 # Check whether --enable-libtool-lock was given.
7135 if test "${enable_libtool_lock+set}" = set; then :
7136 enableval=$enable_libtool_lock;
7139 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7141 # Some flags need to be propagated to the compiler or linker for good
7142 # libtool support.
7143 case $host in
7144 ia64-*-hpux*)
7145 # Find out which ABI we are using.
7146 echo 'int i;' > conftest.$ac_ext
7147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148 (eval $ac_compile) 2>&5
7149 ac_status=$?
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151 test $ac_status = 0; }; then
7152 case `/usr/bin/file conftest.$ac_objext` in
7153 *ELF-32*)
7154 HPUX_IA64_MODE="32"
7156 *ELF-64*)
7157 HPUX_IA64_MODE="64"
7159 esac
7161 rm -rf conftest*
7163 *-*-irix6*)
7164 # Find out which ABI we are using.
7165 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7167 (eval $ac_compile) 2>&5
7168 ac_status=$?
7169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7170 test $ac_status = 0; }; then
7171 if test "$lt_cv_prog_gnu_ld" = yes; then
7172 case `/usr/bin/file conftest.$ac_objext` in
7173 *32-bit*)
7174 LD="${LD-ld} -melf32bsmip"
7176 *N32*)
7177 LD="${LD-ld} -melf32bmipn32"
7179 *64-bit*)
7180 LD="${LD-ld} -melf64bmip"
7182 esac
7183 else
7184 case `/usr/bin/file conftest.$ac_objext` in
7185 *32-bit*)
7186 LD="${LD-ld} -32"
7188 *N32*)
7189 LD="${LD-ld} -n32"
7191 *64-bit*)
7192 LD="${LD-ld} -64"
7194 esac
7197 rm -rf conftest*
7200 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7201 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7202 # Find out which ABI we are using.
7203 echo 'int i;' > conftest.$ac_ext
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7205 (eval $ac_compile) 2>&5
7206 ac_status=$?
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; }; then
7209 case `/usr/bin/file conftest.o` in
7210 *32-bit*)
7211 case $host in
7212 x86_64-*kfreebsd*-gnu)
7213 LD="${LD-ld} -m elf_i386_fbsd"
7215 x86_64-*linux*)
7216 case `/usr/bin/file conftest.o` in
7217 *x86-64*)
7218 LD="${LD-ld} -m elf32_x86_64"
7221 LD="${LD-ld} -m elf_i386"
7223 esac
7225 powerpc64le-*linux*)
7226 LD="${LD-ld} -m elf32lppclinux"
7228 powerpc64-*linux*)
7229 LD="${LD-ld} -m elf32ppclinux"
7231 s390x-*linux*)
7232 LD="${LD-ld} -m elf_s390"
7234 sparc64-*linux*)
7235 LD="${LD-ld} -m elf32_sparc"
7237 esac
7239 *64-bit*)
7240 case $host in
7241 x86_64-*kfreebsd*-gnu)
7242 LD="${LD-ld} -m elf_x86_64_fbsd"
7244 x86_64-*linux*)
7245 LD="${LD-ld} -m elf_x86_64"
7247 powerpcle-*linux*)
7248 LD="${LD-ld} -m elf64lppc"
7250 powerpc-*linux*)
7251 LD="${LD-ld} -m elf64ppc"
7253 s390*-*linux*|s390*-*tpf*)
7254 LD="${LD-ld} -m elf64_s390"
7256 sparc*-*linux*)
7257 LD="${LD-ld} -m elf64_sparc"
7259 esac
7261 esac
7263 rm -rf conftest*
7266 *-*-sco3.2v5*)
7267 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7268 SAVE_CFLAGS="$CFLAGS"
7269 CFLAGS="$CFLAGS -belf"
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7271 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7272 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 ac_ext=c
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7281 if test x$gcc_no_link = xyes; then
7282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7288 main ()
7292 return 0;
7294 _ACEOF
7295 if ac_fn_c_try_link "$LINENO"; then :
7296 lt_cv_cc_needs_belf=yes
7297 else
7298 lt_cv_cc_needs_belf=no
7300 rm -f core conftest.err conftest.$ac_objext \
7301 conftest$ac_exeext conftest.$ac_ext
7302 ac_ext=c
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7310 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7311 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7312 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7313 CFLAGS="$SAVE_CFLAGS"
7316 sparc*-*solaris*)
7317 # Find out which ABI we are using.
7318 echo 'int i;' > conftest.$ac_ext
7319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7320 (eval $ac_compile) 2>&5
7321 ac_status=$?
7322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7323 test $ac_status = 0; }; then
7324 case `/usr/bin/file conftest.o` in
7325 *64-bit*)
7326 case $lt_cv_prog_gnu_ld in
7327 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7329 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7330 LD="${LD-ld} -64"
7333 esac
7335 esac
7337 rm -rf conftest*
7339 esac
7341 need_locks="$enable_libtool_lock"
7344 case $host_os in
7345 rhapsody* | darwin*)
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$DSYMUTIL"; then
7355 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7375 if test -n "$DSYMUTIL"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7377 $as_echo "$DSYMUTIL" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_DSYMUTIL"; then
7386 ac_ct_DSYMUTIL=$DSYMUTIL
7387 # Extract the first word of "dsymutil", so it can be a program name with args.
7388 set dummy dsymutil; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_DSYMUTIL"; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7415 if test -n "$ac_ct_DSYMUTIL"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7417 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_DSYMUTIL" = x; then
7424 DSYMUTIL=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 DSYMUTIL=$ac_ct_DSYMUTIL
7434 else
7435 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$NMEDIT"; then
7447 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 NMEDIT=$ac_cv_prog_NMEDIT
7467 if test -n "$NMEDIT"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7469 $as_echo "$NMEDIT" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_NMEDIT"; then
7478 ac_ct_NMEDIT=$NMEDIT
7479 # Extract the first word of "nmedit", so it can be a program name with args.
7480 set dummy nmedit; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_NMEDIT"; then
7487 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7507 if test -n "$ac_ct_NMEDIT"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7509 $as_echo "$ac_ct_NMEDIT" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_NMEDIT" = x; then
7516 NMEDIT=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 NMEDIT=$ac_ct_NMEDIT
7526 else
7527 NMEDIT="$ac_cv_prog_NMEDIT"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_LIPO+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$LIPO"; then
7539 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 LIPO=$ac_cv_prog_LIPO
7559 if test -n "$LIPO"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7561 $as_echo "$LIPO" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_LIPO"; then
7570 ac_ct_LIPO=$LIPO
7571 # Extract the first word of "lipo", so it can be a program name with args.
7572 set dummy lipo; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_LIPO"; then
7579 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_LIPO="lipo"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7599 if test -n "$ac_ct_LIPO"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7601 $as_echo "$ac_ct_LIPO" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_LIPO" = x; then
7608 LIPO=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 LIPO=$ac_ct_LIPO
7618 else
7619 LIPO="$ac_cv_prog_LIPO"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL"; then
7631 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL=$ac_cv_prog_OTOOL
7651 if test -n "$OTOOL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7653 $as_echo "$OTOOL" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL"; then
7662 ac_ct_OTOOL=$OTOOL
7663 # Extract the first word of "otool", so it can be a program name with args.
7664 set dummy otool; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL"; then
7671 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL="otool"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7691 if test -n "$ac_ct_OTOOL"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7693 $as_echo "$ac_ct_OTOOL" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL" = x; then
7700 OTOOL=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL=$ac_ct_OTOOL
7710 else
7711 OTOOL="$ac_cv_prog_OTOOL"
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 if test -n "$OTOOL64"; then
7723 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7742 OTOOL64=$ac_cv_prog_OTOOL64
7743 if test -n "$OTOOL64"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7745 $as_echo "$OTOOL64" >&6; }
7746 else
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7753 if test -z "$ac_cv_prog_OTOOL64"; then
7754 ac_ct_OTOOL64=$OTOOL64
7755 # Extract the first word of "otool64", so it can be a program name with args.
7756 set dummy otool64; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7760 $as_echo_n "(cached) " >&6
7761 else
7762 if test -n "$ac_ct_OTOOL64"; then
7763 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7764 else
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 for as_dir in $PATH
7768 IFS=$as_save_IFS
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_ac_ct_OTOOL64="otool64"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 IFS=$as_save_IFS
7782 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7783 if test -n "$ac_ct_OTOOL64"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7785 $as_echo "$ac_ct_OTOOL64" >&6; }
7786 else
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7791 if test "x$ac_ct_OTOOL64" = x; then
7792 OTOOL64=":"
7793 else
7794 case $cross_compiling:$ac_tool_warned in
7795 yes:)
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7799 esac
7800 OTOOL64=$ac_ct_OTOOL64
7802 else
7803 OTOOL64="$ac_cv_prog_OTOOL64"
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7833 $as_echo_n "checking for -single_module linker flag... " >&6; }
7834 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7835 $as_echo_n "(cached) " >&6
7836 else
7837 lt_cv_apple_cc_single_mod=no
7838 if test -z "${LT_MULTI_MODULE}"; then
7839 # By default we will add the -single_module flag. You can override
7840 # by either setting the environment variable LT_MULTI_MODULE
7841 # non-empty at configure time, or by adding -multi_module to the
7842 # link flags.
7843 rm -rf libconftest.dylib*
7844 echo "int foo(void){return 1;}" > conftest.c
7845 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7846 -dynamiclib -Wl,-single_module conftest.c" >&5
7847 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7849 _lt_result=$?
7850 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7851 lt_cv_apple_cc_single_mod=yes
7852 else
7853 cat conftest.err >&5
7855 rm -rf libconftest.dylib*
7856 rm -f conftest.*
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7860 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7862 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7863 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 lt_cv_ld_exported_symbols_list=no
7867 save_LDFLAGS=$LDFLAGS
7868 echo "_main" > conftest.sym
7869 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7870 if test x$gcc_no_link = xyes; then
7871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7877 main ()
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_link "$LINENO"; then :
7885 lt_cv_ld_exported_symbols_list=yes
7886 else
7887 lt_cv_ld_exported_symbols_list=no
7889 rm -f core conftest.err conftest.$ac_objext \
7890 conftest$ac_exeext conftest.$ac_ext
7891 LDFLAGS="$save_LDFLAGS"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7895 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7897 $as_echo_n "checking for -force_load linker flag... " >&6; }
7898 if test "${lt_cv_ld_force_load+set}" = set; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 lt_cv_ld_force_load=no
7902 cat > conftest.c << _LT_EOF
7903 int forced_loaded() { return 2;}
7904 _LT_EOF
7905 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7906 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7907 echo "$AR cru libconftest.a conftest.o" >&5
7908 $AR cru libconftest.a conftest.o 2>&5
7909 cat > conftest.c << _LT_EOF
7910 int main() { return 0;}
7911 _LT_EOF
7912 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7913 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7914 _lt_result=$?
7915 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7916 lt_cv_ld_force_load=yes
7917 else
7918 cat conftest.err >&5
7920 rm -f conftest.err libconftest.a conftest conftest.c
7921 rm -rf conftest.dSYM
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7925 $as_echo "$lt_cv_ld_force_load" >&6; }
7926 case $host_os in
7927 rhapsody* | darwin1.[012])
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7929 darwin1.*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 darwin*) # darwin 5.x on
7932 # if running on 10.5 or later, the deployment target defaults
7933 # to the OS version, if on x86, and 10.4, the deployment
7934 # target defaults to 10.4. Don't you love it?
7935 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7936 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7937 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7938 10.[012][,.]*)
7939 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7940 10.*)
7941 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7942 esac
7944 esac
7945 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7946 _lt_dar_single_mod='$single_module'
7948 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7949 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7950 else
7951 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7953 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7954 _lt_dsymutil='~$DSYMUTIL $lib || :'
7955 else
7956 _lt_dsymutil=
7959 esac
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7962 $as_echo_n "checking for ANSI C header files... " >&6; }
7963 if test "${ac_cv_header_stdc+set}" = set; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7968 #include <stdlib.h>
7969 #include <stdarg.h>
7970 #include <string.h>
7971 #include <float.h>
7974 main ()
7978 return 0;
7980 _ACEOF
7981 if ac_fn_c_try_compile "$LINENO"; then :
7982 ac_cv_header_stdc=yes
7983 else
7984 ac_cv_header_stdc=no
7986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7988 if test $ac_cv_header_stdc = yes; then
7989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7992 #include <string.h>
7994 _ACEOF
7995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7996 $EGREP "memchr" >/dev/null 2>&1; then :
7998 else
7999 ac_cv_header_stdc=no
8001 rm -f conftest*
8005 if test $ac_cv_header_stdc = yes; then
8006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8008 /* end confdefs.h. */
8009 #include <stdlib.h>
8011 _ACEOF
8012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8013 $EGREP "free" >/dev/null 2>&1; then :
8015 else
8016 ac_cv_header_stdc=no
8018 rm -f conftest*
8022 if test $ac_cv_header_stdc = yes; then
8023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8024 if test "$cross_compiling" = yes; then :
8026 else
8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8029 #include <ctype.h>
8030 #include <stdlib.h>
8031 #if ((' ' & 0x0FF) == 0x020)
8032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8034 #else
8035 # define ISLOWER(c) \
8036 (('a' <= (c) && (c) <= 'i') \
8037 || ('j' <= (c) && (c) <= 'r') \
8038 || ('s' <= (c) && (c) <= 'z'))
8039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8040 #endif
8042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8044 main ()
8046 int i;
8047 for (i = 0; i < 256; i++)
8048 if (XOR (islower (i), ISLOWER (i))
8049 || toupper (i) != TOUPPER (i))
8050 return 2;
8051 return 0;
8053 _ACEOF
8054 if ac_fn_c_try_run "$LINENO"; then :
8056 else
8057 ac_cv_header_stdc=no
8059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8060 conftest.$ac_objext conftest.beam conftest.$ac_ext
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8066 $as_echo "$ac_cv_header_stdc" >&6; }
8067 if test $ac_cv_header_stdc = yes; then
8069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8073 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8074 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8075 inttypes.h stdint.h unistd.h
8076 do :
8077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8078 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8080 eval as_val=\$$as_ac_Header
8081 if test "x$as_val" = x""yes; then :
8082 cat >>confdefs.h <<_ACEOF
8083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8084 _ACEOF
8088 done
8091 for ac_header in dlfcn.h
8092 do :
8093 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8095 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_DLFCN_H 1
8098 _ACEOF
8102 done
8109 # Set options
8114 enable_win32_dll=no
8117 # Check whether --enable-shared was given.
8118 if test "${enable_shared+set}" = set; then :
8119 enableval=$enable_shared; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_shared=yes ;;
8122 no) enable_shared=no ;;
8124 enable_shared=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_shared=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_shared=yes
8148 # Check whether --enable-static was given.
8149 if test "${enable_static+set}" = set; then :
8150 enableval=$enable_static; p=${PACKAGE-default}
8151 case $enableval in
8152 yes) enable_static=yes ;;
8153 no) enable_static=no ;;
8155 enable_static=no
8156 # Look at the argument we got. We use all the common list separators.
8157 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8158 for pkg in $enableval; do
8159 IFS="$lt_save_ifs"
8160 if test "X$pkg" = "X$p"; then
8161 enable_static=yes
8163 done
8164 IFS="$lt_save_ifs"
8166 esac
8167 else
8168 enable_static=yes
8180 # Check whether --with-pic was given.
8181 if test "${with_pic+set}" = set; then :
8182 withval=$with_pic; pic_mode="$withval"
8183 else
8184 pic_mode=default
8188 test -z "$pic_mode" && pic_mode=default
8196 # Check whether --enable-fast-install was given.
8197 if test "${enable_fast_install+set}" = set; then :
8198 enableval=$enable_fast_install; p=${PACKAGE-default}
8199 case $enableval in
8200 yes) enable_fast_install=yes ;;
8201 no) enable_fast_install=no ;;
8203 enable_fast_install=no
8204 # Look at the argument we got. We use all the common list separators.
8205 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8206 for pkg in $enableval; do
8207 IFS="$lt_save_ifs"
8208 if test "X$pkg" = "X$p"; then
8209 enable_fast_install=yes
8211 done
8212 IFS="$lt_save_ifs"
8214 esac
8215 else
8216 enable_fast_install=yes
8229 # This can be used to rebuild libtool when needed
8230 LIBTOOL_DEPS="$ltmain"
8232 # Always use our own libtool.
8233 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8260 test -z "$LN_S" && LN_S="ln -s"
8275 if test -n "${ZSH_VERSION+set}" ; then
8276 setopt NO_GLOB_SUBST
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8280 $as_echo_n "checking for objdir... " >&6; }
8281 if test "${lt_cv_objdir+set}" = set; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 rm -f .libs 2>/dev/null
8285 mkdir .libs 2>/dev/null
8286 if test -d .libs; then
8287 lt_cv_objdir=.libs
8288 else
8289 # MS-DOS does not allow filenames that begin with a dot.
8290 lt_cv_objdir=_libs
8292 rmdir .libs 2>/dev/null
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8295 $as_echo "$lt_cv_objdir" >&6; }
8296 objdir=$lt_cv_objdir
8302 cat >>confdefs.h <<_ACEOF
8303 #define LT_OBJDIR "$lt_cv_objdir/"
8304 _ACEOF
8309 case $host_os in
8310 aix3*)
8311 # AIX sometimes has problems with the GCC collect2 program. For some
8312 # reason, if we set the COLLECT_NAMES environment variable, the problems
8313 # vanish in a puff of smoke.
8314 if test "X${COLLECT_NAMES+set}" != Xset; then
8315 COLLECT_NAMES=
8316 export COLLECT_NAMES
8319 esac
8321 # Global variables:
8322 ofile=libtool
8323 can_build_shared=yes
8325 # All known linkers require a `.a' archive for static linking (except MSVC,
8326 # which needs '.lib').
8327 libext=a
8329 with_gnu_ld="$lt_cv_prog_gnu_ld"
8331 old_CC="$CC"
8332 old_CFLAGS="$CFLAGS"
8334 # Set sane defaults for various variables
8335 test -z "$CC" && CC=cc
8336 test -z "$LTCC" && LTCC=$CC
8337 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8338 test -z "$LD" && LD=ld
8339 test -z "$ac_objext" && ac_objext=o
8341 for cc_temp in $compiler""; do
8342 case $cc_temp in
8343 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8344 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8345 \-*) ;;
8346 *) break;;
8347 esac
8348 done
8349 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8352 # Only perform the check for file, if the check method requires it
8353 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8354 case $deplibs_check_method in
8355 file_magic*)
8356 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8358 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8359 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 case $MAGIC_CMD in
8363 [\\/*] | ?:[\\/]*)
8364 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367 lt_save_MAGIC_CMD="$MAGIC_CMD"
8368 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8369 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8370 for ac_dir in $ac_dummy; do
8371 IFS="$lt_save_ifs"
8372 test -z "$ac_dir" && ac_dir=.
8373 if test -f $ac_dir/${ac_tool_prefix}file; then
8374 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8375 if test -n "$file_magic_test_file"; then
8376 case $deplibs_check_method in
8377 "file_magic "*)
8378 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8379 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8380 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8381 $EGREP "$file_magic_regex" > /dev/null; then
8383 else
8384 cat <<_LT_EOF 1>&2
8386 *** Warning: the command libtool uses to detect shared libraries,
8387 *** $file_magic_cmd, produces output that libtool cannot recognize.
8388 *** The result is that libtool may fail to recognize shared libraries
8389 *** as such. This will affect the creation of libtool libraries that
8390 *** depend on shared libraries, but programs linked with such libtool
8391 *** libraries will work regardless of this problem. Nevertheless, you
8392 *** may want to report the problem to your system manager and/or to
8393 *** bug-libtool@gnu.org
8395 _LT_EOF
8396 fi ;;
8397 esac
8399 break
8401 done
8402 IFS="$lt_save_ifs"
8403 MAGIC_CMD="$lt_save_MAGIC_CMD"
8405 esac
8408 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8409 if test -n "$MAGIC_CMD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8411 $as_echo "$MAGIC_CMD" >&6; }
8412 else
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8421 if test -z "$lt_cv_path_MAGIC_CMD"; then
8422 if test -n "$ac_tool_prefix"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8424 $as_echo_n "checking for file... " >&6; }
8425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 case $MAGIC_CMD in
8429 [\\/*] | ?:[\\/]*)
8430 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8433 lt_save_MAGIC_CMD="$MAGIC_CMD"
8434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8435 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8436 for ac_dir in $ac_dummy; do
8437 IFS="$lt_save_ifs"
8438 test -z "$ac_dir" && ac_dir=.
8439 if test -f $ac_dir/file; then
8440 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8441 if test -n "$file_magic_test_file"; then
8442 case $deplibs_check_method in
8443 "file_magic "*)
8444 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8445 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8446 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8447 $EGREP "$file_magic_regex" > /dev/null; then
8449 else
8450 cat <<_LT_EOF 1>&2
8452 *** Warning: the command libtool uses to detect shared libraries,
8453 *** $file_magic_cmd, produces output that libtool cannot recognize.
8454 *** The result is that libtool may fail to recognize shared libraries
8455 *** as such. This will affect the creation of libtool libraries that
8456 *** depend on shared libraries, but programs linked with such libtool
8457 *** libraries will work regardless of this problem. Nevertheless, you
8458 *** may want to report the problem to your system manager and/or to
8459 *** bug-libtool@gnu.org
8461 _LT_EOF
8462 fi ;;
8463 esac
8465 break
8467 done
8468 IFS="$lt_save_ifs"
8469 MAGIC_CMD="$lt_save_MAGIC_CMD"
8471 esac
8474 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8475 if test -n "$MAGIC_CMD"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8477 $as_echo "$MAGIC_CMD" >&6; }
8478 else
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8484 else
8485 MAGIC_CMD=:
8491 esac
8493 # Use C for the default configuration in the libtool script
8495 lt_save_CC="$CC"
8496 ac_ext=c
8497 ac_cpp='$CPP $CPPFLAGS'
8498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8503 # Source file extension for C test sources.
8504 ac_ext=c
8506 # Object file extension for compiled C test sources.
8507 objext=o
8508 objext=$objext
8510 # Code to be used in simple compile tests
8511 lt_simple_compile_test_code="int some_variable = 0;"
8513 # Code to be used in simple link tests
8514 lt_simple_link_test_code='int main(){return(0);}'
8522 # If no C compiler was specified, use CC.
8523 LTCC=${LTCC-"$CC"}
8525 # If no C compiler flags were specified, use CFLAGS.
8526 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8528 # Allow CC to be a program name with arguments.
8529 compiler=$CC
8531 # Save the default compiler, since it gets overwritten when the other
8532 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8533 compiler_DEFAULT=$CC
8535 # save warnings/boilerplate of simple test code
8536 ac_outfile=conftest.$ac_objext
8537 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8538 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8539 _lt_compiler_boilerplate=`cat conftest.err`
8540 $RM conftest*
8542 ac_outfile=conftest.$ac_objext
8543 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8544 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8545 _lt_linker_boilerplate=`cat conftest.err`
8546 $RM -r conftest*
8549 ## CAVEAT EMPTOR:
8550 ## There is no encapsulation within the following macros, do not change
8551 ## the running order or otherwise move them around unless you know exactly
8552 ## what you are doing...
8553 if test -n "$compiler"; then
8555 lt_prog_compiler_no_builtin_flag=
8557 if test "$GCC" = yes; then
8558 case $cc_basename in
8559 nvcc*)
8560 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8562 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8563 esac
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8566 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8567 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 lt_cv_prog_compiler_rtti_exceptions=no
8571 ac_outfile=conftest.$ac_objext
8572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8573 lt_compiler_flag="-fno-rtti -fno-exceptions"
8574 # Insert the option either (1) after the last *FLAGS variable, or
8575 # (2) before a word containing "conftest.", or (3) at the end.
8576 # Note that $ac_compile itself does not contain backslashes and begins
8577 # with a dollar sign (not a hyphen), so the echo should work correctly.
8578 # The option is referenced via a variable to avoid confusing sed.
8579 lt_compile=`echo "$ac_compile" | $SED \
8580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582 -e 's:$: $lt_compiler_flag:'`
8583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8584 (eval "$lt_compile" 2>conftest.err)
8585 ac_status=$?
8586 cat conftest.err >&5
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 if (exit $ac_status) && test -s "$ac_outfile"; then
8589 # The compiler can only warn and ignore the option if not recognized
8590 # So say no if there are warnings other than the usual output.
8591 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8592 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8593 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8594 lt_cv_prog_compiler_rtti_exceptions=yes
8597 $RM conftest*
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8601 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8603 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8604 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8605 else
8616 lt_prog_compiler_wl=
8617 lt_prog_compiler_pic=
8618 lt_prog_compiler_static=
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8621 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8623 if test "$GCC" = yes; then
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_static='-static'
8627 case $host_os in
8628 aix*)
8629 # All AIX code is PIC.
8630 if test "$host_cpu" = ia64; then
8631 # AIX 5 now supports IA64 processor
8632 lt_prog_compiler_static='-Bstatic'
8634 lt_prog_compiler_pic='-fPIC'
8637 amigaos*)
8638 case $host_cpu in
8639 powerpc)
8640 # see comment about AmigaOS4 .so support
8641 lt_prog_compiler_pic='-fPIC'
8643 m68k)
8644 # FIXME: we need at least 68020 code to build shared libraries, but
8645 # adding the `-m68020' flag to GCC prevents building anything better,
8646 # like `-m68040'.
8647 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8649 esac
8652 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8653 # PIC is the default for these OSes.
8656 mingw* | cygwin* | pw32* | os2* | cegcc*)
8657 # This hack is so that the source file can tell whether it is being
8658 # built for inclusion in a dll (and should export symbols for example).
8659 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8660 # (--disable-auto-import) libraries
8661 lt_prog_compiler_pic='-DDLL_EXPORT'
8664 darwin* | rhapsody*)
8665 # PIC is the default on this platform
8666 # Common symbols not allowed in MH_DYLIB files
8667 lt_prog_compiler_pic='-fno-common'
8670 haiku*)
8671 # PIC is the default for Haiku.
8672 # The "-static" flag exists, but is broken.
8673 lt_prog_compiler_static=
8676 hpux*)
8677 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8678 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8679 # sets the default TLS model and affects inlining.
8680 case $host_cpu in
8681 hppa*64*)
8682 # +Z the default
8685 lt_prog_compiler_pic='-fPIC'
8687 esac
8690 interix[3-9]*)
8691 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8692 # Instead, we relocate shared libraries at runtime.
8695 msdosdjgpp*)
8696 # Just because we use GCC doesn't mean we suddenly get shared libraries
8697 # on systems that don't support them.
8698 lt_prog_compiler_can_build_shared=no
8699 enable_shared=no
8702 *nto* | *qnx*)
8703 # QNX uses GNU C++, but need to define -shared option too, otherwise
8704 # it will coredump.
8705 lt_prog_compiler_pic='-fPIC -shared'
8708 sysv4*MP*)
8709 if test -d /usr/nec; then
8710 lt_prog_compiler_pic=-Kconform_pic
8715 lt_prog_compiler_pic='-fPIC'
8717 esac
8719 case $cc_basename in
8720 nvcc*) # Cuda Compiler Driver 2.2
8721 lt_prog_compiler_wl='-Xlinker '
8722 lt_prog_compiler_pic='-Xcompiler -fPIC'
8724 esac
8725 else
8726 # PORTME Check for flag to pass linker flags through the system compiler.
8727 case $host_os in
8728 aix*)
8729 lt_prog_compiler_wl='-Wl,'
8730 if test "$host_cpu" = ia64; then
8731 # AIX 5 now supports IA64 processor
8732 lt_prog_compiler_static='-Bstatic'
8733 else
8734 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8738 mingw* | cygwin* | pw32* | os2* | cegcc*)
8739 # This hack is so that the source file can tell whether it is being
8740 # built for inclusion in a dll (and should export symbols for example).
8741 lt_prog_compiler_pic='-DDLL_EXPORT'
8744 hpux9* | hpux10* | hpux11*)
8745 lt_prog_compiler_wl='-Wl,'
8746 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8747 # not for PA HP-UX.
8748 case $host_cpu in
8749 hppa*64*|ia64*)
8750 # +Z the default
8753 lt_prog_compiler_pic='+Z'
8755 esac
8756 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8757 lt_prog_compiler_static='${wl}-a ${wl}archive'
8760 irix5* | irix6* | nonstopux*)
8761 lt_prog_compiler_wl='-Wl,'
8762 # PIC (with -KPIC) is the default.
8763 lt_prog_compiler_static='-non_shared'
8766 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8767 case $cc_basename in
8768 # old Intel for x86_64 which still supported -KPIC.
8769 ecc*)
8770 lt_prog_compiler_wl='-Wl,'
8771 lt_prog_compiler_pic='-KPIC'
8772 lt_prog_compiler_static='-static'
8774 # icc used to be incompatible with GCC.
8775 # ICC 10 doesn't accept -KPIC any more.
8776 icc* | ifort*)
8777 lt_prog_compiler_wl='-Wl,'
8778 lt_prog_compiler_pic='-fPIC'
8779 lt_prog_compiler_static='-static'
8781 # Lahey Fortran 8.1.
8782 lf95*)
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='--shared'
8785 lt_prog_compiler_static='--static'
8787 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8788 # Portland Group compilers (*not* the Pentium gcc compiler,
8789 # which looks to be a dead project)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-fpic'
8792 lt_prog_compiler_static='-Bstatic'
8794 ccc*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # All Alpha code is PIC.
8797 lt_prog_compiler_static='-non_shared'
8799 xl* | bgxl* | bgf* | mpixl*)
8800 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8801 lt_prog_compiler_wl='-Wl,'
8802 lt_prog_compiler_pic='-qpic'
8803 lt_prog_compiler_static='-qstaticlink'
8806 case `$CC -V 2>&1 | sed 5q` in
8807 *Sun\ F* | *Sun*Fortran*)
8808 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8809 lt_prog_compiler_pic='-KPIC'
8810 lt_prog_compiler_static='-Bstatic'
8811 lt_prog_compiler_wl=''
8813 *Sun\ C*)
8814 # Sun C 5.9
8815 lt_prog_compiler_pic='-KPIC'
8816 lt_prog_compiler_static='-Bstatic'
8817 lt_prog_compiler_wl='-Wl,'
8819 esac
8821 esac
8824 newsos6)
8825 lt_prog_compiler_pic='-KPIC'
8826 lt_prog_compiler_static='-Bstatic'
8829 *nto* | *qnx*)
8830 # QNX uses GNU C++, but need to define -shared option too, otherwise
8831 # it will coredump.
8832 lt_prog_compiler_pic='-fPIC -shared'
8835 osf3* | osf4* | osf5*)
8836 lt_prog_compiler_wl='-Wl,'
8837 # All OSF/1 code is PIC.
8838 lt_prog_compiler_static='-non_shared'
8841 rdos*)
8842 lt_prog_compiler_static='-non_shared'
8845 solaris*)
8846 lt_prog_compiler_pic='-KPIC'
8847 lt_prog_compiler_static='-Bstatic'
8848 case $cc_basename in
8849 f77* | f90* | f95*)
8850 lt_prog_compiler_wl='-Qoption ld ';;
8852 lt_prog_compiler_wl='-Wl,';;
8853 esac
8856 sunos4*)
8857 lt_prog_compiler_wl='-Qoption ld '
8858 lt_prog_compiler_pic='-PIC'
8859 lt_prog_compiler_static='-Bstatic'
8862 sysv4 | sysv4.2uw2* | sysv4.3*)
8863 lt_prog_compiler_wl='-Wl,'
8864 lt_prog_compiler_pic='-KPIC'
8865 lt_prog_compiler_static='-Bstatic'
8868 sysv4*MP*)
8869 if test -d /usr/nec ;then
8870 lt_prog_compiler_pic='-Kconform_pic'
8871 lt_prog_compiler_static='-Bstatic'
8875 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8876 lt_prog_compiler_wl='-Wl,'
8877 lt_prog_compiler_pic='-KPIC'
8878 lt_prog_compiler_static='-Bstatic'
8881 unicos*)
8882 lt_prog_compiler_wl='-Wl,'
8883 lt_prog_compiler_can_build_shared=no
8886 uts4*)
8887 lt_prog_compiler_pic='-pic'
8888 lt_prog_compiler_static='-Bstatic'
8892 lt_prog_compiler_can_build_shared=no
8894 esac
8897 case $host_os in
8898 # For platforms which do not support PIC, -DPIC is meaningless:
8899 *djgpp*)
8900 lt_prog_compiler_pic=
8903 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8905 esac
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8907 $as_echo "$lt_prog_compiler_pic" >&6; }
8915 # Check to make sure the PIC flag actually works.
8917 if test -n "$lt_prog_compiler_pic"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8919 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8920 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 lt_cv_prog_compiler_pic_works=no
8924 ac_outfile=conftest.$ac_objext
8925 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8926 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8927 # Insert the option either (1) after the last *FLAGS variable, or
8928 # (2) before a word containing "conftest.", or (3) at the end.
8929 # Note that $ac_compile itself does not contain backslashes and begins
8930 # with a dollar sign (not a hyphen), so the echo should work correctly.
8931 # The option is referenced via a variable to avoid confusing sed.
8932 lt_compile=`echo "$ac_compile" | $SED \
8933 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8934 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8935 -e 's:$: $lt_compiler_flag:'`
8936 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8937 (eval "$lt_compile" 2>conftest.err)
8938 ac_status=$?
8939 cat conftest.err >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 if (exit $ac_status) && test -s "$ac_outfile"; then
8942 # The compiler can only warn and ignore the option if not recognized
8943 # So say no if there are warnings other than the usual output.
8944 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8945 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8946 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8947 lt_cv_prog_compiler_pic_works=yes
8950 $RM conftest*
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8954 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8956 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8957 case $lt_prog_compiler_pic in
8958 "" | " "*) ;;
8959 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8960 esac
8961 else
8962 lt_prog_compiler_pic=
8963 lt_prog_compiler_can_build_shared=no
8974 # Check to make sure the static flag actually works.
8976 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8978 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8979 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8980 $as_echo_n "(cached) " >&6
8981 else
8982 lt_cv_prog_compiler_static_works=no
8983 save_LDFLAGS="$LDFLAGS"
8984 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8985 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8986 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8987 # The linker can only warn and ignore the option if not recognized
8988 # So say no if there are warnings
8989 if test -s conftest.err; then
8990 # Append any errors to the config.log.
8991 cat conftest.err 1>&5
8992 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8993 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8994 if diff conftest.exp conftest.er2 >/dev/null; then
8995 lt_cv_prog_compiler_static_works=yes
8997 else
8998 lt_cv_prog_compiler_static_works=yes
9001 $RM -r conftest*
9002 LDFLAGS="$save_LDFLAGS"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9006 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9008 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9010 else
9011 lt_prog_compiler_static=
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9022 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 lt_cv_prog_compiler_c_o=no
9026 $RM -r conftest 2>/dev/null
9027 mkdir conftest
9028 cd conftest
9029 mkdir out
9030 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9032 lt_compiler_flag="-o out/conftest2.$ac_objext"
9033 # Insert the option either (1) after the last *FLAGS variable, or
9034 # (2) before a word containing "conftest.", or (3) at the end.
9035 # Note that $ac_compile itself does not contain backslashes and begins
9036 # with a dollar sign (not a hyphen), so the echo should work correctly.
9037 lt_compile=`echo "$ac_compile" | $SED \
9038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9040 -e 's:$: $lt_compiler_flag:'`
9041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9042 (eval "$lt_compile" 2>out/conftest.err)
9043 ac_status=$?
9044 cat out/conftest.err >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9047 then
9048 # The compiler can only warn and ignore the option if not recognized
9049 # So say no if there are warnings
9050 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9051 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9052 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9053 lt_cv_prog_compiler_c_o=yes
9056 chmod u+w . 2>&5
9057 $RM conftest*
9058 # SGI C++ compiler will create directory out/ii_files/ for
9059 # template instantiation
9060 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9061 $RM out/* && rmdir out
9062 cd ..
9063 $RM -r conftest
9064 $RM conftest*
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9076 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9077 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 lt_cv_prog_compiler_c_o=no
9081 $RM -r conftest 2>/dev/null
9082 mkdir conftest
9083 cd conftest
9084 mkdir out
9085 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9087 lt_compiler_flag="-o out/conftest2.$ac_objext"
9088 # Insert the option either (1) after the last *FLAGS variable, or
9089 # (2) before a word containing "conftest.", or (3) at the end.
9090 # Note that $ac_compile itself does not contain backslashes and begins
9091 # with a dollar sign (not a hyphen), so the echo should work correctly.
9092 lt_compile=`echo "$ac_compile" | $SED \
9093 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9094 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9095 -e 's:$: $lt_compiler_flag:'`
9096 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9097 (eval "$lt_compile" 2>out/conftest.err)
9098 ac_status=$?
9099 cat out/conftest.err >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9102 then
9103 # The compiler can only warn and ignore the option if not recognized
9104 # So say no if there are warnings
9105 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9106 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9107 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9108 lt_cv_prog_compiler_c_o=yes
9111 chmod u+w . 2>&5
9112 $RM conftest*
9113 # SGI C++ compiler will create directory out/ii_files/ for
9114 # template instantiation
9115 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9116 $RM out/* && rmdir out
9117 cd ..
9118 $RM -r conftest
9119 $RM conftest*
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9123 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9128 hard_links="nottested"
9129 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9130 # do not overwrite the value of need_locks provided by the user
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9132 $as_echo_n "checking if we can lock with hard links... " >&6; }
9133 hard_links=yes
9134 $RM conftest*
9135 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9136 touch conftest.a
9137 ln conftest.a conftest.b 2>&5 || hard_links=no
9138 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9140 $as_echo "$hard_links" >&6; }
9141 if test "$hard_links" = no; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9143 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9144 need_locks=warn
9146 else
9147 need_locks=no
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9156 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9158 runpath_var=
9159 allow_undefined_flag=
9160 always_export_symbols=no
9161 archive_cmds=
9162 archive_expsym_cmds=
9163 compiler_needs_object=no
9164 enable_shared_with_static_runtimes=no
9165 export_dynamic_flag_spec=
9166 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9167 hardcode_automatic=no
9168 hardcode_direct=no
9169 hardcode_direct_absolute=no
9170 hardcode_libdir_flag_spec=
9171 hardcode_libdir_flag_spec_ld=
9172 hardcode_libdir_separator=
9173 hardcode_minus_L=no
9174 hardcode_shlibpath_var=unsupported
9175 inherit_rpath=no
9176 link_all_deplibs=unknown
9177 module_cmds=
9178 module_expsym_cmds=
9179 old_archive_from_new_cmds=
9180 old_archive_from_expsyms_cmds=
9181 thread_safe_flag_spec=
9182 whole_archive_flag_spec=
9183 # include_expsyms should be a list of space-separated symbols to be *always*
9184 # included in the symbol list
9185 include_expsyms=
9186 # exclude_expsyms can be an extended regexp of symbols to exclude
9187 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9188 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9189 # as well as any symbol that contains `d'.
9190 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9191 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9192 # platforms (ab)use it in PIC code, but their linkers get confused if
9193 # the symbol is explicitly referenced. Since portable code cannot
9194 # rely on this symbol name, it's probably fine to never include it in
9195 # preloaded symbol tables.
9196 # Exclude shared library initialization/finalization symbols.
9197 extract_expsyms_cmds=
9199 case $host_os in
9200 cygwin* | mingw* | pw32* | cegcc*)
9201 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9202 # When not using gcc, we currently assume that we are using
9203 # Microsoft Visual C++.
9204 if test "$GCC" != yes; then
9205 with_gnu_ld=no
9208 interix*)
9209 # we just hope/assume this is gcc and not c89 (= MSVC++)
9210 with_gnu_ld=yes
9212 openbsd*)
9213 with_gnu_ld=no
9215 esac
9217 ld_shlibs=yes
9219 # On some targets, GNU ld is compatible enough with the native linker
9220 # that we're better off using the native interface for both.
9221 lt_use_gnu_ld_interface=no
9222 if test "$with_gnu_ld" = yes; then
9223 case $host_os in
9224 aix*)
9225 # The AIX port of GNU ld has always aspired to compatibility
9226 # with the native linker. However, as the warning in the GNU ld
9227 # block says, versions before 2.19.5* couldn't really create working
9228 # shared libraries, regardless of the interface used.
9229 case `$LD -v 2>&1` in
9230 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9231 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9232 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9234 lt_use_gnu_ld_interface=yes
9236 esac
9239 lt_use_gnu_ld_interface=yes
9241 esac
9244 if test "$lt_use_gnu_ld_interface" = yes; then
9245 # If archive_cmds runs LD, not CC, wlarc should be empty
9246 wlarc='${wl}'
9248 # Set some defaults for GNU ld with shared library support. These
9249 # are reset later if shared libraries are not supported. Putting them
9250 # here allows them to be overridden if necessary.
9251 runpath_var=LD_RUN_PATH
9252 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9253 export_dynamic_flag_spec='${wl}--export-dynamic'
9254 # ancient GNU ld didn't support --whole-archive et. al.
9255 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9256 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9257 else
9258 whole_archive_flag_spec=
9260 supports_anon_versioning=no
9261 case `$LD -v 2>&1` in
9262 *GNU\ gold*) supports_anon_versioning=yes ;;
9263 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9264 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9265 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9266 *\ 2.11.*) ;; # other 2.11 versions
9267 *) supports_anon_versioning=yes ;;
9268 esac
9270 # See if GNU ld supports shared libraries.
9271 case $host_os in
9272 aix[3-9]*)
9273 # On AIX/PPC, the GNU linker is very broken
9274 if test "$host_cpu" != ia64; then
9275 ld_shlibs=no
9276 cat <<_LT_EOF 1>&2
9278 *** Warning: the GNU linker, at least up to release 2.19, is reported
9279 *** to be unable to reliably create shared libraries on AIX.
9280 *** Therefore, libtool is disabling shared libraries support. If you
9281 *** really care for shared libraries, you may want to install binutils
9282 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9283 *** You will then need to restart the configuration process.
9285 _LT_EOF
9289 amigaos*)
9290 case $host_cpu in
9291 powerpc)
9292 # see comment about AmigaOS4 .so support
9293 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9294 archive_expsym_cmds=''
9296 m68k)
9297 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)'
9298 hardcode_libdir_flag_spec='-L$libdir'
9299 hardcode_minus_L=yes
9301 esac
9304 beos*)
9305 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9306 allow_undefined_flag=unsupported
9307 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9308 # support --undefined. This deserves some investigation. FIXME
9309 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 else
9311 ld_shlibs=no
9315 cygwin* | mingw* | pw32* | cegcc*)
9316 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9317 # as there is no search path for DLLs.
9318 hardcode_libdir_flag_spec='-L$libdir'
9319 export_dynamic_flag_spec='${wl}--export-all-symbols'
9320 allow_undefined_flag=unsupported
9321 always_export_symbols=no
9322 enable_shared_with_static_runtimes=yes
9323 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9325 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 # If the export-symbols file already is a .def file (1st line
9328 # is EXPORTS), use it as is; otherwise, prepend...
9329 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9330 cp $export_symbols $output_objdir/$soname.def;
9331 else
9332 echo EXPORTS > $output_objdir/$soname.def;
9333 cat $export_symbols >> $output_objdir/$soname.def;
9335 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9336 else
9337 ld_shlibs=no
9341 haiku*)
9342 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 link_all_deplibs=yes
9346 interix[3-9]*)
9347 hardcode_direct=no
9348 hardcode_shlibpath_var=no
9349 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9350 export_dynamic_flag_spec='${wl}-E'
9351 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9352 # Instead, shared libraries are loaded at an image base (0x10000000 by
9353 # default) and relocated if they conflict, which is a slow very memory
9354 # consuming and fragmenting process. To avoid this, we pick a random,
9355 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9356 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9357 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9358 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'
9361 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9362 tmp_diet=no
9363 if test "$host_os" = linux-dietlibc; then
9364 case $cc_basename in
9365 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9366 esac
9368 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9369 && test "$tmp_diet" = no
9370 then
9371 tmp_addflag=' $pic_flag'
9372 tmp_sharedflag='-shared'
9373 case $cc_basename,$host_cpu in
9374 pgcc*) # Portland Group C compiler
9375 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'
9376 tmp_addflag=' $pic_flag'
9378 pgf77* | pgf90* | pgf95* | pgfortran*)
9379 # Portland Group f77 and f90 compilers
9380 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'
9381 tmp_addflag=' $pic_flag -Mnomain' ;;
9382 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9383 tmp_addflag=' -i_dynamic' ;;
9384 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9385 tmp_addflag=' -i_dynamic -nofor_main' ;;
9386 ifc* | ifort*) # Intel Fortran compiler
9387 tmp_addflag=' -nofor_main' ;;
9388 lf95*) # Lahey Fortran 8.1
9389 whole_archive_flag_spec=
9390 tmp_sharedflag='--shared' ;;
9391 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9392 tmp_sharedflag='-qmkshrobj'
9393 tmp_addflag= ;;
9394 nvcc*) # Cuda Compiler Driver 2.2
9395 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'
9396 compiler_needs_object=yes
9398 esac
9399 case `$CC -V 2>&1 | sed 5q` in
9400 *Sun\ C*) # Sun C 5.9
9401 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'
9402 compiler_needs_object=yes
9403 tmp_sharedflag='-G' ;;
9404 *Sun\ F*) # Sun Fortran 8.3
9405 tmp_sharedflag='-G' ;;
9406 esac
9407 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409 if test "x$supports_anon_versioning" = xyes; then
9410 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9411 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9412 echo "local: *; };" >> $output_objdir/$libname.ver~
9413 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9416 case $cc_basename in
9417 xlf* | bgf* | bgxlf* | mpixlf*)
9418 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9419 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9420 hardcode_libdir_flag_spec=
9421 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9422 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9423 if test "x$supports_anon_versioning" = xyes; then
9424 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9425 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9426 echo "local: *; };" >> $output_objdir/$libname.ver~
9427 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9430 esac
9431 else
9432 ld_shlibs=no
9436 netbsd*)
9437 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9438 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9439 wlarc=
9440 else
9441 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446 solaris*)
9447 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9448 ld_shlibs=no
9449 cat <<_LT_EOF 1>&2
9451 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9452 *** create shared libraries on Solaris systems. Therefore, libtool
9453 *** is disabling shared libraries support. We urge you to upgrade GNU
9454 *** binutils to release 2.9.1 or newer. Another option is to modify
9455 *** your PATH or compiler configuration so that the native linker is
9456 *** used, and then restart.
9458 _LT_EOF
9459 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9460 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9461 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9462 else
9463 ld_shlibs=no
9467 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9468 case `$LD -v 2>&1` in
9469 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9470 ld_shlibs=no
9471 cat <<_LT_EOF 1>&2
9473 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9474 *** reliably create shared libraries on SCO systems. Therefore, libtool
9475 *** is disabling shared libraries support. We urge you to upgrade GNU
9476 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9477 *** your PATH or compiler configuration so that the native linker is
9478 *** used, and then restart.
9480 _LT_EOF
9483 # For security reasons, it is highly recommended that you always
9484 # use absolute paths for naming shared libraries, and exclude the
9485 # DT_RUNPATH tag from executables and libraries. But doing so
9486 # requires that you compile everything twice, which is a pain.
9487 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9488 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9489 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9490 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9491 else
9492 ld_shlibs=no
9495 esac
9498 sunos4*)
9499 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9500 wlarc=
9501 hardcode_direct=yes
9502 hardcode_shlibpath_var=no
9506 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9509 else
9510 ld_shlibs=no
9513 esac
9515 if test "$ld_shlibs" = no; then
9516 runpath_var=
9517 hardcode_libdir_flag_spec=
9518 export_dynamic_flag_spec=
9519 whole_archive_flag_spec=
9521 else
9522 # PORTME fill in a description of your system's linker (not GNU ld)
9523 case $host_os in
9524 aix3*)
9525 allow_undefined_flag=unsupported
9526 always_export_symbols=yes
9527 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'
9528 # Note: this linker hardcodes the directories in LIBPATH if there
9529 # are no directories specified by -L.
9530 hardcode_minus_L=yes
9531 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9532 # Neither direct hardcoding nor static linking is supported with a
9533 # broken collect2.
9534 hardcode_direct=unsupported
9538 aix[4-9]*)
9539 if test "$host_cpu" = ia64; then
9540 # On IA64, the linker does run time linking by default, so we don't
9541 # have to do anything special.
9542 aix_use_runtimelinking=no
9543 exp_sym_flag='-Bexport'
9544 no_entry_flag=""
9545 else
9546 # If we're using GNU nm, then we don't want the "-C" option.
9547 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9548 # Also, AIX nm treats weak defined symbols like other global
9549 # defined symbols, whereas GNU nm marks them as "W".
9550 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9551 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'
9552 else
9553 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'
9555 aix_use_runtimelinking=no
9557 # Test if we are trying to use run time linking or normal
9558 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9559 # need to do runtime linking.
9560 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9561 for ld_flag in $LDFLAGS; do
9562 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9563 aix_use_runtimelinking=yes
9564 break
9566 done
9568 esac
9570 exp_sym_flag='-bexport'
9571 no_entry_flag='-bnoentry'
9574 # When large executables or shared objects are built, AIX ld can
9575 # have problems creating the table of contents. If linking a library
9576 # or program results in "error TOC overflow" add -mminimal-toc to
9577 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9578 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9580 archive_cmds=''
9581 hardcode_direct=yes
9582 hardcode_direct_absolute=yes
9583 hardcode_libdir_separator=':'
9584 link_all_deplibs=yes
9585 file_list_spec='${wl}-f,'
9587 if test "$GCC" = yes; then
9588 case $host_os in aix4.[012]|aix4.[012].*)
9589 # We only want to do this on AIX 4.2 and lower, the check
9590 # below for broken collect2 doesn't work under 4.3+
9591 collect2name=`${CC} -print-prog-name=collect2`
9592 if test -f "$collect2name" &&
9593 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9594 then
9595 # We have reworked collect2
9597 else
9598 # We have old collect2
9599 hardcode_direct=unsupported
9600 # It fails to find uninstalled libraries when the uninstalled
9601 # path is not listed in the libpath. Setting hardcode_minus_L
9602 # to unsupported forces relinking
9603 hardcode_minus_L=yes
9604 hardcode_libdir_flag_spec='-L$libdir'
9605 hardcode_libdir_separator=
9608 esac
9609 shared_flag='-shared'
9610 if test "$aix_use_runtimelinking" = yes; then
9611 shared_flag="$shared_flag "'${wl}-G'
9613 else
9614 # not using gcc
9615 if test "$host_cpu" = ia64; then
9616 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9617 # chokes on -Wl,-G. The following line is correct:
9618 shared_flag='-G'
9619 else
9620 if test "$aix_use_runtimelinking" = yes; then
9621 shared_flag='${wl}-G'
9622 else
9623 shared_flag='${wl}-bM:SRE'
9628 export_dynamic_flag_spec='${wl}-bexpall'
9629 # It seems that -bexpall does not export symbols beginning with
9630 # underscore (_), so it is better to generate a list of symbols to export.
9631 always_export_symbols=yes
9632 if test "$aix_use_runtimelinking" = yes; then
9633 # Warning - without using the other runtime loading flags (-brtl),
9634 # -berok will link without error, but may produce a broken library.
9635 allow_undefined_flag='-berok'
9636 # Determine the default libpath from the value encoded in an
9637 # empty executable.
9638 if test x$gcc_no_link = xyes; then
9639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9645 main ()
9649 return 0;
9651 _ACEOF
9652 if ac_fn_c_try_link "$LINENO"; then :
9654 lt_aix_libpath_sed='
9655 /Import File Strings/,/^$/ {
9656 /^0/ {
9657 s/^0 *\(.*\)$/\1/
9661 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9662 # Check for a 64-bit object if we didn't find anything.
9663 if test -z "$aix_libpath"; then
9664 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9671 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9672 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"
9673 else
9674 if test "$host_cpu" = ia64; then
9675 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9676 allow_undefined_flag="-z nodefs"
9677 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"
9678 else
9679 # Determine the default libpath from the value encoded in an
9680 # empty executable.
9681 if test x$gcc_no_link = xyes; then
9682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9688 main ()
9692 return 0;
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9697 lt_aix_libpath_sed='
9698 /Import File Strings/,/^$/ {
9699 /^0/ {
9700 s/^0 *\(.*\)$/\1/
9704 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 # Check for a 64-bit object if we didn't find anything.
9706 if test -z "$aix_libpath"; then
9707 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 rm -f core conftest.err conftest.$ac_objext \
9711 conftest$ac_exeext conftest.$ac_ext
9712 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9714 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9715 # Warning - without using the other run time loading flags,
9716 # -berok will link without error, but may produce a broken library.
9717 no_undefined_flag=' ${wl}-bernotok'
9718 allow_undefined_flag=' ${wl}-berok'
9719 if test "$with_gnu_ld" = yes; then
9720 # We only use this code for GNU lds that support --whole-archive.
9721 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9722 else
9723 # Exported symbols can be pulled into shared objects from archives
9724 whole_archive_flag_spec='$convenience'
9726 archive_cmds_need_lc=yes
9727 # This is similar to how AIX traditionally builds its shared libraries.
9728 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'
9733 amigaos*)
9734 case $host_cpu in
9735 powerpc)
9736 # see comment about AmigaOS4 .so support
9737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9738 archive_expsym_cmds=''
9740 m68k)
9741 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)'
9742 hardcode_libdir_flag_spec='-L$libdir'
9743 hardcode_minus_L=yes
9745 esac
9748 bsdi[45]*)
9749 export_dynamic_flag_spec=-rdynamic
9752 cygwin* | mingw* | pw32* | cegcc*)
9753 # When not using gcc, we currently assume that we are using
9754 # Microsoft Visual C++.
9755 # hardcode_libdir_flag_spec is actually meaningless, as there is
9756 # no search path for DLLs.
9757 hardcode_libdir_flag_spec=' '
9758 allow_undefined_flag=unsupported
9759 # Tell ltmain to make .lib files, not .a files.
9760 libext=lib
9761 # Tell ltmain to make .dll files, not .so files.
9762 shrext_cmds=".dll"
9763 # FIXME: Setting linknames here is a bad hack.
9764 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9765 # The linker will automatically build a .lib file if we build a DLL.
9766 old_archive_from_new_cmds='true'
9767 # FIXME: Should let the user specify the lib program.
9768 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9769 fix_srcfile_path='`cygpath -w "$srcfile"`'
9770 enable_shared_with_static_runtimes=yes
9773 darwin* | rhapsody*)
9776 archive_cmds_need_lc=no
9777 hardcode_direct=no
9778 hardcode_automatic=yes
9779 hardcode_shlibpath_var=unsupported
9780 if test "$lt_cv_ld_force_load" = "yes"; then
9781 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\"`'
9782 else
9783 whole_archive_flag_spec=''
9785 link_all_deplibs=yes
9786 allow_undefined_flag="$_lt_dar_allow_undefined"
9787 case $cc_basename in
9788 ifort*) _lt_dar_can_shared=yes ;;
9789 *) _lt_dar_can_shared=$GCC ;;
9790 esac
9791 if test "$_lt_dar_can_shared" = "yes"; then
9792 output_verbose_link_cmd=func_echo_all
9793 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9794 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9795 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}"
9796 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}"
9798 else
9799 ld_shlibs=no
9804 dgux*)
9805 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9806 hardcode_libdir_flag_spec='-L$libdir'
9807 hardcode_shlibpath_var=no
9810 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9811 # support. Future versions do this automatically, but an explicit c++rt0.o
9812 # does not break anything, and helps significantly (at the cost of a little
9813 # extra space).
9814 freebsd2.2*)
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9816 hardcode_libdir_flag_spec='-R$libdir'
9817 hardcode_direct=yes
9818 hardcode_shlibpath_var=no
9821 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9822 freebsd2.*)
9823 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9824 hardcode_direct=yes
9825 hardcode_minus_L=yes
9826 hardcode_shlibpath_var=no
9829 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9830 freebsd* | dragonfly*)
9831 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9832 hardcode_libdir_flag_spec='-R$libdir'
9833 hardcode_direct=yes
9834 hardcode_shlibpath_var=no
9837 hpux9*)
9838 if test "$GCC" = yes; then
9839 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'
9840 else
9841 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'
9843 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9844 hardcode_libdir_separator=:
9845 hardcode_direct=yes
9847 # hardcode_minus_L: Not really in the search PATH,
9848 # but as the default location of the library.
9849 hardcode_minus_L=yes
9850 export_dynamic_flag_spec='${wl}-E'
9853 hpux10*)
9854 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9855 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9859 if test "$with_gnu_ld" = no; then
9860 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9861 hardcode_libdir_flag_spec_ld='+b $libdir'
9862 hardcode_libdir_separator=:
9863 hardcode_direct=yes
9864 hardcode_direct_absolute=yes
9865 export_dynamic_flag_spec='${wl}-E'
9866 # hardcode_minus_L: Not really in the search PATH,
9867 # but as the default location of the library.
9868 hardcode_minus_L=yes
9872 hpux11*)
9873 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9874 case $host_cpu in
9875 hppa*64*)
9876 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ia64*)
9879 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9884 esac
9885 else
9886 case $host_cpu in
9887 hppa*64*)
9888 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 ia64*)
9891 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9895 # Older versions of the 11.00 compiler do not understand -b yet
9896 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9898 $as_echo_n "checking if $CC understands -b... " >&6; }
9899 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 lt_cv_prog_compiler__b=no
9903 save_LDFLAGS="$LDFLAGS"
9904 LDFLAGS="$LDFLAGS -b"
9905 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9906 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9907 # The linker can only warn and ignore the option if not recognized
9908 # So say no if there are warnings
9909 if test -s conftest.err; then
9910 # Append any errors to the config.log.
9911 cat conftest.err 1>&5
9912 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9913 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9914 if diff conftest.exp conftest.er2 >/dev/null; then
9915 lt_cv_prog_compiler__b=yes
9917 else
9918 lt_cv_prog_compiler__b=yes
9921 $RM -r conftest*
9922 LDFLAGS="$save_LDFLAGS"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9926 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9928 if test x"$lt_cv_prog_compiler__b" = xyes; then
9929 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9930 else
9931 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9935 esac
9937 if test "$with_gnu_ld" = no; then
9938 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9939 hardcode_libdir_separator=:
9941 case $host_cpu in
9942 hppa*64*|ia64*)
9943 hardcode_direct=no
9944 hardcode_shlibpath_var=no
9947 hardcode_direct=yes
9948 hardcode_direct_absolute=yes
9949 export_dynamic_flag_spec='${wl}-E'
9951 # hardcode_minus_L: Not really in the search PATH,
9952 # but as the default location of the library.
9953 hardcode_minus_L=yes
9955 esac
9959 irix5* | irix6* | nonstopux*)
9960 if test "$GCC" = yes; then
9961 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'
9962 # Try to use the -exported_symbol ld option, if it does not
9963 # work, assume that -exports_file does not work either and
9964 # implicitly export all symbols.
9965 save_LDFLAGS="$LDFLAGS"
9966 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9967 if test x$gcc_no_link = xyes; then
9968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int foo(void) {}
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 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'
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LDFLAGS="$save_LDFLAGS"
9981 else
9982 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'
9983 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'
9985 archive_cmds_need_lc='no'
9986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987 hardcode_libdir_separator=:
9988 inherit_rpath=yes
9989 link_all_deplibs=yes
9992 netbsd*)
9993 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9994 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9995 else
9996 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9998 hardcode_libdir_flag_spec='-R$libdir'
9999 hardcode_direct=yes
10000 hardcode_shlibpath_var=no
10003 newsos6)
10004 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_direct=yes
10006 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10007 hardcode_libdir_separator=:
10008 hardcode_shlibpath_var=no
10011 *nto* | *qnx*)
10014 openbsd*)
10015 if test -f /usr/libexec/ld.so; then
10016 hardcode_direct=yes
10017 hardcode_shlibpath_var=no
10018 hardcode_direct_absolute=yes
10019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10022 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10023 export_dynamic_flag_spec='${wl}-E'
10024 else
10025 case $host_os in
10026 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10027 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_libdir_flag_spec='-R$libdir'
10031 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10032 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10034 esac
10036 else
10037 ld_shlibs=no
10041 os2*)
10042 hardcode_libdir_flag_spec='-L$libdir'
10043 hardcode_minus_L=yes
10044 allow_undefined_flag=unsupported
10045 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'
10046 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10049 osf3*)
10050 if test "$GCC" = yes; then
10051 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10052 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'
10053 else
10054 allow_undefined_flag=' -expect_unresolved \*'
10055 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'
10057 archive_cmds_need_lc='no'
10058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059 hardcode_libdir_separator=:
10062 osf4* | osf5*) # as osf3* with the addition of -msym flag
10063 if test "$GCC" = yes; then
10064 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10065 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'
10066 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10067 else
10068 allow_undefined_flag=' -expect_unresolved \*'
10069 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'
10070 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~
10071 $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'
10073 # Both c and cxx compiler support -rpath directly
10074 hardcode_libdir_flag_spec='-rpath $libdir'
10076 archive_cmds_need_lc='no'
10077 hardcode_libdir_separator=:
10080 solaris*)
10081 no_undefined_flag=' -z defs'
10082 if test "$GCC" = yes; then
10083 wlarc='${wl}'
10084 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10086 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10087 else
10088 case `$CC -V 2>&1` in
10089 *"Compilers 5.0"*)
10090 wlarc=''
10091 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10092 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10093 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10096 wlarc='${wl}'
10097 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10099 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10101 esac
10103 hardcode_libdir_flag_spec='-R$libdir'
10104 hardcode_shlibpath_var=no
10105 case $host_os in
10106 solaris2.[0-5] | solaris2.[0-5].*) ;;
10108 # The compiler driver will combine and reorder linker options,
10109 # but understands `-z linker_flag'. GCC discards it without `$wl',
10110 # but is careful enough not to reorder.
10111 # Supported since Solaris 2.6 (maybe 2.5.1?)
10112 if test "$GCC" = yes; then
10113 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10114 else
10115 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10118 esac
10119 link_all_deplibs=yes
10122 sunos4*)
10123 if test "x$host_vendor" = xsequent; then
10124 # Use $CC to link under sequent, because it throws in some extra .o
10125 # files that make .init and .fini sections work.
10126 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10127 else
10128 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10130 hardcode_libdir_flag_spec='-L$libdir'
10131 hardcode_direct=yes
10132 hardcode_minus_L=yes
10133 hardcode_shlibpath_var=no
10136 sysv4)
10137 case $host_vendor in
10138 sni)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=yes # is this really true???
10142 siemens)
10143 ## LD is ld it makes a PLAMLIB
10144 ## CC just makes a GrossModule.
10145 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10146 reload_cmds='$CC -r -o $output$reload_objs'
10147 hardcode_direct=no
10149 motorola)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10153 esac
10154 runpath_var='LD_RUN_PATH'
10155 hardcode_shlibpath_var=no
10158 sysv4.3*)
10159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10160 hardcode_shlibpath_var=no
10161 export_dynamic_flag_spec='-Bexport'
10164 sysv4*MP*)
10165 if test -d /usr/nec; then
10166 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10167 hardcode_shlibpath_var=no
10168 runpath_var=LD_RUN_PATH
10169 hardcode_runpath_var=yes
10170 ld_shlibs=yes
10174 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10175 no_undefined_flag='${wl}-z,text'
10176 archive_cmds_need_lc=no
10177 hardcode_shlibpath_var=no
10178 runpath_var='LD_RUN_PATH'
10180 if test "$GCC" = yes; then
10181 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 else
10184 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10189 sysv5* | sco3.2v5* | sco5v6*)
10190 # Note: We can NOT use -z defs as we might desire, because we do not
10191 # link with -lc, and that would cause any symbols used from libc to
10192 # always be unresolved, which means just about no library would
10193 # ever link correctly. If we're not using GNU ld we use -z text
10194 # though, which does catch some bad symbols but isn't as heavy-handed
10195 # as -z defs.
10196 no_undefined_flag='${wl}-z,text'
10197 allow_undefined_flag='${wl}-z,nodefs'
10198 archive_cmds_need_lc=no
10199 hardcode_shlibpath_var=no
10200 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10201 hardcode_libdir_separator=':'
10202 link_all_deplibs=yes
10203 export_dynamic_flag_spec='${wl}-Bexport'
10204 runpath_var='LD_RUN_PATH'
10206 if test "$GCC" = yes; then
10207 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 else
10210 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 uts4*)
10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_libdir_flag_spec='-L$libdir'
10218 hardcode_shlibpath_var=no
10222 ld_shlibs=no
10224 esac
10226 if test x$host_vendor = xsni; then
10227 case $host in
10228 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10229 export_dynamic_flag_spec='${wl}-Blargedynsym'
10231 esac
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10236 $as_echo "$ld_shlibs" >&6; }
10237 test "$ld_shlibs" = no && can_build_shared=no
10239 with_gnu_ld=$with_gnu_ld
10256 # Do we need to explicitly link libc?
10258 case "x$archive_cmds_need_lc" in
10259 x|xyes)
10260 # Assume -lc should be added
10261 archive_cmds_need_lc=yes
10263 if test "$enable_shared" = yes && test "$GCC" = yes; then
10264 case $archive_cmds in
10265 *'~'*)
10266 # FIXME: we may have to deal with multi-command sequences.
10268 '$CC '*)
10269 # Test whether the compiler implicitly links with -lc since on some
10270 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10271 # to ld, don't add -lc before -lgcc.
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10273 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10274 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 $RM conftest*
10278 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10280 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10281 (eval $ac_compile) 2>&5
10282 ac_status=$?
10283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10284 test $ac_status = 0; } 2>conftest.err; then
10285 soname=conftest
10286 lib=conftest
10287 libobjs=conftest.$ac_objext
10288 deplibs=
10289 wl=$lt_prog_compiler_wl
10290 pic_flag=$lt_prog_compiler_pic
10291 compiler_flags=-v
10292 linker_flags=-v
10293 verstring=
10294 output_objdir=.
10295 libname=conftest
10296 lt_save_allow_undefined_flag=$allow_undefined_flag
10297 allow_undefined_flag=
10298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10299 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10300 ac_status=$?
10301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10302 test $ac_status = 0; }
10303 then
10304 lt_cv_archive_cmds_need_lc=no
10305 else
10306 lt_cv_archive_cmds_need_lc=yes
10308 allow_undefined_flag=$lt_save_allow_undefined_flag
10309 else
10310 cat conftest.err 1>&5
10312 $RM conftest*
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10316 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10317 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10319 esac
10322 esac
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10481 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10483 if test "$GCC" = yes; then
10484 case $host_os in
10485 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10486 *) lt_awk_arg="/^libraries:/" ;;
10487 esac
10488 case $host_os in
10489 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10490 *) lt_sed_strip_eq="s,=/,/,g" ;;
10491 esac
10492 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10493 case $lt_search_path_spec in
10494 *\;*)
10495 # if the path contains ";" then we assume it to be the separator
10496 # otherwise default to the standard path separator (i.e. ":") - it is
10497 # assumed that no part of a normal pathname contains ";" but that should
10498 # okay in the real world where ";" in dirpaths is itself problematic.
10499 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10502 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10504 esac
10505 # Ok, now we have the path, separated by spaces, we can step through it
10506 # and add multilib dir if necessary.
10507 lt_tmp_lt_search_path_spec=
10508 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10509 for lt_sys_path in $lt_search_path_spec; do
10510 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10511 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10512 else
10513 test -d "$lt_sys_path" && \
10514 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10516 done
10517 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10518 BEGIN {RS=" "; FS="/|\n";} {
10519 lt_foo="";
10520 lt_count=0;
10521 for (lt_i = NF; lt_i > 0; lt_i--) {
10522 if ($lt_i != "" && $lt_i != ".") {
10523 if ($lt_i == "..") {
10524 lt_count++;
10525 } else {
10526 if (lt_count == 0) {
10527 lt_foo="/" $lt_i lt_foo;
10528 } else {
10529 lt_count--;
10534 if (lt_foo != "") { lt_freq[lt_foo]++; }
10535 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10537 # AWK program above erroneously prepends '/' to C:/dos/paths
10538 # for these hosts.
10539 case $host_os in
10540 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10541 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10542 esac
10543 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10544 else
10545 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10547 library_names_spec=
10548 libname_spec='lib$name'
10549 soname_spec=
10550 shrext_cmds=".so"
10551 postinstall_cmds=
10552 postuninstall_cmds=
10553 finish_cmds=
10554 finish_eval=
10555 shlibpath_var=
10556 shlibpath_overrides_runpath=unknown
10557 version_type=none
10558 dynamic_linker="$host_os ld.so"
10559 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10560 need_lib_prefix=unknown
10561 hardcode_into_libs=no
10563 # when you set need_version to no, make sure it does not cause -set_version
10564 # flags to be left without arguments
10565 need_version=unknown
10567 case $host_os in
10568 aix3*)
10569 version_type=linux
10570 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10571 shlibpath_var=LIBPATH
10573 # AIX 3 has no versioning support, so we append a major version to the name.
10574 soname_spec='${libname}${release}${shared_ext}$major'
10577 aix[4-9]*)
10578 version_type=linux
10579 need_lib_prefix=no
10580 need_version=no
10581 hardcode_into_libs=yes
10582 if test "$host_cpu" = ia64; then
10583 # AIX 5 supports IA64
10584 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10585 shlibpath_var=LD_LIBRARY_PATH
10586 else
10587 # With GCC up to 2.95.x, collect2 would create an import file
10588 # for dependence libraries. The import file would start with
10589 # the line `#! .'. This would cause the generated library to
10590 # depend on `.', always an invalid library. This was fixed in
10591 # development snapshots of GCC prior to 3.0.
10592 case $host_os in
10593 aix4 | aix4.[01] | aix4.[01].*)
10594 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10595 echo ' yes '
10596 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10598 else
10599 can_build_shared=no
10602 esac
10603 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10604 # soname into executable. Probably we can add versioning support to
10605 # collect2, so additional links can be useful in future.
10606 if test "$aix_use_runtimelinking" = yes; then
10607 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10608 # instead of lib<name>.a to let people know that these are not
10609 # typical AIX shared libraries.
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611 else
10612 # We preserve .a as extension for shared libraries through AIX4.2
10613 # and later when we are not doing run time linking.
10614 library_names_spec='${libname}${release}.a $libname.a'
10615 soname_spec='${libname}${release}${shared_ext}$major'
10617 shlibpath_var=LIBPATH
10621 amigaos*)
10622 case $host_cpu in
10623 powerpc)
10624 # Since July 2007 AmigaOS4 officially supports .so libraries.
10625 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10628 m68k)
10629 library_names_spec='$libname.ixlibrary $libname.a'
10630 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10631 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'
10633 esac
10636 beos*)
10637 library_names_spec='${libname}${shared_ext}'
10638 dynamic_linker="$host_os ld.so"
10639 shlibpath_var=LIBRARY_PATH
10642 bsdi[45]*)
10643 version_type=linux
10644 need_version=no
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10648 shlibpath_var=LD_LIBRARY_PATH
10649 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10650 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10651 # the default ld.so.conf also contains /usr/contrib/lib and
10652 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10653 # libtool to hard-code these into programs
10656 cygwin* | mingw* | pw32* | cegcc*)
10657 version_type=windows
10658 shrext_cmds=".dll"
10659 need_version=no
10660 need_lib_prefix=no
10662 case $GCC,$host_os in
10663 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10664 library_names_spec='$libname.dll.a'
10665 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10666 postinstall_cmds='base_file=`basename \${file}`~
10667 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10668 dldir=$destdir/`dirname \$dlpath`~
10669 test -d \$dldir || mkdir -p \$dldir~
10670 $install_prog $dir/$dlname \$dldir/$dlname~
10671 chmod a+x \$dldir/$dlname~
10672 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10673 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10675 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10676 dlpath=$dir/\$dldll~
10677 $RM \$dlpath'
10678 shlibpath_overrides_runpath=yes
10680 case $host_os in
10681 cygwin*)
10682 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10683 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10685 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10687 mingw* | cegcc*)
10688 # MinGW DLLs use traditional 'lib' prefix
10689 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10691 pw32*)
10692 # pw32 DLLs use 'pw' prefix rather than 'lib'
10693 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10695 esac
10699 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701 esac
10702 dynamic_linker='Win32 ld.exe'
10703 # FIXME: first we should search . and the directory the executable is in
10704 shlibpath_var=PATH
10707 darwin* | rhapsody*)
10708 dynamic_linker="$host_os dyld"
10709 version_type=darwin
10710 need_lib_prefix=no
10711 need_version=no
10712 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10713 soname_spec='${libname}${release}${major}$shared_ext'
10714 shlibpath_overrides_runpath=yes
10715 shlibpath_var=DYLD_LIBRARY_PATH
10716 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10718 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10719 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10722 dgux*)
10723 version_type=linux
10724 need_lib_prefix=no
10725 need_version=no
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LD_LIBRARY_PATH
10731 freebsd* | dragonfly*)
10732 # DragonFly does not have aout. When/if they implement a new
10733 # versioning mechanism, adjust this.
10734 if test -x /usr/bin/objformat; then
10735 objformat=`/usr/bin/objformat`
10736 else
10737 case $host_os in
10738 freebsd[23].*) objformat=aout ;;
10739 *) objformat=elf ;;
10740 esac
10742 version_type=freebsd-$objformat
10743 case $version_type in
10744 freebsd-elf*)
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10746 need_version=no
10747 need_lib_prefix=no
10749 freebsd-*)
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10751 need_version=yes
10753 esac
10754 shlibpath_var=LD_LIBRARY_PATH
10755 case $host_os in
10756 freebsd2.*)
10757 shlibpath_overrides_runpath=yes
10759 freebsd3.[01]* | freebsdelf3.[01]*)
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10764 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10765 shlibpath_overrides_runpath=no
10766 hardcode_into_libs=yes
10768 *) # from 4.6 on, and DragonFly
10769 shlibpath_overrides_runpath=yes
10770 hardcode_into_libs=yes
10772 esac
10775 gnu*)
10776 version_type=linux
10777 need_lib_prefix=no
10778 need_version=no
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LD_LIBRARY_PATH
10782 hardcode_into_libs=yes
10785 haiku*)
10786 version_type=linux
10787 need_lib_prefix=no
10788 need_version=no
10789 dynamic_linker="$host_os runtime_loader"
10790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 shlibpath_var=LIBRARY_PATH
10793 shlibpath_overrides_runpath=yes
10794 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10795 hardcode_into_libs=yes
10798 hpux9* | hpux10* | hpux11*)
10799 # Give a soname corresponding to the major version so that dld.sl refuses to
10800 # link against other versions.
10801 version_type=sunos
10802 need_lib_prefix=no
10803 need_version=no
10804 case $host_cpu in
10805 ia64*)
10806 shrext_cmds='.so'
10807 hardcode_into_libs=yes
10808 dynamic_linker="$host_os dld.so"
10809 shlibpath_var=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 if test "X$HPUX_IA64_MODE" = X32; then
10814 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10815 else
10816 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10820 hppa*64*)
10821 shrext_cmds='.sl'
10822 hardcode_into_libs=yes
10823 dynamic_linker="$host_os dld.sl"
10824 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10825 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10829 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10832 shrext_cmds='.sl'
10833 dynamic_linker="$host_os dld.sl"
10834 shlibpath_var=SHLIB_PATH
10835 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 soname_spec='${libname}${release}${shared_ext}$major'
10839 esac
10840 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10841 postinstall_cmds='chmod 555 $lib'
10842 # or fails outright, so override atomically:
10843 install_override_mode=555
10846 interix[3-9]*)
10847 version_type=linux
10848 need_lib_prefix=no
10849 need_version=no
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath=no
10855 hardcode_into_libs=yes
10858 irix5* | irix6* | nonstopux*)
10859 case $host_os in
10860 nonstopux*) version_type=nonstopux ;;
10862 if test "$lt_cv_prog_gnu_ld" = yes; then
10863 version_type=linux
10864 else
10865 version_type=irix
10866 fi ;;
10867 esac
10868 need_lib_prefix=no
10869 need_version=no
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10872 case $host_os in
10873 irix5* | nonstopux*)
10874 libsuff= shlibsuff=
10877 case $LD in # libtool.m4 will add one of these switches to LD
10878 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10879 libsuff= shlibsuff= libmagic=32-bit;;
10880 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10881 libsuff=32 shlibsuff=N32 libmagic=N32;;
10882 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10883 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10884 *) libsuff= shlibsuff= libmagic=never-match;;
10885 esac
10887 esac
10888 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10889 shlibpath_overrides_runpath=no
10890 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10891 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10892 hardcode_into_libs=yes
10895 # No shared lib support for Linux oldld, aout, or coff.
10896 linux*oldld* | linux*aout* | linux*coff*)
10897 dynamic_linker=no
10900 # This must be Linux ELF.
10901 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10902 version_type=linux
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=no
10911 # Some binutils ld are patched to set DT_RUNPATH
10912 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10913 $as_echo_n "(cached) " >&6
10914 else
10915 lt_cv_shlibpath_overrides_runpath=no
10916 save_LDFLAGS=$LDFLAGS
10917 save_libdir=$libdir
10918 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10919 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10920 if test x$gcc_no_link = xyes; then
10921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10927 main ()
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10936 lt_cv_shlibpath_overrides_runpath=yes
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LDFLAGS=$save_LDFLAGS
10942 libdir=$save_libdir
10946 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10948 # This implies no fast_install, which is unacceptable.
10949 # Some rework will be needed to allow for fast_install
10950 # before this can be enabled.
10951 hardcode_into_libs=yes
10953 # Append ld.so.conf contents to the search path
10954 if test -f /etc/ld.so.conf; then
10955 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' ' '`
10956 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10959 # We used to test for /lib/ld.so.1 and disable shared libraries on
10960 # powerpc, because MkLinux only supported shared libraries with the
10961 # GNU dynamic linker. Since this was broken with cross compilers,
10962 # most powerpc-linux boxes support dynamic linking these days and
10963 # people can always --disable-shared, the test was removed, and we
10964 # assume the GNU/Linux dynamic linker is in use.
10965 dynamic_linker='GNU/Linux ld.so'
10968 netbsd*)
10969 version_type=sunos
10970 need_lib_prefix=no
10971 need_version=no
10972 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10975 dynamic_linker='NetBSD (a.out) ld.so'
10976 else
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 dynamic_linker='NetBSD ld.elf_so'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 hardcode_into_libs=yes
10986 newsos6)
10987 version_type=linux
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=yes
10993 *nto* | *qnx*)
10994 version_type=qnx
10995 need_lib_prefix=no
10996 need_version=no
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 shlibpath_overrides_runpath=no
11001 hardcode_into_libs=yes
11002 dynamic_linker='ldqnx.so'
11005 openbsd*)
11006 version_type=sunos
11007 sys_lib_dlsearch_path_spec="/usr/lib"
11008 need_lib_prefix=no
11009 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11010 case $host_os in
11011 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11012 *) need_version=no ;;
11013 esac
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11018 case $host_os in
11019 openbsd2.[89] | openbsd2.[89].*)
11020 shlibpath_overrides_runpath=no
11023 shlibpath_overrides_runpath=yes
11025 esac
11026 else
11027 shlibpath_overrides_runpath=yes
11031 os2*)
11032 libname_spec='$name'
11033 shrext_cmds=".dll"
11034 need_lib_prefix=no
11035 library_names_spec='$libname${shared_ext} $libname.a'
11036 dynamic_linker='OS/2 ld.exe'
11037 shlibpath_var=LIBPATH
11040 osf3* | osf4* | osf5*)
11041 version_type=osf
11042 need_lib_prefix=no
11043 need_version=no
11044 soname_spec='${libname}${release}${shared_ext}$major'
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11048 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11051 rdos*)
11052 dynamic_linker=no
11055 solaris*)
11056 version_type=linux
11057 need_lib_prefix=no
11058 need_version=no
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 hardcode_into_libs=yes
11064 # ldd complains unless libraries are executable
11065 postinstall_cmds='chmod +x $lib'
11068 sunos4*)
11069 version_type=sunos
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=yes
11074 if test "$with_gnu_ld" = yes; then
11075 need_lib_prefix=no
11077 need_version=yes
11080 sysv4 | sysv4.3*)
11081 version_type=linux
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 shlibpath_var=LD_LIBRARY_PATH
11085 case $host_vendor in
11086 sni)
11087 shlibpath_overrides_runpath=no
11088 need_lib_prefix=no
11089 runpath_var=LD_RUN_PATH
11091 siemens)
11092 need_lib_prefix=no
11094 motorola)
11095 need_lib_prefix=no
11096 need_version=no
11097 shlibpath_overrides_runpath=no
11098 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11100 esac
11103 sysv4*MP*)
11104 if test -d /usr/nec ;then
11105 version_type=linux
11106 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11107 soname_spec='$libname${shared_ext}.$major'
11108 shlibpath_var=LD_LIBRARY_PATH
11112 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11113 version_type=freebsd-elf
11114 need_lib_prefix=no
11115 need_version=no
11116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11117 soname_spec='${libname}${release}${shared_ext}$major'
11118 shlibpath_var=LD_LIBRARY_PATH
11119 shlibpath_overrides_runpath=yes
11120 hardcode_into_libs=yes
11121 if test "$with_gnu_ld" = yes; then
11122 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11123 else
11124 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11125 case $host_os in
11126 sco3.2v5*)
11127 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11129 esac
11131 sys_lib_dlsearch_path_spec='/usr/lib'
11134 tpf*)
11135 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11136 version_type=linux
11137 need_lib_prefix=no
11138 need_version=no
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 shlibpath_var=LD_LIBRARY_PATH
11141 shlibpath_overrides_runpath=no
11142 hardcode_into_libs=yes
11145 uts4*)
11146 version_type=linux
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 shlibpath_var=LD_LIBRARY_PATH
11153 dynamic_linker=no
11155 esac
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11157 $as_echo "$dynamic_linker" >&6; }
11158 test "$dynamic_linker" = no && can_build_shared=no
11160 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11161 if test "$GCC" = yes; then
11162 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11166 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11168 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11169 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11264 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11265 hardcode_action=
11266 if test -n "$hardcode_libdir_flag_spec" ||
11267 test -n "$runpath_var" ||
11268 test "X$hardcode_automatic" = "Xyes" ; then
11270 # We can hardcode non-existent directories.
11271 if test "$hardcode_direct" != no &&
11272 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11273 # have to relink, otherwise we might link with an installed library
11274 # when we should be linking with a yet-to-be-installed one
11275 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11276 test "$hardcode_minus_L" != no; then
11277 # Linking always hardcodes the temporary library directory.
11278 hardcode_action=relink
11279 else
11280 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11281 hardcode_action=immediate
11283 else
11284 # We cannot hardcode anything, or else we can only hardcode existing
11285 # directories.
11286 hardcode_action=unsupported
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11289 $as_echo "$hardcode_action" >&6; }
11291 if test "$hardcode_action" = relink ||
11292 test "$inherit_rpath" = yes; then
11293 # Fast installation is not supported
11294 enable_fast_install=no
11295 elif test "$shlibpath_overrides_runpath" = yes ||
11296 test "$enable_shared" = no; then
11297 # Fast installation is not necessary
11298 enable_fast_install=needless
11306 if test "x$enable_dlopen" != xyes; then
11307 enable_dlopen=unknown
11308 enable_dlopen_self=unknown
11309 enable_dlopen_self_static=unknown
11310 else
11311 lt_cv_dlopen=no
11312 lt_cv_dlopen_libs=
11314 case $host_os in
11315 beos*)
11316 lt_cv_dlopen="load_add_on"
11317 lt_cv_dlopen_libs=
11318 lt_cv_dlopen_self=yes
11321 mingw* | pw32* | cegcc*)
11322 lt_cv_dlopen="LoadLibrary"
11323 lt_cv_dlopen_libs=
11326 cygwin*)
11327 lt_cv_dlopen="dlopen"
11328 lt_cv_dlopen_libs=
11331 darwin*)
11332 # if libdl is installed we need to link against it
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11334 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11335 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-ldl $LIBS"
11340 if test x$gcc_no_link = xyes; then
11341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char dlopen ();
11354 main ()
11356 return dlopen ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 ac_cv_lib_dl_dlopen=yes
11363 else
11364 ac_cv_lib_dl_dlopen=no
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_lib_save_LIBS
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11371 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11372 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11373 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11374 else
11376 lt_cv_dlopen="dyld"
11377 lt_cv_dlopen_libs=
11378 lt_cv_dlopen_self=yes
11385 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11386 if test "x$ac_cv_func_shl_load" = x""yes; then :
11387 lt_cv_dlopen="shl_load"
11388 else
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11390 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11391 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11392 $as_echo_n "(cached) " >&6
11393 else
11394 ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-ldld $LIBS"
11396 if test x$gcc_no_link = xyes; then
11397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11405 #ifdef __cplusplus
11406 extern "C"
11407 #endif
11408 char shl_load ();
11410 main ()
11412 return shl_load ();
11414 return 0;
11416 _ACEOF
11417 if ac_fn_c_try_link "$LINENO"; then :
11418 ac_cv_lib_dld_shl_load=yes
11419 else
11420 ac_cv_lib_dld_shl_load=no
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11427 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11428 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11429 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11430 else
11431 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11432 if test "x$ac_cv_func_dlopen" = x""yes; then :
11433 lt_cv_dlopen="dlopen"
11434 else
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11437 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-ldl $LIBS"
11442 if test x$gcc_no_link = xyes; then
11443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char dlopen ();
11456 main ()
11458 return dlopen ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_dl_dlopen=yes
11465 else
11466 ac_cv_lib_dl_dlopen=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11473 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11474 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11475 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11476 else
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11478 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11479 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lsvld $LIBS"
11484 if test x$gcc_no_link = xyes; then
11485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char dlopen ();
11498 main ()
11500 return dlopen ();
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 ac_cv_lib_svld_dlopen=yes
11507 else
11508 ac_cv_lib_svld_dlopen=no
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11515 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11516 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11517 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11518 else
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11520 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11521 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-ldld $LIBS"
11526 if test x$gcc_no_link = xyes; then
11527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char dld_link ();
11540 main ()
11542 return dld_link ();
11544 return 0;
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 ac_cv_lib_dld_dld_link=yes
11549 else
11550 ac_cv_lib_dld_dld_link=no
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11557 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11558 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11559 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11578 esac
11580 if test "x$lt_cv_dlopen" != xno; then
11581 enable_dlopen=yes
11582 else
11583 enable_dlopen=no
11586 case $lt_cv_dlopen in
11587 dlopen)
11588 save_CPPFLAGS="$CPPFLAGS"
11589 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11591 save_LDFLAGS="$LDFLAGS"
11592 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11594 save_LIBS="$LIBS"
11595 LIBS="$lt_cv_dlopen_libs $LIBS"
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11598 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11599 if test "${lt_cv_dlopen_self+set}" = set; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 if test "$cross_compiling" = yes; then :
11603 lt_cv_dlopen_self=cross
11604 else
11605 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11606 lt_status=$lt_dlunknown
11607 cat > conftest.$ac_ext <<_LT_EOF
11608 #line 11608 "configure"
11609 #include "confdefs.h"
11611 #if HAVE_DLFCN_H
11612 #include <dlfcn.h>
11613 #endif
11615 #include <stdio.h>
11617 #ifdef RTLD_GLOBAL
11618 # define LT_DLGLOBAL RTLD_GLOBAL
11619 #else
11620 # ifdef DL_GLOBAL
11621 # define LT_DLGLOBAL DL_GLOBAL
11622 # else
11623 # define LT_DLGLOBAL 0
11624 # endif
11625 #endif
11627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11628 find out it does not work in some platform. */
11629 #ifndef LT_DLLAZY_OR_NOW
11630 # ifdef RTLD_LAZY
11631 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11632 # else
11633 # ifdef DL_LAZY
11634 # define LT_DLLAZY_OR_NOW DL_LAZY
11635 # else
11636 # ifdef RTLD_NOW
11637 # define LT_DLLAZY_OR_NOW RTLD_NOW
11638 # else
11639 # ifdef DL_NOW
11640 # define LT_DLLAZY_OR_NOW DL_NOW
11641 # else
11642 # define LT_DLLAZY_OR_NOW 0
11643 # endif
11644 # endif
11645 # endif
11646 # endif
11647 #endif
11649 /* When -fvisbility=hidden is used, assume the code has been annotated
11650 correspondingly for the symbols needed. */
11651 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11652 void fnord () __attribute__((visibility("default")));
11653 #endif
11655 void fnord () { int i=42; }
11656 int main ()
11658 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11659 int status = $lt_dlunknown;
11661 if (self)
11663 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11664 else
11666 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11667 else puts (dlerror ());
11669 /* dlclose (self); */
11671 else
11672 puts (dlerror ());
11674 return status;
11676 _LT_EOF
11677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11678 (eval $ac_link) 2>&5
11679 ac_status=$?
11680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11681 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11682 (./conftest; exit; ) >&5 2>/dev/null
11683 lt_status=$?
11684 case x$lt_status in
11685 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11686 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11687 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11688 esac
11689 else :
11690 # compilation failed
11691 lt_cv_dlopen_self=no
11694 rm -fr conftest*
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11699 $as_echo "$lt_cv_dlopen_self" >&6; }
11701 if test "x$lt_cv_dlopen_self" = xyes; then
11702 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11704 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11705 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11706 $as_echo_n "(cached) " >&6
11707 else
11708 if test "$cross_compiling" = yes; then :
11709 lt_cv_dlopen_self_static=cross
11710 else
11711 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11712 lt_status=$lt_dlunknown
11713 cat > conftest.$ac_ext <<_LT_EOF
11714 #line 11714 "configure"
11715 #include "confdefs.h"
11717 #if HAVE_DLFCN_H
11718 #include <dlfcn.h>
11719 #endif
11721 #include <stdio.h>
11723 #ifdef RTLD_GLOBAL
11724 # define LT_DLGLOBAL RTLD_GLOBAL
11725 #else
11726 # ifdef DL_GLOBAL
11727 # define LT_DLGLOBAL DL_GLOBAL
11728 # else
11729 # define LT_DLGLOBAL 0
11730 # endif
11731 #endif
11733 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11734 find out it does not work in some platform. */
11735 #ifndef LT_DLLAZY_OR_NOW
11736 # ifdef RTLD_LAZY
11737 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11738 # else
11739 # ifdef DL_LAZY
11740 # define LT_DLLAZY_OR_NOW DL_LAZY
11741 # else
11742 # ifdef RTLD_NOW
11743 # define LT_DLLAZY_OR_NOW RTLD_NOW
11744 # else
11745 # ifdef DL_NOW
11746 # define LT_DLLAZY_OR_NOW DL_NOW
11747 # else
11748 # define LT_DLLAZY_OR_NOW 0
11749 # endif
11750 # endif
11751 # endif
11752 # endif
11753 #endif
11755 /* When -fvisbility=hidden is used, assume the code has been annotated
11756 correspondingly for the symbols needed. */
11757 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11758 void fnord () __attribute__((visibility("default")));
11759 #endif
11761 void fnord () { int i=42; }
11762 int main ()
11764 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11765 int status = $lt_dlunknown;
11767 if (self)
11769 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11770 else
11772 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11773 else puts (dlerror ());
11775 /* dlclose (self); */
11777 else
11778 puts (dlerror ());
11780 return status;
11782 _LT_EOF
11783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11784 (eval $ac_link) 2>&5
11785 ac_status=$?
11786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11787 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11788 (./conftest; exit; ) >&5 2>/dev/null
11789 lt_status=$?
11790 case x$lt_status in
11791 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11792 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11793 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11794 esac
11795 else :
11796 # compilation failed
11797 lt_cv_dlopen_self_static=no
11800 rm -fr conftest*
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11805 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11808 CPPFLAGS="$save_CPPFLAGS"
11809 LDFLAGS="$save_LDFLAGS"
11810 LIBS="$save_LIBS"
11812 esac
11814 case $lt_cv_dlopen_self in
11815 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11816 *) enable_dlopen_self=unknown ;;
11817 esac
11819 case $lt_cv_dlopen_self_static in
11820 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11821 *) enable_dlopen_self_static=unknown ;;
11822 esac
11841 striplib=
11842 old_striplib=
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11844 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11845 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11846 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11847 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 # FIXME - insert some real tests, host_os isn't really good enough
11852 case $host_os in
11853 darwin*)
11854 if test -n "$STRIP" ; then
11855 striplib="$STRIP -x"
11856 old_striplib="$STRIP -S"
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11858 $as_echo "yes" >&6; }
11859 else
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11868 esac
11882 # Report which library types will actually be built
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11884 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11886 $as_echo "$can_build_shared" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11889 $as_echo_n "checking whether to build shared libraries... " >&6; }
11890 test "$can_build_shared" = "no" && enable_shared=no
11892 # On AIX, shared libraries and static libraries use the same namespace, and
11893 # are all built from PIC.
11894 case $host_os in
11895 aix3*)
11896 test "$enable_shared" = yes && enable_static=no
11897 if test -n "$RANLIB"; then
11898 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11899 postinstall_cmds='$RANLIB $lib'
11903 aix[4-9]*)
11904 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11905 test "$enable_shared" = yes && enable_static=no
11908 esac
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11910 $as_echo "$enable_shared" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11913 $as_echo_n "checking whether to build static libraries... " >&6; }
11914 # Make sure either enable_shared or enable_static is yes.
11915 test "$enable_shared" = yes || enable_static=yes
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11917 $as_echo "$enable_static" >&6; }
11923 ac_ext=c
11924 ac_cpp='$CPP $CPPFLAGS'
11925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929 CC="$lt_save_CC"
11931 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11932 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11933 (test "X$CXX" != "Xg++"))) ; then
11934 ac_ext=cpp
11935 ac_cpp='$CXXCPP $CPPFLAGS'
11936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11940 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11941 if test -z "$CXXCPP"; then
11942 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11943 $as_echo_n "(cached) " >&6
11944 else
11945 # Double quotes because CXXCPP needs to be expanded
11946 for CXXCPP in "$CXX -E" "/lib/cpp"
11948 ac_preproc_ok=false
11949 for ac_cxx_preproc_warn_flag in '' yes
11951 # Use a header file that comes with gcc, so configuring glibc
11952 # with a fresh cross-compiler works.
11953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11954 # <limits.h> exists even on freestanding compilers.
11955 # On the NeXT, cc -E runs the code through the compiler's parser,
11956 # not just through cpp. "Syntax error" is here to catch this case.
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 #ifdef __STDC__
11960 # include <limits.h>
11961 #else
11962 # include <assert.h>
11963 #endif
11964 Syntax error
11965 _ACEOF
11966 if ac_fn_cxx_try_cpp "$LINENO"; then :
11968 else
11969 # Broken: fails on valid input.
11970 continue
11972 rm -f conftest.err conftest.$ac_ext
11974 # OK, works on sane cases. Now check whether nonexistent headers
11975 # can be detected and how.
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11978 #include <ac_nonexistent.h>
11979 _ACEOF
11980 if ac_fn_cxx_try_cpp "$LINENO"; then :
11981 # Broken: success on invalid input.
11982 continue
11983 else
11984 # Passes both tests.
11985 ac_preproc_ok=:
11986 break
11988 rm -f conftest.err conftest.$ac_ext
11990 done
11991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11992 rm -f conftest.err conftest.$ac_ext
11993 if $ac_preproc_ok; then :
11994 break
11997 done
11998 ac_cv_prog_CXXCPP=$CXXCPP
12001 CXXCPP=$ac_cv_prog_CXXCPP
12002 else
12003 ac_cv_prog_CXXCPP=$CXXCPP
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12006 $as_echo "$CXXCPP" >&6; }
12007 ac_preproc_ok=false
12008 for ac_cxx_preproc_warn_flag in '' yes
12010 # Use a header file that comes with gcc, so configuring glibc
12011 # with a fresh cross-compiler works.
12012 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12013 # <limits.h> exists even on freestanding compilers.
12014 # On the NeXT, cc -E runs the code through the compiler's parser,
12015 # not just through cpp. "Syntax error" is here to catch this case.
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12018 #ifdef __STDC__
12019 # include <limits.h>
12020 #else
12021 # include <assert.h>
12022 #endif
12023 Syntax error
12024 _ACEOF
12025 if ac_fn_cxx_try_cpp "$LINENO"; then :
12027 else
12028 # Broken: fails on valid input.
12029 continue
12031 rm -f conftest.err conftest.$ac_ext
12033 # OK, works on sane cases. Now check whether nonexistent headers
12034 # can be detected and how.
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12037 #include <ac_nonexistent.h>
12038 _ACEOF
12039 if ac_fn_cxx_try_cpp "$LINENO"; then :
12040 # Broken: success on invalid input.
12041 continue
12042 else
12043 # Passes both tests.
12044 ac_preproc_ok=:
12045 break
12047 rm -f conftest.err conftest.$ac_ext
12049 done
12050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12051 rm -f conftest.err conftest.$ac_ext
12052 if $ac_preproc_ok; then :
12054 else
12055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12057 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12058 See \`config.log' for more details." "$LINENO" 5; }
12061 ac_ext=c
12062 ac_cpp='$CPP $CPPFLAGS'
12063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12067 else
12068 _lt_caught_CXX_error=yes
12071 ac_ext=cpp
12072 ac_cpp='$CXXCPP $CPPFLAGS'
12073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12077 archive_cmds_need_lc_CXX=no
12078 allow_undefined_flag_CXX=
12079 always_export_symbols_CXX=no
12080 archive_expsym_cmds_CXX=
12081 compiler_needs_object_CXX=no
12082 export_dynamic_flag_spec_CXX=
12083 hardcode_direct_CXX=no
12084 hardcode_direct_absolute_CXX=no
12085 hardcode_libdir_flag_spec_CXX=
12086 hardcode_libdir_flag_spec_ld_CXX=
12087 hardcode_libdir_separator_CXX=
12088 hardcode_minus_L_CXX=no
12089 hardcode_shlibpath_var_CXX=unsupported
12090 hardcode_automatic_CXX=no
12091 inherit_rpath_CXX=no
12092 module_cmds_CXX=
12093 module_expsym_cmds_CXX=
12094 link_all_deplibs_CXX=unknown
12095 old_archive_cmds_CXX=$old_archive_cmds
12096 reload_flag_CXX=$reload_flag
12097 reload_cmds_CXX=$reload_cmds
12098 no_undefined_flag_CXX=
12099 whole_archive_flag_spec_CXX=
12100 enable_shared_with_static_runtimes_CXX=no
12102 # Source file extension for C++ test sources.
12103 ac_ext=cpp
12105 # Object file extension for compiled C++ test sources.
12106 objext=o
12107 objext_CXX=$objext
12109 # No sense in running all these tests if we already determined that
12110 # the CXX compiler isn't working. Some variables (like enable_shared)
12111 # are currently assumed to apply to all compilers on this platform,
12112 # and will be corrupted by setting them based on a non-working compiler.
12113 if test "$_lt_caught_CXX_error" != yes; then
12114 # Code to be used in simple compile tests
12115 lt_simple_compile_test_code="int some_variable = 0;"
12117 # Code to be used in simple link tests
12118 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12120 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12127 # If no C compiler was specified, use CC.
12128 LTCC=${LTCC-"$CC"}
12130 # If no C compiler flags were specified, use CFLAGS.
12131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12133 # Allow CC to be a program name with arguments.
12134 compiler=$CC
12137 # save warnings/boilerplate of simple test code
12138 ac_outfile=conftest.$ac_objext
12139 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12140 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12141 _lt_compiler_boilerplate=`cat conftest.err`
12142 $RM conftest*
12144 ac_outfile=conftest.$ac_objext
12145 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12146 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12147 _lt_linker_boilerplate=`cat conftest.err`
12148 $RM -r conftest*
12151 # Allow CC to be a program name with arguments.
12152 lt_save_CC=$CC
12153 lt_save_LD=$LD
12154 lt_save_GCC=$GCC
12155 GCC=$GXX
12156 lt_save_with_gnu_ld=$with_gnu_ld
12157 lt_save_path_LD=$lt_cv_path_LD
12158 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12159 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12160 else
12161 $as_unset lt_cv_prog_gnu_ld
12163 if test -n "${lt_cv_path_LDCXX+set}"; then
12164 lt_cv_path_LD=$lt_cv_path_LDCXX
12165 else
12166 $as_unset lt_cv_path_LD
12168 test -z "${LDCXX+set}" || LD=$LDCXX
12169 CC=${CXX-"c++"}
12170 compiler=$CC
12171 compiler_CXX=$CC
12172 for cc_temp in $compiler""; do
12173 case $cc_temp in
12174 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12175 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12176 \-*) ;;
12177 *) break;;
12178 esac
12179 done
12180 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12183 if test -n "$compiler"; then
12184 # We don't want -fno-exception when compiling C++ code, so set the
12185 # no_builtin_flag separately
12186 if test "$GXX" = yes; then
12187 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12188 else
12189 lt_prog_compiler_no_builtin_flag_CXX=
12192 if test "$GXX" = yes; then
12193 # Set up default GNU C++ configuration
12197 # Check whether --with-gnu-ld was given.
12198 if test "${with_gnu_ld+set}" = set; then :
12199 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12200 else
12201 with_gnu_ld=no
12204 ac_prog=ld
12205 if test "$GCC" = yes; then
12206 # Check if gcc -print-prog-name=ld gives a path.
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12208 $as_echo_n "checking for ld used by $CC... " >&6; }
12209 case $host in
12210 *-*-mingw*)
12211 # gcc leaves a trailing carriage return which upsets mingw
12212 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12215 esac
12216 case $ac_prog in
12217 # Accept absolute paths.
12218 [\\/]* | ?:[\\/]*)
12219 re_direlt='/[^/][^/]*/\.\./'
12220 # Canonicalize the pathname of ld
12221 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12222 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12223 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12224 done
12225 test -z "$LD" && LD="$ac_prog"
12228 # If it fails, then pretend we aren't using GCC.
12229 ac_prog=ld
12232 # If it is relative, then search for the first ld in PATH.
12233 with_gnu_ld=unknown
12235 esac
12236 elif test "$with_gnu_ld" = yes; then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12238 $as_echo_n "checking for GNU ld... " >&6; }
12239 else
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12241 $as_echo_n "checking for non-GNU ld... " >&6; }
12243 if test "${lt_cv_path_LD+set}" = set; then :
12244 $as_echo_n "(cached) " >&6
12245 else
12246 if test -z "$LD"; then
12247 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12248 for ac_dir in $PATH; do
12249 IFS="$lt_save_ifs"
12250 test -z "$ac_dir" && ac_dir=.
12251 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12252 lt_cv_path_LD="$ac_dir/$ac_prog"
12253 # Check to see if the program is GNU ld. I'd rather use --version,
12254 # but apparently some variants of GNU ld only accept -v.
12255 # Break only if it was the GNU/non-GNU ld that we prefer.
12256 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12257 *GNU* | *'with BFD'*)
12258 test "$with_gnu_ld" != no && break
12261 test "$with_gnu_ld" != yes && break
12263 esac
12265 done
12266 IFS="$lt_save_ifs"
12267 else
12268 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12272 LD="$lt_cv_path_LD"
12273 if test -n "$LD"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12275 $as_echo "$LD" >&6; }
12276 else
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12280 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12282 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12283 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12284 $as_echo_n "(cached) " >&6
12285 else
12286 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12287 case `$LD -v 2>&1 </dev/null` in
12288 *GNU* | *'with BFD'*)
12289 lt_cv_prog_gnu_ld=yes
12292 lt_cv_prog_gnu_ld=no
12294 esac
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12297 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12298 with_gnu_ld=$lt_cv_prog_gnu_ld
12306 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12307 # archiving commands below assume that GNU ld is being used.
12308 if test "$with_gnu_ld" = yes; then
12309 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12310 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'
12312 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12313 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12315 # If archive_cmds runs LD, not CC, wlarc should be empty
12316 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12317 # investigate it a little bit more. (MM)
12318 wlarc='${wl}'
12320 # ancient GNU ld didn't support --whole-archive et. al.
12321 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12322 $GREP 'no-whole-archive' > /dev/null; then
12323 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12324 else
12325 whole_archive_flag_spec_CXX=
12327 else
12328 with_gnu_ld=no
12329 wlarc=
12331 # A generic and very simple default shared library creation
12332 # command for GNU C++ for the case where it uses the native
12333 # linker, instead of GNU ld. If possible, this setting should
12334 # overridden to take advantage of the native linker features on
12335 # the platform it is being used on.
12336 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12339 # Commands to make compiler produce verbose output that lists
12340 # what "hidden" libraries, object files and flags are used when
12341 # linking a shared library.
12342 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12344 else
12345 GXX=no
12346 with_gnu_ld=no
12347 wlarc=
12350 # PORTME: fill in a description of your system's C++ link characteristics
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12352 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12353 ld_shlibs_CXX=yes
12354 case $host_os in
12355 aix3*)
12356 # FIXME: insert proper C++ library support
12357 ld_shlibs_CXX=no
12359 aix[4-9]*)
12360 if test "$host_cpu" = ia64; then
12361 # On IA64, the linker does run time linking by default, so we don't
12362 # have to do anything special.
12363 aix_use_runtimelinking=no
12364 exp_sym_flag='-Bexport'
12365 no_entry_flag=""
12366 else
12367 aix_use_runtimelinking=no
12369 # Test if we are trying to use run time linking or normal
12370 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12371 # need to do runtime linking.
12372 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12373 for ld_flag in $LDFLAGS; do
12374 case $ld_flag in
12375 *-brtl*)
12376 aix_use_runtimelinking=yes
12377 break
12379 esac
12380 done
12382 esac
12384 exp_sym_flag='-bexport'
12385 no_entry_flag='-bnoentry'
12388 # When large executables or shared objects are built, AIX ld can
12389 # have problems creating the table of contents. If linking a library
12390 # or program results in "error TOC overflow" add -mminimal-toc to
12391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12394 archive_cmds_CXX=''
12395 hardcode_direct_CXX=yes
12396 hardcode_direct_absolute_CXX=yes
12397 hardcode_libdir_separator_CXX=':'
12398 link_all_deplibs_CXX=yes
12399 file_list_spec_CXX='${wl}-f,'
12401 if test "$GXX" = yes; then
12402 case $host_os in aix4.[012]|aix4.[012].*)
12403 # We only want to do this on AIX 4.2 and lower, the check
12404 # below for broken collect2 doesn't work under 4.3+
12405 collect2name=`${CC} -print-prog-name=collect2`
12406 if test -f "$collect2name" &&
12407 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12408 then
12409 # We have reworked collect2
12411 else
12412 # We have old collect2
12413 hardcode_direct_CXX=unsupported
12414 # It fails to find uninstalled libraries when the uninstalled
12415 # path is not listed in the libpath. Setting hardcode_minus_L
12416 # to unsupported forces relinking
12417 hardcode_minus_L_CXX=yes
12418 hardcode_libdir_flag_spec_CXX='-L$libdir'
12419 hardcode_libdir_separator_CXX=
12421 esac
12422 shared_flag='-shared'
12423 if test "$aix_use_runtimelinking" = yes; then
12424 shared_flag="$shared_flag "'${wl}-G'
12426 else
12427 # not using gcc
12428 if test "$host_cpu" = ia64; then
12429 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12430 # chokes on -Wl,-G. The following line is correct:
12431 shared_flag='-G'
12432 else
12433 if test "$aix_use_runtimelinking" = yes; then
12434 shared_flag='${wl}-G'
12435 else
12436 shared_flag='${wl}-bM:SRE'
12441 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12442 # It seems that -bexpall does not export symbols beginning with
12443 # underscore (_), so it is better to generate a list of symbols to
12444 # export.
12445 always_export_symbols_CXX=yes
12446 if test "$aix_use_runtimelinking" = yes; then
12447 # Warning - without using the other runtime loading flags (-brtl),
12448 # -berok will link without error, but may produce a broken library.
12449 allow_undefined_flag_CXX='-berok'
12450 # Determine the default libpath from the value encoded in an empty
12451 # executable.
12452 if test x$gcc_no_link = xyes; then
12453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12459 main ()
12463 return 0;
12465 _ACEOF
12466 if ac_fn_cxx_try_link "$LINENO"; then :
12468 lt_aix_libpath_sed='
12469 /Import File Strings/,/^$/ {
12470 /^0/ {
12471 s/^0 *\(.*\)$/\1/
12475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12476 # Check for a 64-bit object if we didn't find anything.
12477 if test -z "$aix_libpath"; then
12478 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12485 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12487 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"
12488 else
12489 if test "$host_cpu" = ia64; then
12490 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12491 allow_undefined_flag_CXX="-z nodefs"
12492 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"
12493 else
12494 # Determine the default libpath from the value encoded in an
12495 # empty executable.
12496 if test x$gcc_no_link = xyes; then
12497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12503 main ()
12507 return 0;
12509 _ACEOF
12510 if ac_fn_cxx_try_link "$LINENO"; then :
12512 lt_aix_libpath_sed='
12513 /Import File Strings/,/^$/ {
12514 /^0/ {
12515 s/^0 *\(.*\)$/\1/
12519 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12520 # Check for a 64-bit object if we didn't find anything.
12521 if test -z "$aix_libpath"; then
12522 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12529 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12530 # Warning - without using the other run time loading flags,
12531 # -berok will link without error, but may produce a broken library.
12532 no_undefined_flag_CXX=' ${wl}-bernotok'
12533 allow_undefined_flag_CXX=' ${wl}-berok'
12534 if test "$with_gnu_ld" = yes; then
12535 # We only use this code for GNU lds that support --whole-archive.
12536 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12537 else
12538 # Exported symbols can be pulled into shared objects from archives
12539 whole_archive_flag_spec_CXX='$convenience'
12541 archive_cmds_need_lc_CXX=yes
12542 # This is similar to how AIX traditionally builds its shared
12543 # libraries.
12544 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'
12549 beos*)
12550 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12551 allow_undefined_flag_CXX=unsupported
12552 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12553 # support --undefined. This deserves some investigation. FIXME
12554 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12555 else
12556 ld_shlibs_CXX=no
12560 chorus*)
12561 case $cc_basename in
12563 # FIXME: insert proper C++ library support
12564 ld_shlibs_CXX=no
12566 esac
12569 cygwin* | mingw* | pw32* | cegcc*)
12570 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12571 # as there is no search path for DLLs.
12572 hardcode_libdir_flag_spec_CXX='-L$libdir'
12573 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12574 allow_undefined_flag_CXX=unsupported
12575 always_export_symbols_CXX=no
12576 enable_shared_with_static_runtimes_CXX=yes
12578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12579 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'
12580 # If the export-symbols file already is a .def file (1st line
12581 # is EXPORTS), use it as is; otherwise, prepend...
12582 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12583 cp $export_symbols $output_objdir/$soname.def;
12584 else
12585 echo EXPORTS > $output_objdir/$soname.def;
12586 cat $export_symbols >> $output_objdir/$soname.def;
12588 $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'
12589 else
12590 ld_shlibs_CXX=no
12593 darwin* | rhapsody*)
12596 archive_cmds_need_lc_CXX=no
12597 hardcode_direct_CXX=no
12598 hardcode_automatic_CXX=yes
12599 hardcode_shlibpath_var_CXX=unsupported
12600 if test "$lt_cv_ld_force_load" = "yes"; then
12601 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\"`'
12602 else
12603 whole_archive_flag_spec_CXX=''
12605 link_all_deplibs_CXX=yes
12606 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12607 case $cc_basename in
12608 ifort*) _lt_dar_can_shared=yes ;;
12609 *) _lt_dar_can_shared=$GCC ;;
12610 esac
12611 if test "$_lt_dar_can_shared" = "yes"; then
12612 output_verbose_link_cmd=func_echo_all
12613 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}"
12614 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12615 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}"
12616 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}"
12617 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12618 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}"
12619 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}"
12622 else
12623 ld_shlibs_CXX=no
12628 dgux*)
12629 case $cc_basename in
12630 ec++*)
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 ghcx*)
12635 # Green Hills C++ Compiler
12636 # FIXME: insert proper C++ library support
12637 ld_shlibs_CXX=no
12640 # FIXME: insert proper C++ library support
12641 ld_shlibs_CXX=no
12643 esac
12646 freebsd2.*)
12647 # C++ shared libraries reported to be fairly broken before
12648 # switch to ELF
12649 ld_shlibs_CXX=no
12652 freebsd-elf*)
12653 archive_cmds_need_lc_CXX=no
12656 freebsd* | dragonfly*)
12657 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12658 # conventions
12659 ld_shlibs_CXX=yes
12662 gnu*)
12665 haiku*)
12666 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12667 link_all_deplibs_CXX=yes
12670 hpux9*)
12671 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12672 hardcode_libdir_separator_CXX=:
12673 export_dynamic_flag_spec_CXX='${wl}-E'
12674 hardcode_direct_CXX=yes
12675 hardcode_minus_L_CXX=yes # Not in the search PATH,
12676 # but as the default
12677 # location of the library.
12679 case $cc_basename in
12680 CC*)
12681 # FIXME: insert proper C++ library support
12682 ld_shlibs_CXX=no
12684 aCC*)
12685 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'
12686 # Commands to make compiler produce verbose output that lists
12687 # what "hidden" libraries, object files and flags are used when
12688 # linking a shared library.
12690 # There doesn't appear to be a way to prevent this compiler from
12691 # explicitly linking system object files so we need to strip them
12692 # from the output so that they don't get included in the library
12693 # dependencies.
12694 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"'
12697 if test "$GXX" = yes; then
12698 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'
12699 else
12700 # FIXME: insert proper C++ library support
12701 ld_shlibs_CXX=no
12704 esac
12707 hpux10*|hpux11*)
12708 if test $with_gnu_ld = no; then
12709 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12710 hardcode_libdir_separator_CXX=:
12712 case $host_cpu in
12713 hppa*64*|ia64*)
12716 export_dynamic_flag_spec_CXX='${wl}-E'
12718 esac
12720 case $host_cpu in
12721 hppa*64*|ia64*)
12722 hardcode_direct_CXX=no
12723 hardcode_shlibpath_var_CXX=no
12726 hardcode_direct_CXX=yes
12727 hardcode_direct_absolute_CXX=yes
12728 hardcode_minus_L_CXX=yes # Not in the search PATH,
12729 # but as the default
12730 # location of the library.
12732 esac
12734 case $cc_basename in
12735 CC*)
12736 # FIXME: insert proper C++ library support
12737 ld_shlibs_CXX=no
12739 aCC*)
12740 case $host_cpu in
12741 hppa*64*)
12742 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12744 ia64*)
12745 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 esac
12751 # Commands to make compiler produce verbose output that lists
12752 # what "hidden" libraries, object files and flags are used when
12753 # linking a shared library.
12755 # There doesn't appear to be a way to prevent this compiler from
12756 # explicitly linking system object files so we need to strip them
12757 # from the output so that they don't get included in the library
12758 # dependencies.
12759 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"'
12762 if test "$GXX" = yes; then
12763 if test $with_gnu_ld = no; then
12764 case $host_cpu in
12765 hppa*64*)
12766 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12768 ia64*)
12769 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12772 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'
12774 esac
12776 else
12777 # FIXME: insert proper C++ library support
12778 ld_shlibs_CXX=no
12781 esac
12784 interix[3-9]*)
12785 hardcode_direct_CXX=no
12786 hardcode_shlibpath_var_CXX=no
12787 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12788 export_dynamic_flag_spec_CXX='${wl}-E'
12789 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12790 # Instead, shared libraries are loaded at an image base (0x10000000 by
12791 # default) and relocated if they conflict, which is a slow very memory
12792 # consuming and fragmenting process. To avoid this, we pick a random,
12793 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12794 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12795 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'
12796 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'
12798 irix5* | irix6*)
12799 case $cc_basename in
12800 CC*)
12801 # SGI C++
12802 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'
12804 # Archives containing C++ object files must be created using
12805 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12806 # necessary to make sure instantiated templates are included
12807 # in the archive.
12808 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12811 if test "$GXX" = yes; then
12812 if test "$with_gnu_ld" = no; then
12813 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'
12814 else
12815 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'
12818 link_all_deplibs_CXX=yes
12820 esac
12821 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12822 hardcode_libdir_separator_CXX=:
12823 inherit_rpath_CXX=yes
12826 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12827 case $cc_basename in
12828 KCC*)
12829 # Kuck and Associates, Inc. (KAI) C++ Compiler
12831 # KCC will only create a shared library if the output file
12832 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12833 # to its proper name (with version) after linking.
12834 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'
12835 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'
12836 # Commands to make compiler produce verbose output that lists
12837 # what "hidden" libraries, object files and flags are used when
12838 # linking a shared library.
12840 # There doesn't appear to be a way to prevent this compiler from
12841 # explicitly linking system object files so we need to strip them
12842 # from the output so that they don't get included in the library
12843 # dependencies.
12844 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"'
12846 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12847 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12849 # Archives containing C++ object files must be created using
12850 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12851 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12853 icpc* | ecpc* )
12854 # Intel C++
12855 with_gnu_ld=yes
12856 # version 8.0 and above of icpc choke on multiply defined symbols
12857 # if we add $predep_objects and $postdep_objects, however 7.1 and
12858 # earlier do not add the objects themselves.
12859 case `$CC -V 2>&1` in
12860 *"Version 7."*)
12861 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 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'
12864 *) # Version 8.0 or newer
12865 tmp_idyn=
12866 case $host_cpu in
12867 ia64*) tmp_idyn=' -i_dynamic';;
12868 esac
12869 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12870 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'
12872 esac
12873 archive_cmds_need_lc_CXX=no
12874 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12875 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12876 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12878 pgCC* | pgcpp*)
12879 # Portland Group C++ compiler
12880 case `$CC -V` in
12881 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12882 prelink_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12885 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12886 old_archive_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12889 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12890 $RANLIB $oldlib'
12891 archive_cmds_CXX='tpldir=Template.dir~
12892 rm -rf $tpldir~
12893 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12894 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12895 archive_expsym_cmds_CXX='tpldir=Template.dir~
12896 rm -rf $tpldir~
12897 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12898 $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'
12900 *) # Version 6 and above use weak symbols
12901 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12902 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'
12904 esac
12906 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12907 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12908 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'
12910 cxx*)
12911 # Compaq C++
12912 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12913 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'
12915 runpath_var=LD_RUN_PATH
12916 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12917 hardcode_libdir_separator_CXX=:
12919 # Commands to make compiler produce verbose output that lists
12920 # what "hidden" libraries, object files and flags are used when
12921 # linking a shared library.
12923 # There doesn't appear to be a way to prevent this compiler from
12924 # explicitly linking system object files so we need to strip them
12925 # from the output so that they don't get included in the library
12926 # dependencies.
12927 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'
12929 xl* | mpixl* | bgxl*)
12930 # IBM XL 8.0 on PPC, with GNU ld
12931 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12932 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12933 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12934 if test "x$supports_anon_versioning" = xyes; then
12935 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12937 echo "local: *; };" >> $output_objdir/$libname.ver~
12938 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12942 case `$CC -V 2>&1 | sed 5q` in
12943 *Sun\ C*)
12944 # Sun C++ 5.9
12945 no_undefined_flag_CXX=' -zdefs'
12946 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12947 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'
12948 hardcode_libdir_flag_spec_CXX='-R$libdir'
12949 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'
12950 compiler_needs_object_CXX=yes
12952 # Not sure whether something based on
12953 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12954 # would be better.
12955 output_verbose_link_cmd='func_echo_all'
12957 # Archives containing C++ object files must be created using
12958 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12959 # necessary to make sure instantiated templates are included
12960 # in the archive.
12961 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12963 esac
12965 esac
12968 lynxos*)
12969 # FIXME: insert proper C++ library support
12970 ld_shlibs_CXX=no
12973 m88k*)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12978 mvs*)
12979 case $cc_basename in
12980 cxx*)
12981 # FIXME: insert proper C++ library support
12982 ld_shlibs_CXX=no
12985 # FIXME: insert proper C++ library support
12986 ld_shlibs_CXX=no
12988 esac
12991 netbsd*)
12992 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12993 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12994 wlarc=
12995 hardcode_libdir_flag_spec_CXX='-R$libdir'
12996 hardcode_direct_CXX=yes
12997 hardcode_shlibpath_var_CXX=no
12999 # Workaround some broken pre-1.5 toolchains
13000 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13003 *nto* | *qnx*)
13004 ld_shlibs_CXX=yes
13007 openbsd2*)
13008 # C++ shared libraries are fairly broken
13009 ld_shlibs_CXX=no
13012 openbsd*)
13013 if test -f /usr/libexec/ld.so; then
13014 hardcode_direct_CXX=yes
13015 hardcode_shlibpath_var_CXX=no
13016 hardcode_direct_absolute_CXX=yes
13017 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13019 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13020 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13021 export_dynamic_flag_spec_CXX='${wl}-E'
13022 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13024 output_verbose_link_cmd=func_echo_all
13025 else
13026 ld_shlibs_CXX=no
13030 osf3* | osf4* | osf5*)
13031 case $cc_basename in
13032 KCC*)
13033 # Kuck and Associates, Inc. (KAI) C++ Compiler
13035 # KCC will only create a shared library if the output file
13036 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13037 # to its proper name (with version) after linking.
13038 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'
13040 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13041 hardcode_libdir_separator_CXX=:
13043 # Archives containing C++ object files must be created using
13044 # the KAI C++ compiler.
13045 case $host in
13046 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13047 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13048 esac
13050 RCC*)
13051 # Rational C++ 2.4.1
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 cxx*)
13056 case $host in
13057 osf3*)
13058 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13059 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'
13060 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063 allow_undefined_flag_CXX=' -expect_unresolved \*'
13064 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'
13065 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13066 echo "-hidden">> $lib.exp~
13067 $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~
13068 $RM $lib.exp'
13069 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13071 esac
13073 hardcode_libdir_separator_CXX=:
13075 # Commands to make compiler produce verbose output that lists
13076 # what "hidden" libraries, object files and flags are used when
13077 # linking a shared library.
13079 # There doesn't appear to be a way to prevent this compiler from
13080 # explicitly linking system object files so we need to strip them
13081 # from the output so that they don't get included in the library
13082 # dependencies.
13083 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"'
13086 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13087 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13088 case $host in
13089 osf3*)
13090 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'
13093 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'
13095 esac
13097 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13098 hardcode_libdir_separator_CXX=:
13100 # Commands to make compiler produce verbose output that lists
13101 # what "hidden" libraries, object files and flags are used when
13102 # linking a shared library.
13103 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13105 else
13106 # FIXME: insert proper C++ library support
13107 ld_shlibs_CXX=no
13110 esac
13113 psos*)
13114 # FIXME: insert proper C++ library support
13115 ld_shlibs_CXX=no
13118 sunos4*)
13119 case $cc_basename in
13120 CC*)
13121 # Sun C++ 4.x
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 lcc*)
13126 # Lucid
13127 # FIXME: insert proper C++ library support
13128 ld_shlibs_CXX=no
13131 # FIXME: insert proper C++ library support
13132 ld_shlibs_CXX=no
13134 esac
13137 solaris*)
13138 case $cc_basename in
13139 CC*)
13140 # Sun C++ 4.2, 5.x and Centerline C++
13141 archive_cmds_need_lc_CXX=yes
13142 no_undefined_flag_CXX=' -zdefs'
13143 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13144 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13145 $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'
13147 hardcode_libdir_flag_spec_CXX='-R$libdir'
13148 hardcode_shlibpath_var_CXX=no
13149 case $host_os in
13150 solaris2.[0-5] | solaris2.[0-5].*) ;;
13152 # The compiler driver will combine and reorder linker options,
13153 # but understands `-z linker_flag'.
13154 # Supported since Solaris 2.6 (maybe 2.5.1?)
13155 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13157 esac
13158 link_all_deplibs_CXX=yes
13160 output_verbose_link_cmd='func_echo_all'
13162 # Archives containing C++ object files must be created using
13163 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13164 # necessary to make sure instantiated templates are included
13165 # in the archive.
13166 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13168 gcx*)
13169 # Green Hills C++ Compiler
13170 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 # The C++ compiler must be used to create the archive.
13173 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176 # GNU C++ compiler with Solaris linker
13177 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13178 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13179 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13180 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 else
13189 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13190 # platform.
13191 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13192 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13193 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13195 # Commands to make compiler produce verbose output that lists
13196 # what "hidden" libraries, object files and flags are used when
13197 # linking a shared library.
13198 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13201 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13202 case $host_os in
13203 solaris2.[0-5] | solaris2.[0-5].*) ;;
13205 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13207 esac
13210 esac
13213 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13214 no_undefined_flag_CXX='${wl}-z,text'
13215 archive_cmds_need_lc_CXX=no
13216 hardcode_shlibpath_var_CXX=no
13217 runpath_var='LD_RUN_PATH'
13219 case $cc_basename in
13220 CC*)
13221 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13222 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 esac
13231 sysv5* | sco3.2v5* | sco5v6*)
13232 # Note: We can NOT use -z defs as we might desire, because we do not
13233 # link with -lc, and that would cause any symbols used from libc to
13234 # always be unresolved, which means just about no library would
13235 # ever link correctly. If we're not using GNU ld we use -z text
13236 # though, which does catch some bad symbols but isn't as heavy-handed
13237 # as -z defs.
13238 no_undefined_flag_CXX='${wl}-z,text'
13239 allow_undefined_flag_CXX='${wl}-z,nodefs'
13240 archive_cmds_need_lc_CXX=no
13241 hardcode_shlibpath_var_CXX=no
13242 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13243 hardcode_libdir_separator_CXX=':'
13244 link_all_deplibs_CXX=yes
13245 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13246 runpath_var='LD_RUN_PATH'
13248 case $cc_basename in
13249 CC*)
13250 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13253 '"$old_archive_cmds_CXX"
13254 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13255 '"$reload_cmds_CXX"
13258 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13259 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 esac
13264 tandem*)
13265 case $cc_basename in
13266 NCC*)
13267 # NonStop-UX NCC 3.20
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13272 # FIXME: insert proper C++ library support
13273 ld_shlibs_CXX=no
13275 esac
13278 vxworks*)
13279 # FIXME: insert proper C++ library support
13280 ld_shlibs_CXX=no
13284 # FIXME: insert proper C++ library support
13285 ld_shlibs_CXX=no
13287 esac
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13290 $as_echo "$ld_shlibs_CXX" >&6; }
13291 test "$ld_shlibs_CXX" = no && can_build_shared=no
13293 GCC_CXX="$GXX"
13294 LD_CXX="$LD"
13296 ## CAVEAT EMPTOR:
13297 ## There is no encapsulation within the following macros, do not change
13298 ## the running order or otherwise move them around unless you know exactly
13299 ## what you are doing...
13300 # Dependencies to place before and after the object being linked:
13301 predep_objects_CXX=
13302 postdep_objects_CXX=
13303 predeps_CXX=
13304 postdeps_CXX=
13305 compiler_lib_search_path_CXX=
13307 cat > conftest.$ac_ext <<_LT_EOF
13308 class Foo
13310 public:
13311 Foo (void) { a = 0; }
13312 private:
13313 int a;
13315 _LT_EOF
13317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13318 (eval $ac_compile) 2>&5
13319 ac_status=$?
13320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321 test $ac_status = 0; }; then
13322 # Parse the compiler output and extract the necessary
13323 # objects, libraries and library flags.
13325 # Sentinel used to keep track of whether or not we are before
13326 # the conftest object file.
13327 pre_test_object_deps_done=no
13329 for p in `eval "$output_verbose_link_cmd"`; do
13330 case $p in
13332 -L* | -R* | -l*)
13333 # Some compilers place space between "-{L,R}" and the path.
13334 # Remove the space.
13335 if test $p = "-L" ||
13336 test $p = "-R"; then
13337 prev=$p
13338 continue
13339 else
13340 prev=
13343 if test "$pre_test_object_deps_done" = no; then
13344 case $p in
13345 -L* | -R*)
13346 # Internal compiler library paths should come after those
13347 # provided the user. The postdeps already come after the
13348 # user supplied libs so there is no need to process them.
13349 if test -z "$compiler_lib_search_path_CXX"; then
13350 compiler_lib_search_path_CXX="${prev}${p}"
13351 else
13352 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13355 # The "-l" case would never come before the object being
13356 # linked, so don't bother handling this case.
13357 esac
13358 else
13359 if test -z "$postdeps_CXX"; then
13360 postdeps_CXX="${prev}${p}"
13361 else
13362 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13367 *.$objext)
13368 # This assumes that the test object file only shows up
13369 # once in the compiler output.
13370 if test "$p" = "conftest.$objext"; then
13371 pre_test_object_deps_done=yes
13372 continue
13375 if test "$pre_test_object_deps_done" = no; then
13376 if test -z "$predep_objects_CXX"; then
13377 predep_objects_CXX="$p"
13378 else
13379 predep_objects_CXX="$predep_objects_CXX $p"
13381 else
13382 if test -z "$postdep_objects_CXX"; then
13383 postdep_objects_CXX="$p"
13384 else
13385 postdep_objects_CXX="$postdep_objects_CXX $p"
13390 *) ;; # Ignore the rest.
13392 esac
13393 done
13395 # Clean up.
13396 rm -f a.out a.exe
13397 else
13398 echo "libtool.m4: error: problem compiling CXX test program"
13401 $RM -f confest.$objext
13403 # PORTME: override above test on systems where it is broken
13404 case $host_os in
13405 interix[3-9]*)
13406 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13407 # hack all around it, let's just trust "g++" to DTRT.
13408 predep_objects_CXX=
13409 postdep_objects_CXX=
13410 postdeps_CXX=
13413 linux*)
13414 case `$CC -V 2>&1 | sed 5q` in
13415 *Sun\ C*)
13416 # Sun C++ 5.9
13418 # The more standards-conforming stlport4 library is
13419 # incompatible with the Cstd library. Avoid specifying
13420 # it if it's in CXXFLAGS. Ignore libCrun as
13421 # -library=stlport4 depends on it.
13422 case " $CXX $CXXFLAGS " in
13423 *" -library=stlport4 "*)
13424 solaris_use_stlport4=yes
13426 esac
13428 if test "$solaris_use_stlport4" != yes; then
13429 postdeps_CXX='-library=Cstd -library=Crun'
13432 esac
13435 solaris*)
13436 case $cc_basename in
13437 CC*)
13438 # The more standards-conforming stlport4 library is
13439 # incompatible with the Cstd library. Avoid specifying
13440 # it if it's in CXXFLAGS. Ignore libCrun as
13441 # -library=stlport4 depends on it.
13442 case " $CXX $CXXFLAGS " in
13443 *" -library=stlport4 "*)
13444 solaris_use_stlport4=yes
13446 esac
13448 # Adding this requires a known-good setup of shared libraries for
13449 # Sun compiler versions before 5.6, else PIC objects from an old
13450 # archive will be linked into the output, leading to subtle bugs.
13451 if test "$solaris_use_stlport4" != yes; then
13452 postdeps_CXX='-library=Cstd -library=Crun'
13455 esac
13457 esac
13460 case " $postdeps_CXX " in
13461 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13462 esac
13463 compiler_lib_search_dirs_CXX=
13464 if test -n "${compiler_lib_search_path_CXX}"; then
13465 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13498 lt_prog_compiler_wl_CXX=
13499 lt_prog_compiler_pic_CXX=
13500 lt_prog_compiler_static_CXX=
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13505 # C++ specific cases for pic, static, wl, etc.
13506 if test "$GXX" = yes; then
13507 lt_prog_compiler_wl_CXX='-Wl,'
13508 lt_prog_compiler_static_CXX='-static'
13510 case $host_os in
13511 aix*)
13512 # All AIX code is PIC.
13513 if test "$host_cpu" = ia64; then
13514 # AIX 5 now supports IA64 processor
13515 lt_prog_compiler_static_CXX='-Bstatic'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13520 amigaos*)
13521 case $host_cpu in
13522 powerpc)
13523 # see comment about AmigaOS4 .so support
13524 lt_prog_compiler_pic_CXX='-fPIC'
13526 m68k)
13527 # FIXME: we need at least 68020 code to build shared libraries, but
13528 # adding the `-m68020' flag to GCC prevents building anything better,
13529 # like `-m68040'.
13530 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13532 esac
13535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13536 # PIC is the default for these OSes.
13538 mingw* | cygwin* | os2* | pw32* | cegcc*)
13539 # This hack is so that the source file can tell whether it is being
13540 # built for inclusion in a dll (and should export symbols for example).
13541 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13542 # (--disable-auto-import) libraries
13543 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13545 darwin* | rhapsody*)
13546 # PIC is the default on this platform
13547 # Common symbols not allowed in MH_DYLIB files
13548 lt_prog_compiler_pic_CXX='-fno-common'
13550 *djgpp*)
13551 # DJGPP does not support shared libraries at all
13552 lt_prog_compiler_pic_CXX=
13554 haiku*)
13555 # PIC is the default for Haiku.
13556 # The "-static" flag exists, but is broken.
13557 lt_prog_compiler_static_CXX=
13559 interix[3-9]*)
13560 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13561 # Instead, we relocate shared libraries at runtime.
13563 sysv4*MP*)
13564 if test -d /usr/nec; then
13565 lt_prog_compiler_pic_CXX=-Kconform_pic
13568 hpux*)
13569 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13570 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13571 # sets the default TLS model and affects inlining.
13572 case $host_cpu in
13573 hppa*64*)
13576 lt_prog_compiler_pic_CXX='-fPIC'
13578 esac
13580 *qnx* | *nto*)
13581 # QNX uses GNU C++, but need to define -shared option too, otherwise
13582 # it will coredump.
13583 lt_prog_compiler_pic_CXX='-fPIC -shared'
13586 lt_prog_compiler_pic_CXX='-fPIC'
13588 esac
13589 else
13590 case $host_os in
13591 aix[4-9]*)
13592 # All AIX code is PIC.
13593 if test "$host_cpu" = ia64; then
13594 # AIX 5 now supports IA64 processor
13595 lt_prog_compiler_static_CXX='-Bstatic'
13596 else
13597 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13600 chorus*)
13601 case $cc_basename in
13602 cxch68*)
13603 # Green Hills C++ Compiler
13604 # _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"
13606 esac
13608 dgux*)
13609 case $cc_basename in
13610 ec++*)
13611 lt_prog_compiler_pic_CXX='-KPIC'
13613 ghcx*)
13614 # Green Hills C++ Compiler
13615 lt_prog_compiler_pic_CXX='-pic'
13619 esac
13621 freebsd* | dragonfly*)
13622 # FreeBSD uses GNU C++
13624 hpux9* | hpux10* | hpux11*)
13625 case $cc_basename in
13626 CC*)
13627 lt_prog_compiler_wl_CXX='-Wl,'
13628 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13629 if test "$host_cpu" != ia64; then
13630 lt_prog_compiler_pic_CXX='+Z'
13633 aCC*)
13634 lt_prog_compiler_wl_CXX='-Wl,'
13635 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13636 case $host_cpu in
13637 hppa*64*|ia64*)
13638 # +Z the default
13641 lt_prog_compiler_pic_CXX='+Z'
13643 esac
13647 esac
13649 interix*)
13650 # This is c89, which is MS Visual C++ (no shared libs)
13651 # Anyone wants to do a port?
13653 irix5* | irix6* | nonstopux*)
13654 case $cc_basename in
13655 CC*)
13656 lt_prog_compiler_wl_CXX='-Wl,'
13657 lt_prog_compiler_static_CXX='-non_shared'
13658 # CC pic flag -KPIC is the default.
13662 esac
13664 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13665 case $cc_basename in
13666 KCC*)
13667 # KAI C++ Compiler
13668 lt_prog_compiler_wl_CXX='--backend -Wl,'
13669 lt_prog_compiler_pic_CXX='-fPIC'
13671 ecpc* )
13672 # old Intel C++ for x86_64 which still supported -KPIC.
13673 lt_prog_compiler_wl_CXX='-Wl,'
13674 lt_prog_compiler_pic_CXX='-KPIC'
13675 lt_prog_compiler_static_CXX='-static'
13677 icpc* )
13678 # Intel C++, used to be incompatible with GCC.
13679 # ICC 10 doesn't accept -KPIC any more.
13680 lt_prog_compiler_wl_CXX='-Wl,'
13681 lt_prog_compiler_pic_CXX='-fPIC'
13682 lt_prog_compiler_static_CXX='-static'
13684 pgCC* | pgcpp*)
13685 # Portland Group C++ compiler
13686 lt_prog_compiler_wl_CXX='-Wl,'
13687 lt_prog_compiler_pic_CXX='-fpic'
13688 lt_prog_compiler_static_CXX='-Bstatic'
13690 cxx*)
13691 # Compaq C++
13692 # Make sure the PIC flag is empty. It appears that all Alpha
13693 # Linux and Compaq Tru64 Unix objects are PIC.
13694 lt_prog_compiler_pic_CXX=
13695 lt_prog_compiler_static_CXX='-non_shared'
13697 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13698 # IBM XL 8.0, 9.0 on PPC and BlueGene
13699 lt_prog_compiler_wl_CXX='-Wl,'
13700 lt_prog_compiler_pic_CXX='-qpic'
13701 lt_prog_compiler_static_CXX='-qstaticlink'
13704 case `$CC -V 2>&1 | sed 5q` in
13705 *Sun\ C*)
13706 # Sun C++ 5.9
13707 lt_prog_compiler_pic_CXX='-KPIC'
13708 lt_prog_compiler_static_CXX='-Bstatic'
13709 lt_prog_compiler_wl_CXX='-Qoption ld '
13711 esac
13713 esac
13715 lynxos*)
13717 m88k*)
13719 mvs*)
13720 case $cc_basename in
13721 cxx*)
13722 lt_prog_compiler_pic_CXX='-W c,exportall'
13726 esac
13728 netbsd*)
13730 *qnx* | *nto*)
13731 # QNX uses GNU C++, but need to define -shared option too, otherwise
13732 # it will coredump.
13733 lt_prog_compiler_pic_CXX='-fPIC -shared'
13735 osf3* | osf4* | osf5*)
13736 case $cc_basename in
13737 KCC*)
13738 lt_prog_compiler_wl_CXX='--backend -Wl,'
13740 RCC*)
13741 # Rational C++ 2.4.1
13742 lt_prog_compiler_pic_CXX='-pic'
13744 cxx*)
13745 # Digital/Compaq C++
13746 lt_prog_compiler_wl_CXX='-Wl,'
13747 # Make sure the PIC flag is empty. It appears that all Alpha
13748 # Linux and Compaq Tru64 Unix objects are PIC.
13749 lt_prog_compiler_pic_CXX=
13750 lt_prog_compiler_static_CXX='-non_shared'
13754 esac
13756 psos*)
13758 solaris*)
13759 case $cc_basename in
13760 CC*)
13761 # Sun C++ 4.2, 5.x and Centerline C++
13762 lt_prog_compiler_pic_CXX='-KPIC'
13763 lt_prog_compiler_static_CXX='-Bstatic'
13764 lt_prog_compiler_wl_CXX='-Qoption ld '
13766 gcx*)
13767 # Green Hills C++ Compiler
13768 lt_prog_compiler_pic_CXX='-PIC'
13772 esac
13774 sunos4*)
13775 case $cc_basename in
13776 CC*)
13777 # Sun C++ 4.x
13778 lt_prog_compiler_pic_CXX='-pic'
13779 lt_prog_compiler_static_CXX='-Bstatic'
13781 lcc*)
13782 # Lucid
13783 lt_prog_compiler_pic_CXX='-pic'
13787 esac
13789 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13790 case $cc_basename in
13791 CC*)
13792 lt_prog_compiler_wl_CXX='-Wl,'
13793 lt_prog_compiler_pic_CXX='-KPIC'
13794 lt_prog_compiler_static_CXX='-Bstatic'
13796 esac
13798 tandem*)
13799 case $cc_basename in
13800 NCC*)
13801 # NonStop-UX NCC 3.20
13802 lt_prog_compiler_pic_CXX='-KPIC'
13806 esac
13808 vxworks*)
13811 lt_prog_compiler_can_build_shared_CXX=no
13813 esac
13816 case $host_os in
13817 # For platforms which do not support PIC, -DPIC is meaningless:
13818 *djgpp*)
13819 lt_prog_compiler_pic_CXX=
13822 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13824 esac
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13826 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13831 # Check to make sure the PIC flag actually works.
13833 if test -n "$lt_prog_compiler_pic_CXX"; then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13835 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13836 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 lt_cv_prog_compiler_pic_works_CXX=no
13840 ac_outfile=conftest.$ac_objext
13841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13842 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13843 # Insert the option either (1) after the last *FLAGS variable, or
13844 # (2) before a word containing "conftest.", or (3) at the end.
13845 # Note that $ac_compile itself does not contain backslashes and begins
13846 # with a dollar sign (not a hyphen), so the echo should work correctly.
13847 # The option is referenced via a variable to avoid confusing sed.
13848 lt_compile=`echo "$ac_compile" | $SED \
13849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13851 -e 's:$: $lt_compiler_flag:'`
13852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13853 (eval "$lt_compile" 2>conftest.err)
13854 ac_status=$?
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 if (exit $ac_status) && test -s "$ac_outfile"; then
13858 # The compiler can only warn and ignore the option if not recognized
13859 # So say no if there are warnings other than the usual output.
13860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13861 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13862 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13863 lt_cv_prog_compiler_pic_works_CXX=yes
13866 $RM conftest*
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13870 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13872 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13873 case $lt_prog_compiler_pic_CXX in
13874 "" | " "*) ;;
13875 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13876 esac
13877 else
13878 lt_prog_compiler_pic_CXX=
13879 lt_prog_compiler_can_build_shared_CXX=no
13887 # Check to make sure the static flag actually works.
13889 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13891 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13892 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_static_works_CXX=no
13896 save_LDFLAGS="$LDFLAGS"
13897 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13898 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13899 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13900 # The linker can only warn and ignore the option if not recognized
13901 # So say no if there are warnings
13902 if test -s conftest.err; then
13903 # Append any errors to the config.log.
13904 cat conftest.err 1>&5
13905 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13907 if diff conftest.exp conftest.er2 >/dev/null; then
13908 lt_cv_prog_compiler_static_works_CXX=yes
13910 else
13911 lt_cv_prog_compiler_static_works_CXX=yes
13914 $RM -r conftest*
13915 LDFLAGS="$save_LDFLAGS"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13919 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13921 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13923 else
13924 lt_prog_compiler_static_CXX=
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13932 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13933 $as_echo_n "(cached) " >&6
13934 else
13935 lt_cv_prog_compiler_c_o_CXX=no
13936 $RM -r conftest 2>/dev/null
13937 mkdir conftest
13938 cd conftest
13939 mkdir out
13940 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13942 lt_compiler_flag="-o out/conftest2.$ac_objext"
13943 # Insert the option either (1) after the last *FLAGS variable, or
13944 # (2) before a word containing "conftest.", or (3) at the end.
13945 # Note that $ac_compile itself does not contain backslashes and begins
13946 # with a dollar sign (not a hyphen), so the echo should work correctly.
13947 lt_compile=`echo "$ac_compile" | $SED \
13948 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13950 -e 's:$: $lt_compiler_flag:'`
13951 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13952 (eval "$lt_compile" 2>out/conftest.err)
13953 ac_status=$?
13954 cat out/conftest.err >&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13957 then
13958 # The compiler can only warn and ignore the option if not recognized
13959 # So say no if there are warnings
13960 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13961 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13962 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13963 lt_cv_prog_compiler_c_o_CXX=yes
13966 chmod u+w . 2>&5
13967 $RM conftest*
13968 # SGI C++ compiler will create directory out/ii_files/ for
13969 # template instantiation
13970 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13971 $RM out/* && rmdir out
13972 cd ..
13973 $RM -r conftest
13974 $RM conftest*
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13978 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13983 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13984 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 lt_cv_prog_compiler_c_o_CXX=no
13988 $RM -r conftest 2>/dev/null
13989 mkdir conftest
13990 cd conftest
13991 mkdir out
13992 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13994 lt_compiler_flag="-o out/conftest2.$ac_objext"
13995 # Insert the option either (1) after the last *FLAGS variable, or
13996 # (2) before a word containing "conftest.", or (3) at the end.
13997 # Note that $ac_compile itself does not contain backslashes and begins
13998 # with a dollar sign (not a hyphen), so the echo should work correctly.
13999 lt_compile=`echo "$ac_compile" | $SED \
14000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14002 -e 's:$: $lt_compiler_flag:'`
14003 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14004 (eval "$lt_compile" 2>out/conftest.err)
14005 ac_status=$?
14006 cat out/conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14009 then
14010 # The compiler can only warn and ignore the option if not recognized
14011 # So say no if there are warnings
14012 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14013 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14014 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14015 lt_cv_prog_compiler_c_o_CXX=yes
14018 chmod u+w . 2>&5
14019 $RM conftest*
14020 # SGI C++ compiler will create directory out/ii_files/ for
14021 # template instantiation
14022 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14023 $RM out/* && rmdir out
14024 cd ..
14025 $RM -r conftest
14026 $RM conftest*
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14030 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14035 hard_links="nottested"
14036 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14037 # do not overwrite the value of need_locks provided by the user
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14039 $as_echo_n "checking if we can lock with hard links... " >&6; }
14040 hard_links=yes
14041 $RM conftest*
14042 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14043 touch conftest.a
14044 ln conftest.a conftest.b 2>&5 || hard_links=no
14045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14047 $as_echo "$hard_links" >&6; }
14048 if test "$hard_links" = no; then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14050 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14051 need_locks=warn
14053 else
14054 need_locks=no
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14060 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14062 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14063 case $host_os in
14064 aix[4-9]*)
14065 # If we're using GNU nm, then we don't want the "-C" option.
14066 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14067 # Also, AIX nm treats weak defined symbols like other global defined
14068 # symbols, whereas GNU nm marks them as "W".
14069 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14070 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'
14071 else
14072 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'
14075 pw32*)
14076 export_symbols_cmds_CXX="$ltdll_cmds"
14078 cygwin* | mingw* | cegcc*)
14079 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'
14082 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14084 esac
14085 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14088 $as_echo "$ld_shlibs_CXX" >&6; }
14089 test "$ld_shlibs_CXX" = no && can_build_shared=no
14091 with_gnu_ld_CXX=$with_gnu_ld
14099 # Do we need to explicitly link libc?
14101 case "x$archive_cmds_need_lc_CXX" in
14102 x|xyes)
14103 # Assume -lc should be added
14104 archive_cmds_need_lc_CXX=yes
14106 if test "$enable_shared" = yes && test "$GCC" = yes; then
14107 case $archive_cmds_CXX in
14108 *'~'*)
14109 # FIXME: we may have to deal with multi-command sequences.
14111 '$CC '*)
14112 # Test whether the compiler implicitly links with -lc since on some
14113 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14114 # to ld, don't add -lc before -lgcc.
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14116 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14117 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 $RM conftest*
14121 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14124 (eval $ac_compile) 2>&5
14125 ac_status=$?
14126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127 test $ac_status = 0; } 2>conftest.err; then
14128 soname=conftest
14129 lib=conftest
14130 libobjs=conftest.$ac_objext
14131 deplibs=
14132 wl=$lt_prog_compiler_wl_CXX
14133 pic_flag=$lt_prog_compiler_pic_CXX
14134 compiler_flags=-v
14135 linker_flags=-v
14136 verstring=
14137 output_objdir=.
14138 libname=conftest
14139 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14140 allow_undefined_flag_CXX=
14141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14142 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14143 ac_status=$?
14144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14145 test $ac_status = 0; }
14146 then
14147 lt_cv_archive_cmds_need_lc_CXX=no
14148 else
14149 lt_cv_archive_cmds_need_lc_CXX=yes
14151 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14152 else
14153 cat conftest.err 1>&5
14155 $RM conftest*
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14159 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14160 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14162 esac
14165 esac
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14233 library_names_spec=
14234 libname_spec='lib$name'
14235 soname_spec=
14236 shrext_cmds=".so"
14237 postinstall_cmds=
14238 postuninstall_cmds=
14239 finish_cmds=
14240 finish_eval=
14241 shlibpath_var=
14242 shlibpath_overrides_runpath=unknown
14243 version_type=none
14244 dynamic_linker="$host_os ld.so"
14245 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14246 need_lib_prefix=unknown
14247 hardcode_into_libs=no
14249 # when you set need_version to no, make sure it does not cause -set_version
14250 # flags to be left without arguments
14251 need_version=unknown
14253 case $host_os in
14254 aix3*)
14255 version_type=linux
14256 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14257 shlibpath_var=LIBPATH
14259 # AIX 3 has no versioning support, so we append a major version to the name.
14260 soname_spec='${libname}${release}${shared_ext}$major'
14263 aix[4-9]*)
14264 version_type=linux
14265 need_lib_prefix=no
14266 need_version=no
14267 hardcode_into_libs=yes
14268 if test "$host_cpu" = ia64; then
14269 # AIX 5 supports IA64
14270 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14271 shlibpath_var=LD_LIBRARY_PATH
14272 else
14273 # With GCC up to 2.95.x, collect2 would create an import file
14274 # for dependence libraries. The import file would start with
14275 # the line `#! .'. This would cause the generated library to
14276 # depend on `.', always an invalid library. This was fixed in
14277 # development snapshots of GCC prior to 3.0.
14278 case $host_os in
14279 aix4 | aix4.[01] | aix4.[01].*)
14280 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14281 echo ' yes '
14282 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14284 else
14285 can_build_shared=no
14288 esac
14289 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14290 # soname into executable. Probably we can add versioning support to
14291 # collect2, so additional links can be useful in future.
14292 if test "$aix_use_runtimelinking" = yes; then
14293 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14294 # instead of lib<name>.a to let people know that these are not
14295 # typical AIX shared libraries.
14296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14297 else
14298 # We preserve .a as extension for shared libraries through AIX4.2
14299 # and later when we are not doing run time linking.
14300 library_names_spec='${libname}${release}.a $libname.a'
14301 soname_spec='${libname}${release}${shared_ext}$major'
14303 shlibpath_var=LIBPATH
14307 amigaos*)
14308 case $host_cpu in
14309 powerpc)
14310 # Since July 2007 AmigaOS4 officially supports .so libraries.
14311 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314 m68k)
14315 library_names_spec='$libname.ixlibrary $libname.a'
14316 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14317 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'
14319 esac
14322 beos*)
14323 library_names_spec='${libname}${shared_ext}'
14324 dynamic_linker="$host_os ld.so"
14325 shlibpath_var=LIBRARY_PATH
14328 bsdi[45]*)
14329 version_type=linux
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14334 shlibpath_var=LD_LIBRARY_PATH
14335 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14336 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14337 # the default ld.so.conf also contains /usr/contrib/lib and
14338 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14339 # libtool to hard-code these into programs
14342 cygwin* | mingw* | pw32* | cegcc*)
14343 version_type=windows
14344 shrext_cmds=".dll"
14345 need_version=no
14346 need_lib_prefix=no
14348 case $GCC,$host_os in
14349 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14350 library_names_spec='$libname.dll.a'
14351 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14352 postinstall_cmds='base_file=`basename \${file}`~
14353 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14354 dldir=$destdir/`dirname \$dlpath`~
14355 test -d \$dldir || mkdir -p \$dldir~
14356 $install_prog $dir/$dlname \$dldir/$dlname~
14357 chmod a+x \$dldir/$dlname~
14358 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14359 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14361 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14362 dlpath=$dir/\$dldll~
14363 $RM \$dlpath'
14364 shlibpath_overrides_runpath=yes
14366 case $host_os in
14367 cygwin*)
14368 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14369 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372 mingw* | cegcc*)
14373 # MinGW DLLs use traditional 'lib' prefix
14374 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14376 pw32*)
14377 # pw32 DLLs use 'pw' prefix rather than 'lib'
14378 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14380 esac
14384 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14386 esac
14387 dynamic_linker='Win32 ld.exe'
14388 # FIXME: first we should search . and the directory the executable is in
14389 shlibpath_var=PATH
14392 darwin* | rhapsody*)
14393 dynamic_linker="$host_os dyld"
14394 version_type=darwin
14395 need_lib_prefix=no
14396 need_version=no
14397 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14398 soname_spec='${libname}${release}${major}$shared_ext'
14399 shlibpath_overrides_runpath=yes
14400 shlibpath_var=DYLD_LIBRARY_PATH
14401 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14403 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14406 dgux*)
14407 version_type=linux
14408 need_lib_prefix=no
14409 need_version=no
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 shlibpath_var=LD_LIBRARY_PATH
14415 freebsd* | dragonfly*)
14416 # DragonFly does not have aout. When/if they implement a new
14417 # versioning mechanism, adjust this.
14418 if test -x /usr/bin/objformat; then
14419 objformat=`/usr/bin/objformat`
14420 else
14421 case $host_os in
14422 freebsd[23].*) objformat=aout ;;
14423 *) objformat=elf ;;
14424 esac
14426 version_type=freebsd-$objformat
14427 case $version_type in
14428 freebsd-elf*)
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14430 need_version=no
14431 need_lib_prefix=no
14433 freebsd-*)
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14435 need_version=yes
14437 esac
14438 shlibpath_var=LD_LIBRARY_PATH
14439 case $host_os in
14440 freebsd2.*)
14441 shlibpath_overrides_runpath=yes
14443 freebsd3.[01]* | freebsdelf3.[01]*)
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14448 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14449 shlibpath_overrides_runpath=no
14450 hardcode_into_libs=yes
14452 *) # from 4.6 on, and DragonFly
14453 shlibpath_overrides_runpath=yes
14454 hardcode_into_libs=yes
14456 esac
14459 gnu*)
14460 version_type=linux
14461 need_lib_prefix=no
14462 need_version=no
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LD_LIBRARY_PATH
14466 hardcode_into_libs=yes
14469 haiku*)
14470 version_type=linux
14471 need_lib_prefix=no
14472 need_version=no
14473 dynamic_linker="$host_os runtime_loader"
14474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 shlibpath_var=LIBRARY_PATH
14477 shlibpath_overrides_runpath=yes
14478 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14479 hardcode_into_libs=yes
14482 hpux9* | hpux10* | hpux11*)
14483 # Give a soname corresponding to the major version so that dld.sl refuses to
14484 # link against other versions.
14485 version_type=sunos
14486 need_lib_prefix=no
14487 need_version=no
14488 case $host_cpu in
14489 ia64*)
14490 shrext_cmds='.so'
14491 hardcode_into_libs=yes
14492 dynamic_linker="$host_os dld.so"
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14496 soname_spec='${libname}${release}${shared_ext}$major'
14497 if test "X$HPUX_IA64_MODE" = X32; then
14498 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14499 else
14500 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14504 hppa*64*)
14505 shrext_cmds='.sl'
14506 hardcode_into_libs=yes
14507 dynamic_linker="$host_os dld.sl"
14508 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14509 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14513 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14516 shrext_cmds='.sl'
14517 dynamic_linker="$host_os dld.sl"
14518 shlibpath_var=SHLIB_PATH
14519 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14521 soname_spec='${libname}${release}${shared_ext}$major'
14523 esac
14524 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14525 postinstall_cmds='chmod 555 $lib'
14526 # or fails outright, so override atomically:
14527 install_override_mode=555
14530 interix[3-9]*)
14531 version_type=linux
14532 need_lib_prefix=no
14533 need_version=no
14534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14535 soname_spec='${libname}${release}${shared_ext}$major'
14536 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14537 shlibpath_var=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath=no
14539 hardcode_into_libs=yes
14542 irix5* | irix6* | nonstopux*)
14543 case $host_os in
14544 nonstopux*) version_type=nonstopux ;;
14546 if test "$lt_cv_prog_gnu_ld" = yes; then
14547 version_type=linux
14548 else
14549 version_type=irix
14550 fi ;;
14551 esac
14552 need_lib_prefix=no
14553 need_version=no
14554 soname_spec='${libname}${release}${shared_ext}$major'
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14556 case $host_os in
14557 irix5* | nonstopux*)
14558 libsuff= shlibsuff=
14561 case $LD in # libtool.m4 will add one of these switches to LD
14562 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14563 libsuff= shlibsuff= libmagic=32-bit;;
14564 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14565 libsuff=32 shlibsuff=N32 libmagic=N32;;
14566 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14567 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14568 *) libsuff= shlibsuff= libmagic=never-match;;
14569 esac
14571 esac
14572 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14573 shlibpath_overrides_runpath=no
14574 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14575 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14576 hardcode_into_libs=yes
14579 # No shared lib support for Linux oldld, aout, or coff.
14580 linux*oldld* | linux*aout* | linux*coff*)
14581 dynamic_linker=no
14584 # This must be Linux ELF.
14585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14586 version_type=linux
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14592 shlibpath_var=LD_LIBRARY_PATH
14593 shlibpath_overrides_runpath=no
14595 # Some binutils ld are patched to set DT_RUNPATH
14596 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 lt_cv_shlibpath_overrides_runpath=no
14600 save_LDFLAGS=$LDFLAGS
14601 save_libdir=$libdir
14602 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14603 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14604 if test x$gcc_no_link = xyes; then
14605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14611 main ()
14615 return 0;
14617 _ACEOF
14618 if ac_fn_cxx_try_link "$LINENO"; then :
14619 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14620 lt_cv_shlibpath_overrides_runpath=yes
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 LDFLAGS=$save_LDFLAGS
14626 libdir=$save_libdir
14630 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14632 # This implies no fast_install, which is unacceptable.
14633 # Some rework will be needed to allow for fast_install
14634 # before this can be enabled.
14635 hardcode_into_libs=yes
14637 # Append ld.so.conf contents to the search path
14638 if test -f /etc/ld.so.conf; then
14639 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' ' '`
14640 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14643 # We used to test for /lib/ld.so.1 and disable shared libraries on
14644 # powerpc, because MkLinux only supported shared libraries with the
14645 # GNU dynamic linker. Since this was broken with cross compilers,
14646 # most powerpc-linux boxes support dynamic linking these days and
14647 # people can always --disable-shared, the test was removed, and we
14648 # assume the GNU/Linux dynamic linker is in use.
14649 dynamic_linker='GNU/Linux ld.so'
14652 netbsd*)
14653 version_type=sunos
14654 need_lib_prefix=no
14655 need_version=no
14656 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14658 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14659 dynamic_linker='NetBSD (a.out) ld.so'
14660 else
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14662 soname_spec='${libname}${release}${shared_ext}$major'
14663 dynamic_linker='NetBSD ld.elf_so'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14667 hardcode_into_libs=yes
14670 newsos6)
14671 version_type=linux
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 shlibpath_var=LD_LIBRARY_PATH
14674 shlibpath_overrides_runpath=yes
14677 *nto* | *qnx*)
14678 version_type=qnx
14679 need_lib_prefix=no
14680 need_version=no
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 soname_spec='${libname}${release}${shared_ext}$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 shlibpath_overrides_runpath=no
14685 hardcode_into_libs=yes
14686 dynamic_linker='ldqnx.so'
14689 openbsd*)
14690 version_type=sunos
14691 sys_lib_dlsearch_path_spec="/usr/lib"
14692 need_lib_prefix=no
14693 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14694 case $host_os in
14695 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14696 *) need_version=no ;;
14697 esac
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14699 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14702 case $host_os in
14703 openbsd2.[89] | openbsd2.[89].*)
14704 shlibpath_overrides_runpath=no
14707 shlibpath_overrides_runpath=yes
14709 esac
14710 else
14711 shlibpath_overrides_runpath=yes
14715 os2*)
14716 libname_spec='$name'
14717 shrext_cmds=".dll"
14718 need_lib_prefix=no
14719 library_names_spec='$libname${shared_ext} $libname.a'
14720 dynamic_linker='OS/2 ld.exe'
14721 shlibpath_var=LIBPATH
14724 osf3* | osf4* | osf5*)
14725 version_type=osf
14726 need_lib_prefix=no
14727 need_version=no
14728 soname_spec='${libname}${release}${shared_ext}$major'
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730 shlibpath_var=LD_LIBRARY_PATH
14731 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14732 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14735 rdos*)
14736 dynamic_linker=no
14739 solaris*)
14740 version_type=linux
14741 need_lib_prefix=no
14742 need_version=no
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14744 soname_spec='${libname}${release}${shared_ext}$major'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 hardcode_into_libs=yes
14748 # ldd complains unless libraries are executable
14749 postinstall_cmds='chmod +x $lib'
14752 sunos4*)
14753 version_type=sunos
14754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14755 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14756 shlibpath_var=LD_LIBRARY_PATH
14757 shlibpath_overrides_runpath=yes
14758 if test "$with_gnu_ld" = yes; then
14759 need_lib_prefix=no
14761 need_version=yes
14764 sysv4 | sysv4.3*)
14765 version_type=linux
14766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14767 soname_spec='${libname}${release}${shared_ext}$major'
14768 shlibpath_var=LD_LIBRARY_PATH
14769 case $host_vendor in
14770 sni)
14771 shlibpath_overrides_runpath=no
14772 need_lib_prefix=no
14773 runpath_var=LD_RUN_PATH
14775 siemens)
14776 need_lib_prefix=no
14778 motorola)
14779 need_lib_prefix=no
14780 need_version=no
14781 shlibpath_overrides_runpath=no
14782 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14784 esac
14787 sysv4*MP*)
14788 if test -d /usr/nec ;then
14789 version_type=linux
14790 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14791 soname_spec='$libname${shared_ext}.$major'
14792 shlibpath_var=LD_LIBRARY_PATH
14796 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14797 version_type=freebsd-elf
14798 need_lib_prefix=no
14799 need_version=no
14800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14801 soname_spec='${libname}${release}${shared_ext}$major'
14802 shlibpath_var=LD_LIBRARY_PATH
14803 shlibpath_overrides_runpath=yes
14804 hardcode_into_libs=yes
14805 if test "$with_gnu_ld" = yes; then
14806 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14807 else
14808 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14809 case $host_os in
14810 sco3.2v5*)
14811 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14813 esac
14815 sys_lib_dlsearch_path_spec='/usr/lib'
14818 tpf*)
14819 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14820 version_type=linux
14821 need_lib_prefix=no
14822 need_version=no
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 shlibpath_var=LD_LIBRARY_PATH
14825 shlibpath_overrides_runpath=no
14826 hardcode_into_libs=yes
14829 uts4*)
14830 version_type=linux
14831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14832 soname_spec='${libname}${release}${shared_ext}$major'
14833 shlibpath_var=LD_LIBRARY_PATH
14837 dynamic_linker=no
14839 esac
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14841 $as_echo "$dynamic_linker" >&6; }
14842 test "$dynamic_linker" = no && can_build_shared=no
14844 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14845 if test "$GCC" = yes; then
14846 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14849 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14850 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14852 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14853 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14894 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14895 hardcode_action_CXX=
14896 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14897 test -n "$runpath_var_CXX" ||
14898 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14900 # We can hardcode non-existent directories.
14901 if test "$hardcode_direct_CXX" != no &&
14902 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14903 # have to relink, otherwise we might link with an installed library
14904 # when we should be linking with a yet-to-be-installed one
14905 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14906 test "$hardcode_minus_L_CXX" != no; then
14907 # Linking always hardcodes the temporary library directory.
14908 hardcode_action_CXX=relink
14909 else
14910 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14911 hardcode_action_CXX=immediate
14913 else
14914 # We cannot hardcode anything, or else we can only hardcode existing
14915 # directories.
14916 hardcode_action_CXX=unsupported
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14919 $as_echo "$hardcode_action_CXX" >&6; }
14921 if test "$hardcode_action_CXX" = relink ||
14922 test "$inherit_rpath_CXX" = yes; then
14923 # Fast installation is not supported
14924 enable_fast_install=no
14925 elif test "$shlibpath_overrides_runpath" = yes ||
14926 test "$enable_shared" = no; then
14927 # Fast installation is not necessary
14928 enable_fast_install=needless
14937 fi # test -n "$compiler"
14939 CC=$lt_save_CC
14940 LDCXX=$LD
14941 LD=$lt_save_LD
14942 GCC=$lt_save_GCC
14943 with_gnu_ld=$lt_save_with_gnu_ld
14944 lt_cv_path_LDCXX=$lt_cv_path_LD
14945 lt_cv_path_LD=$lt_save_path_LD
14946 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14947 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14948 fi # test "$_lt_caught_CXX_error" != yes
14950 ac_ext=c
14951 ac_cpp='$CPP $CPPFLAGS'
14952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14968 ac_config_commands="$ac_config_commands libtool"
14973 # Only expand once:
14979 case $host in
14980 *-cygwin* | *-mingw*)
14981 # 'host' will be top-level target in the case of a target lib,
14982 # we must compare to with_cross_host to decide if this is a native
14983 # or cross-compiler and select where to install dlls appropriately.
14984 if test -n "$with_cross_host" &&
14985 test x"$with_cross_host" != x"no"; then
14986 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14987 else
14988 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14992 lt_host_flags=
14994 esac
15001 if test "$enable_vtable_verify" = yes; then
15002 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15003 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15007 # libtool variables for C++ shared and position-independent compiles.
15009 # Use glibcxx_lt_pic_flag to designate the automake variable
15010 # used to encapsulate the default libtool approach to creating objects
15011 # with position-independent code. Default: -prefer-pic.
15013 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15014 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15016 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15017 # creating position-independent objects. This varies with the target
15018 # hardware and operating system, but is often: -DPIC -fPIC.
15019 if test "$enable_shared" = yes; then
15020 glibcxx_lt_pic_flag="-prefer-pic"
15021 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15022 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15024 else
15025 glibcxx_lt_pic_flag=
15026 glibcxx_compiler_pic_flag=
15027 glibcxx_compiler_shared_flag=
15033 # Override the libtool's pic_flag and pic_mode.
15034 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15035 # NB: this impacts --with-pic and --without-pic.
15036 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15037 pic_mode='default'
15039 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15040 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15042 # Possibly disable most of the library.
15043 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15044 ## than just ignoring the results. Faster /and/ more correct, win win.
15046 # Check whether --enable-hosted-libstdcxx was given.
15047 if test "${enable_hosted_libstdcxx+set}" = set; then :
15048 enableval=$enable_hosted_libstdcxx;
15049 else
15050 case "$host" in
15051 arm*-*-symbianelf*)
15052 enable_hosted_libstdcxx=no
15055 enable_hosted_libstdcxx=yes
15057 esac
15060 if test "$enable_hosted_libstdcxx" = no; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15062 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15063 is_hosted=no
15064 hosted_define=0
15065 enable_abi_check=no
15066 enable_libstdcxx_pch=no
15067 else
15068 is_hosted=yes
15069 hosted_define=1
15073 cat >>confdefs.h <<_ACEOF
15074 #define _GLIBCXX_HOSTED $hosted_define
15075 _ACEOF
15079 # Enable descriptive messages to standard output on termination.
15081 # Check whether --enable-libstdcxx-verbose was given.
15082 if test "${enable_libstdcxx_verbose+set}" = set; then :
15083 enableval=$enable_libstdcxx_verbose;
15084 else
15085 enable_libstdcxx_verbose=yes
15088 if test x"$enable_libstdcxx_verbose" = xyes; then
15089 verbose_define=1
15090 else
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15092 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15093 verbose_define=0
15096 cat >>confdefs.h <<_ACEOF
15097 #define _GLIBCXX_VERBOSE $verbose_define
15098 _ACEOF
15102 # Enable compiler support that doesn't require linking.
15104 # Check whether --enable-libstdcxx-pch was given.
15105 if test "${enable_libstdcxx_pch+set}" = set; then :
15106 enableval=$enable_libstdcxx_pch;
15107 case "$enableval" in
15108 yes|no) ;;
15109 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15110 esac
15112 else
15113 enable_libstdcxx_pch=$is_hosted
15117 if test $enable_libstdcxx_pch = yes; then
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15119 $as_echo_n "checking for compiler with PCH support... " >&6; }
15120 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 ac_save_CXXFLAGS="$CXXFLAGS"
15124 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15126 ac_ext=cpp
15127 ac_cpp='$CXXCPP $CPPFLAGS'
15128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15132 echo '#include <math.h>' > conftest.h
15133 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15134 -o conftest.h.gch 1>&5 2>&1 &&
15135 echo '#error "pch failed"' > conftest.h &&
15136 echo '#include "conftest.h"' > conftest.cc &&
15137 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15138 then
15139 glibcxx_cv_prog_CXX_pch=yes
15140 else
15141 glibcxx_cv_prog_CXX_pch=no
15143 rm -f conftest*
15144 CXXFLAGS=$ac_save_CXXFLAGS
15145 ac_ext=c
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15154 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15155 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15159 $as_echo_n "checking for enabled PCH... " >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15161 $as_echo "$enable_libstdcxx_pch" >&6; }
15164 if test $enable_libstdcxx_pch = yes; then
15165 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15166 else
15167 glibcxx_PCHFLAGS=""
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15173 $as_echo_n "checking for thread model used by GCC... " >&6; }
15174 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15176 $as_echo "$target_thread_file" >&6; }
15178 case $target_thread_file in
15179 aix) thread_header=config/rs6000/gthr-aix.h ;;
15180 dce) thread_header=config/pa/gthr-dce.h ;;
15181 lynx) thread_header=config/gthr-lynx.h ;;
15182 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15183 posix) thread_header=gthr-posix.h ;;
15184 rtems) thread_header=config/gthr-rtems.h ;;
15185 single) thread_header=gthr-single.h ;;
15186 tpf) thread_header=config/s390/gthr-tpf.h ;;
15187 vxworks) thread_header=config/gthr-vxworks.h ;;
15188 win32) thread_header=config/i386/gthr-win32.h ;;
15189 esac
15195 ac_ext=cpp
15196 ac_cpp='$CXXCPP $CPPFLAGS'
15197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15201 old_CXXFLAGS="$CXXFLAGS"
15203 # Do link tests if possible, instead asm tests, limited to some platforms
15204 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15205 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15206 atomic_builtins_link_tests=no
15207 if test x$gcc_no_link != xyes; then
15208 # Can do link tests. Limit to some tested platforms
15209 case "$host" in
15210 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15211 atomic_builtins_link_tests=yes
15213 esac
15216 if test x$atomic_builtins_link_tests = xyes; then
15218 # Do link tests.
15220 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15223 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15224 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15228 if test x$gcc_no_link = xyes; then
15229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15235 main ()
15237 typedef bool atomic_type;
15238 atomic_type c1;
15239 atomic_type c2;
15240 atomic_type c3(0);
15241 // N.B. __atomic_fetch_add is not supported for bool.
15242 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15243 __ATOMIC_RELAXED);
15244 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15245 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15248 return 0;
15250 _ACEOF
15251 if ac_fn_cxx_try_link "$LINENO"; then :
15252 glibcxx_cv_atomic_bool=yes
15253 else
15254 glibcxx_cv_atomic_bool=no
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15262 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15265 $as_echo_n "checking for atomic builtins for short... " >&6; }
15266 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15270 if test x$gcc_no_link = xyes; then
15271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15277 main ()
15279 typedef short atomic_type;
15280 atomic_type c1;
15281 atomic_type c2;
15282 atomic_type c3(0);
15283 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15284 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15285 __ATOMIC_RELAXED);
15286 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15287 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15290 return 0;
15292 _ACEOF
15293 if ac_fn_cxx_try_link "$LINENO"; then :
15294 glibcxx_cv_atomic_short=yes
15295 else
15296 glibcxx_cv_atomic_short=no
15298 rm -f core conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext conftest.$ac_ext
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15304 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15307 $as_echo_n "checking for atomic builtins for int... " >&6; }
15308 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15309 $as_echo_n "(cached) " >&6
15310 else
15312 if test x$gcc_no_link = xyes; then
15313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15319 main ()
15321 typedef int atomic_type;
15322 atomic_type c1;
15323 atomic_type c2;
15324 atomic_type c3(0);
15325 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15326 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15327 __ATOMIC_RELAXED);
15328 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15329 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15332 return 0;
15334 _ACEOF
15335 if ac_fn_cxx_try_link "$LINENO"; then :
15336 glibcxx_cv_atomic_int=yes
15337 else
15338 glibcxx_cv_atomic_int=no
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15346 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15349 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15350 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15354 if test x$gcc_no_link = xyes; then
15355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15361 main ()
15363 typedef long long atomic_type;
15364 atomic_type c1;
15365 atomic_type c2;
15366 atomic_type c3(0);
15367 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15368 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15369 __ATOMIC_RELAXED);
15370 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15371 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15374 return 0;
15376 _ACEOF
15377 if ac_fn_cxx_try_link "$LINENO"; then :
15378 glibcxx_cv_atomic_long_long=yes
15379 else
15380 glibcxx_cv_atomic_long_long=no
15382 rm -f core conftest.err conftest.$ac_objext \
15383 conftest$ac_exeext conftest.$ac_ext
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15388 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15390 else
15392 # Do asm tests.
15394 # Compile unoptimized.
15395 CXXFLAGS='-O0 -S'
15397 # Fake what AC_TRY_COMPILE does.
15399 cat > conftest.$ac_ext << EOF
15400 #line 15400 "configure"
15401 int main()
15403 typedef bool atomic_type;
15404 atomic_type c1;
15405 atomic_type c2;
15406 atomic_type c3(0);
15407 // N.B. __atomic_fetch_add is not supported for bool.
15408 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15409 __ATOMIC_RELAXED);
15410 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15411 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15413 return 0;
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15418 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15420 (eval $ac_compile) 2>&5
15421 ac_status=$?
15422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15423 test $ac_status = 0; }; then
15424 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15425 glibcxx_cv_atomic_bool=no
15426 else
15427 glibcxx_cv_atomic_bool=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15431 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15432 rm -f conftest*
15434 cat > conftest.$ac_ext << EOF
15435 #line 15435 "configure"
15436 int main()
15438 typedef short atomic_type;
15439 atomic_type c1;
15440 atomic_type c2;
15441 atomic_type c3(0);
15442 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15443 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15444 __ATOMIC_RELAXED);
15445 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15446 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15448 return 0;
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15453 $as_echo_n "checking for atomic builtins for short... " >&6; }
15454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15455 (eval $ac_compile) 2>&5
15456 ac_status=$?
15457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458 test $ac_status = 0; }; then
15459 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15460 glibcxx_cv_atomic_short=no
15461 else
15462 glibcxx_cv_atomic_short=yes
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15466 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15467 rm -f conftest*
15469 cat > conftest.$ac_ext << EOF
15470 #line 15470 "configure"
15471 int main()
15473 // NB: _Atomic_word not necessarily int.
15474 typedef int atomic_type;
15475 atomic_type c1;
15476 atomic_type c2;
15477 atomic_type c3(0);
15478 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15479 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15480 __ATOMIC_RELAXED);
15481 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15482 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15484 return 0;
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15489 $as_echo_n "checking for atomic builtins for int... " >&6; }
15490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15491 (eval $ac_compile) 2>&5
15492 ac_status=$?
15493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15494 test $ac_status = 0; }; then
15495 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15496 glibcxx_cv_atomic_int=no
15497 else
15498 glibcxx_cv_atomic_int=yes
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15502 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15503 rm -f conftest*
15505 cat > conftest.$ac_ext << EOF
15506 #line 15506 "configure"
15507 int main()
15509 typedef long long atomic_type;
15510 atomic_type c1;
15511 atomic_type c2;
15512 atomic_type c3(0);
15513 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15514 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15515 __ATOMIC_RELAXED);
15516 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15517 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15519 return 0;
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15524 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15526 (eval $ac_compile) 2>&5
15527 ac_status=$?
15528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15529 test $ac_status = 0; }; then
15530 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15531 glibcxx_cv_atomic_long_long=no
15532 else
15533 glibcxx_cv_atomic_long_long=yes
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15537 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15538 rm -f conftest*
15542 CXXFLAGS="$old_CXXFLAGS"
15543 ac_ext=c
15544 ac_cpp='$CPP $CPPFLAGS'
15545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550 # Set atomicity_dir to builtins if all but the long long test above passes,
15551 # or if the builtins were already chosen (e.g. by configure.host).
15552 if { test "$glibcxx_cv_atomic_bool" = yes \
15553 && test "$glibcxx_cv_atomic_short" = yes \
15554 && test "$glibcxx_cv_atomic_int" = yes; } \
15555 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15557 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15559 atomicity_dir=cpu/generic/atomicity_builtins
15562 # If still generic, set to mutex.
15563 if test $atomicity_dir = "cpu/generic" ; then
15564 atomicity_dir=cpu/generic/atomicity_mutex
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15566 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15567 if test "x$target_thread_file" = xsingle; then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15569 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15571 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15572 else
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15574 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15576 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15583 # Fake what AC_TRY_COMPILE does, without linking as this is
15584 # unnecessary for this test.
15586 cat > conftest.$ac_ext << EOF
15587 #line 15587 "configure"
15588 int main()
15590 _Decimal32 d1;
15591 _Decimal64 d2;
15592 _Decimal128 d3;
15593 return 0;
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15598 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15600 (eval $ac_compile) 2>&5
15601 ac_status=$?
15602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15603 test $ac_status = 0; }; then
15605 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15607 enable_dfp=yes
15608 else
15609 enable_dfp=no
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15612 $as_echo "$enable_dfp" >&6; }
15613 rm -f conftest*
15618 ac_ext=cpp
15619 ac_cpp='$CXXCPP $CPPFLAGS'
15620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15625 # Fake what AC_TRY_COMPILE does, without linking as this is
15626 # unnecessary for this test.
15628 cat > conftest.$ac_ext << EOF
15629 #line 15629 "configure"
15630 template<typename T1, typename T2>
15631 struct same
15632 { typedef T2 type; };
15634 template<typename T>
15635 struct same<T, T>;
15637 int main()
15639 typename same<long, __int128>::type i1;
15640 typename same<long long, __int128>::type i2;
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15645 $as_echo_n "checking for __int128... " >&6; }
15646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15647 (eval $ac_compile) 2>&5
15648 ac_status=$?
15649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15650 test $ac_status = 0; }; then
15652 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15654 enable_int128=yes
15655 else
15656 enable_int128=no
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15659 $as_echo "$enable_int128" >&6; }
15660 rm -f conftest*
15662 cat > conftest.$ac_ext << EOF
15663 #line 15663 "configure"
15664 template<typename T1, typename T2>
15665 struct same
15666 { typedef T2 type; };
15668 template<typename T>
15669 struct same<T, T>;
15671 int main()
15673 typename same<double, __float128>::type f1;
15674 typename same<long double, __float128>::type f2;
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15679 $as_echo_n "checking for __float128... " >&6; }
15680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15681 (eval $ac_compile) 2>&5
15682 ac_status=$?
15683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15684 test $ac_status = 0; }; then
15686 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15688 enable_float128=yes
15689 else
15690 enable_float128=no
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15693 $as_echo "$enable_float128" >&6; }
15694 rm -f conftest*
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15703 if test "$enable_float128" = yes; then
15704 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15707 # Checks for compiler support that doesn't require linking.
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15722 # Check for maintainer-mode bits.
15723 if test x"$USE_MAINTAINER_MODE" = xno; then
15724 WERROR=''
15725 else
15726 WERROR='-Werror'
15729 # Check for -ffunction-sections -fdata-sections
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15731 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15732 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15735 int foo; void bar() { };
15737 main ()
15741 return 0;
15743 _ACEOF
15744 if ac_fn_cxx_try_compile "$LINENO"; then :
15745 ac_fdsections=yes
15746 else
15747 ac_fdsections=no
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 if test "$ac_test_CXXFLAGS" = set; then
15751 CXXFLAGS="$ac_save_CXXFLAGS"
15752 else
15753 # this is the suspicious part
15754 CXXFLAGS=''
15756 if test x"$ac_fdsections" = x"yes"; then
15757 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15760 $as_echo "$ac_fdsections" >&6; }
15762 ac_ext=c
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15772 # Enable all the variable C++ runtime options that don't require linking.
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15775 $as_echo_n "checking for underlying I/O to use... " >&6; }
15776 # Check whether --enable-cstdio was given.
15777 if test "${enable_cstdio+set}" = set; then :
15778 enableval=$enable_cstdio;
15779 case "$enableval" in
15780 stdio) ;;
15781 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15782 esac
15784 else
15785 enable_cstdio=stdio
15790 # Now that libio has been removed, you can have any color you want as long
15791 # as it's black. This is one big no-op until other packages are added, but
15792 # showing the framework never hurts.
15793 case ${enable_cstdio} in
15794 stdio)
15795 CSTDIO_H=config/io/c_io_stdio.h
15796 BASIC_FILE_H=config/io/basic_file_stdio.h
15797 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15799 $as_echo "stdio" >&6; }
15801 esac
15808 # Check whether --enable-clocale was given.
15809 if test "${enable_clocale+set}" = set; then :
15810 enableval=$enable_clocale;
15811 case "$enableval" in
15812 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15813 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15814 esac
15816 else
15817 enable_clocale=auto
15822 # Deal with gettext issues. Default to not using it (=no) until we detect
15823 # support for it later. Let the user turn it off via --e/d, but let that
15824 # default to on for easier handling.
15825 USE_NLS=no
15826 # Check whether --enable-nls was given.
15827 if test "${enable_nls+set}" = set; then :
15828 enableval=$enable_nls;
15829 else
15830 enable_nls=yes
15834 # Either a known package, or "auto"
15835 if test $enable_clocale = no || test $enable_clocale = yes; then
15836 enable_clocale=auto
15838 enable_clocale_flag=$enable_clocale
15840 # Probe for locale model to use if none specified.
15841 # Default to "generic".
15842 if test $enable_clocale_flag = auto; then
15843 case ${target_os} in
15844 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15845 enable_clocale_flag=gnu
15847 darwin*)
15848 enable_clocale_flag=darwin
15850 dragonfly* | freebsd*)
15851 enable_clocale_flag=dragonfly
15853 openbsd*)
15854 enable_clocale_flag=newlib
15857 if test x"$with_newlib" = x"yes"; then
15858 enable_clocale_flag=newlib
15859 else
15860 enable_clocale_flag=generic
15863 esac
15866 # Sanity check model, and test for special functionality.
15867 if test $enable_clocale_flag = gnu; then
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 #include <features.h>
15872 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15873 _GLIBCXX_ok
15874 #endif
15876 _ACEOF
15877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15878 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15879 enable_clocale_flag=gnu
15880 else
15881 enable_clocale_flag=generic
15883 rm -f conftest*
15886 # Set it to scream when it hurts.
15887 ac_save_CFLAGS="$CFLAGS"
15888 CFLAGS="-Wimplicit-function-declaration -Werror"
15890 # Use strxfrm_l if available.
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 #define _GNU_SOURCE 1
15894 #include <string.h>
15895 #include <locale.h>
15897 main ()
15899 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_compile "$LINENO"; then :
15906 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 # Use strerror_l if available.
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #define _GNU_SOURCE 1
15915 #include <string.h>
15916 #include <locale.h>
15918 main ()
15920 __locale_t loc; strerror_l(5, loc);
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_compile "$LINENO"; then :
15927 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15932 CFLAGS="$ac_save_CFLAGS"
15935 # Perhaps use strerror_r if available, and strerror_l isn't.
15936 ac_save_CFLAGS="$CFLAGS"
15937 CFLAGS="-Wimplicit-function-declaration -Werror"
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15940 #define _GNU_SOURCE 1
15941 #include <string.h>
15942 #include <locale.h>
15944 main ()
15946 char s[128]; strerror_r(5, s, 128);
15948 return 0;
15950 _ACEOF
15951 if ac_fn_c_try_compile "$LINENO"; then :
15953 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15957 CFLAGS="$ac_save_CFLAGS"
15959 # Set configure bits for specified locale package
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15961 $as_echo_n "checking for C locale to use... " >&6; }
15962 case ${enable_clocale_flag} in
15963 generic)
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15965 $as_echo "generic" >&6; }
15967 CLOCALE_H=config/locale/generic/c_locale.h
15968 CLOCALE_CC=config/locale/generic/c_locale.cc
15969 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15970 CCOLLATE_CC=config/locale/generic/collate_members.cc
15971 CCTYPE_CC=config/locale/generic/ctype_members.cc
15972 CMESSAGES_H=config/locale/generic/messages_members.h
15973 CMESSAGES_CC=config/locale/generic/messages_members.cc
15974 CMONEY_CC=config/locale/generic/monetary_members.cc
15975 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15976 CTIME_H=config/locale/generic/time_members.h
15977 CTIME_CC=config/locale/generic/time_members.cc
15978 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15980 darwin)
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15982 $as_echo "darwin" >&6; }
15984 CLOCALE_H=config/locale/generic/c_locale.h
15985 CLOCALE_CC=config/locale/generic/c_locale.cc
15986 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15987 CCOLLATE_CC=config/locale/generic/collate_members.cc
15988 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15989 CMESSAGES_H=config/locale/generic/messages_members.h
15990 CMESSAGES_CC=config/locale/generic/messages_members.cc
15991 CMONEY_CC=config/locale/generic/monetary_members.cc
15992 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15993 CTIME_H=config/locale/generic/time_members.h
15994 CTIME_CC=config/locale/generic/time_members.cc
15995 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 dragonfly)
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16000 $as_echo "dragonfly or freebsd" >&6; }
16002 CLOCALE_H=config/locale/dragonfly/c_locale.h
16003 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16004 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16005 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16006 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16007 CMESSAGES_H=config/locale/generic/messages_members.h
16008 CMESSAGES_CC=config/locale/generic/messages_members.cc
16009 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16010 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16011 CTIME_H=config/locale/dragonfly/time_members.h
16012 CTIME_CC=config/locale/dragonfly/time_members.cc
16013 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 gnu)
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16018 $as_echo "gnu" >&6; }
16020 # Declare intention to use gettext, and add support for specific
16021 # languages.
16022 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16023 ALL_LINGUAS="de fr"
16025 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16026 # Extract the first word of "msgfmt", so it can be a program name with args.
16027 set dummy msgfmt; ac_word=$2
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16029 $as_echo_n "checking for $ac_word... " >&6; }
16030 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16031 $as_echo_n "(cached) " >&6
16032 else
16033 if test -n "$check_msgfmt"; then
16034 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16035 else
16036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16037 for as_dir in $PATH
16039 IFS=$as_save_IFS
16040 test -z "$as_dir" && as_dir=.
16041 for ac_exec_ext in '' $ac_executable_extensions; do
16042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16043 ac_cv_prog_check_msgfmt="yes"
16044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16045 break 2
16047 done
16048 done
16049 IFS=$as_save_IFS
16051 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16054 check_msgfmt=$ac_cv_prog_check_msgfmt
16055 if test -n "$check_msgfmt"; then
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16057 $as_echo "$check_msgfmt" >&6; }
16058 else
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16060 $as_echo "no" >&6; }
16064 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16065 USE_NLS=yes
16067 # Export the build objects.
16068 for ling in $ALL_LINGUAS; do \
16069 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16070 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16071 done
16075 CLOCALE_H=config/locale/gnu/c_locale.h
16076 CLOCALE_CC=config/locale/gnu/c_locale.cc
16077 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16078 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16079 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16080 CMESSAGES_H=config/locale/gnu/messages_members.h
16081 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16082 CMONEY_CC=config/locale/gnu/monetary_members.cc
16083 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16084 CTIME_H=config/locale/gnu/time_members.h
16085 CTIME_CC=config/locale/gnu/time_members.cc
16086 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16088 ieee_1003.1-2001)
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16090 $as_echo "IEEE 1003.1" >&6; }
16092 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16093 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16094 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16095 CCOLLATE_CC=config/locale/generic/collate_members.cc
16096 CCTYPE_CC=config/locale/generic/ctype_members.cc
16097 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16098 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16099 CMONEY_CC=config/locale/generic/monetary_members.cc
16100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16101 CTIME_H=config/locale/generic/time_members.h
16102 CTIME_CC=config/locale/generic/time_members.cc
16103 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16105 newlib)
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16107 $as_echo "newlib" >&6; }
16109 CLOCALE_H=config/locale/generic/c_locale.h
16110 CLOCALE_CC=config/locale/generic/c_locale.cc
16111 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16112 CCOLLATE_CC=config/locale/generic/collate_members.cc
16113 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16114 CMESSAGES_H=config/locale/generic/messages_members.h
16115 CMESSAGES_CC=config/locale/generic/messages_members.cc
16116 CMONEY_CC=config/locale/generic/monetary_members.cc
16117 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16118 CTIME_H=config/locale/generic/time_members.h
16119 CTIME_CC=config/locale/generic/time_members.cc
16120 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16122 esac
16124 # This is where the testsuite looks for locale catalogs, using the
16125 # -DLOCALEDIR define during testsuite compilation.
16126 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16129 # A standalone libintl (e.g., GNU libintl) may be in use.
16130 if test $USE_NLS = yes; then
16131 for ac_header in libintl.h
16132 do :
16133 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16134 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_LIBINTL_H 1
16137 _ACEOF
16139 else
16140 USE_NLS=no
16143 done
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16146 $as_echo_n "checking for library containing gettext... " >&6; }
16147 if test "${ac_cv_search_gettext+set}" = set; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 ac_func_search_save_LIBS=$LIBS
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 #ifdef __cplusplus
16158 extern "C"
16159 #endif
16160 char gettext ();
16162 main ()
16164 return gettext ();
16166 return 0;
16168 _ACEOF
16169 for ac_lib in '' intl; do
16170 if test -z "$ac_lib"; then
16171 ac_res="none required"
16172 else
16173 ac_res=-l$ac_lib
16174 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16176 if test x$gcc_no_link = xyes; then
16177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16179 if ac_fn_c_try_link "$LINENO"; then :
16180 ac_cv_search_gettext=$ac_res
16182 rm -f core conftest.err conftest.$ac_objext \
16183 conftest$ac_exeext
16184 if test "${ac_cv_search_gettext+set}" = set; then :
16185 break
16187 done
16188 if test "${ac_cv_search_gettext+set}" = set; then :
16190 else
16191 ac_cv_search_gettext=no
16193 rm conftest.$ac_ext
16194 LIBS=$ac_func_search_save_LIBS
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16197 $as_echo "$ac_cv_search_gettext" >&6; }
16198 ac_res=$ac_cv_search_gettext
16199 if test "$ac_res" != no; then :
16200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16202 else
16203 USE_NLS=no
16207 if test $USE_NLS = yes; then
16209 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16229 $as_echo_n "checking for std::allocator base class... " >&6; }
16230 # Check whether --enable-libstdcxx-allocator was given.
16231 if test "${enable_libstdcxx_allocator+set}" = set; then :
16232 enableval=$enable_libstdcxx_allocator;
16233 case "$enableval" in
16234 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16235 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16236 esac
16238 else
16239 enable_libstdcxx_allocator=auto
16244 # If they didn't use this option switch, or if they specified --enable
16245 # with no specific model, we'll have to look for one. If they
16246 # specified --disable (???), do likewise.
16247 if test $enable_libstdcxx_allocator = no ||
16248 test $enable_libstdcxx_allocator = yes;
16249 then
16250 enable_libstdcxx_allocator=auto
16253 # Either a known package, or "auto". Auto implies the default choice
16254 # for a particular platform.
16255 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16257 # Probe for host-specific support if no specific model is specified.
16258 # Default to "new".
16259 if test $enable_libstdcxx_allocator_flag = auto; then
16260 case ${target_os} in
16261 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16262 enable_libstdcxx_allocator_flag=new
16265 enable_libstdcxx_allocator_flag=new
16267 esac
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16270 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16273 # Set configure bits for specified locale package
16274 case ${enable_libstdcxx_allocator_flag} in
16275 bitmap)
16276 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16279 malloc)
16280 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16284 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16287 new)
16288 ALLOCATOR_H=config/allocator/new_allocator_base.h
16289 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16291 pool)
16292 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16293 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16295 esac
16302 # Check whether --enable-cheaders was given.
16303 if test "${enable_cheaders+set}" = set; then :
16304 enableval=$enable_cheaders;
16305 case "$enableval" in
16306 c|c_std|c_global) ;;
16307 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16308 esac
16310 else
16311 enable_cheaders=$c_model
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16316 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16318 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16320 # Allow overrides to configure.host here.
16321 if test $enable_cheaders = c_global; then
16322 c_compatibility=yes
16331 # Check whether --enable-long-long was given.
16332 if test "${enable_long_long+set}" = set; then :
16333 enableval=$enable_long_long;
16334 case "$enableval" in
16335 yes|no) ;;
16336 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16337 esac
16339 else
16340 enable_long_long=yes
16344 if test $enable_long_long = yes; then
16346 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16350 $as_echo_n "checking for enabled long long specializations... " >&6; }
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16352 $as_echo "$enable_long_long" >&6; }
16355 # Check whether --enable-wchar_t was given.
16356 if test "${enable_wchar_t+set}" = set; then :
16357 enableval=$enable_wchar_t;
16358 case "$enableval" in
16359 yes|no) ;;
16360 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16361 esac
16363 else
16364 enable_wchar_t=yes
16369 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16370 for ac_header in wchar.h
16371 do :
16372 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_WCHAR_H 1
16376 _ACEOF
16377 ac_has_wchar_h=yes
16378 else
16379 ac_has_wchar_h=no
16382 done
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16385 $as_echo_n "checking for mbstate_t... " >&6; }
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #include <wchar.h>
16390 main ()
16392 mbstate_t teststate;
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_compile "$LINENO"; then :
16398 have_mbstate_t=yes
16399 else
16400 have_mbstate_t=no
16402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16404 $as_echo "$have_mbstate_t" >&6; }
16405 if test x"$have_mbstate_t" = xyes; then
16407 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16411 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16412 # ac_has_wchar_h.
16413 for ac_header in wctype.h
16414 do :
16415 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16416 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_WCTYPE_H 1
16419 _ACEOF
16420 ac_has_wctype_h=yes
16421 else
16422 ac_has_wctype_h=no
16425 done
16428 if test x"$enable_wchar_t" = x"yes"; then
16431 ac_ext=cpp
16432 ac_cpp='$CXXCPP $CPPFLAGS'
16433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16438 if test x"$ac_has_wchar_h" = xyes &&
16439 test x"$ac_has_wctype_h" = xyes; then
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16442 #include <wchar.h>
16443 #include <stddef.h>
16444 wint_t i;
16445 long l = WEOF;
16446 long j = WCHAR_MIN;
16447 long k = WCHAR_MAX;
16448 namespace test
16450 using ::btowc;
16451 using ::fgetwc;
16452 using ::fgetws;
16453 using ::fputwc;
16454 using ::fputws;
16455 using ::fwide;
16456 using ::fwprintf;
16457 using ::fwscanf;
16458 using ::getwc;
16459 using ::getwchar;
16460 using ::mbrlen;
16461 using ::mbrtowc;
16462 using ::mbsinit;
16463 using ::mbsrtowcs;
16464 using ::putwc;
16465 using ::putwchar;
16466 using ::swprintf;
16467 using ::swscanf;
16468 using ::ungetwc;
16469 using ::vfwprintf;
16470 using ::vswprintf;
16471 using ::vwprintf;
16472 using ::wcrtomb;
16473 using ::wcscat;
16474 using ::wcschr;
16475 using ::wcscmp;
16476 using ::wcscoll;
16477 using ::wcscpy;
16478 using ::wcscspn;
16479 using ::wcsftime;
16480 using ::wcslen;
16481 using ::wcsncat;
16482 using ::wcsncmp;
16483 using ::wcsncpy;
16484 using ::wcspbrk;
16485 using ::wcsrchr;
16486 using ::wcsrtombs;
16487 using ::wcsspn;
16488 using ::wcsstr;
16489 using ::wcstod;
16490 using ::wcstok;
16491 using ::wcstol;
16492 using ::wcstoul;
16493 using ::wcsxfrm;
16494 using ::wctob;
16495 using ::wmemchr;
16496 using ::wmemcmp;
16497 using ::wmemcpy;
16498 using ::wmemmove;
16499 using ::wmemset;
16500 using ::wprintf;
16501 using ::wscanf;
16505 main ()
16509 return 0;
16511 _ACEOF
16512 if ac_fn_cxx_try_compile "$LINENO"; then :
16514 else
16515 enable_wchar_t=no
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16518 else
16519 enable_wchar_t=no
16522 ac_ext=c
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16530 if test x"$enable_wchar_t" = x"yes"; then
16532 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16537 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16539 $as_echo "$enable_wchar_t" >&6; }
16543 # Check whether --enable-c99 was given.
16544 if test "${enable_c99+set}" = set; then :
16545 enableval=$enable_c99;
16546 case "$enableval" in
16547 yes|no) ;;
16548 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16549 esac
16551 else
16552 enable_c99=yes
16557 if test x"$enable_c99" = x"yes"; then
16559 ac_ext=cpp
16560 ac_cpp='$CXXCPP $CPPFLAGS'
16561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16566 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16567 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16568 # to be spuriously enabled.
16569 ac_save_CXXFLAGS="$CXXFLAGS"
16570 CXXFLAGS="$CXXFLAGS -std=c++98"
16571 ac_save_LIBS="$LIBS"
16572 ac_save_gcc_no_link="$gcc_no_link"
16574 if test x$gcc_no_link != xyes; then
16575 # Use -fno-exceptions to that the C driver can link these tests without
16576 # hitting undefined references to personality routines.
16577 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16579 $as_echo_n "checking for sin in -lm... " >&6; }
16580 if test "${ac_cv_lib_m_sin+set}" = set; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 ac_check_lib_save_LIBS=$LIBS
16584 LIBS="-lm $LIBS"
16585 if test x$gcc_no_link = xyes; then
16586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16591 /* Override any GCC internal prototype to avoid an error.
16592 Use char because int might match the return type of a GCC
16593 builtin and then its argument prototype would still apply. */
16594 #ifdef __cplusplus
16595 extern "C"
16596 #endif
16597 char sin ();
16599 main ()
16601 return sin ();
16603 return 0;
16605 _ACEOF
16606 if ac_fn_cxx_try_link "$LINENO"; then :
16607 ac_cv_lib_m_sin=yes
16608 else
16609 ac_cv_lib_m_sin=no
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16613 LIBS=$ac_check_lib_save_LIBS
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16616 $as_echo "$ac_cv_lib_m_sin" >&6; }
16617 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16618 LIBS="$LIBS -lm"
16619 else
16621 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16622 gcc_no_link=yes
16628 # Check for the existence of <math.h> functions used if C99 is enabled.
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16630 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16631 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16635 if test x$gcc_no_link = xyes; then
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16642 main ()
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_cxx_try_compile "$LINENO"; then :
16663 glibcxx_cv_c99_math_cxx98=yes
16664 else
16665 glibcxx_cv_c99_math_cxx98=no
16667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16668 else
16669 if test x$gcc_no_link = xyes; then
16670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 #include <math.h>
16675 volatile double d1, d2;
16676 volatile int i;
16678 main ()
16680 i = fpclassify(d1);
16681 i = isfinite(d1);
16682 i = isinf(d1);
16683 i = isnan(d1);
16684 i = isnormal(d1);
16685 i = signbit(d1);
16686 i = isgreater(d1, d2);
16687 i = isgreaterequal(d1, d2);
16688 i = isless(d1, d2);
16689 i = islessequal(d1, d2);
16690 i = islessgreater(d1, d2);
16691 i = islessgreater(d1, d2);
16692 i = isunordered(d1, d2);
16695 return 0;
16697 _ACEOF
16698 if ac_fn_cxx_try_link "$LINENO"; then :
16699 glibcxx_cv_c99_math_cxx98=yes
16700 else
16701 glibcxx_cv_c99_math_cxx98=no
16703 rm -f core conftest.err conftest.$ac_objext \
16704 conftest$ac_exeext conftest.$ac_ext
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16710 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16711 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16713 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16717 # Check for the existence of <complex.h> complex math functions.
16718 # This is necessary even though libstdc++ uses the builtin versions
16719 # of these functions, because if the builtin cannot be used, a reference
16720 # to the library function is emitted.
16721 for ac_header in tgmath.h
16722 do :
16723 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16724 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_TGMATH_H 1
16727 _ACEOF
16728 ac_has_tgmath_h=yes
16729 else
16730 ac_has_tgmath_h=no
16733 done
16735 for ac_header in complex.h
16736 do :
16737 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16738 if test "x$ac_cv_header_complex_h" = x""yes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_COMPLEX_H 1
16741 _ACEOF
16742 ac_has_complex_h=yes
16743 else
16744 ac_has_complex_h=no
16747 done
16749 if test x"$ac_has_complex_h" = x"yes"; then
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16751 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16752 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16756 if test x$gcc_no_link = xyes; then
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #include <complex.h>
16760 typedef __complex__ float float_type;
16761 typedef __complex__ double double_type;
16762 typedef __complex__ long double ld_type;
16763 volatile float_type tmpf;
16764 volatile double_type tmpd;
16765 volatile ld_type tmpld;
16766 volatile float f;
16767 volatile double d;
16768 volatile long double ld;
16770 main ()
16772 f = cabsf(tmpf);
16773 f = cargf(tmpf);
16774 tmpf = ccosf(tmpf);
16775 tmpf = ccoshf(tmpf);
16776 tmpf = cexpf(tmpf);
16777 tmpf = clogf(tmpf);
16778 tmpf = csinf(tmpf);
16779 tmpf = csinhf(tmpf);
16780 tmpf = csqrtf(tmpf);
16781 tmpf = ctanf(tmpf);
16782 tmpf = ctanhf(tmpf);
16783 tmpf = cpowf(tmpf, tmpf);
16784 tmpf = cprojf(tmpf);
16785 d = cabs(tmpd);
16786 d = carg(tmpd);
16787 tmpd = ccos(tmpd);
16788 tmpd = ccosh(tmpd);
16789 tmpd = cexp(tmpd);
16790 tmpd = clog(tmpd);
16791 tmpd = csin(tmpd);
16792 tmpd = csinh(tmpd);
16793 tmpd = csqrt(tmpd);
16794 tmpd = ctan(tmpd);
16795 tmpd = ctanh(tmpd);
16796 tmpd = cpow(tmpd, tmpd);
16797 tmpd = cproj(tmpd);
16798 ld = cabsl(tmpld);
16799 ld = cargl(tmpld);
16800 tmpld = ccosl(tmpld);
16801 tmpld = ccoshl(tmpld);
16802 tmpld = cexpl(tmpld);
16803 tmpld = clogl(tmpld);
16804 tmpld = csinl(tmpld);
16805 tmpld = csinhl(tmpld);
16806 tmpld = csqrtl(tmpld);
16807 tmpld = ctanl(tmpld);
16808 tmpld = ctanhl(tmpld);
16809 tmpld = cpowl(tmpld, tmpld);
16810 tmpld = cprojl(tmpld);
16813 return 0;
16815 _ACEOF
16816 if ac_fn_cxx_try_compile "$LINENO"; then :
16817 glibcxx_cv_c99_complex_cxx98=yes
16818 else
16819 glibcxx_cv_c99_complex_cxx98=no
16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16822 else
16823 if test x$gcc_no_link = xyes; then
16824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16828 #include <complex.h>
16829 typedef __complex__ float float_type;
16830 typedef __complex__ double double_type;
16831 typedef __complex__ long double ld_type;
16832 volatile float_type tmpf;
16833 volatile double_type tmpd;
16834 volatile ld_type tmpld;
16835 volatile float f;
16836 volatile double d;
16837 volatile long double ld;
16839 main ()
16841 f = cabsf(tmpf);
16842 f = cargf(tmpf);
16843 tmpf = ccosf(tmpf);
16844 tmpf = ccoshf(tmpf);
16845 tmpf = cexpf(tmpf);
16846 tmpf = clogf(tmpf);
16847 tmpf = csinf(tmpf);
16848 tmpf = csinhf(tmpf);
16849 tmpf = csqrtf(tmpf);
16850 tmpf = ctanf(tmpf);
16851 tmpf = ctanhf(tmpf);
16852 tmpf = cpowf(tmpf, tmpf);
16853 tmpf = cprojf(tmpf);
16854 d = cabs(tmpd);
16855 d = carg(tmpd);
16856 tmpd = ccos(tmpd);
16857 tmpd = ccosh(tmpd);
16858 tmpd = cexp(tmpd);
16859 tmpd = clog(tmpd);
16860 tmpd = csin(tmpd);
16861 tmpd = csinh(tmpd);
16862 tmpd = csqrt(tmpd);
16863 tmpd = ctan(tmpd);
16864 tmpd = ctanh(tmpd);
16865 tmpd = cpow(tmpd, tmpd);
16866 tmpd = cproj(tmpd);
16867 ld = cabsl(tmpld);
16868 ld = cargl(tmpld);
16869 tmpld = ccosl(tmpld);
16870 tmpld = ccoshl(tmpld);
16871 tmpld = cexpl(tmpld);
16872 tmpld = clogl(tmpld);
16873 tmpld = csinl(tmpld);
16874 tmpld = csinhl(tmpld);
16875 tmpld = csqrtl(tmpld);
16876 tmpld = ctanl(tmpld);
16877 tmpld = ctanhl(tmpld);
16878 tmpld = cpowl(tmpld, tmpld);
16879 tmpld = cprojl(tmpld);
16882 return 0;
16884 _ACEOF
16885 if ac_fn_cxx_try_link "$LINENO"; then :
16886 glibcxx_cv_c99_complex_cxx98=yes
16887 else
16888 glibcxx_cv_c99_complex_cxx98=no
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16898 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16899 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16901 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16905 # Check for the existence in <stdio.h> of vscanf, et. al.
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16907 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16908 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16912 if test x$gcc_no_link = xyes; then
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdio.h>
16916 #include <stdarg.h>
16917 void foo(char* fmt, ...)
16919 va_list args; va_start(args, fmt);
16920 vfscanf(stderr, "%i", args);
16921 vscanf("%i", args);
16922 vsnprintf(fmt, 0, "%i", args);
16923 vsscanf(fmt, "%i", args);
16924 snprintf(fmt, 0, "%i");
16927 main ()
16931 return 0;
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935 glibcxx_cv_c99_stdio_cxx98=yes
16936 else
16937 glibcxx_cv_c99_stdio_cxx98=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940 else
16941 if test x$gcc_no_link = xyes; then
16942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <stdio.h>
16947 #include <stdarg.h>
16948 void foo(char* fmt, ...)
16950 va_list args; va_start(args, fmt);
16951 vfscanf(stderr, "%i", args);
16952 vscanf("%i", args);
16953 vsnprintf(fmt, 0, "%i", args);
16954 vsscanf(fmt, "%i", args);
16955 snprintf(fmt, 0, "%i");
16958 main ()
16962 return 0;
16964 _ACEOF
16965 if ac_fn_cxx_try_link "$LINENO"; then :
16966 glibcxx_cv_c99_stdio_cxx98=yes
16967 else
16968 glibcxx_cv_c99_stdio_cxx98=no
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16977 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16978 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16980 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16984 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16986 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16987 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16991 if test x$gcc_no_link = xyes; then
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <stdlib.h>
16995 volatile float f;
16996 volatile long double ld;
16997 volatile unsigned long long ll;
16998 lldiv_t mydivt;
17000 main ()
17002 char* tmp;
17003 f = strtof("gnu", &tmp);
17004 ld = strtold("gnu", &tmp);
17005 ll = strtoll("gnu", &tmp, 10);
17006 ll = strtoull("gnu", &tmp, 10);
17007 ll = llabs(10);
17008 mydivt = lldiv(10,1);
17009 ll = mydivt.quot;
17010 ll = mydivt.rem;
17011 ll = atoll("10");
17012 _Exit(0);
17015 return 0;
17017 _ACEOF
17018 if ac_fn_cxx_try_compile "$LINENO"; then :
17019 glibcxx_cv_c99_stdlib_cxx98=yes
17020 else
17021 glibcxx_cv_c99_stdlib_cxx98=no
17023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 else
17025 if test x$gcc_no_link = xyes; then
17026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <stdlib.h>
17031 volatile float f;
17032 volatile long double ld;
17033 volatile unsigned long long ll;
17034 lldiv_t mydivt;
17036 main ()
17038 char* tmp;
17039 f = strtof("gnu", &tmp);
17040 ld = strtold("gnu", &tmp);
17041 ll = strtoll("gnu", &tmp, 10);
17042 ll = strtoull("gnu", &tmp, 10);
17043 ll = llabs(10);
17044 mydivt = lldiv(10,1);
17045 ll = mydivt.quot;
17046 ll = mydivt.rem;
17047 ll = atoll("10");
17048 _Exit(0);
17051 return 0;
17053 _ACEOF
17054 if ac_fn_cxx_try_link "$LINENO"; then :
17055 glibcxx_cv_c99_stdlib_cxx98=yes
17056 else
17057 glibcxx_cv_c99_stdlib_cxx98=no
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17066 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17067 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17069 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17073 # Check for the existence in <wchar.h> of wcstold, etc.
17074 if test x"$ac_has_wchar_h" = xyes &&
17075 test x"$ac_has_wctype_h" = xyes; then
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17077 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17078 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #include <wchar.h>
17085 namespace test
17087 using ::wcstold;
17088 using ::wcstoll;
17089 using ::wcstoull;
17093 main ()
17097 return 0;
17099 _ACEOF
17100 if ac_fn_cxx_try_compile "$LINENO"; then :
17101 glibcxx_cv_c99_wchar_cxx98=yes
17102 else
17103 glibcxx_cv_c99_wchar_cxx98=no
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 # Checks for wide character functions that may not be present.
17111 # Injection of these is wrapped with guard macros.
17112 # NB: only put functions here, instead of immediately above, if
17113 # absolutely necessary.
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17117 namespace test { using ::vfwscanf; }
17119 main ()
17123 return 0;
17125 _ACEOF
17126 if ac_fn_cxx_try_compile "$LINENO"; then :
17128 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <wchar.h>
17136 namespace test { using ::vswscanf; }
17138 main ()
17142 return 0;
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17147 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <wchar.h>
17155 namespace test { using ::vwscanf; }
17157 main ()
17161 return 0;
17163 _ACEOF
17164 if ac_fn_cxx_try_compile "$LINENO"; then :
17166 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <wchar.h>
17174 namespace test { using ::wcstof; }
17176 main ()
17180 return 0;
17182 _ACEOF
17183 if ac_fn_cxx_try_compile "$LINENO"; then :
17185 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #include <wctype.h>
17194 main ()
17196 wint_t t; int i = iswblank(t);
17198 return 0;
17200 _ACEOF
17201 if ac_fn_cxx_try_compile "$LINENO"; then :
17203 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17209 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17210 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17212 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17217 # Option parsed, now set things appropriately.
17218 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17219 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17220 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17223 enable_c99=no;
17224 else
17226 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17230 gcc_no_link="$ac_save_gcc_no_link"
17231 LIBS="$ac_save_LIBS"
17232 CXXFLAGS="$ac_save_CXXFLAGS"
17233 ac_ext=c
17234 ac_cpp='$CPP $CPPFLAGS'
17235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17241 ac_ext=cpp
17242 ac_cpp='$CXXCPP $CPPFLAGS'
17243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17249 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17250 ac_save_CXXFLAGS="$CXXFLAGS"
17251 CXXFLAGS="$CXXFLAGS -std=c++11"
17252 ac_save_LIBS="$LIBS"
17253 ac_save_gcc_no_link="$gcc_no_link"
17255 if test x$gcc_no_link != xyes; then
17256 # Use -fno-exceptions to that the C driver can link these tests without
17257 # hitting undefined references to personality routines.
17258 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17260 $as_echo_n "checking for sin in -lm... " >&6; }
17261 if test "${ac_cv_lib_m_sin+set}" = set; then :
17262 $as_echo_n "(cached) " >&6
17263 else
17264 ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-lm $LIBS"
17266 if test x$gcc_no_link = xyes; then
17267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17272 /* Override any GCC internal prototype to avoid an error.
17273 Use char because int might match the return type of a GCC
17274 builtin and then its argument prototype would still apply. */
17275 #ifdef __cplusplus
17276 extern "C"
17277 #endif
17278 char sin ();
17280 main ()
17282 return sin ();
17284 return 0;
17286 _ACEOF
17287 if ac_fn_cxx_try_link "$LINENO"; then :
17288 ac_cv_lib_m_sin=yes
17289 else
17290 ac_cv_lib_m_sin=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 LIBS=$ac_check_lib_save_LIBS
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17297 $as_echo "$ac_cv_lib_m_sin" >&6; }
17298 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17299 LIBS="$LIBS -lm"
17300 else
17302 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17303 gcc_no_link=yes
17309 # Check for the existence of <math.h> functions used if C99 is enabled.
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17311 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17312 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17313 $as_echo_n "(cached) " >&6
17314 else
17316 if test x$gcc_no_link = xyes; then
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <math.h>
17320 volatile double d1, d2;
17321 volatile int i;
17323 main ()
17325 i = fpclassify(d1);
17326 i = isfinite(d1);
17327 i = isinf(d1);
17328 i = isnan(d1);
17329 i = isnormal(d1);
17330 i = signbit(d1);
17331 i = isgreater(d1, d2);
17332 i = isgreaterequal(d1, d2);
17333 i = isless(d1, d2);
17334 i = islessequal(d1, d2);
17335 i = islessgreater(d1, d2);
17336 i = islessgreater(d1, d2);
17337 i = isunordered(d1, d2);
17340 return 0;
17342 _ACEOF
17343 if ac_fn_cxx_try_compile "$LINENO"; then :
17344 glibcxx_cv_c99_math_cxx11=yes
17345 else
17346 glibcxx_cv_c99_math_cxx11=no
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 else
17350 if test x$gcc_no_link = xyes; then
17351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #include <math.h>
17356 volatile double d1, d2;
17357 volatile int i;
17359 main ()
17361 i = fpclassify(d1);
17362 i = isfinite(d1);
17363 i = isinf(d1);
17364 i = isnan(d1);
17365 i = isnormal(d1);
17366 i = signbit(d1);
17367 i = isgreater(d1, d2);
17368 i = isgreaterequal(d1, d2);
17369 i = isless(d1, d2);
17370 i = islessequal(d1, d2);
17371 i = islessgreater(d1, d2);
17372 i = islessgreater(d1, d2);
17373 i = isunordered(d1, d2);
17376 return 0;
17378 _ACEOF
17379 if ac_fn_cxx_try_link "$LINENO"; then :
17380 glibcxx_cv_c99_math_cxx11=yes
17381 else
17382 glibcxx_cv_c99_math_cxx11=no
17384 rm -f core conftest.err conftest.$ac_objext \
17385 conftest$ac_exeext conftest.$ac_ext
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17391 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17392 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17394 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17398 # Check for the existence of <complex.h> complex math functions.
17399 # This is necessary even though libstdc++ uses the builtin versions
17400 # of these functions, because if the builtin cannot be used, a reference
17401 # to the library function is emitted.
17402 for ac_header in tgmath.h
17403 do :
17404 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17405 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_TGMATH_H 1
17408 _ACEOF
17409 ac_has_tgmath_h=yes
17410 else
17411 ac_has_tgmath_h=no
17414 done
17416 for ac_header in complex.h
17417 do :
17418 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17419 if test "x$ac_cv_header_complex_h" = x""yes; then :
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_COMPLEX_H 1
17422 _ACEOF
17423 ac_has_complex_h=yes
17424 else
17425 ac_has_complex_h=no
17428 done
17430 if test x"$ac_has_complex_h" = x"yes"; then
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17432 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17433 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17437 if test x$gcc_no_link = xyes; then
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #include <complex.h>
17441 typedef __complex__ float float_type;
17442 typedef __complex__ double double_type;
17443 typedef __complex__ long double ld_type;
17444 volatile float_type tmpf;
17445 volatile double_type tmpd;
17446 volatile ld_type tmpld;
17447 volatile float f;
17448 volatile double d;
17449 volatile long double ld;
17451 main ()
17453 f = cabsf(tmpf);
17454 f = cargf(tmpf);
17455 tmpf = ccosf(tmpf);
17456 tmpf = ccoshf(tmpf);
17457 tmpf = cexpf(tmpf);
17458 tmpf = clogf(tmpf);
17459 tmpf = csinf(tmpf);
17460 tmpf = csinhf(tmpf);
17461 tmpf = csqrtf(tmpf);
17462 tmpf = ctanf(tmpf);
17463 tmpf = ctanhf(tmpf);
17464 tmpf = cpowf(tmpf, tmpf);
17465 tmpf = cprojf(tmpf);
17466 d = cabs(tmpd);
17467 d = carg(tmpd);
17468 tmpd = ccos(tmpd);
17469 tmpd = ccosh(tmpd);
17470 tmpd = cexp(tmpd);
17471 tmpd = clog(tmpd);
17472 tmpd = csin(tmpd);
17473 tmpd = csinh(tmpd);
17474 tmpd = csqrt(tmpd);
17475 tmpd = ctan(tmpd);
17476 tmpd = ctanh(tmpd);
17477 tmpd = cpow(tmpd, tmpd);
17478 tmpd = cproj(tmpd);
17479 ld = cabsl(tmpld);
17480 ld = cargl(tmpld);
17481 tmpld = ccosl(tmpld);
17482 tmpld = ccoshl(tmpld);
17483 tmpld = cexpl(tmpld);
17484 tmpld = clogl(tmpld);
17485 tmpld = csinl(tmpld);
17486 tmpld = csinhl(tmpld);
17487 tmpld = csqrtl(tmpld);
17488 tmpld = ctanl(tmpld);
17489 tmpld = ctanhl(tmpld);
17490 tmpld = cpowl(tmpld, tmpld);
17491 tmpld = cprojl(tmpld);
17494 return 0;
17496 _ACEOF
17497 if ac_fn_cxx_try_compile "$LINENO"; then :
17498 glibcxx_cv_c99_complex_cxx11=yes
17499 else
17500 glibcxx_cv_c99_complex_cxx11=no
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 else
17504 if test x$gcc_no_link = xyes; then
17505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <complex.h>
17510 typedef __complex__ float float_type;
17511 typedef __complex__ double double_type;
17512 typedef __complex__ long double ld_type;
17513 volatile float_type tmpf;
17514 volatile double_type tmpd;
17515 volatile ld_type tmpld;
17516 volatile float f;
17517 volatile double d;
17518 volatile long double ld;
17520 main ()
17522 f = cabsf(tmpf);
17523 f = cargf(tmpf);
17524 tmpf = ccosf(tmpf);
17525 tmpf = ccoshf(tmpf);
17526 tmpf = cexpf(tmpf);
17527 tmpf = clogf(tmpf);
17528 tmpf = csinf(tmpf);
17529 tmpf = csinhf(tmpf);
17530 tmpf = csqrtf(tmpf);
17531 tmpf = ctanf(tmpf);
17532 tmpf = ctanhf(tmpf);
17533 tmpf = cpowf(tmpf, tmpf);
17534 tmpf = cprojf(tmpf);
17535 d = cabs(tmpd);
17536 d = carg(tmpd);
17537 tmpd = ccos(tmpd);
17538 tmpd = ccosh(tmpd);
17539 tmpd = cexp(tmpd);
17540 tmpd = clog(tmpd);
17541 tmpd = csin(tmpd);
17542 tmpd = csinh(tmpd);
17543 tmpd = csqrt(tmpd);
17544 tmpd = ctan(tmpd);
17545 tmpd = ctanh(tmpd);
17546 tmpd = cpow(tmpd, tmpd);
17547 tmpd = cproj(tmpd);
17548 ld = cabsl(tmpld);
17549 ld = cargl(tmpld);
17550 tmpld = ccosl(tmpld);
17551 tmpld = ccoshl(tmpld);
17552 tmpld = cexpl(tmpld);
17553 tmpld = clogl(tmpld);
17554 tmpld = csinl(tmpld);
17555 tmpld = csinhl(tmpld);
17556 tmpld = csqrtl(tmpld);
17557 tmpld = ctanl(tmpld);
17558 tmpld = ctanhl(tmpld);
17559 tmpld = cpowl(tmpld, tmpld);
17560 tmpld = cprojl(tmpld);
17563 return 0;
17565 _ACEOF
17566 if ac_fn_cxx_try_link "$LINENO"; then :
17567 glibcxx_cv_c99_complex_cxx11=yes
17568 else
17569 glibcxx_cv_c99_complex_cxx11=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17579 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17580 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17582 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17586 # Check for the existence in <stdio.h> of vscanf, et. al.
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17588 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17589 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17593 if test x$gcc_no_link = xyes; then
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <stdio.h>
17597 #include <stdarg.h>
17598 void foo(char* fmt, ...)
17600 va_list args; va_start(args, fmt);
17601 vfscanf(stderr, "%i", args);
17602 vscanf("%i", args);
17603 vsnprintf(fmt, 0, "%i", args);
17604 vsscanf(fmt, "%i", args);
17605 snprintf(fmt, 0, "%i");
17608 main ()
17612 return 0;
17614 _ACEOF
17615 if ac_fn_cxx_try_compile "$LINENO"; then :
17616 glibcxx_cv_c99_stdio_cxx11=yes
17617 else
17618 glibcxx_cv_c99_stdio_cxx11=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 else
17622 if test x$gcc_no_link = xyes; then
17623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <stdio.h>
17628 #include <stdarg.h>
17629 void foo(char* fmt, ...)
17631 va_list args; va_start(args, fmt);
17632 vfscanf(stderr, "%i", args);
17633 vscanf("%i", args);
17634 vsnprintf(fmt, 0, "%i", args);
17635 vsscanf(fmt, "%i", args);
17636 snprintf(fmt, 0, "%i");
17639 main ()
17643 return 0;
17645 _ACEOF
17646 if ac_fn_cxx_try_link "$LINENO"; then :
17647 glibcxx_cv_c99_stdio_cxx11=yes
17648 else
17649 glibcxx_cv_c99_stdio_cxx11=no
17651 rm -f core conftest.err conftest.$ac_objext \
17652 conftest$ac_exeext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17658 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17659 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17661 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17665 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17667 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17668 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17672 if test x$gcc_no_link = xyes; then
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <stdlib.h>
17676 volatile float f;
17677 volatile long double ld;
17678 volatile unsigned long long ll;
17679 lldiv_t mydivt;
17681 main ()
17683 char* tmp;
17684 f = strtof("gnu", &tmp);
17685 ld = strtold("gnu", &tmp);
17686 ll = strtoll("gnu", &tmp, 10);
17687 ll = strtoull("gnu", &tmp, 10);
17688 ll = llabs(10);
17689 mydivt = lldiv(10,1);
17690 ll = mydivt.quot;
17691 ll = mydivt.rem;
17692 ll = atoll("10");
17693 _Exit(0);
17696 return 0;
17698 _ACEOF
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17700 glibcxx_cv_c99_stdlib_cxx11=yes
17701 else
17702 glibcxx_cv_c99_stdlib_cxx11=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17705 else
17706 if test x$gcc_no_link = xyes; then
17707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 #include <stdlib.h>
17712 volatile float f;
17713 volatile long double ld;
17714 volatile unsigned long long ll;
17715 lldiv_t mydivt;
17717 main ()
17719 char* tmp;
17720 f = strtof("gnu", &tmp);
17721 ld = strtold("gnu", &tmp);
17722 ll = strtoll("gnu", &tmp, 10);
17723 ll = strtoull("gnu", &tmp, 10);
17724 ll = llabs(10);
17725 mydivt = lldiv(10,1);
17726 ll = mydivt.quot;
17727 ll = mydivt.rem;
17728 ll = atoll("10");
17729 _Exit(0);
17732 return 0;
17734 _ACEOF
17735 if ac_fn_cxx_try_link "$LINENO"; then :
17736 glibcxx_cv_c99_stdlib_cxx11=yes
17737 else
17738 glibcxx_cv_c99_stdlib_cxx11=no
17740 rm -f core conftest.err conftest.$ac_objext \
17741 conftest$ac_exeext conftest.$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17747 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17748 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17750 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17754 # Check for the existence in <wchar.h> of wcstold, etc.
17755 if test x"$ac_has_wchar_h" = xyes &&
17756 test x"$ac_has_wctype_h" = xyes; then
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17758 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17759 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17760 $as_echo_n "(cached) " >&6
17761 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 #include <wchar.h>
17766 namespace test
17768 using ::wcstold;
17769 using ::wcstoll;
17770 using ::wcstoull;
17774 main ()
17778 return 0;
17780 _ACEOF
17781 if ac_fn_cxx_try_compile "$LINENO"; then :
17782 glibcxx_cv_c99_wchar_cxx11=yes
17783 else
17784 glibcxx_cv_c99_wchar_cxx11=no
17786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 # Checks for wide character functions that may not be present.
17792 # Injection of these is wrapped with guard macros.
17793 # NB: only put functions here, instead of immediately above, if
17794 # absolutely necessary.
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <wchar.h>
17798 namespace test { using ::vfwscanf; }
17800 main ()
17804 return 0;
17806 _ACEOF
17807 if ac_fn_cxx_try_compile "$LINENO"; then :
17809 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <wchar.h>
17817 namespace test { using ::vswscanf; }
17819 main ()
17823 return 0;
17825 _ACEOF
17826 if ac_fn_cxx_try_compile "$LINENO"; then :
17828 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 #include <wchar.h>
17836 namespace test { using ::vwscanf; }
17838 main ()
17842 return 0;
17844 _ACEOF
17845 if ac_fn_cxx_try_compile "$LINENO"; then :
17847 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 #include <wchar.h>
17855 namespace test { using ::wcstof; }
17857 main ()
17861 return 0;
17863 _ACEOF
17864 if ac_fn_cxx_try_compile "$LINENO"; then :
17866 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17873 #include <wctype.h>
17875 main ()
17877 wint_t t; int i = iswblank(t);
17879 return 0;
17881 _ACEOF
17882 if ac_fn_cxx_try_compile "$LINENO"; then :
17884 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17890 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17891 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17893 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17898 gcc_no_link="$ac_save_gcc_no_link"
17899 LIBS="$ac_save_LIBS"
17900 CXXFLAGS="$ac_save_CXXFLAGS"
17901 ac_ext=c
17902 ac_cpp='$CPP $CPPFLAGS'
17903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17910 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17912 $as_echo "$enable_c99" >&6; }
17915 # Check whether --enable-concept-checks was given.
17916 if test "${enable_concept_checks+set}" = set; then :
17917 enableval=$enable_concept_checks;
17918 case "$enableval" in
17919 yes|no) ;;
17920 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17921 esac
17923 else
17924 enable_concept_checks=no
17928 if test $enable_concept_checks = yes; then
17930 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17935 # Check whether --enable-libstdcxx-debug-flags was given.
17936 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17937 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17938 xno | x) enable_libstdcxx_debug_flags= ;;
17939 x-*) ;;
17940 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17941 esac
17942 else
17943 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17948 # Option parsed, now set things appropriately
17949 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17953 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17957 $as_echo_n "checking for additional debug build... " >&6; }
17958 # Check whether --enable-libstdcxx-debug was given.
17959 if test "${enable_libstdcxx_debug+set}" = set; then :
17960 enableval=$enable_libstdcxx_debug;
17961 case "$enableval" in
17962 yes|no) ;;
17963 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17964 esac
17966 else
17967 enable_libstdcxx_debug=no
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17972 $as_echo "$enable_libstdcxx_debug" >&6; }
17977 enable_parallel=no;
17979 # See if configured libgomp/omp.h exists. (libgomp may be in
17980 # noconfigdirs but not explicitly disabled.)
17981 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17982 enable_parallel=yes;
17983 else
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17985 $as_echo "$as_me: target-libgomp not built" >&6;}
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17989 $as_echo_n "checking for parallel mode support... " >&6; }
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17991 $as_echo "$enable_parallel" >&6; }
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17994 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17995 # Check whether --enable-cxx-flags was given.
17996 if test "${enable_cxx_flags+set}" = set; then :
17997 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17998 xno | x) enable_cxx_flags= ;;
17999 x-*) ;;
18000 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18001 esac
18002 else
18003 enable_cxx_flags=
18008 # Run through flags (either default or command-line) and set anything
18009 # extra (e.g., #defines) that must accompany particular g++ options.
18010 if test -n "$enable_cxx_flags"; then
18011 for f in $enable_cxx_flags; do
18012 case "$f" in
18013 -fhonor-std) ;;
18014 -*) ;;
18015 *) # and we're trying to pass /what/ exactly?
18016 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18017 esac
18018 done
18021 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18023 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18027 # Check whether --enable-fully-dynamic-string was given.
18028 if test "${enable_fully_dynamic_string+set}" = set; then :
18029 enableval=$enable_fully_dynamic_string;
18030 case "$enableval" in
18031 yes|no) ;;
18032 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18033 esac
18035 else
18036 enable_fully_dynamic_string=no
18040 if test $enable_fully_dynamic_string = yes; then
18041 enable_fully_dynamic_string_def=1
18042 else
18043 enable_fully_dynamic_string_def=0
18046 cat >>confdefs.h <<_ACEOF
18047 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18048 _ACEOF
18053 # Check whether --enable-extern-template was given.
18054 if test "${enable_extern_template+set}" = set; then :
18055 enableval=$enable_extern_template;
18056 case "$enableval" in
18057 yes|no) ;;
18058 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18059 esac
18061 else
18062 enable_extern_template=yes
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18068 $as_echo_n "checking for extern template support... " >&6; }
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18070 $as_echo "$enable_extern_template" >&6; }
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18077 $as_echo_n "checking for custom python install directory... " >&6; }
18079 # Check whether --with-python-dir was given.
18080 if test "${with_python_dir+set}" = set; then :
18081 withval=$with_python_dir; with_python_dir=$withval
18082 else
18083 with_python_dir="no"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18087 $as_echo "${with_python_dir}" >&6; }
18089 # Needed for installing Python modules during make install.
18090 python_mod_dir="${with_python_dir}"
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18096 $as_echo_n "checking for -Werror... " >&6; }
18097 # Check whether --enable-werror was given.
18098 if test "${enable_werror+set}" = set; then :
18099 enableval=$enable_werror;
18100 case "$enableval" in
18101 yes|no) ;;
18102 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18103 esac
18105 else
18106 enable_werror=yes
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18111 $as_echo "$enable_werror" >&6; }
18116 # Check whether --enable-vtable-verify was given.
18117 if test "${enable_vtable_verify+set}" = set; then :
18118 enableval=$enable_vtable_verify;
18119 case "$enableval" in
18120 yes|no) ;;
18121 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18122 esac
18124 else
18125 enable_vtable_verify=no
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18131 $as_echo_n "checking for vtable verify support... " >&6; }
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18133 $as_echo "$enable_vtable_verify" >&6; }
18135 vtv_cygmin=no
18136 if test $enable_vtable_verify = yes; then
18137 case ${target_os} in
18138 cygwin*|mingw32*)
18139 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18140 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18141 vtv_cygmin=yes
18143 darwin*)
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18147 solaris2*)
18148 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18149 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18152 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18153 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18155 esac
18156 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18157 else
18158 VTV_CXXFLAGS=
18159 VTV_PCH_CXXFLAGS=
18160 VTV_CXXLINKFLAGS=
18166 if test x$vtv_cygmin = xyes; then
18167 VTV_CYGMIN_TRUE=
18168 VTV_CYGMIN_FALSE='#'
18169 else
18170 VTV_CYGMIN_TRUE='#'
18171 VTV_CYGMIN_FALSE=
18177 # Checks for operating systems support that doesn't require linking.
18181 ac_ext=cpp
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18188 # and we don't need a declaration for C++14 anyway.
18189 ac_save_CXXFLAGS="$CXXFLAGS"
18190 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18193 $as_echo_n "checking for gets declaration... " >&6; }
18194 if test "${glibcxx_cv_gets+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <stdio.h>
18201 namespace test
18203 using ::gets;
18206 _ACEOF
18207 if ac_fn_cxx_try_compile "$LINENO"; then :
18208 glibcxx_cv_gets=yes
18209 else
18210 glibcxx_cv_gets=no
18213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 if test $glibcxx_cv_gets = yes; then
18219 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18223 $as_echo "$glibcxx_cv_gets" >&6; }
18225 CXXFLAGS="$ac_save_CXXFLAGS"
18226 ac_ext=c
18227 ac_cpp='$CPP $CPPFLAGS'
18228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236 ac_ext=cpp
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18242 ac_save_CXXFLAGS="$CXXFLAGS"
18243 CXXFLAGS="$CXXFLAGS -std=c++11"
18245 case "$host" in
18246 *-*-solaris2.*)
18247 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18248 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18250 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18251 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18257 #include <math.h>
18258 #undef isfinite
18259 namespace std {
18260 inline bool isfinite(float __x)
18261 { return __builtin_isfinite(__x); }
18264 _ACEOF
18265 if ac_fn_cxx_try_compile "$LINENO"; then :
18266 glibcxx_cv_math11_fp_overload=no
18267 else
18268 glibcxx_cv_math11_fp_overload=yes
18271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 # autoheader cannot handle indented templates.
18278 if test $glibcxx_cv_math11_fp_overload = yes; then
18279 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18283 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18285 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18286 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18288 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18289 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18290 $as_echo_n "(cached) " >&6
18291 else
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <math.h>
18296 namespace std {
18297 template<typename _Tp>
18298 struct __is_integer;
18299 template<>
18300 struct __is_integer<int>
18302 enum { __value = 1 };
18305 namespace __gnu_cxx {
18306 template<bool, typename>
18307 struct __enable_if;
18308 template<typename _Tp>
18309 struct __enable_if<true, _Tp>
18310 { typedef _Tp __type; };
18312 namespace std {
18313 template<typename _Tp>
18314 constexpr typename __gnu_cxx::__enable_if
18315 <__is_integer<_Tp>::__value, double>::__type
18316 log2(_Tp __x)
18317 { return __builtin_log2(__x); }
18320 main (void)
18322 int i = 1000;
18323 return std::log2(i);
18326 _ACEOF
18327 if ac_fn_cxx_try_compile "$LINENO"; then :
18328 glibcxx_cv_math11_int_overload=no
18329 else
18330 glibcxx_cv_math11_int_overload=yes
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337 # autoheader cannot handle indented templates.
18340 if test $glibcxx_cv_math11_int_overload = yes; then
18341 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18345 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18348 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18349 # functions (instead of or as well as the C99 generic macros) then we
18350 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18351 # and must use the ones from <math.h> instead.
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18353 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18354 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18355 $as_echo_n "(cached) " >&6
18356 else
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18360 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18361 #include <math.h>
18362 #undef isinf
18363 namespace std {
18364 using ::isinf;
18365 bool isinf(float);
18366 bool isinf(long double);
18368 using std::isinf;
18369 bool b = isinf(0.0);
18371 _ACEOF
18372 if ac_fn_cxx_try_compile "$LINENO"; then :
18373 glibcxx_cv_obsolete_isinf=yes
18374 else
18375 glibcxx_cv_obsolete_isinf=no
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18382 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18383 if test $glibcxx_cv_obsolete_isinf = yes; then
18385 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18390 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18391 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18392 $as_echo_n "(cached) " >&6
18393 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18398 #include <math.h>
18399 #undef isnan
18400 namespace std {
18401 using ::isnan;
18402 bool isnan(float);
18403 bool isnan(long double);
18405 using std::isnan;
18406 bool b = isnan(0.0);
18408 _ACEOF
18409 if ac_fn_cxx_try_compile "$LINENO"; then :
18410 glibcxx_cv_obsolete_isnan=yes
18411 else
18412 glibcxx_cv_obsolete_isnan=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18419 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18420 if test $glibcxx_cv_obsolete_isnan = yes; then
18422 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18426 esac
18428 CXXFLAGS="$ac_save_CXXFLAGS"
18429 ac_ext=c
18430 ac_cpp='$CPP $CPPFLAGS'
18431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18439 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18440 if test "${glibcxx_cv_system_error1+set}" = set; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #include <errno.h>
18448 main ()
18450 int i = EOWNERDEAD;
18452 return 0;
18454 _ACEOF
18455 if ac_fn_c_try_compile "$LINENO"; then :
18456 glibcxx_cv_system_error1=yes
18457 else
18458 glibcxx_cv_system_error1=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18465 $as_echo "$glibcxx_cv_system_error1" >&6; }
18466 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18468 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18472 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18473 if test "${glibcxx_cv_system_error2+set}" = set; then :
18474 $as_echo_n "(cached) " >&6
18475 else
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 #include <errno.h>
18481 main ()
18483 int i = ENOTRECOVERABLE;
18485 return 0;
18487 _ACEOF
18488 if ac_fn_c_try_compile "$LINENO"; then :
18489 glibcxx_cv_system_error2=yes
18490 else
18491 glibcxx_cv_system_error2=no
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18498 $as_echo "$glibcxx_cv_system_error2" >&6; }
18499 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18501 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18505 $as_echo_n "checking for ENOLINK... " >&6; }
18506 if test "${glibcxx_cv_system_error3+set}" = set; then :
18507 $as_echo_n "(cached) " >&6
18508 else
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18512 #include <errno.h>
18514 main ()
18516 int i = ENOLINK;
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_compile "$LINENO"; then :
18522 glibcxx_cv_system_error3=yes
18523 else
18524 glibcxx_cv_system_error3=no
18526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18531 $as_echo "$glibcxx_cv_system_error3" >&6; }
18532 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18534 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18538 $as_echo_n "checking for EPROTO... " >&6; }
18539 if test "${glibcxx_cv_system_error4+set}" = set; then :
18540 $as_echo_n "(cached) " >&6
18541 else
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <errno.h>
18547 main ()
18549 int i = EPROTO;
18551 return 0;
18553 _ACEOF
18554 if ac_fn_c_try_compile "$LINENO"; then :
18555 glibcxx_cv_system_error4=yes
18556 else
18557 glibcxx_cv_system_error4=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18564 $as_echo "$glibcxx_cv_system_error4" >&6; }
18565 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18567 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18571 $as_echo_n "checking for ENODATA... " >&6; }
18572 if test "${glibcxx_cv_system_error5+set}" = set; then :
18573 $as_echo_n "(cached) " >&6
18574 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <errno.h>
18580 main ()
18582 int i = ENODATA;
18584 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_compile "$LINENO"; then :
18588 glibcxx_cv_system_error5=yes
18589 else
18590 glibcxx_cv_system_error5=no
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18597 $as_echo "$glibcxx_cv_system_error5" >&6; }
18598 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18600 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18604 $as_echo_n "checking for ENOSR... " >&6; }
18605 if test "${glibcxx_cv_system_error6+set}" = set; then :
18606 $as_echo_n "(cached) " >&6
18607 else
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #include <errno.h>
18613 main ()
18615 int i = ENOSR;
18617 return 0;
18619 _ACEOF
18620 if ac_fn_c_try_compile "$LINENO"; then :
18621 glibcxx_cv_system_error6=yes
18622 else
18623 glibcxx_cv_system_error6=no
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18630 $as_echo "$glibcxx_cv_system_error6" >&6; }
18631 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18633 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18637 $as_echo_n "checking for ENOSTR... " >&6; }
18638 if test "${glibcxx_cv_system_error7+set}" = set; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <errno.h>
18646 main ()
18648 int i = ENOSTR;
18650 return 0;
18652 _ACEOF
18653 if ac_fn_c_try_compile "$LINENO"; then :
18654 glibcxx_cv_system_error7=yes
18655 else
18656 glibcxx_cv_system_error7=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18663 $as_echo "$glibcxx_cv_system_error7" >&6; }
18664 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18666 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18670 $as_echo_n "checking for ETIME... " >&6; }
18671 if test "${glibcxx_cv_system_error8+set}" = set; then :
18672 $as_echo_n "(cached) " >&6
18673 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <errno.h>
18679 main ()
18681 int i = ETIME;
18683 return 0;
18685 _ACEOF
18686 if ac_fn_c_try_compile "$LINENO"; then :
18687 glibcxx_cv_system_error8=yes
18688 else
18689 glibcxx_cv_system_error8=no
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18696 $as_echo "$glibcxx_cv_system_error8" >&6; }
18697 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18699 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18703 $as_echo_n "checking for EBADMSG... " >&6; }
18704 if test "${glibcxx_cv_system_error9+set}" = set; then :
18705 $as_echo_n "(cached) " >&6
18706 else
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 #include <errno.h>
18712 main ()
18714 int i = EBADMSG;
18716 return 0;
18718 _ACEOF
18719 if ac_fn_c_try_compile "$LINENO"; then :
18720 glibcxx_cv_system_error9=yes
18721 else
18722 glibcxx_cv_system_error9=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18729 $as_echo "$glibcxx_cv_system_error9" >&6; }
18730 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18732 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18736 $as_echo_n "checking for ECANCELED... " >&6; }
18737 if test "${glibcxx_cv_system_error10+set}" = set; then :
18738 $as_echo_n "(cached) " >&6
18739 else
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 #include <errno.h>
18745 main ()
18747 int i = ECANCELED;
18749 return 0;
18751 _ACEOF
18752 if ac_fn_c_try_compile "$LINENO"; then :
18753 glibcxx_cv_system_error10=yes
18754 else
18755 glibcxx_cv_system_error10=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18762 $as_echo "$glibcxx_cv_system_error10" >&6; }
18763 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18765 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18769 $as_echo_n "checking for EOVERFLOW... " >&6; }
18770 if test "${glibcxx_cv_system_error11+set}" = set; then :
18771 $as_echo_n "(cached) " >&6
18772 else
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 #include <errno.h>
18778 main ()
18780 int i = EOVERFLOW;
18782 return 0;
18784 _ACEOF
18785 if ac_fn_c_try_compile "$LINENO"; then :
18786 glibcxx_cv_system_error11=yes
18787 else
18788 glibcxx_cv_system_error11=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18795 $as_echo "$glibcxx_cv_system_error11" >&6; }
18796 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18798 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18802 $as_echo_n "checking for ENOTSUP... " >&6; }
18803 if test "${glibcxx_cv_system_error12+set}" = set; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #include <errno.h>
18811 main ()
18813 int i = ENOTSUP;
18815 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_compile "$LINENO"; then :
18819 glibcxx_cv_system_error12=yes
18820 else
18821 glibcxx_cv_system_error12=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18828 $as_echo "$glibcxx_cv_system_error12" >&6; }
18829 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18831 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18835 $as_echo_n "checking for EIDRM... " >&6; }
18836 if test "${glibcxx_cv_system_error13+set}" = set; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <errno.h>
18844 main ()
18846 int i = EIDRM;
18848 return 0;
18850 _ACEOF
18851 if ac_fn_c_try_compile "$LINENO"; then :
18852 glibcxx_cv_system_error13=yes
18853 else
18854 glibcxx_cv_system_error13=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18861 $as_echo "$glibcxx_cv_system_error13" >&6; }
18862 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18864 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18868 $as_echo_n "checking for ETXTBSY... " >&6; }
18869 if test "${glibcxx_cv_system_error14+set}" = set; then :
18870 $as_echo_n "(cached) " >&6
18871 else
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 #include <errno.h>
18877 main ()
18879 int i = ETXTBSY;
18881 return 0;
18883 _ACEOF
18884 if ac_fn_c_try_compile "$LINENO"; then :
18885 glibcxx_cv_system_error14=yes
18886 else
18887 glibcxx_cv_system_error14=no
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18894 $as_echo "$glibcxx_cv_system_error14" >&6; }
18895 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18897 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18901 $as_echo_n "checking for ECHILD... " >&6; }
18902 if test "${glibcxx_cv_system_error15+set}" = set; then :
18903 $as_echo_n "(cached) " >&6
18904 else
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18908 #include <errno.h>
18910 main ()
18912 int i = ECHILD;
18914 return 0;
18916 _ACEOF
18917 if ac_fn_c_try_compile "$LINENO"; then :
18918 glibcxx_cv_system_error15=yes
18919 else
18920 glibcxx_cv_system_error15=no
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18927 $as_echo "$glibcxx_cv_system_error15" >&6; }
18928 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18930 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18934 $as_echo_n "checking for ENOSPC... " >&6; }
18935 if test "${glibcxx_cv_system_error16+set}" = set; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 #include <errno.h>
18943 main ()
18945 int i = ENOSPC;
18947 return 0;
18949 _ACEOF
18950 if ac_fn_c_try_compile "$LINENO"; then :
18951 glibcxx_cv_system_error16=yes
18952 else
18953 glibcxx_cv_system_error16=no
18955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18960 $as_echo "$glibcxx_cv_system_error16" >&6; }
18961 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18963 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18967 $as_echo_n "checking for EPERM... " >&6; }
18968 if test "${glibcxx_cv_system_error17+set}" = set; then :
18969 $as_echo_n "(cached) " >&6
18970 else
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 #include <errno.h>
18976 main ()
18978 int i = EPERM;
18980 return 0;
18982 _ACEOF
18983 if ac_fn_c_try_compile "$LINENO"; then :
18984 glibcxx_cv_system_error17=yes
18985 else
18986 glibcxx_cv_system_error17=no
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18993 $as_echo "$glibcxx_cv_system_error17" >&6; }
18994 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18996 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19000 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19001 if test "${glibcxx_cv_system_error18+set}" = set; then :
19002 $as_echo_n "(cached) " >&6
19003 else
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #include <errno.h>
19009 main ()
19011 int i = ETIMEDOUT;
19013 return 0;
19015 _ACEOF
19016 if ac_fn_c_try_compile "$LINENO"; then :
19017 glibcxx_cv_system_error18=yes
19018 else
19019 glibcxx_cv_system_error18=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19026 $as_echo "$glibcxx_cv_system_error18" >&6; }
19027 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19029 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19033 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19034 if test "${glibcxx_cv_system_error19+set}" = set; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <errno.h>
19042 main ()
19044 int i = EWOULDBLOCK;
19046 return 0;
19048 _ACEOF
19049 if ac_fn_c_try_compile "$LINENO"; then :
19050 glibcxx_cv_system_error19=yes
19051 else
19052 glibcxx_cv_system_error19=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19059 $as_echo "$glibcxx_cv_system_error19" >&6; }
19060 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19062 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19069 # Test uchar.h.
19070 for ac_header in uchar.h
19071 do :
19072 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19073 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_UCHAR_H 1
19076 _ACEOF
19077 ac_has_uchar_h=yes
19078 else
19079 ac_has_uchar_h=no
19082 done
19086 ac_ext=cpp
19087 ac_cpp='$CXXCPP $CPPFLAGS'
19088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19092 ac_save_CXXFLAGS="$CXXFLAGS"
19093 CXXFLAGS="$CXXFLAGS -std=c++11"
19095 if test x"$ac_has_uchar_h" = x"yes"; then
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19097 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <uchar.h>
19101 #ifdef __STDC_UTF_16__
19102 long i = __STDC_UTF_16__;
19103 #endif
19104 #ifdef __STDC_UTF_32__
19105 long j = __STDC_UTF_32__;
19106 #endif
19107 namespace test
19109 using ::c16rtomb;
19110 using ::c32rtomb;
19111 using ::mbrtoc16;
19112 using ::mbrtoc32;
19116 main ()
19120 return 0;
19122 _ACEOF
19123 if ac_fn_cxx_try_compile "$LINENO"; then :
19124 ac_c11_uchar_cxx11=yes
19125 else
19126 ac_c11_uchar_cxx11=no
19128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129 else
19130 ac_c11_uchar_cxx11=no
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19133 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19134 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19136 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19140 CXXFLAGS="$ac_save_CXXFLAGS"
19141 ac_ext=c
19142 ac_cpp='$CPP $CPPFLAGS'
19143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149 # For the streamoff typedef.
19153 ac_ext=cpp
19154 ac_cpp='$CXXCPP $CPPFLAGS'
19155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19161 $as_echo_n "checking for int64_t... " >&6; }
19162 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19163 $as_echo_n "(cached) " >&6
19164 else
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 #include <stdint.h>
19170 main ()
19172 int64_t var;
19174 return 0;
19176 _ACEOF
19177 if ac_fn_cxx_try_compile "$LINENO"; then :
19178 glibcxx_cv_INT64_T=yes
19179 else
19180 glibcxx_cv_INT64_T=no
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 if test $glibcxx_cv_INT64_T = yes; then
19189 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19192 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19195 $as_echo_n "checking for int64_t as long... " >&6; }
19196 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19197 $as_echo_n "(cached) " >&6
19198 else
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #include <stdint.h>
19203 template<typename, typename> struct same { enum { value = -1 }; };
19204 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19205 int array[same<int64_t, long>::value];
19207 main ()
19211 return 0;
19213 _ACEOF
19214 if ac_fn_cxx_try_compile "$LINENO"; then :
19215 glibcxx_cv_int64_t_long=yes
19216 else
19217 glibcxx_cv_int64_t_long=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19224 if test $glibcxx_cv_int64_t_long = yes; then
19226 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19229 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19233 $as_echo_n "checking for int64_t as long long... " >&6; }
19234 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 #include <stdint.h>
19241 template<typename, typename> struct same { enum { value = -1 }; };
19242 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19243 int array[same<int64_t, long long>::value];
19245 main ()
19249 return 0;
19251 _ACEOF
19252 if ac_fn_cxx_try_compile "$LINENO"; then :
19253 glibcxx_cv_int64_t_long_long=yes
19254 else
19255 glibcxx_cv_int64_t_long_long=no
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 if test $glibcxx_cv_int64_t_long_long = yes; then
19264 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19267 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19271 ac_ext=c
19272 ac_cpp='$CPP $CPPFLAGS'
19273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19279 # For LFS support.
19282 ac_ext=cpp
19283 ac_cpp='$CXXCPP $CPPFLAGS'
19284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19288 ac_save_CXXFLAGS="$CXXFLAGS"
19289 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19291 $as_echo_n "checking for LFS support... " >&6; }
19292 if test "${glibcxx_cv_LFS+set}" = set; then :
19293 $as_echo_n "(cached) " >&6
19294 else
19296 if test x$gcc_no_link = xyes; then
19297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19298 /* end confdefs.h. */
19299 #include <unistd.h>
19300 #include <stdio.h>
19301 #include <sys/stat.h>
19304 main ()
19306 FILE* fp;
19307 fopen64("t", "w");
19308 fseeko64(fp, 0, SEEK_CUR);
19309 ftello64(fp);
19310 lseek64(1, 0, SEEK_CUR);
19311 struct stat64 buf;
19312 fstat64(1, &buf);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_compile "$LINENO"; then :
19318 glibcxx_cv_LFS=yes
19319 else
19320 glibcxx_cv_LFS=no
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 else
19324 if test x$gcc_no_link = xyes; then
19325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19329 #include <unistd.h>
19330 #include <stdio.h>
19331 #include <sys/stat.h>
19334 main ()
19336 FILE* fp;
19337 fopen64("t", "w");
19338 fseeko64(fp, 0, SEEK_CUR);
19339 ftello64(fp);
19340 lseek64(1, 0, SEEK_CUR);
19341 struct stat64 buf;
19342 fstat64(1, &buf);
19344 return 0;
19346 _ACEOF
19347 if ac_fn_cxx_try_link "$LINENO"; then :
19348 glibcxx_cv_LFS=yes
19349 else
19350 glibcxx_cv_LFS=no
19352 rm -f core conftest.err conftest.$ac_objext \
19353 conftest$ac_exeext conftest.$ac_ext
19358 if test $glibcxx_cv_LFS = yes; then
19360 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19364 $as_echo "$glibcxx_cv_LFS" >&6; }
19365 CXXFLAGS="$ac_save_CXXFLAGS"
19366 ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374 # For showmanyc_helper().
19375 for ac_header in sys/ioctl.h sys/filio.h
19376 do :
19377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19378 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19379 eval as_val=\$$as_ac_Header
19380 if test "x$as_val" = x""yes; then :
19381 cat >>confdefs.h <<_ACEOF
19382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19383 _ACEOF
19387 done
19392 ac_ext=cpp
19393 ac_cpp='$CXXCPP $CPPFLAGS'
19394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19398 ac_save_CXXFLAGS="$CXXFLAGS"
19399 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19402 $as_echo_n "checking for poll... " >&6; }
19403 if test "${glibcxx_cv_POLL+set}" = set; then :
19404 $as_echo_n "(cached) " >&6
19405 else
19407 if test x$gcc_no_link = xyes; then
19408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19409 /* end confdefs.h. */
19410 #include <poll.h>
19412 main ()
19414 struct pollfd pfd[1];
19415 pfd[0].events = POLLIN;
19416 poll(pfd, 1, 0);
19418 return 0;
19420 _ACEOF
19421 if ac_fn_cxx_try_compile "$LINENO"; then :
19422 glibcxx_cv_POLL=yes
19423 else
19424 glibcxx_cv_POLL=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 else
19428 if test x$gcc_no_link = xyes; then
19429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 #include <poll.h>
19435 main ()
19437 struct pollfd pfd[1];
19438 pfd[0].events = POLLIN;
19439 poll(pfd, 1, 0);
19441 return 0;
19443 _ACEOF
19444 if ac_fn_cxx_try_link "$LINENO"; then :
19445 glibcxx_cv_POLL=yes
19446 else
19447 glibcxx_cv_POLL=no
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19455 if test $glibcxx_cv_POLL = yes; then
19457 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19461 $as_echo "$glibcxx_cv_POLL" >&6; }
19463 CXXFLAGS="$ac_save_CXXFLAGS"
19464 ac_ext=c
19465 ac_cpp='$CPP $CPPFLAGS'
19466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19474 ac_ext=cpp
19475 ac_cpp='$CXXCPP $CPPFLAGS'
19476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19480 ac_save_CXXFLAGS="$CXXFLAGS"
19481 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19484 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19485 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19486 $as_echo_n "(cached) " >&6
19487 else
19489 if test x$gcc_no_link = xyes; then
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 #include <sys/stat.h>
19494 main ()
19496 struct stat buffer;
19497 fstat(0, &buffer);
19498 S_ISREG(buffer.st_mode);
19500 return 0;
19502 _ACEOF
19503 if ac_fn_cxx_try_compile "$LINENO"; then :
19504 glibcxx_cv_S_ISREG=yes
19505 else
19506 glibcxx_cv_S_ISREG=no
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 else
19510 if test x$gcc_no_link = xyes; then
19511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h. */
19515 #include <sys/stat.h>
19517 main ()
19519 struct stat buffer;
19520 fstat(0, &buffer);
19521 S_ISREG(buffer.st_mode);
19523 return 0;
19525 _ACEOF
19526 if ac_fn_cxx_try_link "$LINENO"; then :
19527 glibcxx_cv_S_ISREG=yes
19528 else
19529 glibcxx_cv_S_ISREG=no
19531 rm -f core conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext conftest.$ac_ext
19537 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19541 if test x$gcc_no_link = xyes; then
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 #include <sys/stat.h>
19546 main ()
19548 struct stat buffer;
19549 fstat(0, &buffer);
19550 S_IFREG & buffer.st_mode;
19552 return 0;
19554 _ACEOF
19555 if ac_fn_cxx_try_compile "$LINENO"; then :
19556 glibcxx_cv_S_IFREG=yes
19557 else
19558 glibcxx_cv_S_IFREG=no
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 else
19562 if test x$gcc_no_link = xyes; then
19563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19567 #include <sys/stat.h>
19569 main ()
19571 struct stat buffer;
19572 fstat(0, &buffer);
19573 S_IFREG & buffer.st_mode;
19575 return 0;
19577 _ACEOF
19578 if ac_fn_cxx_try_link "$LINENO"; then :
19579 glibcxx_cv_S_IFREG=yes
19580 else
19581 glibcxx_cv_S_IFREG=no
19583 rm -f core conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext conftest.$ac_ext
19589 res=no
19590 if test $glibcxx_cv_S_ISREG = yes; then
19592 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19594 res=S_ISREG
19595 elif test $glibcxx_cv_S_IFREG = yes; then
19597 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19599 res=S_IFREG
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19602 $as_echo "$res" >&6; }
19604 CXXFLAGS="$ac_save_CXXFLAGS"
19605 ac_ext=c
19606 ac_cpp='$CPP $CPPFLAGS'
19607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19613 # For xsputn_2().
19614 for ac_header in sys/uio.h
19615 do :
19616 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19617 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19618 cat >>confdefs.h <<_ACEOF
19619 #define HAVE_SYS_UIO_H 1
19620 _ACEOF
19624 done
19629 ac_ext=cpp
19630 ac_cpp='$CXXCPP $CPPFLAGS'
19631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635 ac_save_CXXFLAGS="$CXXFLAGS"
19636 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19639 $as_echo_n "checking for writev... " >&6; }
19640 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19644 if test x$gcc_no_link = xyes; then
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19647 #include <sys/uio.h>
19649 main ()
19651 struct iovec iov[2];
19652 writev(0, iov, 0);
19654 return 0;
19656 _ACEOF
19657 if ac_fn_cxx_try_compile "$LINENO"; then :
19658 glibcxx_cv_WRITEV=yes
19659 else
19660 glibcxx_cv_WRITEV=no
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 else
19664 if test x$gcc_no_link = xyes; then
19665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19669 #include <sys/uio.h>
19671 main ()
19673 struct iovec iov[2];
19674 writev(0, iov, 0);
19676 return 0;
19678 _ACEOF
19679 if ac_fn_cxx_try_link "$LINENO"; then :
19680 glibcxx_cv_WRITEV=yes
19681 else
19682 glibcxx_cv_WRITEV=no
19684 rm -f core conftest.err conftest.$ac_objext \
19685 conftest$ac_exeext conftest.$ac_ext
19690 if test $glibcxx_cv_WRITEV = yes; then
19692 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19696 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19698 CXXFLAGS="$ac_save_CXXFLAGS"
19699 ac_ext=c
19700 ac_cpp='$CPP $CPPFLAGS'
19701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19707 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19708 # so that the check is done with the C compiler (not C++).
19709 # Checking with C++ can break a canadian cross build if either
19710 # file does not exist in C but does in C++.
19711 for ac_header in fenv.h complex.h
19712 do :
19713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19714 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19715 eval as_val=\$$as_ac_Header
19716 if test "x$as_val" = x""yes; then :
19717 cat >>confdefs.h <<_ACEOF
19718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19719 _ACEOF
19723 done
19726 # For C99 support to TR1.
19730 ac_ext=cpp
19731 ac_cpp='$CXXCPP $CPPFLAGS'
19732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19737 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19738 # undefined and fake C99 facilities may be spuriously enabled.
19739 ac_save_CXXFLAGS="$CXXFLAGS"
19740 CXXFLAGS="$CXXFLAGS -std=c++98"
19742 # Check for the existence of <complex.h> complex math functions used
19743 # by tr1/complex.
19744 for ac_header in complex.h
19745 do :
19746 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19747 if test "x$ac_cv_header_complex_h" = x""yes; then :
19748 cat >>confdefs.h <<_ACEOF
19749 #define HAVE_COMPLEX_H 1
19750 _ACEOF
19751 ac_has_complex_h=yes
19752 else
19753 ac_has_complex_h=no
19756 done
19758 ac_c99_complex_tr1=no;
19759 if test x"$ac_has_complex_h" = x"yes"; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19761 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19764 #include <complex.h>
19766 main ()
19768 typedef __complex__ float float_type; float_type tmpf;
19769 cacosf(tmpf);
19770 casinf(tmpf);
19771 catanf(tmpf);
19772 cacoshf(tmpf);
19773 casinhf(tmpf);
19774 catanhf(tmpf);
19775 typedef __complex__ double double_type; double_type tmpd;
19776 cacos(tmpd);
19777 casin(tmpd);
19778 catan(tmpd);
19779 cacosh(tmpd);
19780 casinh(tmpd);
19781 catanh(tmpd);
19782 typedef __complex__ long double ld_type; ld_type tmpld;
19783 cacosl(tmpld);
19784 casinl(tmpld);
19785 catanl(tmpld);
19786 cacoshl(tmpld);
19787 casinhl(tmpld);
19788 catanhl(tmpld);
19791 return 0;
19793 _ACEOF
19794 if ac_fn_cxx_try_compile "$LINENO"; then :
19795 ac_c99_complex_tr1=yes
19796 else
19797 ac_c99_complex_tr1=no
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19802 $as_echo "$ac_c99_complex_tr1" >&6; }
19803 if test x"$ac_c99_complex_tr1" = x"yes"; then
19805 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19809 # Check for the existence of <ctype.h> functions.
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19811 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19812 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818 #include <ctype.h>
19820 main ()
19822 int ch;
19823 int ret;
19824 ret = isblank(ch);
19827 return 0;
19829 _ACEOF
19830 if ac_fn_cxx_try_compile "$LINENO"; then :
19831 glibcxx_cv_c99_ctype_tr1=yes
19832 else
19833 glibcxx_cv_c99_ctype_tr1=no
19835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19840 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19841 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19843 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19847 # Check for the existence of <fenv.h> functions.
19848 for ac_header in fenv.h
19849 do :
19850 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19851 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19852 cat >>confdefs.h <<_ACEOF
19853 #define HAVE_FENV_H 1
19854 _ACEOF
19855 ac_has_fenv_h=yes
19856 else
19857 ac_has_fenv_h=no
19860 done
19862 ac_c99_fenv_tr1=no;
19863 if test x"$ac_has_fenv_h" = x"yes"; then
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19865 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <fenv.h>
19870 main ()
19872 int except, mode;
19873 fexcept_t* pflag;
19874 fenv_t* penv;
19875 int ret;
19876 ret = feclearexcept(except);
19877 ret = fegetexceptflag(pflag, except);
19878 ret = feraiseexcept(except);
19879 ret = fesetexceptflag(pflag, except);
19880 ret = fetestexcept(except);
19881 ret = fegetround();
19882 ret = fesetround(mode);
19883 ret = fegetenv(penv);
19884 ret = feholdexcept(penv);
19885 ret = fesetenv(penv);
19886 ret = feupdateenv(penv);
19889 return 0;
19891 _ACEOF
19892 if ac_fn_cxx_try_compile "$LINENO"; then :
19893 ac_c99_fenv_tr1=yes
19894 else
19895 ac_c99_fenv_tr1=no
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19900 $as_echo "$ac_c99_fenv_tr1" >&6; }
19901 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19903 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19907 # Check for the existence of <stdint.h> types.
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19909 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19910 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19911 $as_echo_n "(cached) " >&6
19912 else
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #define __STDC_LIMIT_MACROS
19917 #define __STDC_CONSTANT_MACROS
19918 #include <stdint.h>
19920 main ()
19922 typedef int8_t my_int8_t;
19923 my_int8_t i8 = INT8_MIN;
19924 i8 = INT8_MAX;
19925 typedef int16_t my_int16_t;
19926 my_int16_t i16 = INT16_MIN;
19927 i16 = INT16_MAX;
19928 typedef int32_t my_int32_t;
19929 my_int32_t i32 = INT32_MIN;
19930 i32 = INT32_MAX;
19931 typedef int64_t my_int64_t;
19932 my_int64_t i64 = INT64_MIN;
19933 i64 = INT64_MAX;
19934 typedef int_fast8_t my_int_fast8_t;
19935 my_int_fast8_t if8 = INT_FAST8_MIN;
19936 if8 = INT_FAST8_MAX;
19937 typedef int_fast16_t my_int_fast16_t;
19938 my_int_fast16_t if16 = INT_FAST16_MIN;
19939 if16 = INT_FAST16_MAX;
19940 typedef int_fast32_t my_int_fast32_t;
19941 my_int_fast32_t if32 = INT_FAST32_MIN;
19942 if32 = INT_FAST32_MAX;
19943 typedef int_fast64_t my_int_fast64_t;
19944 my_int_fast64_t if64 = INT_FAST64_MIN;
19945 if64 = INT_FAST64_MAX;
19946 typedef int_least8_t my_int_least8_t;
19947 my_int_least8_t il8 = INT_LEAST8_MIN;
19948 il8 = INT_LEAST8_MAX;
19949 typedef int_least16_t my_int_least16_t;
19950 my_int_least16_t il16 = INT_LEAST16_MIN;
19951 il16 = INT_LEAST16_MAX;
19952 typedef int_least32_t my_int_least32_t;
19953 my_int_least32_t il32 = INT_LEAST32_MIN;
19954 il32 = INT_LEAST32_MAX;
19955 typedef int_least64_t my_int_least64_t;
19956 my_int_least64_t il64 = INT_LEAST64_MIN;
19957 il64 = INT_LEAST64_MAX;
19958 typedef intmax_t my_intmax_t;
19959 my_intmax_t im = INTMAX_MAX;
19960 im = INTMAX_MIN;
19961 typedef intptr_t my_intptr_t;
19962 my_intptr_t ip = INTPTR_MAX;
19963 ip = INTPTR_MIN;
19964 typedef uint8_t my_uint8_t;
19965 my_uint8_t ui8 = UINT8_MAX;
19966 ui8 = UINT8_MAX;
19967 typedef uint16_t my_uint16_t;
19968 my_uint16_t ui16 = UINT16_MAX;
19969 ui16 = UINT16_MAX;
19970 typedef uint32_t my_uint32_t;
19971 my_uint32_t ui32 = UINT32_MAX;
19972 ui32 = UINT32_MAX;
19973 typedef uint64_t my_uint64_t;
19974 my_uint64_t ui64 = UINT64_MAX;
19975 ui64 = UINT64_MAX;
19976 typedef uint_fast8_t my_uint_fast8_t;
19977 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19978 uif8 = UINT_FAST8_MAX;
19979 typedef uint_fast16_t my_uint_fast16_t;
19980 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19981 uif16 = UINT_FAST16_MAX;
19982 typedef uint_fast32_t my_uint_fast32_t;
19983 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19984 uif32 = UINT_FAST32_MAX;
19985 typedef uint_fast64_t my_uint_fast64_t;
19986 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19987 uif64 = UINT_FAST64_MAX;
19988 typedef uint_least8_t my_uint_least8_t;
19989 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19990 uil8 = UINT_LEAST8_MAX;
19991 typedef uint_least16_t my_uint_least16_t;
19992 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19993 uil16 = UINT_LEAST16_MAX;
19994 typedef uint_least32_t my_uint_least32_t;
19995 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19996 uil32 = UINT_LEAST32_MAX;
19997 typedef uint_least64_t my_uint_least64_t;
19998 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19999 uil64 = UINT_LEAST64_MAX;
20000 typedef uintmax_t my_uintmax_t;
20001 my_uintmax_t uim = UINTMAX_MAX;
20002 uim = UINTMAX_MAX;
20003 typedef uintptr_t my_uintptr_t;
20004 my_uintptr_t uip = UINTPTR_MAX;
20005 uip = UINTPTR_MAX;
20008 return 0;
20010 _ACEOF
20011 if ac_fn_cxx_try_compile "$LINENO"; then :
20012 glibcxx_cv_c99_stdint_tr1=yes
20013 else
20014 glibcxx_cv_c99_stdint_tr1=no
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20021 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20022 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20024 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20028 # Check for the existence of <math.h> functions.
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20030 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20031 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20032 $as_echo_n "(cached) " >&6
20033 else
20035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20036 /* end confdefs.h. */
20037 #include <math.h>
20039 main ()
20041 typedef double_t my_double_t;
20042 typedef float_t my_float_t;
20043 acosh(0.0);
20044 acoshf(0.0f);
20045 acoshl(0.0l);
20046 asinh(0.0);
20047 asinhf(0.0f);
20048 asinhl(0.0l);
20049 atanh(0.0);
20050 atanhf(0.0f);
20051 atanhl(0.0l);
20052 cbrt(0.0);
20053 cbrtf(0.0f);
20054 cbrtl(0.0l);
20055 copysign(0.0, 0.0);
20056 copysignf(0.0f, 0.0f);
20057 copysignl(0.0l, 0.0l);
20058 erf(0.0);
20059 erff(0.0f);
20060 erfl(0.0l);
20061 erfc(0.0);
20062 erfcf(0.0f);
20063 erfcl(0.0l);
20064 exp2(0.0);
20065 exp2f(0.0f);
20066 exp2l(0.0l);
20067 expm1(0.0);
20068 expm1f(0.0f);
20069 expm1l(0.0l);
20070 fdim(0.0, 0.0);
20071 fdimf(0.0f, 0.0f);
20072 fdiml(0.0l, 0.0l);
20073 fma(0.0, 0.0, 0.0);
20074 fmaf(0.0f, 0.0f, 0.0f);
20075 fmal(0.0l, 0.0l, 0.0l);
20076 fmax(0.0, 0.0);
20077 fmaxf(0.0f, 0.0f);
20078 fmaxl(0.0l, 0.0l);
20079 fmin(0.0, 0.0);
20080 fminf(0.0f, 0.0f);
20081 fminl(0.0l, 0.0l);
20082 hypot(0.0, 0.0);
20083 hypotf(0.0f, 0.0f);
20084 hypotl(0.0l, 0.0l);
20085 ilogb(0.0);
20086 ilogbf(0.0f);
20087 ilogbl(0.0l);
20088 lgamma(0.0);
20089 lgammaf(0.0f);
20090 lgammal(0.0l);
20091 #ifndef __APPLE__ /* see below */
20092 llrint(0.0);
20093 llrintf(0.0f);
20094 llrintl(0.0l);
20095 llround(0.0);
20096 llroundf(0.0f);
20097 llroundl(0.0l);
20098 #endif
20099 log1p(0.0);
20100 log1pf(0.0f);
20101 log1pl(0.0l);
20102 log2(0.0);
20103 log2f(0.0f);
20104 log2l(0.0l);
20105 logb(0.0);
20106 logbf(0.0f);
20107 logbl(0.0l);
20108 lrint(0.0);
20109 lrintf(0.0f);
20110 lrintl(0.0l);
20111 lround(0.0);
20112 lroundf(0.0f);
20113 lroundl(0.0l);
20114 nan(0);
20115 nanf(0);
20116 nanl(0);
20117 nearbyint(0.0);
20118 nearbyintf(0.0f);
20119 nearbyintl(0.0l);
20120 nextafter(0.0, 0.0);
20121 nextafterf(0.0f, 0.0f);
20122 nextafterl(0.0l, 0.0l);
20123 nexttoward(0.0, 0.0);
20124 nexttowardf(0.0f, 0.0f);
20125 nexttowardl(0.0l, 0.0l);
20126 remainder(0.0, 0.0);
20127 remainderf(0.0f, 0.0f);
20128 remainderl(0.0l, 0.0l);
20129 remquo(0.0, 0.0, 0);
20130 remquof(0.0f, 0.0f, 0);
20131 remquol(0.0l, 0.0l, 0);
20132 rint(0.0);
20133 rintf(0.0f);
20134 rintl(0.0l);
20135 round(0.0);
20136 roundf(0.0f);
20137 roundl(0.0l);
20138 scalbln(0.0, 0l);
20139 scalblnf(0.0f, 0l);
20140 scalblnl(0.0l, 0l);
20141 scalbn(0.0, 0);
20142 scalbnf(0.0f, 0);
20143 scalbnl(0.0l, 0);
20144 tgamma(0.0);
20145 tgammaf(0.0f);
20146 tgammal(0.0l);
20147 trunc(0.0);
20148 truncf(0.0f);
20149 truncl(0.0l);
20152 return 0;
20154 _ACEOF
20155 if ac_fn_cxx_try_compile "$LINENO"; then :
20156 glibcxx_cv_c99_math_tr1=yes
20157 else
20158 glibcxx_cv_c99_math_tr1=no
20160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20165 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20166 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20168 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20171 case "${target_os}" in
20172 darwin*)
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20174 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20175 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20176 $as_echo_n "(cached) " >&6
20177 else
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <math.h>
20183 main ()
20185 llrint(0.0);
20186 llrintf(0.0f);
20187 llrintl(0.0l);
20188 llround(0.0);
20189 llroundf(0.0f);
20190 llroundl(0.0l);
20193 return 0;
20195 _ACEOF
20196 if ac_fn_cxx_try_compile "$LINENO"; then :
20197 glibcxx_cv_c99_math_llround=yes
20198 else
20199 glibcxx_cv_c99_math_llround=no
20201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20206 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20208 esac
20209 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20211 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20216 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20217 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20218 ac_c99_inttypes_tr1=no;
20219 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20221 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224 #include <inttypes.h>
20226 main ()
20228 intmax_t i, numer, denom, base;
20229 const char* s;
20230 char** endptr;
20231 intmax_t ret = imaxabs(i);
20232 imaxdiv_t dret = imaxdiv(numer, denom);
20233 ret = strtoimax(s, endptr, base);
20234 uintmax_t uret = strtoumax(s, endptr, base);
20237 return 0;
20239 _ACEOF
20240 if ac_fn_cxx_try_compile "$LINENO"; then :
20241 ac_c99_inttypes_tr1=yes
20242 else
20243 ac_c99_inttypes_tr1=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20248 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20249 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20251 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20255 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20256 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20257 ac_c99_inttypes_wchar_t_tr1=no;
20258 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20260 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20262 /* end confdefs.h. */
20263 #include <inttypes.h>
20265 main ()
20267 intmax_t base;
20268 const wchar_t* s;
20269 wchar_t** endptr;
20270 intmax_t ret = wcstoimax(s, endptr, base);
20271 uintmax_t uret = wcstoumax(s, endptr, base);
20274 return 0;
20276 _ACEOF
20277 if ac_fn_cxx_try_compile "$LINENO"; then :
20278 ac_c99_inttypes_wchar_t_tr1=yes
20279 else
20280 ac_c99_inttypes_wchar_t_tr1=no
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20285 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20286 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20288 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20292 # Check for the existence of the <stdbool.h> header.
20293 for ac_header in stdbool.h
20294 do :
20295 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20296 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20297 cat >>confdefs.h <<_ACEOF
20298 #define HAVE_STDBOOL_H 1
20299 _ACEOF
20303 done
20306 # Check for the existence of the <stdalign.h> header.
20307 for ac_header in stdalign.h
20308 do :
20309 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20310 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20311 cat >>confdefs.h <<_ACEOF
20312 #define HAVE_STDALIGN_H 1
20313 _ACEOF
20317 done
20320 CXXFLAGS="$ac_save_CXXFLAGS"
20321 ac_ext=c
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20333 $as_echo_n "checking for the value of EOF... " >&6; }
20334 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20335 $as_echo_n "(cached) " >&6
20336 else
20338 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20340 else
20341 as_fn_error "computing EOF failed" "$LINENO" 5
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20347 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20349 cat >>confdefs.h <<_ACEOF
20350 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20351 _ACEOF
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20355 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20356 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20357 $as_echo_n "(cached) " >&6
20358 else
20360 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20362 else
20363 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20369 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20371 cat >>confdefs.h <<_ACEOF
20372 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20373 _ACEOF
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20377 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20378 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20379 $as_echo_n "(cached) " >&6
20380 else
20382 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20384 else
20385 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20391 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20393 cat >>confdefs.h <<_ACEOF
20394 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20395 _ACEOF
20399 # For gettimeofday support.
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20403 $as_echo_n "checking for gettimeofday... " >&6; }
20406 ac_ext=cpp
20407 ac_cpp='$CXXCPP $CPPFLAGS'
20408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20412 ac_save_CXXFLAGS="$CXXFLAGS"
20413 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20415 ac_has_gettimeofday=no;
20416 for ac_header in sys/time.h
20417 do :
20418 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20419 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20420 cat >>confdefs.h <<_ACEOF
20421 #define HAVE_SYS_TIME_H 1
20422 _ACEOF
20423 ac_has_sys_time_h=yes
20424 else
20425 ac_has_sys_time_h=no
20428 done
20430 if test x"$ac_has_sys_time_h" = x"yes"; then
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20432 $as_echo_n "checking for gettimeofday... " >&6; }
20433 if test x$gcc_no_link = xyes; then
20434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20435 /* end confdefs.h. */
20436 #include <sys/time.h>
20438 main ()
20440 timeval tv; gettimeofday(&tv, 0);
20442 return 0;
20444 _ACEOF
20445 if ac_fn_cxx_try_compile "$LINENO"; then :
20446 ac_has_gettimeofday=yes
20447 else
20448 ac_has_gettimeofday=no
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20451 else
20452 if test x$gcc_no_link = xyes; then
20453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20457 #include <sys/time.h>
20459 main ()
20461 timeval tv; gettimeofday(&tv, 0);
20463 return 0;
20465 _ACEOF
20466 if ac_fn_cxx_try_link "$LINENO"; then :
20467 ac_has_gettimeofday=yes
20468 else
20469 ac_has_gettimeofday=no
20471 rm -f core conftest.err conftest.$ac_objext \
20472 conftest$ac_exeext conftest.$ac_ext
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20476 $as_echo "$ac_has_gettimeofday" >&6; }
20479 if test x"$ac_has_gettimeofday" = x"yes"; then
20481 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20485 CXXFLAGS="$ac_save_CXXFLAGS"
20486 ac_ext=c
20487 ac_cpp='$CPP $CPPFLAGS'
20488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20494 # For clock_gettime, nanosleep and sched_yield support.
20497 # Check whether --enable-libstdcxx-time was given.
20498 if test "${enable_libstdcxx_time+set}" = set; then :
20499 enableval=$enable_libstdcxx_time;
20500 case "$enableval" in
20501 yes|no|rt) ;;
20502 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20503 esac
20505 else
20506 enable_libstdcxx_time=auto
20512 ac_ext=cpp
20513 ac_cpp='$CXXCPP $CPPFLAGS'
20514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518 ac_save_CXXFLAGS="$CXXFLAGS"
20519 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20520 ac_save_LIBS="$LIBS"
20522 ac_has_clock_monotonic=no
20523 ac_has_clock_realtime=no
20524 ac_has_nanosleep=no
20525 ac_has_sched_yield=no
20527 if test x"$enable_libstdcxx_time" = x"auto"; then
20529 case "${target_os}" in
20530 cygwin*)
20531 ac_has_nanosleep=yes
20533 darwin*)
20534 ac_has_nanosleep=yes
20535 ac_has_sched_yield=yes
20537 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20539 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 #include <features.h>
20544 main ()
20547 #if ! __GLIBC_PREREQ(2, 17)
20548 #error
20549 #endif
20552 return 0;
20554 _ACEOF
20555 if ac_fn_cxx_try_compile "$LINENO"; then :
20556 glibcxx_glibc217=yes
20557 else
20558 glibcxx_glibc217=no
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20562 $as_echo "$glibcxx_glibc217" >&6; }
20564 if test x"$glibcxx_glibc217" = x"yes"; then
20565 ac_has_clock_monotonic=yes
20566 ac_has_clock_realtime=yes
20568 ac_has_nanosleep=yes
20569 ac_has_sched_yield=yes
20571 freebsd*|netbsd*|dragonfly*|rtems*)
20572 ac_has_clock_monotonic=yes
20573 ac_has_clock_realtime=yes
20574 ac_has_nanosleep=yes
20575 ac_has_sched_yield=yes
20577 openbsd*)
20578 ac_has_clock_monotonic=yes
20579 ac_has_clock_realtime=yes
20580 ac_has_nanosleep=yes
20582 solaris*)
20583 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20584 ac_has_clock_monotonic=yes
20585 ac_has_clock_realtime=yes
20586 ac_has_nanosleep=yes
20587 ac_has_sched_yield=yes
20589 esac
20591 elif test x"$enable_libstdcxx_time" != x"no"; then
20593 if test x"$enable_libstdcxx_time" = x"rt"; then
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20595 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20596 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20597 $as_echo_n "(cached) " >&6
20598 else
20599 ac_func_search_save_LIBS=$LIBS
20600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20603 /* Override any GCC internal prototype to avoid an error.
20604 Use char because int might match the return type of a GCC
20605 builtin and then its argument prototype would still apply. */
20606 #ifdef __cplusplus
20607 extern "C"
20608 #endif
20609 char clock_gettime ();
20611 main ()
20613 return clock_gettime ();
20615 return 0;
20617 _ACEOF
20618 for ac_lib in '' rt posix4; do
20619 if test -z "$ac_lib"; then
20620 ac_res="none required"
20621 else
20622 ac_res=-l$ac_lib
20623 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20625 if test x$gcc_no_link = xyes; then
20626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20628 if ac_fn_cxx_try_link "$LINENO"; then :
20629 ac_cv_search_clock_gettime=$ac_res
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext
20633 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20634 break
20636 done
20637 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20639 else
20640 ac_cv_search_clock_gettime=no
20642 rm conftest.$ac_ext
20643 LIBS=$ac_func_search_save_LIBS
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20646 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20647 ac_res=$ac_cv_search_clock_gettime
20648 if test "$ac_res" != no; then :
20649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20654 $as_echo_n "checking for library containing nanosleep... " >&6; }
20655 if test "${ac_cv_search_nanosleep+set}" = set; then :
20656 $as_echo_n "(cached) " >&6
20657 else
20658 ac_func_search_save_LIBS=$LIBS
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20662 /* Override any GCC internal prototype to avoid an error.
20663 Use char because int might match the return type of a GCC
20664 builtin and then its argument prototype would still apply. */
20665 #ifdef __cplusplus
20666 extern "C"
20667 #endif
20668 char nanosleep ();
20670 main ()
20672 return nanosleep ();
20674 return 0;
20676 _ACEOF
20677 for ac_lib in '' rt posix4; do
20678 if test -z "$ac_lib"; then
20679 ac_res="none required"
20680 else
20681 ac_res=-l$ac_lib
20682 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20684 if test x$gcc_no_link = xyes; then
20685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20687 if ac_fn_cxx_try_link "$LINENO"; then :
20688 ac_cv_search_nanosleep=$ac_res
20690 rm -f core conftest.err conftest.$ac_objext \
20691 conftest$ac_exeext
20692 if test "${ac_cv_search_nanosleep+set}" = set; then :
20693 break
20695 done
20696 if test "${ac_cv_search_nanosleep+set}" = set; then :
20698 else
20699 ac_cv_search_nanosleep=no
20701 rm conftest.$ac_ext
20702 LIBS=$ac_func_search_save_LIBS
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20705 $as_echo "$ac_cv_search_nanosleep" >&6; }
20706 ac_res=$ac_cv_search_nanosleep
20707 if test "$ac_res" != no; then :
20708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20712 else
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20714 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20715 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20716 $as_echo_n "(cached) " >&6
20717 else
20718 ac_func_search_save_LIBS=$LIBS
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20722 /* Override any GCC internal prototype to avoid an error.
20723 Use char because int might match the return type of a GCC
20724 builtin and then its argument prototype would still apply. */
20725 #ifdef __cplusplus
20726 extern "C"
20727 #endif
20728 char clock_gettime ();
20730 main ()
20732 return clock_gettime ();
20734 return 0;
20736 _ACEOF
20737 for ac_lib in '' posix4; do
20738 if test -z "$ac_lib"; then
20739 ac_res="none required"
20740 else
20741 ac_res=-l$ac_lib
20742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20744 if test x$gcc_no_link = xyes; then
20745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20747 if ac_fn_cxx_try_link "$LINENO"; then :
20748 ac_cv_search_clock_gettime=$ac_res
20750 rm -f core conftest.err conftest.$ac_objext \
20751 conftest$ac_exeext
20752 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20753 break
20755 done
20756 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20758 else
20759 ac_cv_search_clock_gettime=no
20761 rm conftest.$ac_ext
20762 LIBS=$ac_func_search_save_LIBS
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20765 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20766 ac_res=$ac_cv_search_clock_gettime
20767 if test "$ac_res" != no; then :
20768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20773 $as_echo_n "checking for library containing nanosleep... " >&6; }
20774 if test "${ac_cv_search_nanosleep+set}" = set; then :
20775 $as_echo_n "(cached) " >&6
20776 else
20777 ac_func_search_save_LIBS=$LIBS
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20781 /* Override any GCC internal prototype to avoid an error.
20782 Use char because int might match the return type of a GCC
20783 builtin and then its argument prototype would still apply. */
20784 #ifdef __cplusplus
20785 extern "C"
20786 #endif
20787 char nanosleep ();
20789 main ()
20791 return nanosleep ();
20793 return 0;
20795 _ACEOF
20796 for ac_lib in '' posix4; do
20797 if test -z "$ac_lib"; then
20798 ac_res="none required"
20799 else
20800 ac_res=-l$ac_lib
20801 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20803 if test x$gcc_no_link = xyes; then
20804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20806 if ac_fn_cxx_try_link "$LINENO"; then :
20807 ac_cv_search_nanosleep=$ac_res
20809 rm -f core conftest.err conftest.$ac_objext \
20810 conftest$ac_exeext
20811 if test "${ac_cv_search_nanosleep+set}" = set; then :
20812 break
20814 done
20815 if test "${ac_cv_search_nanosleep+set}" = set; then :
20817 else
20818 ac_cv_search_nanosleep=no
20820 rm conftest.$ac_ext
20821 LIBS=$ac_func_search_save_LIBS
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20824 $as_echo "$ac_cv_search_nanosleep" >&6; }
20825 ac_res=$ac_cv_search_nanosleep
20826 if test "$ac_res" != no; then :
20827 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20833 case "$ac_cv_search_clock_gettime" in
20834 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20836 esac
20837 case "$ac_cv_search_nanosleep" in
20838 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20840 esac
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20843 $as_echo_n "checking for library containing sched_yield... " >&6; }
20844 if test "${ac_cv_search_sched_yield+set}" = set; then :
20845 $as_echo_n "(cached) " >&6
20846 else
20847 ac_func_search_save_LIBS=$LIBS
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20851 /* Override any GCC internal prototype to avoid an error.
20852 Use char because int might match the return type of a GCC
20853 builtin and then its argument prototype would still apply. */
20854 #ifdef __cplusplus
20855 extern "C"
20856 #endif
20857 char sched_yield ();
20859 main ()
20861 return sched_yield ();
20863 return 0;
20865 _ACEOF
20866 for ac_lib in '' rt posix4; do
20867 if test -z "$ac_lib"; then
20868 ac_res="none required"
20869 else
20870 ac_res=-l$ac_lib
20871 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20873 if test x$gcc_no_link = xyes; then
20874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20876 if ac_fn_cxx_try_link "$LINENO"; then :
20877 ac_cv_search_sched_yield=$ac_res
20879 rm -f core conftest.err conftest.$ac_objext \
20880 conftest$ac_exeext
20881 if test "${ac_cv_search_sched_yield+set}" = set; then :
20882 break
20884 done
20885 if test "${ac_cv_search_sched_yield+set}" = set; then :
20887 else
20888 ac_cv_search_sched_yield=no
20890 rm conftest.$ac_ext
20891 LIBS=$ac_func_search_save_LIBS
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20894 $as_echo "$ac_cv_search_sched_yield" >&6; }
20895 ac_res=$ac_cv_search_sched_yield
20896 if test "$ac_res" != no; then :
20897 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20902 case "$ac_cv_search_sched_yield" in
20903 -lposix4*)
20904 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20905 ac_has_sched_yield=yes
20907 -lrt*)
20908 if test x"$enable_libstdcxx_time" = x"rt"; then
20909 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20910 ac_has_sched_yield=yes
20914 ac_has_sched_yield=yes
20916 esac
20918 for ac_header in unistd.h
20919 do :
20920 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20921 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20922 cat >>confdefs.h <<_ACEOF
20923 #define HAVE_UNISTD_H 1
20924 _ACEOF
20925 ac_has_unistd_h=yes
20926 else
20927 ac_has_unistd_h=no
20930 done
20933 if test x"$ac_has_unistd_h" = x"yes"; then
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20935 $as_echo_n "checking for monotonic clock... " >&6; }
20936 if test x$gcc_no_link = xyes; then
20937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20941 #include <unistd.h>
20942 #include <time.h>
20945 main ()
20947 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20948 timespec tp;
20949 #endif
20950 clock_gettime(CLOCK_MONOTONIC, &tp);
20953 return 0;
20955 _ACEOF
20956 if ac_fn_cxx_try_link "$LINENO"; then :
20957 ac_has_clock_monotonic=yes
20958 else
20959 ac_has_clock_monotonic=no
20961 rm -f core conftest.err conftest.$ac_objext \
20962 conftest$ac_exeext conftest.$ac_ext
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20965 $as_echo "$ac_has_clock_monotonic" >&6; }
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20968 $as_echo_n "checking for realtime clock... " >&6; }
20969 if test x$gcc_no_link = xyes; then
20970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974 #include <unistd.h>
20975 #include <time.h>
20978 main ()
20980 #if _POSIX_TIMERS > 0
20981 timespec tp;
20982 #endif
20983 clock_gettime(CLOCK_REALTIME, &tp);
20986 return 0;
20988 _ACEOF
20989 if ac_fn_cxx_try_link "$LINENO"; then :
20990 ac_has_clock_realtime=yes
20991 else
20992 ac_has_clock_realtime=no
20994 rm -f core conftest.err conftest.$ac_objext \
20995 conftest$ac_exeext conftest.$ac_ext
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20998 $as_echo "$ac_has_clock_realtime" >&6; }
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21001 $as_echo_n "checking for nanosleep... " >&6; }
21002 if test x$gcc_no_link = xyes; then
21003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #include <unistd.h>
21008 #include <time.h>
21011 main ()
21013 #if _POSIX_TIMERS > 0
21014 timespec tp;
21015 #endif
21016 nanosleep(&tp, 0);
21019 return 0;
21021 _ACEOF
21022 if ac_fn_cxx_try_link "$LINENO"; then :
21023 ac_has_nanosleep=yes
21024 else
21025 ac_has_nanosleep=no
21027 rm -f core conftest.err conftest.$ac_objext \
21028 conftest$ac_exeext conftest.$ac_ext
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21031 $as_echo "$ac_has_nanosleep" >&6; }
21035 if test x"$ac_has_clock_monotonic" != x"yes"; then
21036 case ${target_os} in
21037 linux*)
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21039 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21042 #include <unistd.h>
21043 #include <time.h>
21044 #include <sys/syscall.h>
21047 main ()
21049 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21050 timespec tp;
21051 #endif
21052 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21053 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21056 return 0;
21058 _ACEOF
21059 if ac_fn_cxx_try_compile "$LINENO"; then :
21060 ac_has_clock_monotonic_syscall=yes
21061 else
21062 ac_has_clock_monotonic_syscall=no
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21066 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21067 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21069 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21071 ac_has_clock_monotonic=yes
21072 ac_has_clock_realtime=yes
21073 fi;;
21074 esac
21077 if test x"$ac_has_clock_monotonic" = x"yes"; then
21079 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21083 if test x"$ac_has_clock_realtime" = x"yes"; then
21085 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21089 if test x"$ac_has_sched_yield" = x"yes"; then
21091 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21095 if test x"$ac_has_nanosleep" = x"yes"; then
21097 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21099 else
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21101 $as_echo_n "checking for sleep... " >&6; }
21102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21104 #include <unistd.h>
21106 main ()
21108 sleep(1)
21110 return 0;
21112 _ACEOF
21113 if ac_fn_cxx_try_compile "$LINENO"; then :
21114 ac_has_sleep=yes
21115 else
21116 ac_has_sleep=no
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21119 if test x"$ac_has_sleep" = x"yes"; then
21121 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21125 $as_echo "$ac_has_sleep" >&6; }
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21127 $as_echo_n "checking for usleep... " >&6; }
21128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #include <unistd.h>
21132 main ()
21134 sleep(1);
21135 usleep(100);
21137 return 0;
21139 _ACEOF
21140 if ac_fn_cxx_try_compile "$LINENO"; then :
21141 ac_has_usleep=yes
21142 else
21143 ac_has_usleep=no
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 if test x"$ac_has_usleep" = x"yes"; then
21148 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21152 $as_echo "$ac_has_usleep" >&6; }
21155 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21157 $as_echo_n "checking for Sleep... " >&6; }
21158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21160 #include <windows.h>
21162 main ()
21164 Sleep(1)
21166 return 0;
21168 _ACEOF
21169 if ac_fn_cxx_try_compile "$LINENO"; then :
21170 ac_has_win32_sleep=yes
21171 else
21172 ac_has_win32_sleep=no
21174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21175 if test x"$ac_has_win32_sleep" = x"yes"; then
21177 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21181 $as_echo "$ac_has_win32_sleep" >&6; }
21186 CXXFLAGS="$ac_save_CXXFLAGS"
21187 LIBS="$ac_save_LIBS"
21188 ac_ext=c
21189 ac_cpp='$CPP $CPPFLAGS'
21190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21196 # Check for tmpnam which is obsolescent in POSIX.1-2008
21198 ac_ext=cpp
21199 ac_cpp='$CXXCPP $CPPFLAGS'
21200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21204 ac_save_CXXFLAGS="$CXXFLAGS"
21205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21207 $as_echo_n "checking for tmpnam... " >&6; }
21208 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21209 $as_echo_n "(cached) " >&6
21210 else
21211 if test x$gcc_no_link = xyes; then
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21214 #include <stdio.h>
21216 main ()
21218 char *tmp = tmpnam(NULL);
21220 return 0;
21222 _ACEOF
21223 if ac_fn_cxx_try_compile "$LINENO"; then :
21224 glibcxx_cv_TMPNAM=yes
21225 else
21226 glibcxx_cv_TMPNAM=no
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 else
21230 if test x$gcc_no_link = xyes; then
21231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h. */
21235 #include <stdio.h>
21237 main ()
21239 char *tmp = tmpnam(NULL);
21241 return 0;
21243 _ACEOF
21244 if ac_fn_cxx_try_link "$LINENO"; then :
21245 glibcxx_cv_TMPNAM=yes
21246 else
21247 glibcxx_cv_TMPNAM=no
21249 rm -f core conftest.err conftest.$ac_objext \
21250 conftest$ac_exeext conftest.$ac_ext
21255 if test $glibcxx_cv_TMPNAM = yes; then
21257 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21261 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21262 CXXFLAGS="$ac_save_CXXFLAGS"
21263 ac_ext=c
21264 ac_cpp='$CPP $CPPFLAGS'
21265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21272 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21273 if test "x$ac_cv_header_locale_h" = x""yes; then :
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21276 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21277 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21278 $as_echo_n "(cached) " >&6
21279 else
21280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21281 /* end confdefs.h. */
21282 #include <locale.h>
21284 main ()
21286 return LC_MESSAGES
21288 return 0;
21290 _ACEOF
21291 if ac_fn_c_try_compile "$LINENO"; then :
21292 ac_cv_val_LC_MESSAGES=yes
21293 else
21294 ac_cv_val_LC_MESSAGES=no
21296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21299 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21300 if test $ac_cv_val_LC_MESSAGES = yes; then
21302 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21311 # For hardware_concurrency
21312 for ac_header in sys/sysinfo.h
21313 do :
21314 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21315 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE_SYS_SYSINFO_H 1
21318 _ACEOF
21322 done
21327 ac_ext=cpp
21328 ac_cpp='$CXXCPP $CPPFLAGS'
21329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21333 ac_save_CXXFLAGS="$CXXFLAGS"
21334 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21337 $as_echo_n "checking for get_nprocs... " >&6; }
21338 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21339 $as_echo_n "(cached) " >&6
21340 else
21342 if test x$gcc_no_link = xyes; then
21343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21345 #include <sys/sysinfo.h>
21347 main ()
21349 int n = get_nprocs();
21351 return 0;
21353 _ACEOF
21354 if ac_fn_cxx_try_compile "$LINENO"; then :
21355 glibcxx_cv_GET_NPROCS=yes
21356 else
21357 glibcxx_cv_GET_NPROCS=no
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 else
21361 if test x$gcc_no_link = xyes; then
21362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21366 #include <sys/sysinfo.h>
21368 main ()
21370 int n = get_nprocs();
21372 return 0;
21374 _ACEOF
21375 if ac_fn_cxx_try_link "$LINENO"; then :
21376 glibcxx_cv_GET_NPROCS=yes
21377 else
21378 glibcxx_cv_GET_NPROCS=no
21380 rm -f core conftest.err conftest.$ac_objext \
21381 conftest$ac_exeext conftest.$ac_ext
21386 if test $glibcxx_cv_GET_NPROCS = yes; then
21388 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21392 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21394 CXXFLAGS="$ac_save_CXXFLAGS"
21395 ac_ext=c
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21402 for ac_header in unistd.h
21403 do :
21404 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21405 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE_UNISTD_H 1
21408 _ACEOF
21412 done
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423 ac_save_CXXFLAGS="$CXXFLAGS"
21424 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21427 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21428 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21429 $as_echo_n "(cached) " >&6
21430 else
21432 if test x$gcc_no_link = xyes; then
21433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21434 /* end confdefs.h. */
21435 #include <unistd.h>
21437 main ()
21439 int n = sysconf(_SC_NPROCESSORS_ONLN);
21441 return 0;
21443 _ACEOF
21444 if ac_fn_cxx_try_compile "$LINENO"; then :
21445 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21446 else
21447 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 else
21451 if test x$gcc_no_link = xyes; then
21452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21456 #include <unistd.h>
21458 main ()
21460 int n = sysconf(_SC_NPROCESSORS_ONLN);
21462 return 0;
21464 _ACEOF
21465 if ac_fn_cxx_try_link "$LINENO"; then :
21466 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21467 else
21468 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21470 rm -f core conftest.err conftest.$ac_objext \
21471 conftest$ac_exeext conftest.$ac_ext
21476 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21478 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21482 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21484 CXXFLAGS="$ac_save_CXXFLAGS"
21485 ac_ext=c
21486 ac_cpp='$CPP $CPPFLAGS'
21487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495 ac_ext=cpp
21496 ac_cpp='$CXXCPP $CPPFLAGS'
21497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21501 ac_save_CXXFLAGS="$CXXFLAGS"
21502 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21505 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21506 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21507 $as_echo_n "(cached) " >&6
21508 else
21510 if test x$gcc_no_link = xyes; then
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21513 #include <unistd.h>
21515 main ()
21517 int n = sysconf(_SC_NPROC_ONLN);
21519 return 0;
21521 _ACEOF
21522 if ac_fn_cxx_try_compile "$LINENO"; then :
21523 glibcxx_cv_SC_NPROC_ONLN=yes
21524 else
21525 glibcxx_cv_SC_NPROC_ONLN=no
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528 else
21529 if test x$gcc_no_link = xyes; then
21530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h. */
21534 #include <unistd.h>
21536 main ()
21538 int n = sysconf(_SC_NPROC_ONLN);
21540 return 0;
21542 _ACEOF
21543 if ac_fn_cxx_try_link "$LINENO"; then :
21544 glibcxx_cv_SC_NPROC_ONLN=yes
21545 else
21546 glibcxx_cv_SC_NPROC_ONLN=no
21548 rm -f core conftest.err conftest.$ac_objext \
21549 conftest$ac_exeext conftest.$ac_ext
21554 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21556 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21560 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21562 CXXFLAGS="$ac_save_CXXFLAGS"
21563 ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21573 ac_ext=cpp
21574 ac_cpp='$CXXCPP $CPPFLAGS'
21575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21579 ac_save_CXXFLAGS="$CXXFLAGS"
21580 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21583 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21584 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21585 $as_echo_n "(cached) " >&6
21586 else
21588 if test x$gcc_no_link = xyes; then
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21591 #include <pthread.h>
21593 main ()
21595 int n = pthread_num_processors_np();
21597 return 0;
21599 _ACEOF
21600 if ac_fn_cxx_try_compile "$LINENO"; then :
21601 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21602 else
21603 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21606 else
21607 if test x$gcc_no_link = xyes; then
21608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21611 /* end confdefs.h. */
21612 #include <pthread.h>
21614 main ()
21616 int n = pthread_num_processors_np();
21618 return 0;
21620 _ACEOF
21621 if ac_fn_cxx_try_link "$LINENO"; then :
21622 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21623 else
21624 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21626 rm -f core conftest.err conftest.$ac_objext \
21627 conftest$ac_exeext conftest.$ac_ext
21632 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21634 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21638 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21640 CXXFLAGS="$ac_save_CXXFLAGS"
21641 ac_ext=c
21642 ac_cpp='$CPP $CPPFLAGS'
21643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21651 ac_ext=cpp
21652 ac_cpp='$CXXCPP $CPPFLAGS'
21653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657 ac_save_CXXFLAGS="$CXXFLAGS"
21658 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21661 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21662 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21663 $as_echo_n "(cached) " >&6
21664 else
21666 if test x$gcc_no_link = xyes; then
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21670 #include <stddef.h>
21671 #include <sys/sysctl.h>
21674 main ()
21677 int count;
21678 size_t size = sizeof(count);
21679 int mib[] = { CTL_HW, HW_NCPU };
21680 sysctl(mib, 2, &count, &size, NULL, 0);
21683 return 0;
21685 _ACEOF
21686 if ac_fn_cxx_try_compile "$LINENO"; then :
21687 glibcxx_cv_SYSCTL_HW_NCPU=yes
21688 else
21689 glibcxx_cv_SYSCTL_HW_NCPU=no
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 else
21693 if test x$gcc_no_link = xyes; then
21694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21699 #include <stddef.h>
21700 #include <sys/sysctl.h>
21703 main ()
21706 int count;
21707 size_t size = sizeof(count);
21708 int mib[] = { CTL_HW, HW_NCPU };
21709 sysctl(mib, 2, &count, &size, NULL, 0);
21712 return 0;
21714 _ACEOF
21715 if ac_fn_cxx_try_link "$LINENO"; then :
21716 glibcxx_cv_SYSCTL_HW_NCPU=yes
21717 else
21718 glibcxx_cv_SYSCTL_HW_NCPU=no
21720 rm -f core conftest.err conftest.$ac_objext \
21721 conftest$ac_exeext conftest.$ac_ext
21726 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21728 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21732 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21734 CXXFLAGS="$ac_save_CXXFLAGS"
21735 ac_ext=c
21736 ac_cpp='$CPP $CPPFLAGS'
21737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21744 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21745 # Note that this test has to be run with the C language.
21746 # Otherwise, sdt.h will try to include some headers from
21747 # libstdc++ itself.
21749 ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21755 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21756 $as_echo_n "(cached) " >&6
21757 else
21759 # Because we have to run the test in C, we use grep rather
21760 # than the compiler to check for the bug. The bug is that
21761 # were strings without trailing whitespace, causing g++
21762 # to look for operator"". The pattern searches for the fixed
21763 # output.
21764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21767 #include <sys/sdt.h>
21768 int f() { STAP_PROBE(hi, bob); }
21770 _ACEOF
21771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21772 $EGREP " \",\" " >/dev/null 2>&1; then :
21773 glibcxx_cv_sys_sdt_h=yes
21774 else
21775 glibcxx_cv_sys_sdt_h=no
21777 rm -f conftest*
21782 ac_ext=c
21783 ac_cpp='$CPP $CPPFLAGS'
21784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21788 if test $glibcxx_cv_sys_sdt_h = yes; then
21790 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21794 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21797 # Check for available headers.
21798 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21799 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21800 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21801 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21802 wchar.h wctype.h linux/types.h
21803 do :
21804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21805 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21806 eval as_val=\$$as_ac_Header
21807 if test "x$as_val" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21810 _ACEOF
21814 done
21817 for ac_header in linux/random.h
21818 do :
21819 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21820 # include <linux/types.h>
21821 #endif
21824 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21825 cat >>confdefs.h <<_ACEOF
21826 #define HAVE_LINUX_RANDOM_H 1
21827 _ACEOF
21831 done
21834 # Only do link tests if native. Else, hardcode.
21835 if $GLIBCXX_IS_NATIVE; then
21837 # We can do more elaborate tests that assume a working linker.
21838 CANADIAN=no
21842 # Check whether --with-gnu-ld was given.
21843 if test "${with_gnu_ld+set}" = set; then :
21844 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21845 else
21846 with_gnu_ld=no
21849 ac_prog=ld
21850 if test "$GCC" = yes; then
21851 # Check if gcc -print-prog-name=ld gives a path.
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21853 $as_echo_n "checking for ld used by $CC... " >&6; }
21854 case $host in
21855 *-*-mingw*)
21856 # gcc leaves a trailing carriage return which upsets mingw
21857 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21859 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21860 esac
21861 case $ac_prog in
21862 # Accept absolute paths.
21863 [\\/]* | ?:[\\/]*)
21864 re_direlt='/[^/][^/]*/\.\./'
21865 # Canonicalize the pathname of ld
21866 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21867 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21868 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21869 done
21870 test -z "$LD" && LD="$ac_prog"
21873 # If it fails, then pretend we aren't using GCC.
21874 ac_prog=ld
21877 # If it is relative, then search for the first ld in PATH.
21878 with_gnu_ld=unknown
21880 esac
21881 elif test "$with_gnu_ld" = yes; then
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21883 $as_echo_n "checking for GNU ld... " >&6; }
21884 else
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21886 $as_echo_n "checking for non-GNU ld... " >&6; }
21888 if test "${lt_cv_path_LD+set}" = set; then :
21889 $as_echo_n "(cached) " >&6
21890 else
21891 if test -z "$LD"; then
21892 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21893 for ac_dir in $PATH; do
21894 IFS="$lt_save_ifs"
21895 test -z "$ac_dir" && ac_dir=.
21896 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21897 lt_cv_path_LD="$ac_dir/$ac_prog"
21898 # Check to see if the program is GNU ld. I'd rather use --version,
21899 # but apparently some variants of GNU ld only accept -v.
21900 # Break only if it was the GNU/non-GNU ld that we prefer.
21901 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21902 *GNU* | *'with BFD'*)
21903 test "$with_gnu_ld" != no && break
21906 test "$with_gnu_ld" != yes && break
21908 esac
21910 done
21911 IFS="$lt_save_ifs"
21912 else
21913 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21917 LD="$lt_cv_path_LD"
21918 if test -n "$LD"; then
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21920 $as_echo "$LD" >&6; }
21921 else
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21923 $as_echo "no" >&6; }
21925 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21927 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21928 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21929 $as_echo_n "(cached) " >&6
21930 else
21931 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21932 case `$LD -v 2>&1 </dev/null` in
21933 *GNU* | *'with BFD'*)
21934 lt_cv_prog_gnu_ld=yes
21937 lt_cv_prog_gnu_ld=no
21939 esac
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21942 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21943 with_gnu_ld=$lt_cv_prog_gnu_ld
21951 # If we're not using GNU ld, then there's no point in even trying these
21952 # tests. Check for that first. We should have already tested for gld
21953 # by now (in libtool), but require it now just to be safe...
21954 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21955 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21959 # The name set by libtool depends on the version of libtool. Shame on us
21960 # for depending on an impl detail, but c'est la vie. Older versions used
21961 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21962 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21963 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21964 # set (hence we're using an older libtool), then set it.
21965 if test x${with_gnu_ld+set} != xset; then
21966 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21967 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21968 with_gnu_ld=no
21969 else
21970 with_gnu_ld=$ac_cv_prog_gnu_ld
21974 # Start by getting the version number. I think the libtool test already
21975 # does some of this, but throws away the result.
21976 glibcxx_ld_is_gold=no
21977 if test x"$with_gnu_ld" = x"yes"; then
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21979 $as_echo_n "checking for ld version... " >&6; }
21981 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21982 glibcxx_ld_is_gold=yes
21984 ldver=`$LD --version 2>/dev/null |
21985 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'`
21987 glibcxx_gnu_ld_version=`echo $ldver | \
21988 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21990 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21993 # Set --gc-sections.
21994 glibcxx_have_gc_sections=no
21995 if test "$glibcxx_ld_is_gold" = "yes"; then
21996 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21997 glibcxx_have_gc_sections=yes
21999 else
22000 glibcxx_gcsections_min_ld=21602
22001 if test x"$with_gnu_ld" = x"yes" &&
22002 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22003 glibcxx_have_gc_sections=yes
22006 if test "$glibcxx_have_gc_sections" = "yes"; then
22007 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22008 # NB: This flag only works reliably after 2.16.1. Configure tests
22009 # for this are difficult, so hard wire a value that should work.
22011 ac_test_CFLAGS="${CFLAGS+set}"
22012 ac_save_CFLAGS="$CFLAGS"
22013 CFLAGS='-Wl,--gc-sections'
22015 # Check for -Wl,--gc-sections
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22017 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22018 if test x$gcc_no_link = xyes; then
22019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22023 int one(void) { return 1; }
22024 int two(void) { return 2; }
22027 main ()
22029 two();
22031 return 0;
22033 _ACEOF
22034 if ac_fn_c_try_link "$LINENO"; then :
22035 ac_gcsections=yes
22036 else
22037 ac_gcsections=no
22039 rm -f core conftest.err conftest.$ac_objext \
22040 conftest$ac_exeext conftest.$ac_ext
22041 if test "$ac_gcsections" = "yes"; then
22042 rm -f conftest.c
22043 touch conftest.c
22044 if $CC -c conftest.c; then
22045 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22046 grep "Warning: gc-sections option ignored" > /dev/null; then
22047 ac_gcsections=no
22050 rm -f conftest.c conftest.o conftest
22052 if test "$ac_gcsections" = "yes"; then
22053 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22056 $as_echo "$ac_gcsections" >&6; }
22058 if test "$ac_test_CFLAGS" = set; then
22059 CFLAGS="$ac_save_CFLAGS"
22060 else
22061 # this is the suspicious part
22062 CFLAGS=''
22066 # Set -z,relro.
22067 # Note this is only for shared objects.
22068 ac_ld_relro=no
22069 if test x"$with_gnu_ld" = x"yes"; then
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22071 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22072 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22073 if test -n "$cxx_z_relo"; then
22074 OPT_LDFLAGS="-Wl,-z,relro"
22075 ac_ld_relro=yes
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22078 $as_echo "$ac_ld_relro" >&6; }
22081 # Set linker optimization flags.
22082 if test x"$with_gnu_ld" = x"yes"; then
22083 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22090 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22091 ac_save_CXXFLAGS="$CXXFLAGS"
22092 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22095 $as_echo_n "checking for sin in -lm... " >&6; }
22096 if test "${ac_cv_lib_m_sin+set}" = set; then :
22097 $as_echo_n "(cached) " >&6
22098 else
22099 ac_check_lib_save_LIBS=$LIBS
22100 LIBS="-lm $LIBS"
22101 if test x$gcc_no_link = xyes; then
22102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22105 /* end confdefs.h. */
22107 /* Override any GCC internal prototype to avoid an error.
22108 Use char because int might match the return type of a GCC
22109 builtin and then its argument prototype would still apply. */
22110 #ifdef __cplusplus
22111 extern "C"
22112 #endif
22113 char sin ();
22115 main ()
22117 return sin ();
22119 return 0;
22121 _ACEOF
22122 if ac_fn_c_try_link "$LINENO"; then :
22123 ac_cv_lib_m_sin=yes
22124 else
22125 ac_cv_lib_m_sin=no
22127 rm -f core conftest.err conftest.$ac_objext \
22128 conftest$ac_exeext conftest.$ac_ext
22129 LIBS=$ac_check_lib_save_LIBS
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22132 $as_echo "$ac_cv_lib_m_sin" >&6; }
22133 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22134 libm="-lm"
22137 ac_save_LIBS="$LIBS"
22138 LIBS="$LIBS $libm"
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22143 $as_echo_n "checking for isinf declaration... " >&6; }
22144 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22145 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22146 $as_echo_n "(cached) " >&6
22147 else
22150 ac_ext=cpp
22151 ac_cpp='$CXXCPP $CPPFLAGS'
22152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22157 /* end confdefs.h. */
22158 #include <math.h>
22159 #ifdef HAVE_IEEEFP_H
22160 #include <ieeefp.h>
22161 #endif
22164 main ()
22166 isinf(0);
22168 return 0;
22170 _ACEOF
22171 if ac_fn_cxx_try_compile "$LINENO"; then :
22172 glibcxx_cv_func_isinf_use=yes
22173 else
22174 glibcxx_cv_func_isinf_use=no
22176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22177 ac_ext=c
22178 ac_cpp='$CPP $CPPFLAGS'
22179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22188 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22190 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22191 for ac_func in isinf
22192 do :
22193 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22194 if test "x$ac_cv_func_isinf" = x""yes; then :
22195 cat >>confdefs.h <<_ACEOF
22196 #define HAVE_ISINF 1
22197 _ACEOF
22200 done
22202 else
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22205 $as_echo_n "checking for _isinf declaration... " >&6; }
22206 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22207 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22208 $as_echo_n "(cached) " >&6
22209 else
22212 ac_ext=cpp
22213 ac_cpp='$CXXCPP $CPPFLAGS'
22214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22219 /* end confdefs.h. */
22220 #include <math.h>
22221 #ifdef HAVE_IEEEFP_H
22222 #include <ieeefp.h>
22223 #endif
22226 main ()
22228 _isinf(0);
22230 return 0;
22232 _ACEOF
22233 if ac_fn_cxx_try_compile "$LINENO"; then :
22234 glibcxx_cv_func__isinf_use=yes
22235 else
22236 glibcxx_cv_func__isinf_use=no
22238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22239 ac_ext=c
22240 ac_cpp='$CPP $CPPFLAGS'
22241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22250 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22252 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22253 for ac_func in _isinf
22254 do :
22255 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22256 if test "x$ac_cv_func__isinf" = x""yes; then :
22257 cat >>confdefs.h <<_ACEOF
22258 #define HAVE__ISINF 1
22259 _ACEOF
22262 done
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22272 $as_echo_n "checking for isnan declaration... " >&6; }
22273 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22274 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22275 $as_echo_n "(cached) " >&6
22276 else
22279 ac_ext=cpp
22280 ac_cpp='$CXXCPP $CPPFLAGS'
22281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286 /* end confdefs.h. */
22287 #include <math.h>
22288 #ifdef HAVE_IEEEFP_H
22289 #include <ieeefp.h>
22290 #endif
22293 main ()
22295 isnan(0);
22297 return 0;
22299 _ACEOF
22300 if ac_fn_cxx_try_compile "$LINENO"; then :
22301 glibcxx_cv_func_isnan_use=yes
22302 else
22303 glibcxx_cv_func_isnan_use=no
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 ac_ext=c
22307 ac_cpp='$CPP $CPPFLAGS'
22308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22317 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22319 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22320 for ac_func in isnan
22321 do :
22322 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22323 if test "x$ac_cv_func_isnan" = x""yes; then :
22324 cat >>confdefs.h <<_ACEOF
22325 #define HAVE_ISNAN 1
22326 _ACEOF
22329 done
22331 else
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22334 $as_echo_n "checking for _isnan declaration... " >&6; }
22335 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22336 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22337 $as_echo_n "(cached) " >&6
22338 else
22341 ac_ext=cpp
22342 ac_cpp='$CXXCPP $CPPFLAGS'
22343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22348 /* end confdefs.h. */
22349 #include <math.h>
22350 #ifdef HAVE_IEEEFP_H
22351 #include <ieeefp.h>
22352 #endif
22355 main ()
22357 _isnan(0);
22359 return 0;
22361 _ACEOF
22362 if ac_fn_cxx_try_compile "$LINENO"; then :
22363 glibcxx_cv_func__isnan_use=yes
22364 else
22365 glibcxx_cv_func__isnan_use=no
22367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22368 ac_ext=c
22369 ac_cpp='$CPP $CPPFLAGS'
22370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22379 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22381 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22382 for ac_func in _isnan
22383 do :
22384 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22385 if test "x$ac_cv_func__isnan" = x""yes; then :
22386 cat >>confdefs.h <<_ACEOF
22387 #define HAVE__ISNAN 1
22388 _ACEOF
22391 done
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22401 $as_echo_n "checking for finite declaration... " >&6; }
22402 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22403 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22404 $as_echo_n "(cached) " >&6
22405 else
22408 ac_ext=cpp
22409 ac_cpp='$CXXCPP $CPPFLAGS'
22410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22415 /* end confdefs.h. */
22416 #include <math.h>
22417 #ifdef HAVE_IEEEFP_H
22418 #include <ieeefp.h>
22419 #endif
22422 main ()
22424 finite(0);
22426 return 0;
22428 _ACEOF
22429 if ac_fn_cxx_try_compile "$LINENO"; then :
22430 glibcxx_cv_func_finite_use=yes
22431 else
22432 glibcxx_cv_func_finite_use=no
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22446 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22448 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22449 for ac_func in finite
22450 do :
22451 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22452 if test "x$ac_cv_func_finite" = x""yes; then :
22453 cat >>confdefs.h <<_ACEOF
22454 #define HAVE_FINITE 1
22455 _ACEOF
22458 done
22460 else
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22463 $as_echo_n "checking for _finite declaration... " >&6; }
22464 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22465 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22466 $as_echo_n "(cached) " >&6
22467 else
22470 ac_ext=cpp
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h. */
22478 #include <math.h>
22479 #ifdef HAVE_IEEEFP_H
22480 #include <ieeefp.h>
22481 #endif
22484 main ()
22486 _finite(0);
22488 return 0;
22490 _ACEOF
22491 if ac_fn_cxx_try_compile "$LINENO"; then :
22492 glibcxx_cv_func__finite_use=yes
22493 else
22494 glibcxx_cv_func__finite_use=no
22496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22497 ac_ext=c
22498 ac_cpp='$CPP $CPPFLAGS'
22499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22508 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22510 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22511 for ac_func in _finite
22512 do :
22513 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22514 if test "x$ac_cv_func__finite" = x""yes; then :
22515 cat >>confdefs.h <<_ACEOF
22516 #define HAVE__FINITE 1
22517 _ACEOF
22520 done
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22530 $as_echo_n "checking for sincos declaration... " >&6; }
22531 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22532 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22547 main ()
22549 sincos(0, 0, 0);
22551 return 0;
22553 _ACEOF
22554 if ac_fn_cxx_try_compile "$LINENO"; then :
22555 glibcxx_cv_func_sincos_use=yes
22556 else
22557 glibcxx_cv_func_sincos_use=no
22559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22560 ac_ext=c
22561 ac_cpp='$CPP $CPPFLAGS'
22562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22571 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22573 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22574 for ac_func in sincos
22575 do :
22576 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22577 if test "x$ac_cv_func_sincos" = x""yes; then :
22578 cat >>confdefs.h <<_ACEOF
22579 #define HAVE_SINCOS 1
22580 _ACEOF
22583 done
22585 else
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22588 $as_echo_n "checking for _sincos declaration... " >&6; }
22589 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22590 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22591 $as_echo_n "(cached) " >&6
22592 else
22595 ac_ext=cpp
22596 ac_cpp='$CXXCPP $CPPFLAGS'
22597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22602 /* end confdefs.h. */
22603 #include <math.h>
22605 main ()
22607 _sincos(0, 0, 0);
22609 return 0;
22611 _ACEOF
22612 if ac_fn_cxx_try_compile "$LINENO"; then :
22613 glibcxx_cv_func__sincos_use=yes
22614 else
22615 glibcxx_cv_func__sincos_use=no
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22629 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22631 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22632 for ac_func in _sincos
22633 do :
22634 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22635 if test "x$ac_cv_func__sincos" = x""yes; then :
22636 cat >>confdefs.h <<_ACEOF
22637 #define HAVE__SINCOS 1
22638 _ACEOF
22641 done
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22651 $as_echo_n "checking for fpclass declaration... " >&6; }
22652 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22653 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22654 $as_echo_n "(cached) " >&6
22655 else
22658 ac_ext=cpp
22659 ac_cpp='$CXXCPP $CPPFLAGS'
22660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h. */
22666 #include <math.h>
22667 #ifdef HAVE_IEEEFP_H
22668 #include <ieeefp.h>
22669 #endif
22672 main ()
22674 fpclass(0);
22676 return 0;
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func_fpclass_use=yes
22681 else
22682 glibcxx_cv_func_fpclass_use=no
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22696 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22698 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22699 for ac_func in fpclass
22700 do :
22701 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22702 if test "x$ac_cv_func_fpclass" = x""yes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE_FPCLASS 1
22705 _ACEOF
22708 done
22710 else
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22713 $as_echo_n "checking for _fpclass declaration... " >&6; }
22714 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22715 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22716 $as_echo_n "(cached) " >&6
22717 else
22720 ac_ext=cpp
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727 /* end confdefs.h. */
22728 #include <math.h>
22729 #ifdef HAVE_IEEEFP_H
22730 #include <ieeefp.h>
22731 #endif
22734 main ()
22736 _fpclass(0);
22738 return 0;
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func__fpclass_use=yes
22743 else
22744 glibcxx_cv_func__fpclass_use=no
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22758 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22760 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22761 for ac_func in _fpclass
22762 do :
22763 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22764 if test "x$ac_cv_func__fpclass" = x""yes; then :
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE__FPCLASS 1
22767 _ACEOF
22770 done
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22780 $as_echo_n "checking for qfpclass declaration... " >&6; }
22781 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22782 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22796 #ifdef HAVE_IEEEFP_H
22797 #include <ieeefp.h>
22798 #endif
22801 main ()
22803 qfpclass(0);
22805 return 0;
22807 _ACEOF
22808 if ac_fn_cxx_try_compile "$LINENO"; then :
22809 glibcxx_cv_func_qfpclass_use=yes
22810 else
22811 glibcxx_cv_func_qfpclass_use=no
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 ac_ext=c
22815 ac_cpp='$CPP $CPPFLAGS'
22816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22825 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22827 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22828 for ac_func in qfpclass
22829 do :
22830 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22831 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE_QFPCLASS 1
22834 _ACEOF
22837 done
22839 else
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22842 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22843 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22844 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22845 $as_echo_n "(cached) " >&6
22846 else
22849 ac_ext=cpp
22850 ac_cpp='$CXXCPP $CPPFLAGS'
22851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22856 /* end confdefs.h. */
22857 #include <math.h>
22858 #ifdef HAVE_IEEEFP_H
22859 #include <ieeefp.h>
22860 #endif
22863 main ()
22865 _qfpclass(0);
22867 return 0;
22869 _ACEOF
22870 if ac_fn_cxx_try_compile "$LINENO"; then :
22871 glibcxx_cv_func__qfpclass_use=yes
22872 else
22873 glibcxx_cv_func__qfpclass_use=no
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876 ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22887 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22889 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22890 for ac_func in _qfpclass
22891 do :
22892 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22893 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22894 cat >>confdefs.h <<_ACEOF
22895 #define HAVE__QFPCLASS 1
22896 _ACEOF
22899 done
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22909 $as_echo_n "checking for hypot declaration... " >&6; }
22910 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22911 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22912 $as_echo_n "(cached) " >&6
22913 else
22916 ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22924 #include <math.h>
22926 main ()
22928 hypot(0, 0);
22930 return 0;
22932 _ACEOF
22933 if ac_fn_cxx_try_compile "$LINENO"; then :
22934 glibcxx_cv_func_hypot_use=yes
22935 else
22936 glibcxx_cv_func_hypot_use=no
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939 ac_ext=c
22940 ac_cpp='$CPP $CPPFLAGS'
22941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22950 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22952 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22953 for ac_func in hypot
22954 do :
22955 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22956 if test "x$ac_cv_func_hypot" = x""yes; then :
22957 cat >>confdefs.h <<_ACEOF
22958 #define HAVE_HYPOT 1
22959 _ACEOF
22962 done
22964 else
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22967 $as_echo_n "checking for _hypot declaration... " >&6; }
22968 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22969 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22970 $as_echo_n "(cached) " >&6
22971 else
22974 ac_ext=cpp
22975 ac_cpp='$CXXCPP $CPPFLAGS'
22976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h. */
22982 #include <math.h>
22984 main ()
22986 _hypot(0, 0);
22988 return 0;
22990 _ACEOF
22991 if ac_fn_cxx_try_compile "$LINENO"; then :
22992 glibcxx_cv_func__hypot_use=yes
22993 else
22994 glibcxx_cv_func__hypot_use=no
22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23008 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23010 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23011 for ac_func in _hypot
23012 do :
23013 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23014 if test "x$ac_cv_func__hypot" = x""yes; then :
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE__HYPOT 1
23017 _ACEOF
23020 done
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23030 $as_echo_n "checking for float trig functions... " >&6; }
23031 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23032 $as_echo_n "(cached) " >&6
23033 else
23036 ac_ext=cpp
23037 ac_cpp='$CXXCPP $CPPFLAGS'
23038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23043 /* end confdefs.h. */
23044 #include <math.h>
23046 main ()
23048 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23050 return 0;
23052 _ACEOF
23053 if ac_fn_cxx_try_compile "$LINENO"; then :
23054 glibcxx_cv_func_float_trig_use=yes
23055 else
23056 glibcxx_cv_func_float_trig_use=no
23058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 ac_ext=c
23060 ac_cpp='$CPP $CPPFLAGS'
23061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23068 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23069 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23070 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23071 do :
23072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23074 eval as_val=\$$as_ac_var
23075 if test "x$as_val" = x""yes; then :
23076 cat >>confdefs.h <<_ACEOF
23077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23078 _ACEOF
23081 done
23083 else
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23085 $as_echo_n "checking for _float trig functions... " >&6; }
23086 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23087 $as_echo_n "(cached) " >&6
23088 else
23091 ac_ext=cpp
23092 ac_cpp='$CXXCPP $CPPFLAGS'
23093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23098 /* end confdefs.h. */
23099 #include <math.h>
23101 main ()
23103 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23105 return 0;
23107 _ACEOF
23108 if ac_fn_cxx_try_compile "$LINENO"; then :
23109 glibcxx_cv_func__float_trig_use=yes
23110 else
23111 glibcxx_cv_func__float_trig_use=no
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23123 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23124 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23125 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23126 do :
23127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23129 eval as_val=\$$as_ac_var
23130 if test "x$as_val" = x""yes; then :
23131 cat >>confdefs.h <<_ACEOF
23132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23133 _ACEOF
23136 done
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23146 $as_echo_n "checking for float round functions... " >&6; }
23147 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23148 $as_echo_n "(cached) " >&6
23149 else
23152 ac_ext=cpp
23153 ac_cpp='$CXXCPP $CPPFLAGS'
23154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23159 /* end confdefs.h. */
23160 #include <math.h>
23162 main ()
23164 ceilf (0); floorf (0);
23166 return 0;
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func_float_round_use=yes
23171 else
23172 glibcxx_cv_func_float_round_use=no
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23184 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23185 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23186 for ac_func in ceilf floorf
23187 do :
23188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23190 eval as_val=\$$as_ac_var
23191 if test "x$as_val" = x""yes; then :
23192 cat >>confdefs.h <<_ACEOF
23193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23194 _ACEOF
23197 done
23199 else
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23201 $as_echo_n "checking for _float round functions... " >&6; }
23202 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23215 #include <math.h>
23217 main ()
23219 _ceilf (0); _floorf (0);
23221 return 0;
23223 _ACEOF
23224 if ac_fn_cxx_try_compile "$LINENO"; then :
23225 glibcxx_cv_func__float_round_use=yes
23226 else
23227 glibcxx_cv_func__float_round_use=no
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 ac_ext=c
23231 ac_cpp='$CPP $CPPFLAGS'
23232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23239 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23240 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23241 for ac_func in _ceilf _floorf
23242 do :
23243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23245 eval as_val=\$$as_ac_var
23246 if test "x$as_val" = x""yes; then :
23247 cat >>confdefs.h <<_ACEOF
23248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23249 _ACEOF
23252 done
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23263 $as_echo_n "checking for expf declaration... " >&6; }
23264 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23265 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23266 $as_echo_n "(cached) " >&6
23267 else
23270 ac_ext=cpp
23271 ac_cpp='$CXXCPP $CPPFLAGS'
23272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23277 /* end confdefs.h. */
23278 #include <math.h>
23279 #ifdef HAVE_IEEEFP_H
23280 #include <ieeefp.h>
23281 #endif
23284 main ()
23286 expf(0);
23288 return 0;
23290 _ACEOF
23291 if ac_fn_cxx_try_compile "$LINENO"; then :
23292 glibcxx_cv_func_expf_use=yes
23293 else
23294 glibcxx_cv_func_expf_use=no
23296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23297 ac_ext=c
23298 ac_cpp='$CPP $CPPFLAGS'
23299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23308 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23310 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23311 for ac_func in expf
23312 do :
23313 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23314 if test "x$ac_cv_func_expf" = x""yes; then :
23315 cat >>confdefs.h <<_ACEOF
23316 #define HAVE_EXPF 1
23317 _ACEOF
23320 done
23322 else
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23325 $as_echo_n "checking for _expf declaration... " >&6; }
23326 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23327 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23328 $as_echo_n "(cached) " >&6
23329 else
23332 ac_ext=cpp
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23340 #include <math.h>
23341 #ifdef HAVE_IEEEFP_H
23342 #include <ieeefp.h>
23343 #endif
23346 main ()
23348 _expf(0);
23350 return 0;
23352 _ACEOF
23353 if ac_fn_cxx_try_compile "$LINENO"; then :
23354 glibcxx_cv_func__expf_use=yes
23355 else
23356 glibcxx_cv_func__expf_use=no
23358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23359 ac_ext=c
23360 ac_cpp='$CPP $CPPFLAGS'
23361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23370 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23372 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23373 for ac_func in _expf
23374 do :
23375 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23376 if test "x$ac_cv_func__expf" = x""yes; then :
23377 cat >>confdefs.h <<_ACEOF
23378 #define HAVE__EXPF 1
23379 _ACEOF
23382 done
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23392 $as_echo_n "checking for isnanf declaration... " >&6; }
23393 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23394 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23395 $as_echo_n "(cached) " >&6
23396 else
23399 ac_ext=cpp
23400 ac_cpp='$CXXCPP $CPPFLAGS'
23401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23406 /* end confdefs.h. */
23407 #include <math.h>
23408 #ifdef HAVE_IEEEFP_H
23409 #include <ieeefp.h>
23410 #endif
23413 main ()
23415 isnanf(0);
23417 return 0;
23419 _ACEOF
23420 if ac_fn_cxx_try_compile "$LINENO"; then :
23421 glibcxx_cv_func_isnanf_use=yes
23422 else
23423 glibcxx_cv_func_isnanf_use=no
23425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23426 ac_ext=c
23427 ac_cpp='$CPP $CPPFLAGS'
23428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23437 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23439 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23440 for ac_func in isnanf
23441 do :
23442 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23443 if test "x$ac_cv_func_isnanf" = x""yes; then :
23444 cat >>confdefs.h <<_ACEOF
23445 #define HAVE_ISNANF 1
23446 _ACEOF
23449 done
23451 else
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23454 $as_echo_n "checking for _isnanf declaration... " >&6; }
23455 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23456 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23457 $as_echo_n "(cached) " >&6
23458 else
23461 ac_ext=cpp
23462 ac_cpp='$CXXCPP $CPPFLAGS'
23463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23468 /* end confdefs.h. */
23469 #include <math.h>
23470 #ifdef HAVE_IEEEFP_H
23471 #include <ieeefp.h>
23472 #endif
23475 main ()
23477 _isnanf(0);
23479 return 0;
23481 _ACEOF
23482 if ac_fn_cxx_try_compile "$LINENO"; then :
23483 glibcxx_cv_func__isnanf_use=yes
23484 else
23485 glibcxx_cv_func__isnanf_use=no
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 ac_ext=c
23489 ac_cpp='$CPP $CPPFLAGS'
23490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23499 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23501 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23502 for ac_func in _isnanf
23503 do :
23504 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23505 if test "x$ac_cv_func__isnanf" = x""yes; then :
23506 cat >>confdefs.h <<_ACEOF
23507 #define HAVE__ISNANF 1
23508 _ACEOF
23511 done
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23521 $as_echo_n "checking for isinff declaration... " >&6; }
23522 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23523 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23524 $as_echo_n "(cached) " >&6
23525 else
23528 ac_ext=cpp
23529 ac_cpp='$CXXCPP $CPPFLAGS'
23530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23535 /* end confdefs.h. */
23536 #include <math.h>
23537 #ifdef HAVE_IEEEFP_H
23538 #include <ieeefp.h>
23539 #endif
23542 main ()
23544 isinff(0);
23546 return 0;
23548 _ACEOF
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550 glibcxx_cv_func_isinff_use=yes
23551 else
23552 glibcxx_cv_func_isinff_use=no
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 ac_ext=c
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23566 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23568 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23569 for ac_func in isinff
23570 do :
23571 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23572 if test "x$ac_cv_func_isinff" = x""yes; then :
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE_ISINFF 1
23575 _ACEOF
23578 done
23580 else
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23583 $as_echo_n "checking for _isinff declaration... " >&6; }
23584 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23585 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23590 ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23598 #include <math.h>
23599 #ifdef HAVE_IEEEFP_H
23600 #include <ieeefp.h>
23601 #endif
23604 main ()
23606 _isinff(0);
23608 return 0;
23610 _ACEOF
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612 glibcxx_cv_func__isinff_use=yes
23613 else
23614 glibcxx_cv_func__isinff_use=no
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23628 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23630 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23631 for ac_func in _isinff
23632 do :
23633 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23634 if test "x$ac_cv_func__isinff" = x""yes; then :
23635 cat >>confdefs.h <<_ACEOF
23636 #define HAVE__ISINFF 1
23637 _ACEOF
23640 done
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23650 $as_echo_n "checking for atan2f declaration... " >&6; }
23651 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23652 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23653 $as_echo_n "(cached) " >&6
23654 else
23657 ac_ext=cpp
23658 ac_cpp='$CXXCPP $CPPFLAGS'
23659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23664 /* end confdefs.h. */
23665 #include <math.h>
23667 main ()
23669 atan2f(0, 0);
23671 return 0;
23673 _ACEOF
23674 if ac_fn_cxx_try_compile "$LINENO"; then :
23675 glibcxx_cv_func_atan2f_use=yes
23676 else
23677 glibcxx_cv_func_atan2f_use=no
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 ac_ext=c
23681 ac_cpp='$CPP $CPPFLAGS'
23682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23691 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23693 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23694 for ac_func in atan2f
23695 do :
23696 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23697 if test "x$ac_cv_func_atan2f" = x""yes; then :
23698 cat >>confdefs.h <<_ACEOF
23699 #define HAVE_ATAN2F 1
23700 _ACEOF
23703 done
23705 else
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23708 $as_echo_n "checking for _atan2f declaration... " >&6; }
23709 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23710 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23711 $as_echo_n "(cached) " >&6
23712 else
23715 ac_ext=cpp
23716 ac_cpp='$CXXCPP $CPPFLAGS'
23717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23722 /* end confdefs.h. */
23723 #include <math.h>
23725 main ()
23727 _atan2f(0, 0);
23729 return 0;
23731 _ACEOF
23732 if ac_fn_cxx_try_compile "$LINENO"; then :
23733 glibcxx_cv_func__atan2f_use=yes
23734 else
23735 glibcxx_cv_func__atan2f_use=no
23737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23738 ac_ext=c
23739 ac_cpp='$CPP $CPPFLAGS'
23740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23749 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23751 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23752 for ac_func in _atan2f
23753 do :
23754 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23755 if test "x$ac_cv_func__atan2f" = x""yes; then :
23756 cat >>confdefs.h <<_ACEOF
23757 #define HAVE__ATAN2F 1
23758 _ACEOF
23761 done
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23771 $as_echo_n "checking for fabsf declaration... " >&6; }
23772 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23773 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23774 $as_echo_n "(cached) " >&6
23775 else
23778 ac_ext=cpp
23779 ac_cpp='$CXXCPP $CPPFLAGS'
23780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23785 /* end confdefs.h. */
23786 #include <math.h>
23787 #ifdef HAVE_IEEEFP_H
23788 #include <ieeefp.h>
23789 #endif
23792 main ()
23794 fabsf(0);
23796 return 0;
23798 _ACEOF
23799 if ac_fn_cxx_try_compile "$LINENO"; then :
23800 glibcxx_cv_func_fabsf_use=yes
23801 else
23802 glibcxx_cv_func_fabsf_use=no
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805 ac_ext=c
23806 ac_cpp='$CPP $CPPFLAGS'
23807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23816 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23818 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23819 for ac_func in fabsf
23820 do :
23821 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23822 if test "x$ac_cv_func_fabsf" = x""yes; then :
23823 cat >>confdefs.h <<_ACEOF
23824 #define HAVE_FABSF 1
23825 _ACEOF
23828 done
23830 else
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23833 $as_echo_n "checking for _fabsf declaration... " >&6; }
23834 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23835 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23836 $as_echo_n "(cached) " >&6
23837 else
23840 ac_ext=cpp
23841 ac_cpp='$CXXCPP $CPPFLAGS'
23842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23847 /* end confdefs.h. */
23848 #include <math.h>
23849 #ifdef HAVE_IEEEFP_H
23850 #include <ieeefp.h>
23851 #endif
23854 main ()
23856 _fabsf(0);
23858 return 0;
23860 _ACEOF
23861 if ac_fn_cxx_try_compile "$LINENO"; then :
23862 glibcxx_cv_func__fabsf_use=yes
23863 else
23864 glibcxx_cv_func__fabsf_use=no
23866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23867 ac_ext=c
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23878 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23880 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23881 for ac_func in _fabsf
23882 do :
23883 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23884 if test "x$ac_cv_func__fabsf" = x""yes; then :
23885 cat >>confdefs.h <<_ACEOF
23886 #define HAVE__FABSF 1
23887 _ACEOF
23890 done
23899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23900 $as_echo_n "checking for fmodf declaration... " >&6; }
23901 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23902 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23903 $as_echo_n "(cached) " >&6
23904 else
23907 ac_ext=cpp
23908 ac_cpp='$CXXCPP $CPPFLAGS'
23909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23914 /* end confdefs.h. */
23915 #include <math.h>
23917 main ()
23919 fmodf(0, 0);
23921 return 0;
23923 _ACEOF
23924 if ac_fn_cxx_try_compile "$LINENO"; then :
23925 glibcxx_cv_func_fmodf_use=yes
23926 else
23927 glibcxx_cv_func_fmodf_use=no
23929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23930 ac_ext=c
23931 ac_cpp='$CPP $CPPFLAGS'
23932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23941 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23943 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23944 for ac_func in fmodf
23945 do :
23946 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23947 if test "x$ac_cv_func_fmodf" = x""yes; then :
23948 cat >>confdefs.h <<_ACEOF
23949 #define HAVE_FMODF 1
23950 _ACEOF
23953 done
23955 else
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23958 $as_echo_n "checking for _fmodf declaration... " >&6; }
23959 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23960 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23961 $as_echo_n "(cached) " >&6
23962 else
23965 ac_ext=cpp
23966 ac_cpp='$CXXCPP $CPPFLAGS'
23967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23972 /* end confdefs.h. */
23973 #include <math.h>
23975 main ()
23977 _fmodf(0, 0);
23979 return 0;
23981 _ACEOF
23982 if ac_fn_cxx_try_compile "$LINENO"; then :
23983 glibcxx_cv_func__fmodf_use=yes
23984 else
23985 glibcxx_cv_func__fmodf_use=no
23987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23988 ac_ext=c
23989 ac_cpp='$CPP $CPPFLAGS'
23990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23999 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24001 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24002 for ac_func in _fmodf
24003 do :
24004 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24005 if test "x$ac_cv_func__fmodf" = x""yes; then :
24006 cat >>confdefs.h <<_ACEOF
24007 #define HAVE__FMODF 1
24008 _ACEOF
24011 done
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24021 $as_echo_n "checking for frexpf declaration... " >&6; }
24022 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24023 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24024 $as_echo_n "(cached) " >&6
24025 else
24028 ac_ext=cpp
24029 ac_cpp='$CXXCPP $CPPFLAGS'
24030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24035 /* end confdefs.h. */
24036 #include <math.h>
24038 main ()
24040 frexpf(0, 0);
24042 return 0;
24044 _ACEOF
24045 if ac_fn_cxx_try_compile "$LINENO"; then :
24046 glibcxx_cv_func_frexpf_use=yes
24047 else
24048 glibcxx_cv_func_frexpf_use=no
24050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24051 ac_ext=c
24052 ac_cpp='$CPP $CPPFLAGS'
24053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24062 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24064 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24065 for ac_func in frexpf
24066 do :
24067 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24068 if test "x$ac_cv_func_frexpf" = x""yes; then :
24069 cat >>confdefs.h <<_ACEOF
24070 #define HAVE_FREXPF 1
24071 _ACEOF
24074 done
24076 else
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24079 $as_echo_n "checking for _frexpf declaration... " >&6; }
24080 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24081 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24082 $as_echo_n "(cached) " >&6
24083 else
24086 ac_ext=cpp
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24094 #include <math.h>
24096 main ()
24098 _frexpf(0, 0);
24100 return 0;
24102 _ACEOF
24103 if ac_fn_cxx_try_compile "$LINENO"; then :
24104 glibcxx_cv_func__frexpf_use=yes
24105 else
24106 glibcxx_cv_func__frexpf_use=no
24108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24109 ac_ext=c
24110 ac_cpp='$CPP $CPPFLAGS'
24111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24120 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24122 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24123 for ac_func in _frexpf
24124 do :
24125 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24126 if test "x$ac_cv_func__frexpf" = x""yes; then :
24127 cat >>confdefs.h <<_ACEOF
24128 #define HAVE__FREXPF 1
24129 _ACEOF
24132 done
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24142 $as_echo_n "checking for hypotf declaration... " >&6; }
24143 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24144 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24145 $as_echo_n "(cached) " >&6
24146 else
24149 ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24157 #include <math.h>
24159 main ()
24161 hypotf(0, 0);
24163 return 0;
24165 _ACEOF
24166 if ac_fn_cxx_try_compile "$LINENO"; then :
24167 glibcxx_cv_func_hypotf_use=yes
24168 else
24169 glibcxx_cv_func_hypotf_use=no
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24183 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24185 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24186 for ac_func in hypotf
24187 do :
24188 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24189 if test "x$ac_cv_func_hypotf" = x""yes; then :
24190 cat >>confdefs.h <<_ACEOF
24191 #define HAVE_HYPOTF 1
24192 _ACEOF
24195 done
24197 else
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24200 $as_echo_n "checking for _hypotf declaration... " >&6; }
24201 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24202 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24203 $as_echo_n "(cached) " >&6
24204 else
24207 ac_ext=cpp
24208 ac_cpp='$CXXCPP $CPPFLAGS'
24209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h. */
24215 #include <math.h>
24217 main ()
24219 _hypotf(0, 0);
24221 return 0;
24223 _ACEOF
24224 if ac_fn_cxx_try_compile "$LINENO"; then :
24225 glibcxx_cv_func__hypotf_use=yes
24226 else
24227 glibcxx_cv_func__hypotf_use=no
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 ac_ext=c
24231 ac_cpp='$CPP $CPPFLAGS'
24232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24241 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24243 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24244 for ac_func in _hypotf
24245 do :
24246 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24247 if test "x$ac_cv_func__hypotf" = x""yes; then :
24248 cat >>confdefs.h <<_ACEOF
24249 #define HAVE__HYPOTF 1
24250 _ACEOF
24253 done
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24263 $as_echo_n "checking for ldexpf declaration... " >&6; }
24264 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24265 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24266 $as_echo_n "(cached) " >&6
24267 else
24270 ac_ext=cpp
24271 ac_cpp='$CXXCPP $CPPFLAGS'
24272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24277 /* end confdefs.h. */
24278 #include <math.h>
24280 main ()
24282 ldexpf(0, 0);
24284 return 0;
24286 _ACEOF
24287 if ac_fn_cxx_try_compile "$LINENO"; then :
24288 glibcxx_cv_func_ldexpf_use=yes
24289 else
24290 glibcxx_cv_func_ldexpf_use=no
24292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24293 ac_ext=c
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24304 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24306 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24307 for ac_func in ldexpf
24308 do :
24309 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24310 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24311 cat >>confdefs.h <<_ACEOF
24312 #define HAVE_LDEXPF 1
24313 _ACEOF
24316 done
24318 else
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24321 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24322 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24323 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24324 $as_echo_n "(cached) " >&6
24325 else
24328 ac_ext=cpp
24329 ac_cpp='$CXXCPP $CPPFLAGS'
24330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h. */
24336 #include <math.h>
24338 main ()
24340 _ldexpf(0, 0);
24342 return 0;
24344 _ACEOF
24345 if ac_fn_cxx_try_compile "$LINENO"; then :
24346 glibcxx_cv_func__ldexpf_use=yes
24347 else
24348 glibcxx_cv_func__ldexpf_use=no
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24362 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24364 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24365 for ac_func in _ldexpf
24366 do :
24367 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24368 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24369 cat >>confdefs.h <<_ACEOF
24370 #define HAVE__LDEXPF 1
24371 _ACEOF
24374 done
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24384 $as_echo_n "checking for logf declaration... " >&6; }
24385 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24386 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24387 $as_echo_n "(cached) " >&6
24388 else
24391 ac_ext=cpp
24392 ac_cpp='$CXXCPP $CPPFLAGS'
24393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24398 /* end confdefs.h. */
24399 #include <math.h>
24400 #ifdef HAVE_IEEEFP_H
24401 #include <ieeefp.h>
24402 #endif
24405 main ()
24407 logf(0);
24409 return 0;
24411 _ACEOF
24412 if ac_fn_cxx_try_compile "$LINENO"; then :
24413 glibcxx_cv_func_logf_use=yes
24414 else
24415 glibcxx_cv_func_logf_use=no
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 ac_ext=c
24419 ac_cpp='$CPP $CPPFLAGS'
24420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24429 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24431 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24432 for ac_func in logf
24433 do :
24434 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24435 if test "x$ac_cv_func_logf" = x""yes; then :
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE_LOGF 1
24438 _ACEOF
24441 done
24443 else
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24446 $as_echo_n "checking for _logf declaration... " >&6; }
24447 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24448 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24462 #ifdef HAVE_IEEEFP_H
24463 #include <ieeefp.h>
24464 #endif
24467 main ()
24469 _logf(0);
24471 return 0;
24473 _ACEOF
24474 if ac_fn_cxx_try_compile "$LINENO"; then :
24475 glibcxx_cv_func__logf_use=yes
24476 else
24477 glibcxx_cv_func__logf_use=no
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 ac_ext=c
24481 ac_cpp='$CPP $CPPFLAGS'
24482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24491 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24493 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24494 for ac_func in _logf
24495 do :
24496 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24497 if test "x$ac_cv_func__logf" = x""yes; then :
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE__LOGF 1
24500 _ACEOF
24503 done
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24513 $as_echo_n "checking for log10f declaration... " >&6; }
24514 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24515 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24516 $as_echo_n "(cached) " >&6
24517 else
24520 ac_ext=cpp
24521 ac_cpp='$CXXCPP $CPPFLAGS'
24522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24527 /* end confdefs.h. */
24528 #include <math.h>
24529 #ifdef HAVE_IEEEFP_H
24530 #include <ieeefp.h>
24531 #endif
24534 main ()
24536 log10f(0);
24538 return 0;
24540 _ACEOF
24541 if ac_fn_cxx_try_compile "$LINENO"; then :
24542 glibcxx_cv_func_log10f_use=yes
24543 else
24544 glibcxx_cv_func_log10f_use=no
24546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24547 ac_ext=c
24548 ac_cpp='$CPP $CPPFLAGS'
24549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24558 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24560 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24561 for ac_func in log10f
24562 do :
24563 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24564 if test "x$ac_cv_func_log10f" = x""yes; then :
24565 cat >>confdefs.h <<_ACEOF
24566 #define HAVE_LOG10F 1
24567 _ACEOF
24570 done
24572 else
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24575 $as_echo_n "checking for _log10f declaration... " >&6; }
24576 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24577 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24578 $as_echo_n "(cached) " >&6
24579 else
24582 ac_ext=cpp
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24589 /* end confdefs.h. */
24590 #include <math.h>
24591 #ifdef HAVE_IEEEFP_H
24592 #include <ieeefp.h>
24593 #endif
24596 main ()
24598 _log10f(0);
24600 return 0;
24602 _ACEOF
24603 if ac_fn_cxx_try_compile "$LINENO"; then :
24604 glibcxx_cv_func__log10f_use=yes
24605 else
24606 glibcxx_cv_func__log10f_use=no
24608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24609 ac_ext=c
24610 ac_cpp='$CPP $CPPFLAGS'
24611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24620 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24622 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24623 for ac_func in _log10f
24624 do :
24625 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24626 if test "x$ac_cv_func__log10f" = x""yes; then :
24627 cat >>confdefs.h <<_ACEOF
24628 #define HAVE__LOG10F 1
24629 _ACEOF
24632 done
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24642 $as_echo_n "checking for modff declaration... " >&6; }
24643 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24644 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24645 $as_echo_n "(cached) " >&6
24646 else
24649 ac_ext=cpp
24650 ac_cpp='$CXXCPP $CPPFLAGS'
24651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24656 /* end confdefs.h. */
24657 #include <math.h>
24659 main ()
24661 modff(0, 0);
24663 return 0;
24665 _ACEOF
24666 if ac_fn_cxx_try_compile "$LINENO"; then :
24667 glibcxx_cv_func_modff_use=yes
24668 else
24669 glibcxx_cv_func_modff_use=no
24671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24672 ac_ext=c
24673 ac_cpp='$CPP $CPPFLAGS'
24674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24683 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24685 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24686 for ac_func in modff
24687 do :
24688 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24689 if test "x$ac_cv_func_modff" = x""yes; then :
24690 cat >>confdefs.h <<_ACEOF
24691 #define HAVE_MODFF 1
24692 _ACEOF
24695 done
24697 else
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24700 $as_echo_n "checking for _modff declaration... " >&6; }
24701 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24702 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24703 $as_echo_n "(cached) " >&6
24704 else
24707 ac_ext=cpp
24708 ac_cpp='$CXXCPP $CPPFLAGS'
24709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24714 /* end confdefs.h. */
24715 #include <math.h>
24717 main ()
24719 _modff(0, 0);
24721 return 0;
24723 _ACEOF
24724 if ac_fn_cxx_try_compile "$LINENO"; then :
24725 glibcxx_cv_func__modff_use=yes
24726 else
24727 glibcxx_cv_func__modff_use=no
24729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24730 ac_ext=c
24731 ac_cpp='$CPP $CPPFLAGS'
24732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24741 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24743 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24744 for ac_func in _modff
24745 do :
24746 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24747 if test "x$ac_cv_func__modff" = x""yes; then :
24748 cat >>confdefs.h <<_ACEOF
24749 #define HAVE__MODFF 1
24750 _ACEOF
24753 done
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24763 $as_echo_n "checking for modf declaration... " >&6; }
24764 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24765 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24766 $as_echo_n "(cached) " >&6
24767 else
24770 ac_ext=cpp
24771 ac_cpp='$CXXCPP $CPPFLAGS'
24772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24777 /* end confdefs.h. */
24778 #include <math.h>
24780 main ()
24782 modf(0, 0);
24784 return 0;
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788 glibcxx_cv_func_modf_use=yes
24789 else
24790 glibcxx_cv_func_modf_use=no
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793 ac_ext=c
24794 ac_cpp='$CPP $CPPFLAGS'
24795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24804 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24806 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24807 for ac_func in modf
24808 do :
24809 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24810 if test "x$ac_cv_func_modf" = x""yes; then :
24811 cat >>confdefs.h <<_ACEOF
24812 #define HAVE_MODF 1
24813 _ACEOF
24816 done
24818 else
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24821 $as_echo_n "checking for _modf declaration... " >&6; }
24822 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24823 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24824 $as_echo_n "(cached) " >&6
24825 else
24828 ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24835 /* end confdefs.h. */
24836 #include <math.h>
24838 main ()
24840 _modf(0, 0);
24842 return 0;
24844 _ACEOF
24845 if ac_fn_cxx_try_compile "$LINENO"; then :
24846 glibcxx_cv_func__modf_use=yes
24847 else
24848 glibcxx_cv_func__modf_use=no
24850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24851 ac_ext=c
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24862 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24864 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24865 for ac_func in _modf
24866 do :
24867 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24868 if test "x$ac_cv_func__modf" = x""yes; then :
24869 cat >>confdefs.h <<_ACEOF
24870 #define HAVE__MODF 1
24871 _ACEOF
24874 done
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24884 $as_echo_n "checking for powf declaration... " >&6; }
24885 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24886 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24887 $as_echo_n "(cached) " >&6
24888 else
24891 ac_ext=cpp
24892 ac_cpp='$CXXCPP $CPPFLAGS'
24893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h. */
24899 #include <math.h>
24901 main ()
24903 powf(0, 0);
24905 return 0;
24907 _ACEOF
24908 if ac_fn_cxx_try_compile "$LINENO"; then :
24909 glibcxx_cv_func_powf_use=yes
24910 else
24911 glibcxx_cv_func_powf_use=no
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914 ac_ext=c
24915 ac_cpp='$CPP $CPPFLAGS'
24916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24925 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24927 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24928 for ac_func in powf
24929 do :
24930 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24931 if test "x$ac_cv_func_powf" = x""yes; then :
24932 cat >>confdefs.h <<_ACEOF
24933 #define HAVE_POWF 1
24934 _ACEOF
24937 done
24939 else
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24942 $as_echo_n "checking for _powf declaration... " >&6; }
24943 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24944 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24945 $as_echo_n "(cached) " >&6
24946 else
24949 ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24956 /* end confdefs.h. */
24957 #include <math.h>
24959 main ()
24961 _powf(0, 0);
24963 return 0;
24965 _ACEOF
24966 if ac_fn_cxx_try_compile "$LINENO"; then :
24967 glibcxx_cv_func__powf_use=yes
24968 else
24969 glibcxx_cv_func__powf_use=no
24971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24972 ac_ext=c
24973 ac_cpp='$CPP $CPPFLAGS'
24974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24983 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24985 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24986 for ac_func in _powf
24987 do :
24988 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24989 if test "x$ac_cv_func__powf" = x""yes; then :
24990 cat >>confdefs.h <<_ACEOF
24991 #define HAVE__POWF 1
24992 _ACEOF
24995 done
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25005 $as_echo_n "checking for sqrtf declaration... " >&6; }
25006 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25007 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25008 $as_echo_n "(cached) " >&6
25009 else
25012 ac_ext=cpp
25013 ac_cpp='$CXXCPP $CPPFLAGS'
25014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25020 #include <math.h>
25021 #ifdef HAVE_IEEEFP_H
25022 #include <ieeefp.h>
25023 #endif
25026 main ()
25028 sqrtf(0);
25030 return 0;
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func_sqrtf_use=yes
25035 else
25036 glibcxx_cv_func_sqrtf_use=no
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25050 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25052 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25053 for ac_func in sqrtf
25054 do :
25055 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25056 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE_SQRTF 1
25059 _ACEOF
25062 done
25064 else
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25067 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25068 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25069 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25070 $as_echo_n "(cached) " >&6
25071 else
25074 ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25081 /* end confdefs.h. */
25082 #include <math.h>
25083 #ifdef HAVE_IEEEFP_H
25084 #include <ieeefp.h>
25085 #endif
25088 main ()
25090 _sqrtf(0);
25092 return 0;
25094 _ACEOF
25095 if ac_fn_cxx_try_compile "$LINENO"; then :
25096 glibcxx_cv_func__sqrtf_use=yes
25097 else
25098 glibcxx_cv_func__sqrtf_use=no
25100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 ac_ext=c
25102 ac_cpp='$CPP $CPPFLAGS'
25103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25112 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25114 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25115 for ac_func in _sqrtf
25116 do :
25117 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25118 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25119 cat >>confdefs.h <<_ACEOF
25120 #define HAVE__SQRTF 1
25121 _ACEOF
25124 done
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25134 $as_echo_n "checking for sincosf declaration... " >&6; }
25135 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25136 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25137 $as_echo_n "(cached) " >&6
25138 else
25141 ac_ext=cpp
25142 ac_cpp='$CXXCPP $CPPFLAGS'
25143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h. */
25149 #include <math.h>
25151 main ()
25153 sincosf(0, 0, 0);
25155 return 0;
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159 glibcxx_cv_func_sincosf_use=yes
25160 else
25161 glibcxx_cv_func_sincosf_use=no
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25175 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25177 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25178 for ac_func in sincosf
25179 do :
25180 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25181 if test "x$ac_cv_func_sincosf" = x""yes; then :
25182 cat >>confdefs.h <<_ACEOF
25183 #define HAVE_SINCOSF 1
25184 _ACEOF
25187 done
25189 else
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25192 $as_echo_n "checking for _sincosf declaration... " >&6; }
25193 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25194 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25209 main ()
25211 _sincosf(0, 0, 0);
25213 return 0;
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func__sincosf_use=yes
25218 else
25219 glibcxx_cv_func__sincosf_use=no
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25233 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25235 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25236 for ac_func in _sincosf
25237 do :
25238 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25239 if test "x$ac_cv_func__sincosf" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE__SINCOSF 1
25242 _ACEOF
25245 done
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25255 $as_echo_n "checking for finitef declaration... " >&6; }
25256 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25257 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25258 $as_echo_n "(cached) " >&6
25259 else
25262 ac_ext=cpp
25263 ac_cpp='$CXXCPP $CPPFLAGS'
25264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h. */
25270 #include <math.h>
25271 #ifdef HAVE_IEEEFP_H
25272 #include <ieeefp.h>
25273 #endif
25276 main ()
25278 finitef(0);
25280 return 0;
25282 _ACEOF
25283 if ac_fn_cxx_try_compile "$LINENO"; then :
25284 glibcxx_cv_func_finitef_use=yes
25285 else
25286 glibcxx_cv_func_finitef_use=no
25288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289 ac_ext=c
25290 ac_cpp='$CPP $CPPFLAGS'
25291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25300 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25302 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25303 for ac_func in finitef
25304 do :
25305 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25306 if test "x$ac_cv_func_finitef" = x""yes; then :
25307 cat >>confdefs.h <<_ACEOF
25308 #define HAVE_FINITEF 1
25309 _ACEOF
25312 done
25314 else
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25317 $as_echo_n "checking for _finitef declaration... " >&6; }
25318 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25319 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25320 $as_echo_n "(cached) " >&6
25321 else
25324 ac_ext=cpp
25325 ac_cpp='$CXXCPP $CPPFLAGS'
25326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25331 /* end confdefs.h. */
25332 #include <math.h>
25333 #ifdef HAVE_IEEEFP_H
25334 #include <ieeefp.h>
25335 #endif
25338 main ()
25340 _finitef(0);
25342 return 0;
25344 _ACEOF
25345 if ac_fn_cxx_try_compile "$LINENO"; then :
25346 glibcxx_cv_func__finitef_use=yes
25347 else
25348 glibcxx_cv_func__finitef_use=no
25350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25351 ac_ext=c
25352 ac_cpp='$CPP $CPPFLAGS'
25353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25362 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25364 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25365 for ac_func in _finitef
25366 do :
25367 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25368 if test "x$ac_cv_func__finitef" = x""yes; then :
25369 cat >>confdefs.h <<_ACEOF
25370 #define HAVE__FINITEF 1
25371 _ACEOF
25374 done
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25384 $as_echo_n "checking for long double trig functions... " >&6; }
25385 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25386 $as_echo_n "(cached) " >&6
25387 else
25390 ac_ext=cpp
25391 ac_cpp='$CXXCPP $CPPFLAGS'
25392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25397 /* end confdefs.h. */
25398 #include <math.h>
25400 main ()
25402 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25404 return 0;
25406 _ACEOF
25407 if ac_fn_cxx_try_compile "$LINENO"; then :
25408 glibcxx_cv_func_long_double_trig_use=yes
25409 else
25410 glibcxx_cv_func_long_double_trig_use=no
25412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25413 ac_ext=c
25414 ac_cpp='$CPP $CPPFLAGS'
25415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25422 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25423 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25424 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25425 do :
25426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25428 eval as_val=\$$as_ac_var
25429 if test "x$as_val" = x""yes; then :
25430 cat >>confdefs.h <<_ACEOF
25431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25432 _ACEOF
25435 done
25437 else
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25439 $as_echo_n "checking for _long double trig functions... " >&6; }
25440 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25441 $as_echo_n "(cached) " >&6
25442 else
25445 ac_ext=cpp
25446 ac_cpp='$CXXCPP $CPPFLAGS'
25447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 #include <math.h>
25455 main ()
25457 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25459 return 0;
25461 _ACEOF
25462 if ac_fn_cxx_try_compile "$LINENO"; then :
25463 glibcxx_cv_func__long_double_trig_use=yes
25464 else
25465 glibcxx_cv_func__long_double_trig_use=no
25467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25468 ac_ext=c
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25477 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25478 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25479 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25480 do :
25481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25483 eval as_val=\$$as_ac_var
25484 if test "x$as_val" = x""yes; then :
25485 cat >>confdefs.h <<_ACEOF
25486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25487 _ACEOF
25490 done
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25500 $as_echo_n "checking for long double round functions... " >&6; }
25501 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25502 $as_echo_n "(cached) " >&6
25503 else
25506 ac_ext=cpp
25507 ac_cpp='$CXXCPP $CPPFLAGS'
25508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25513 /* end confdefs.h. */
25514 #include <math.h>
25516 main ()
25518 ceill (0); floorl (0);
25520 return 0;
25522 _ACEOF
25523 if ac_fn_cxx_try_compile "$LINENO"; then :
25524 glibcxx_cv_func_long_double_round_use=yes
25525 else
25526 glibcxx_cv_func_long_double_round_use=no
25528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25529 ac_ext=c
25530 ac_cpp='$CPP $CPPFLAGS'
25531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25538 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25539 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25540 for ac_func in ceill floorl
25541 do :
25542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25544 eval as_val=\$$as_ac_var
25545 if test "x$as_val" = x""yes; then :
25546 cat >>confdefs.h <<_ACEOF
25547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25548 _ACEOF
25551 done
25553 else
25554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25555 $as_echo_n "checking for _long double round functions... " >&6; }
25556 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25557 $as_echo_n "(cached) " >&6
25558 else
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25569 #include <math.h>
25571 main ()
25573 _ceill (0); _floorl (0);
25575 return 0;
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func__long_double_round_use=yes
25580 else
25581 glibcxx_cv_func__long_double_round_use=no
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25593 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25594 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25595 for ac_func in _ceill _floorl
25596 do :
25597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25599 eval as_val=\$$as_ac_var
25600 if test "x$as_val" = x""yes; then :
25601 cat >>confdefs.h <<_ACEOF
25602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25603 _ACEOF
25606 done
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25617 $as_echo_n "checking for isnanl declaration... " >&6; }
25618 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25619 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25620 $as_echo_n "(cached) " >&6
25621 else
25624 ac_ext=cpp
25625 ac_cpp='$CXXCPP $CPPFLAGS'
25626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25631 /* end confdefs.h. */
25632 #include <math.h>
25633 #ifdef HAVE_IEEEFP_H
25634 #include <ieeefp.h>
25635 #endif
25638 main ()
25640 isnanl(0);
25642 return 0;
25644 _ACEOF
25645 if ac_fn_cxx_try_compile "$LINENO"; then :
25646 glibcxx_cv_func_isnanl_use=yes
25647 else
25648 glibcxx_cv_func_isnanl_use=no
25650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25651 ac_ext=c
25652 ac_cpp='$CPP $CPPFLAGS'
25653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25662 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25664 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25665 for ac_func in isnanl
25666 do :
25667 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25668 if test "x$ac_cv_func_isnanl" = x""yes; then :
25669 cat >>confdefs.h <<_ACEOF
25670 #define HAVE_ISNANL 1
25671 _ACEOF
25674 done
25676 else
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25679 $as_echo_n "checking for _isnanl declaration... " >&6; }
25680 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25681 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25682 $as_echo_n "(cached) " >&6
25683 else
25686 ac_ext=cpp
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25693 /* end confdefs.h. */
25694 #include <math.h>
25695 #ifdef HAVE_IEEEFP_H
25696 #include <ieeefp.h>
25697 #endif
25700 main ()
25702 _isnanl(0);
25704 return 0;
25706 _ACEOF
25707 if ac_fn_cxx_try_compile "$LINENO"; then :
25708 glibcxx_cv_func__isnanl_use=yes
25709 else
25710 glibcxx_cv_func__isnanl_use=no
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 ac_ext=c
25714 ac_cpp='$CPP $CPPFLAGS'
25715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25724 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25726 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25727 for ac_func in _isnanl
25728 do :
25729 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25730 if test "x$ac_cv_func__isnanl" = x""yes; then :
25731 cat >>confdefs.h <<_ACEOF
25732 #define HAVE__ISNANL 1
25733 _ACEOF
25736 done
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25746 $as_echo_n "checking for isinfl declaration... " >&6; }
25747 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25748 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25749 $as_echo_n "(cached) " >&6
25750 else
25753 ac_ext=cpp
25754 ac_cpp='$CXXCPP $CPPFLAGS'
25755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25761 #include <math.h>
25762 #ifdef HAVE_IEEEFP_H
25763 #include <ieeefp.h>
25764 #endif
25767 main ()
25769 isinfl(0);
25771 return 0;
25773 _ACEOF
25774 if ac_fn_cxx_try_compile "$LINENO"; then :
25775 glibcxx_cv_func_isinfl_use=yes
25776 else
25777 glibcxx_cv_func_isinfl_use=no
25779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25780 ac_ext=c
25781 ac_cpp='$CPP $CPPFLAGS'
25782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25791 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25793 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25794 for ac_func in isinfl
25795 do :
25796 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25797 if test "x$ac_cv_func_isinfl" = x""yes; then :
25798 cat >>confdefs.h <<_ACEOF
25799 #define HAVE_ISINFL 1
25800 _ACEOF
25803 done
25805 else
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25808 $as_echo_n "checking for _isinfl declaration... " >&6; }
25809 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25810 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25811 $as_echo_n "(cached) " >&6
25812 else
25815 ac_ext=cpp
25816 ac_cpp='$CXXCPP $CPPFLAGS'
25817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25822 /* end confdefs.h. */
25823 #include <math.h>
25824 #ifdef HAVE_IEEEFP_H
25825 #include <ieeefp.h>
25826 #endif
25829 main ()
25831 _isinfl(0);
25833 return 0;
25835 _ACEOF
25836 if ac_fn_cxx_try_compile "$LINENO"; then :
25837 glibcxx_cv_func__isinfl_use=yes
25838 else
25839 glibcxx_cv_func__isinfl_use=no
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842 ac_ext=c
25843 ac_cpp='$CPP $CPPFLAGS'
25844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25853 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25855 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25856 for ac_func in _isinfl
25857 do :
25858 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25859 if test "x$ac_cv_func__isinfl" = x""yes; then :
25860 cat >>confdefs.h <<_ACEOF
25861 #define HAVE__ISINFL 1
25862 _ACEOF
25865 done
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25875 $as_echo_n "checking for atan2l declaration... " >&6; }
25876 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25877 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25878 $as_echo_n "(cached) " >&6
25879 else
25882 ac_ext=cpp
25883 ac_cpp='$CXXCPP $CPPFLAGS'
25884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25889 /* end confdefs.h. */
25890 #include <math.h>
25892 main ()
25894 atan2l(0, 0);
25896 return 0;
25898 _ACEOF
25899 if ac_fn_cxx_try_compile "$LINENO"; then :
25900 glibcxx_cv_func_atan2l_use=yes
25901 else
25902 glibcxx_cv_func_atan2l_use=no
25904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25905 ac_ext=c
25906 ac_cpp='$CPP $CPPFLAGS'
25907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25916 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25918 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25919 for ac_func in atan2l
25920 do :
25921 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25922 if test "x$ac_cv_func_atan2l" = x""yes; then :
25923 cat >>confdefs.h <<_ACEOF
25924 #define HAVE_ATAN2L 1
25925 _ACEOF
25928 done
25930 else
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25933 $as_echo_n "checking for _atan2l declaration... " >&6; }
25934 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25935 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25936 $as_echo_n "(cached) " >&6
25937 else
25940 ac_ext=cpp
25941 ac_cpp='$CXXCPP $CPPFLAGS'
25942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25948 #include <math.h>
25950 main ()
25952 _atan2l(0, 0);
25954 return 0;
25956 _ACEOF
25957 if ac_fn_cxx_try_compile "$LINENO"; then :
25958 glibcxx_cv_func__atan2l_use=yes
25959 else
25960 glibcxx_cv_func__atan2l_use=no
25962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25963 ac_ext=c
25964 ac_cpp='$CPP $CPPFLAGS'
25965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25974 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25976 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25977 for ac_func in _atan2l
25978 do :
25979 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25980 if test "x$ac_cv_func__atan2l" = x""yes; then :
25981 cat >>confdefs.h <<_ACEOF
25982 #define HAVE__ATAN2L 1
25983 _ACEOF
25986 done
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25996 $as_echo_n "checking for expl declaration... " >&6; }
25997 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25998 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25999 $as_echo_n "(cached) " >&6
26000 else
26003 ac_ext=cpp
26004 ac_cpp='$CXXCPP $CPPFLAGS'
26005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26010 /* end confdefs.h. */
26011 #include <math.h>
26012 #ifdef HAVE_IEEEFP_H
26013 #include <ieeefp.h>
26014 #endif
26017 main ()
26019 expl(0);
26021 return 0;
26023 _ACEOF
26024 if ac_fn_cxx_try_compile "$LINENO"; then :
26025 glibcxx_cv_func_expl_use=yes
26026 else
26027 glibcxx_cv_func_expl_use=no
26029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26030 ac_ext=c
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26041 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26043 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26044 for ac_func in expl
26045 do :
26046 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26047 if test "x$ac_cv_func_expl" = x""yes; then :
26048 cat >>confdefs.h <<_ACEOF
26049 #define HAVE_EXPL 1
26050 _ACEOF
26053 done
26055 else
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26058 $as_echo_n "checking for _expl declaration... " >&6; }
26059 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26060 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26061 $as_echo_n "(cached) " >&6
26062 else
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26072 /* end confdefs.h. */
26073 #include <math.h>
26074 #ifdef HAVE_IEEEFP_H
26075 #include <ieeefp.h>
26076 #endif
26079 main ()
26081 _expl(0);
26083 return 0;
26085 _ACEOF
26086 if ac_fn_cxx_try_compile "$LINENO"; then :
26087 glibcxx_cv_func__expl_use=yes
26088 else
26089 glibcxx_cv_func__expl_use=no
26091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26092 ac_ext=c
26093 ac_cpp='$CPP $CPPFLAGS'
26094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26103 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26105 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26106 for ac_func in _expl
26107 do :
26108 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26109 if test "x$ac_cv_func__expl" = x""yes; then :
26110 cat >>confdefs.h <<_ACEOF
26111 #define HAVE__EXPL 1
26112 _ACEOF
26115 done
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26125 $as_echo_n "checking for fabsl declaration... " >&6; }
26126 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26127 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26128 $as_echo_n "(cached) " >&6
26129 else
26132 ac_ext=cpp
26133 ac_cpp='$CXXCPP $CPPFLAGS'
26134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h. */
26140 #include <math.h>
26141 #ifdef HAVE_IEEEFP_H
26142 #include <ieeefp.h>
26143 #endif
26146 main ()
26148 fabsl(0);
26150 return 0;
26152 _ACEOF
26153 if ac_fn_cxx_try_compile "$LINENO"; then :
26154 glibcxx_cv_func_fabsl_use=yes
26155 else
26156 glibcxx_cv_func_fabsl_use=no
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26159 ac_ext=c
26160 ac_cpp='$CPP $CPPFLAGS'
26161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26170 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26172 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26173 for ac_func in fabsl
26174 do :
26175 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26176 if test "x$ac_cv_func_fabsl" = x""yes; then :
26177 cat >>confdefs.h <<_ACEOF
26178 #define HAVE_FABSL 1
26179 _ACEOF
26182 done
26184 else
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26187 $as_echo_n "checking for _fabsl declaration... " >&6; }
26188 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26189 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26190 $as_echo_n "(cached) " >&6
26191 else
26194 ac_ext=cpp
26195 ac_cpp='$CXXCPP $CPPFLAGS'
26196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26201 /* end confdefs.h. */
26202 #include <math.h>
26203 #ifdef HAVE_IEEEFP_H
26204 #include <ieeefp.h>
26205 #endif
26208 main ()
26210 _fabsl(0);
26212 return 0;
26214 _ACEOF
26215 if ac_fn_cxx_try_compile "$LINENO"; then :
26216 glibcxx_cv_func__fabsl_use=yes
26217 else
26218 glibcxx_cv_func__fabsl_use=no
26220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26221 ac_ext=c
26222 ac_cpp='$CPP $CPPFLAGS'
26223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26232 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26234 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26235 for ac_func in _fabsl
26236 do :
26237 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26238 if test "x$ac_cv_func__fabsl" = x""yes; then :
26239 cat >>confdefs.h <<_ACEOF
26240 #define HAVE__FABSL 1
26241 _ACEOF
26244 done
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26254 $as_echo_n "checking for fmodl declaration... " >&6; }
26255 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26256 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26257 $as_echo_n "(cached) " >&6
26258 else
26261 ac_ext=cpp
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26268 /* end confdefs.h. */
26269 #include <math.h>
26271 main ()
26273 fmodl(0, 0);
26275 return 0;
26277 _ACEOF
26278 if ac_fn_cxx_try_compile "$LINENO"; then :
26279 glibcxx_cv_func_fmodl_use=yes
26280 else
26281 glibcxx_cv_func_fmodl_use=no
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 ac_ext=c
26285 ac_cpp='$CPP $CPPFLAGS'
26286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26295 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26297 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26298 for ac_func in fmodl
26299 do :
26300 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26301 if test "x$ac_cv_func_fmodl" = x""yes; then :
26302 cat >>confdefs.h <<_ACEOF
26303 #define HAVE_FMODL 1
26304 _ACEOF
26307 done
26309 else
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26312 $as_echo_n "checking for _fmodl declaration... " >&6; }
26313 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26314 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26315 $as_echo_n "(cached) " >&6
26316 else
26319 ac_ext=cpp
26320 ac_cpp='$CXXCPP $CPPFLAGS'
26321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26326 /* end confdefs.h. */
26327 #include <math.h>
26329 main ()
26331 _fmodl(0, 0);
26333 return 0;
26335 _ACEOF
26336 if ac_fn_cxx_try_compile "$LINENO"; then :
26337 glibcxx_cv_func__fmodl_use=yes
26338 else
26339 glibcxx_cv_func__fmodl_use=no
26341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26342 ac_ext=c
26343 ac_cpp='$CPP $CPPFLAGS'
26344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26353 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26355 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26356 for ac_func in _fmodl
26357 do :
26358 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26359 if test "x$ac_cv_func__fmodl" = x""yes; then :
26360 cat >>confdefs.h <<_ACEOF
26361 #define HAVE__FMODL 1
26362 _ACEOF
26365 done
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26375 $as_echo_n "checking for frexpl declaration... " >&6; }
26376 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26377 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26378 $as_echo_n "(cached) " >&6
26379 else
26382 ac_ext=cpp
26383 ac_cpp='$CXXCPP $CPPFLAGS'
26384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26389 /* end confdefs.h. */
26390 #include <math.h>
26392 main ()
26394 frexpl(0, 0);
26396 return 0;
26398 _ACEOF
26399 if ac_fn_cxx_try_compile "$LINENO"; then :
26400 glibcxx_cv_func_frexpl_use=yes
26401 else
26402 glibcxx_cv_func_frexpl_use=no
26404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26405 ac_ext=c
26406 ac_cpp='$CPP $CPPFLAGS'
26407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26416 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26418 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26419 for ac_func in frexpl
26420 do :
26421 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26422 if test "x$ac_cv_func_frexpl" = x""yes; then :
26423 cat >>confdefs.h <<_ACEOF
26424 #define HAVE_FREXPL 1
26425 _ACEOF
26428 done
26430 else
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26433 $as_echo_n "checking for _frexpl declaration... " >&6; }
26434 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26435 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26436 $as_echo_n "(cached) " >&6
26437 else
26440 ac_ext=cpp
26441 ac_cpp='$CXXCPP $CPPFLAGS'
26442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26447 /* end confdefs.h. */
26448 #include <math.h>
26450 main ()
26452 _frexpl(0, 0);
26454 return 0;
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func__frexpl_use=yes
26459 else
26460 glibcxx_cv_func__frexpl_use=no
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26474 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26476 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26477 for ac_func in _frexpl
26478 do :
26479 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26480 if test "x$ac_cv_func__frexpl" = x""yes; then :
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE__FREXPL 1
26483 _ACEOF
26486 done
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26496 $as_echo_n "checking for hypotl declaration... " >&6; }
26497 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26498 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26499 $as_echo_n "(cached) " >&6
26500 else
26503 ac_ext=cpp
26504 ac_cpp='$CXXCPP $CPPFLAGS'
26505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26510 /* end confdefs.h. */
26511 #include <math.h>
26513 main ()
26515 hypotl(0, 0);
26517 return 0;
26519 _ACEOF
26520 if ac_fn_cxx_try_compile "$LINENO"; then :
26521 glibcxx_cv_func_hypotl_use=yes
26522 else
26523 glibcxx_cv_func_hypotl_use=no
26525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26526 ac_ext=c
26527 ac_cpp='$CPP $CPPFLAGS'
26528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26537 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26539 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26540 for ac_func in hypotl
26541 do :
26542 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26543 if test "x$ac_cv_func_hypotl" = x""yes; then :
26544 cat >>confdefs.h <<_ACEOF
26545 #define HAVE_HYPOTL 1
26546 _ACEOF
26549 done
26551 else
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26554 $as_echo_n "checking for _hypotl declaration... " >&6; }
26555 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26556 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26557 $as_echo_n "(cached) " >&6
26558 else
26561 ac_ext=cpp
26562 ac_cpp='$CXXCPP $CPPFLAGS'
26563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26568 /* end confdefs.h. */
26569 #include <math.h>
26571 main ()
26573 _hypotl(0, 0);
26575 return 0;
26577 _ACEOF
26578 if ac_fn_cxx_try_compile "$LINENO"; then :
26579 glibcxx_cv_func__hypotl_use=yes
26580 else
26581 glibcxx_cv_func__hypotl_use=no
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_ext=c
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26595 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26597 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26598 for ac_func in _hypotl
26599 do :
26600 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26601 if test "x$ac_cv_func__hypotl" = x""yes; then :
26602 cat >>confdefs.h <<_ACEOF
26603 #define HAVE__HYPOTL 1
26604 _ACEOF
26607 done
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26617 $as_echo_n "checking for ldexpl declaration... " >&6; }
26618 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26619 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <math.h>
26634 main ()
26636 ldexpl(0, 0);
26638 return 0;
26640 _ACEOF
26641 if ac_fn_cxx_try_compile "$LINENO"; then :
26642 glibcxx_cv_func_ldexpl_use=yes
26643 else
26644 glibcxx_cv_func_ldexpl_use=no
26646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26647 ac_ext=c
26648 ac_cpp='$CPP $CPPFLAGS'
26649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26658 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26660 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26661 for ac_func in ldexpl
26662 do :
26663 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26664 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26665 cat >>confdefs.h <<_ACEOF
26666 #define HAVE_LDEXPL 1
26667 _ACEOF
26670 done
26672 else
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26675 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26676 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26677 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26678 $as_echo_n "(cached) " >&6
26679 else
26682 ac_ext=cpp
26683 ac_cpp='$CXXCPP $CPPFLAGS'
26684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26689 /* end confdefs.h. */
26690 #include <math.h>
26692 main ()
26694 _ldexpl(0, 0);
26696 return 0;
26698 _ACEOF
26699 if ac_fn_cxx_try_compile "$LINENO"; then :
26700 glibcxx_cv_func__ldexpl_use=yes
26701 else
26702 glibcxx_cv_func__ldexpl_use=no
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 ac_ext=c
26706 ac_cpp='$CPP $CPPFLAGS'
26707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26716 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26718 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26719 for ac_func in _ldexpl
26720 do :
26721 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26722 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26723 cat >>confdefs.h <<_ACEOF
26724 #define HAVE__LDEXPL 1
26725 _ACEOF
26728 done
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26738 $as_echo_n "checking for logl declaration... " >&6; }
26739 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26740 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26741 $as_echo_n "(cached) " >&6
26742 else
26745 ac_ext=cpp
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26752 /* end confdefs.h. */
26753 #include <math.h>
26754 #ifdef HAVE_IEEEFP_H
26755 #include <ieeefp.h>
26756 #endif
26759 main ()
26761 logl(0);
26763 return 0;
26765 _ACEOF
26766 if ac_fn_cxx_try_compile "$LINENO"; then :
26767 glibcxx_cv_func_logl_use=yes
26768 else
26769 glibcxx_cv_func_logl_use=no
26771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26772 ac_ext=c
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26783 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26785 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26786 for ac_func in logl
26787 do :
26788 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26789 if test "x$ac_cv_func_logl" = x""yes; then :
26790 cat >>confdefs.h <<_ACEOF
26791 #define HAVE_LOGL 1
26792 _ACEOF
26795 done
26797 else
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26800 $as_echo_n "checking for _logl declaration... " >&6; }
26801 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26802 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26803 $as_echo_n "(cached) " >&6
26804 else
26807 ac_ext=cpp
26808 ac_cpp='$CXXCPP $CPPFLAGS'
26809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26814 /* end confdefs.h. */
26815 #include <math.h>
26816 #ifdef HAVE_IEEEFP_H
26817 #include <ieeefp.h>
26818 #endif
26821 main ()
26823 _logl(0);
26825 return 0;
26827 _ACEOF
26828 if ac_fn_cxx_try_compile "$LINENO"; then :
26829 glibcxx_cv_func__logl_use=yes
26830 else
26831 glibcxx_cv_func__logl_use=no
26833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26834 ac_ext=c
26835 ac_cpp='$CPP $CPPFLAGS'
26836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26845 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26847 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26848 for ac_func in _logl
26849 do :
26850 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26851 if test "x$ac_cv_func__logl" = x""yes; then :
26852 cat >>confdefs.h <<_ACEOF
26853 #define HAVE__LOGL 1
26854 _ACEOF
26857 done
26866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26867 $as_echo_n "checking for log10l declaration... " >&6; }
26868 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26869 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26870 $as_echo_n "(cached) " >&6
26871 else
26874 ac_ext=cpp
26875 ac_cpp='$CXXCPP $CPPFLAGS'
26876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26881 /* end confdefs.h. */
26882 #include <math.h>
26883 #ifdef HAVE_IEEEFP_H
26884 #include <ieeefp.h>
26885 #endif
26888 main ()
26890 log10l(0);
26892 return 0;
26894 _ACEOF
26895 if ac_fn_cxx_try_compile "$LINENO"; then :
26896 glibcxx_cv_func_log10l_use=yes
26897 else
26898 glibcxx_cv_func_log10l_use=no
26900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26901 ac_ext=c
26902 ac_cpp='$CPP $CPPFLAGS'
26903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26912 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26914 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26915 for ac_func in log10l
26916 do :
26917 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26918 if test "x$ac_cv_func_log10l" = x""yes; then :
26919 cat >>confdefs.h <<_ACEOF
26920 #define HAVE_LOG10L 1
26921 _ACEOF
26924 done
26926 else
26928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26929 $as_echo_n "checking for _log10l declaration... " >&6; }
26930 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26931 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26932 $as_echo_n "(cached) " >&6
26933 else
26936 ac_ext=cpp
26937 ac_cpp='$CXXCPP $CPPFLAGS'
26938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26943 /* end confdefs.h. */
26944 #include <math.h>
26945 #ifdef HAVE_IEEEFP_H
26946 #include <ieeefp.h>
26947 #endif
26950 main ()
26952 _log10l(0);
26954 return 0;
26956 _ACEOF
26957 if ac_fn_cxx_try_compile "$LINENO"; then :
26958 glibcxx_cv_func__log10l_use=yes
26959 else
26960 glibcxx_cv_func__log10l_use=no
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 ac_ext=c
26964 ac_cpp='$CPP $CPPFLAGS'
26965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26974 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26976 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26977 for ac_func in _log10l
26978 do :
26979 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26980 if test "x$ac_cv_func__log10l" = x""yes; then :
26981 cat >>confdefs.h <<_ACEOF
26982 #define HAVE__LOG10L 1
26983 _ACEOF
26986 done
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26996 $as_echo_n "checking for modfl declaration... " >&6; }
26997 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26998 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26999 $as_echo_n "(cached) " >&6
27000 else
27003 ac_ext=cpp
27004 ac_cpp='$CXXCPP $CPPFLAGS'
27005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27010 /* end confdefs.h. */
27011 #include <math.h>
27013 main ()
27015 modfl(0, 0);
27017 return 0;
27019 _ACEOF
27020 if ac_fn_cxx_try_compile "$LINENO"; then :
27021 glibcxx_cv_func_modfl_use=yes
27022 else
27023 glibcxx_cv_func_modfl_use=no
27025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27026 ac_ext=c
27027 ac_cpp='$CPP $CPPFLAGS'
27028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27037 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27039 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27040 for ac_func in modfl
27041 do :
27042 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27043 if test "x$ac_cv_func_modfl" = x""yes; then :
27044 cat >>confdefs.h <<_ACEOF
27045 #define HAVE_MODFL 1
27046 _ACEOF
27049 done
27051 else
27053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27054 $as_echo_n "checking for _modfl declaration... " >&6; }
27055 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27056 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27057 $as_echo_n "(cached) " >&6
27058 else
27061 ac_ext=cpp
27062 ac_cpp='$CXXCPP $CPPFLAGS'
27063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27068 /* end confdefs.h. */
27069 #include <math.h>
27071 main ()
27073 _modfl(0, 0);
27075 return 0;
27077 _ACEOF
27078 if ac_fn_cxx_try_compile "$LINENO"; then :
27079 glibcxx_cv_func__modfl_use=yes
27080 else
27081 glibcxx_cv_func__modfl_use=no
27083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27084 ac_ext=c
27085 ac_cpp='$CPP $CPPFLAGS'
27086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27095 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27097 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27098 for ac_func in _modfl
27099 do :
27100 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27101 if test "x$ac_cv_func__modfl" = x""yes; then :
27102 cat >>confdefs.h <<_ACEOF
27103 #define HAVE__MODFL 1
27104 _ACEOF
27107 done
27116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27117 $as_echo_n "checking for powl declaration... " >&6; }
27118 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27119 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27120 $as_echo_n "(cached) " >&6
27121 else
27124 ac_ext=cpp
27125 ac_cpp='$CXXCPP $CPPFLAGS'
27126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27131 /* end confdefs.h. */
27132 #include <math.h>
27134 main ()
27136 powl(0, 0);
27138 return 0;
27140 _ACEOF
27141 if ac_fn_cxx_try_compile "$LINENO"; then :
27142 glibcxx_cv_func_powl_use=yes
27143 else
27144 glibcxx_cv_func_powl_use=no
27146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27147 ac_ext=c
27148 ac_cpp='$CPP $CPPFLAGS'
27149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27158 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27160 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27161 for ac_func in powl
27162 do :
27163 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27164 if test "x$ac_cv_func_powl" = x""yes; then :
27165 cat >>confdefs.h <<_ACEOF
27166 #define HAVE_POWL 1
27167 _ACEOF
27170 done
27172 else
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27175 $as_echo_n "checking for _powl declaration... " >&6; }
27176 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27177 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27178 $as_echo_n "(cached) " >&6
27179 else
27182 ac_ext=cpp
27183 ac_cpp='$CXXCPP $CPPFLAGS'
27184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27189 /* end confdefs.h. */
27190 #include <math.h>
27192 main ()
27194 _powl(0, 0);
27196 return 0;
27198 _ACEOF
27199 if ac_fn_cxx_try_compile "$LINENO"; then :
27200 glibcxx_cv_func__powl_use=yes
27201 else
27202 glibcxx_cv_func__powl_use=no
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 ac_ext=c
27206 ac_cpp='$CPP $CPPFLAGS'
27207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27216 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27218 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27219 for ac_func in _powl
27220 do :
27221 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27222 if test "x$ac_cv_func__powl" = x""yes; then :
27223 cat >>confdefs.h <<_ACEOF
27224 #define HAVE__POWL 1
27225 _ACEOF
27228 done
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27238 $as_echo_n "checking for sqrtl declaration... " >&6; }
27239 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27240 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27241 $as_echo_n "(cached) " >&6
27242 else
27245 ac_ext=cpp
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 #include <math.h>
27254 #ifdef HAVE_IEEEFP_H
27255 #include <ieeefp.h>
27256 #endif
27259 main ()
27261 sqrtl(0);
27263 return 0;
27265 _ACEOF
27266 if ac_fn_cxx_try_compile "$LINENO"; then :
27267 glibcxx_cv_func_sqrtl_use=yes
27268 else
27269 glibcxx_cv_func_sqrtl_use=no
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27272 ac_ext=c
27273 ac_cpp='$CPP $CPPFLAGS'
27274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27283 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27285 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27286 for ac_func in sqrtl
27287 do :
27288 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27289 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27290 cat >>confdefs.h <<_ACEOF
27291 #define HAVE_SQRTL 1
27292 _ACEOF
27295 done
27297 else
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27300 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27301 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27302 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27303 $as_echo_n "(cached) " >&6
27304 else
27307 ac_ext=cpp
27308 ac_cpp='$CXXCPP $CPPFLAGS'
27309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27314 /* end confdefs.h. */
27315 #include <math.h>
27316 #ifdef HAVE_IEEEFP_H
27317 #include <ieeefp.h>
27318 #endif
27321 main ()
27323 _sqrtl(0);
27325 return 0;
27327 _ACEOF
27328 if ac_fn_cxx_try_compile "$LINENO"; then :
27329 glibcxx_cv_func__sqrtl_use=yes
27330 else
27331 glibcxx_cv_func__sqrtl_use=no
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 ac_ext=c
27335 ac_cpp='$CPP $CPPFLAGS'
27336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27345 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27347 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27348 for ac_func in _sqrtl
27349 do :
27350 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27351 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27352 cat >>confdefs.h <<_ACEOF
27353 #define HAVE__SQRTL 1
27354 _ACEOF
27357 done
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27367 $as_echo_n "checking for sincosl declaration... " >&6; }
27368 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27369 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27370 $as_echo_n "(cached) " >&6
27371 else
27374 ac_ext=cpp
27375 ac_cpp='$CXXCPP $CPPFLAGS'
27376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27381 /* end confdefs.h. */
27382 #include <math.h>
27384 main ()
27386 sincosl(0, 0, 0);
27388 return 0;
27390 _ACEOF
27391 if ac_fn_cxx_try_compile "$LINENO"; then :
27392 glibcxx_cv_func_sincosl_use=yes
27393 else
27394 glibcxx_cv_func_sincosl_use=no
27396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397 ac_ext=c
27398 ac_cpp='$CPP $CPPFLAGS'
27399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27408 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27410 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27411 for ac_func in sincosl
27412 do :
27413 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27414 if test "x$ac_cv_func_sincosl" = x""yes; then :
27415 cat >>confdefs.h <<_ACEOF
27416 #define HAVE_SINCOSL 1
27417 _ACEOF
27420 done
27422 else
27424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27425 $as_echo_n "checking for _sincosl declaration... " >&6; }
27426 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27427 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27428 $as_echo_n "(cached) " >&6
27429 else
27432 ac_ext=cpp
27433 ac_cpp='$CXXCPP $CPPFLAGS'
27434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27439 /* end confdefs.h. */
27440 #include <math.h>
27442 main ()
27444 _sincosl(0, 0, 0);
27446 return 0;
27448 _ACEOF
27449 if ac_fn_cxx_try_compile "$LINENO"; then :
27450 glibcxx_cv_func__sincosl_use=yes
27451 else
27452 glibcxx_cv_func__sincosl_use=no
27454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27455 ac_ext=c
27456 ac_cpp='$CPP $CPPFLAGS'
27457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27466 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27468 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27469 for ac_func in _sincosl
27470 do :
27471 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27472 if test "x$ac_cv_func__sincosl" = x""yes; then :
27473 cat >>confdefs.h <<_ACEOF
27474 #define HAVE__SINCOSL 1
27475 _ACEOF
27478 done
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27488 $as_echo_n "checking for finitel declaration... " >&6; }
27489 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27490 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27491 $as_echo_n "(cached) " >&6
27492 else
27495 ac_ext=cpp
27496 ac_cpp='$CXXCPP $CPPFLAGS'
27497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27502 /* end confdefs.h. */
27503 #include <math.h>
27504 #ifdef HAVE_IEEEFP_H
27505 #include <ieeefp.h>
27506 #endif
27509 main ()
27511 finitel(0);
27513 return 0;
27515 _ACEOF
27516 if ac_fn_cxx_try_compile "$LINENO"; then :
27517 glibcxx_cv_func_finitel_use=yes
27518 else
27519 glibcxx_cv_func_finitel_use=no
27521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27522 ac_ext=c
27523 ac_cpp='$CPP $CPPFLAGS'
27524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27533 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27535 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27536 for ac_func in finitel
27537 do :
27538 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27539 if test "x$ac_cv_func_finitel" = x""yes; then :
27540 cat >>confdefs.h <<_ACEOF
27541 #define HAVE_FINITEL 1
27542 _ACEOF
27545 done
27547 else
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27550 $as_echo_n "checking for _finitel declaration... " >&6; }
27551 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27552 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27553 $as_echo_n "(cached) " >&6
27554 else
27557 ac_ext=cpp
27558 ac_cpp='$CXXCPP $CPPFLAGS'
27559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27564 /* end confdefs.h. */
27565 #include <math.h>
27566 #ifdef HAVE_IEEEFP_H
27567 #include <ieeefp.h>
27568 #endif
27571 main ()
27573 _finitel(0);
27575 return 0;
27577 _ACEOF
27578 if ac_fn_cxx_try_compile "$LINENO"; then :
27579 glibcxx_cv_func__finitel_use=yes
27580 else
27581 glibcxx_cv_func__finitel_use=no
27583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27584 ac_ext=c
27585 ac_cpp='$CPP $CPPFLAGS'
27586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27595 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27597 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27598 for ac_func in _finitel
27599 do :
27600 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27601 if test "x$ac_cv_func__finitel" = x""yes; then :
27602 cat >>confdefs.h <<_ACEOF
27603 #define HAVE__FINITEL 1
27604 _ACEOF
27607 done
27615 LIBS="$ac_save_LIBS"
27616 CXXFLAGS="$ac_save_CXXFLAGS"
27619 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27620 ac_save_CXXFLAGS="$CXXFLAGS"
27621 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27625 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27626 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27627 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27628 $as_echo_n "(cached) " >&6
27629 else
27632 ac_ext=cpp
27633 ac_cpp='$CXXCPP $CPPFLAGS'
27634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27639 /* end confdefs.h. */
27640 #include <stdlib.h>
27642 main ()
27644 at_quick_exit(0);
27646 return 0;
27648 _ACEOF
27649 if ac_fn_cxx_try_compile "$LINENO"; then :
27650 glibcxx_cv_func_at_quick_exit_use=yes
27651 else
27652 glibcxx_cv_func_at_quick_exit_use=no
27654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655 ac_ext=c
27656 ac_cpp='$CPP $CPPFLAGS'
27657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27666 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27667 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27668 for ac_func in at_quick_exit
27669 do :
27670 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27671 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27672 cat >>confdefs.h <<_ACEOF
27673 #define HAVE_AT_QUICK_EXIT 1
27674 _ACEOF
27677 done
27682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27683 $as_echo_n "checking for quick_exit declaration... " >&6; }
27684 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27685 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27686 $as_echo_n "(cached) " >&6
27687 else
27690 ac_ext=cpp
27691 ac_cpp='$CXXCPP $CPPFLAGS'
27692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27697 /* end confdefs.h. */
27698 #include <stdlib.h>
27700 main ()
27702 quick_exit(0);
27704 return 0;
27706 _ACEOF
27707 if ac_fn_cxx_try_compile "$LINENO"; then :
27708 glibcxx_cv_func_quick_exit_use=yes
27709 else
27710 glibcxx_cv_func_quick_exit_use=no
27712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27713 ac_ext=c
27714 ac_cpp='$CPP $CPPFLAGS'
27715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27724 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27725 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27726 for ac_func in quick_exit
27727 do :
27728 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27729 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27730 cat >>confdefs.h <<_ACEOF
27731 #define HAVE_QUICK_EXIT 1
27732 _ACEOF
27735 done
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27741 $as_echo_n "checking for strtold declaration... " >&6; }
27742 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27743 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27744 $as_echo_n "(cached) " >&6
27745 else
27748 ac_ext=cpp
27749 ac_cpp='$CXXCPP $CPPFLAGS'
27750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27755 /* end confdefs.h. */
27756 #include <stdlib.h>
27758 main ()
27760 strtold(0, 0);
27762 return 0;
27764 _ACEOF
27765 if ac_fn_cxx_try_compile "$LINENO"; then :
27766 glibcxx_cv_func_strtold_use=yes
27767 else
27768 glibcxx_cv_func_strtold_use=no
27770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27771 ac_ext=c
27772 ac_cpp='$CPP $CPPFLAGS'
27773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27782 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27783 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27784 for ac_func in strtold
27785 do :
27786 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27787 if test "x$ac_cv_func_strtold" = x""yes; then :
27788 cat >>confdefs.h <<_ACEOF
27789 #define HAVE_STRTOLD 1
27790 _ACEOF
27793 done
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27801 $as_echo_n "checking for strtof declaration... " >&6; }
27802 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27803 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27804 $as_echo_n "(cached) " >&6
27805 else
27808 ac_ext=cpp
27809 ac_cpp='$CXXCPP $CPPFLAGS'
27810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27815 /* end confdefs.h. */
27816 #include <stdlib.h>
27818 main ()
27820 strtof(0, 0);
27822 return 0;
27824 _ACEOF
27825 if ac_fn_cxx_try_compile "$LINENO"; then :
27826 glibcxx_cv_func_strtof_use=yes
27827 else
27828 glibcxx_cv_func_strtof_use=no
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831 ac_ext=c
27832 ac_cpp='$CPP $CPPFLAGS'
27833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27842 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27843 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27844 for ac_func in strtof
27845 do :
27846 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27847 if test "x$ac_cv_func_strtof" = x""yes; then :
27848 cat >>confdefs.h <<_ACEOF
27849 #define HAVE_STRTOF 1
27850 _ACEOF
27853 done
27860 CXXFLAGS="$ac_save_CXXFLAGS"
27863 # For /dev/random and /dev/urandom for TR1.
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27867 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27868 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27869 $as_echo_n "(cached) " >&6
27870 else
27872 if test -r /dev/random && test -r /dev/urandom; then
27873 ## For MSys environment the test above is detect as false-positive
27874 ## on mingw-targets. So disable it explicit for them.
27875 case ${target_os} in
27876 *mingw*) glibcxx_cv_random_tr1=no ;;
27877 *) glibcxx_cv_random_tr1=yes ;;
27878 esac
27879 else
27880 glibcxx_cv_random_tr1=no;
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27886 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27888 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27890 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27896 # For TLS support.
27899 # Check whether --enable-tls was given.
27900 if test "${enable_tls+set}" = set; then :
27901 enableval=$enable_tls;
27902 case "$enableval" in
27903 yes|no) ;;
27904 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27905 esac
27907 else
27908 enable_tls=yes
27912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27913 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27914 if test "${gcc_cv_have_tls+set}" = set; then :
27915 $as_echo_n "(cached) " >&6
27916 else
27918 if test "$cross_compiling" = yes; then :
27919 if test x$gcc_no_link = xyes; then
27920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27923 /* end confdefs.h. */
27924 __thread int a; int b; int main() { return a = b; }
27925 _ACEOF
27926 if ac_fn_c_try_link "$LINENO"; then :
27927 chktls_save_LDFLAGS="$LDFLAGS"
27928 case $host in
27929 *-*-linux*)
27930 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27932 esac
27933 chktls_save_CFLAGS="$CFLAGS"
27934 CFLAGS="-fPIC $CFLAGS"
27935 if test x$gcc_no_link = xyes; then
27936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27939 /* end confdefs.h. */
27940 int f() { return 0; }
27941 _ACEOF
27942 if ac_fn_c_try_link "$LINENO"; then :
27943 if test x$gcc_no_link = xyes; then
27944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27947 /* end confdefs.h. */
27948 __thread int a; int b; int f() { return a = b; }
27949 _ACEOF
27950 if ac_fn_c_try_link "$LINENO"; then :
27951 gcc_cv_have_tls=yes
27952 else
27953 gcc_cv_have_tls=no
27955 rm -f core conftest.err conftest.$ac_objext \
27956 conftest$ac_exeext conftest.$ac_ext
27957 else
27958 gcc_cv_have_tls=yes
27960 rm -f core conftest.err conftest.$ac_objext \
27961 conftest$ac_exeext conftest.$ac_ext
27962 CFLAGS="$chktls_save_CFLAGS"
27963 LDFLAGS="$chktls_save_LDFLAGS"
27964 else
27965 gcc_cv_have_tls=no
27967 rm -f core conftest.err conftest.$ac_objext \
27968 conftest$ac_exeext conftest.$ac_ext
27971 else
27972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27973 /* end confdefs.h. */
27974 __thread int a; int b; int main() { return a = b; }
27975 _ACEOF
27976 if ac_fn_c_try_run "$LINENO"; then :
27977 chktls_save_LDFLAGS="$LDFLAGS"
27978 LDFLAGS="-static $LDFLAGS"
27979 if test x$gcc_no_link = xyes; then
27980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27983 /* end confdefs.h. */
27984 int main() { return 0; }
27985 _ACEOF
27986 if ac_fn_c_try_link "$LINENO"; then :
27987 if test "$cross_compiling" = yes; then :
27988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27990 as_fn_error "cannot run test program while cross compiling
27991 See \`config.log' for more details." "$LINENO" 5; }
27992 else
27993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27994 /* end confdefs.h. */
27995 __thread int a; int b; int main() { return a = b; }
27996 _ACEOF
27997 if ac_fn_c_try_run "$LINENO"; then :
27998 gcc_cv_have_tls=yes
27999 else
28000 gcc_cv_have_tls=no
28002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28003 conftest.$ac_objext conftest.beam conftest.$ac_ext
28006 else
28007 gcc_cv_have_tls=yes
28009 rm -f core conftest.err conftest.$ac_objext \
28010 conftest$ac_exeext conftest.$ac_ext
28011 LDFLAGS="$chktls_save_LDFLAGS"
28012 if test $gcc_cv_have_tls = yes; then
28013 chktls_save_CFLAGS="$CFLAGS"
28014 thread_CFLAGS=failed
28015 for flag in '' '-pthread' '-lpthread'; do
28016 CFLAGS="$flag $chktls_save_CFLAGS"
28017 if test x$gcc_no_link = xyes; then
28018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28021 /* end confdefs.h. */
28022 #include <pthread.h>
28023 void *g(void *d) { return NULL; }
28025 main ()
28027 pthread_t t; pthread_create(&t,NULL,g,NULL);
28029 return 0;
28031 _ACEOF
28032 if ac_fn_c_try_link "$LINENO"; then :
28033 thread_CFLAGS="$flag"
28035 rm -f core conftest.err conftest.$ac_objext \
28036 conftest$ac_exeext conftest.$ac_ext
28037 if test "X$thread_CFLAGS" != Xfailed; then
28038 break
28040 done
28041 CFLAGS="$chktls_save_CFLAGS"
28042 if test "X$thread_CFLAGS" != Xfailed; then
28043 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28044 if test "$cross_compiling" = yes; then :
28045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28047 as_fn_error "cannot run test program while cross compiling
28048 See \`config.log' for more details." "$LINENO" 5; }
28049 else
28050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28051 /* end confdefs.h. */
28052 #include <pthread.h>
28053 __thread int a;
28054 static int *volatile a_in_other_thread;
28055 static void *
28056 thread_func (void *arg)
28058 a_in_other_thread = &a;
28059 return (void *)0;
28062 main ()
28064 pthread_t thread;
28065 void *thread_retval;
28066 int *volatile a_in_main_thread;
28067 a_in_main_thread = &a;
28068 if (pthread_create (&thread, (pthread_attr_t *)0,
28069 thread_func, (void *)0))
28070 return 0;
28071 if (pthread_join (thread, &thread_retval))
28072 return 0;
28073 return (a_in_other_thread == a_in_main_thread);
28075 return 0;
28077 _ACEOF
28078 if ac_fn_c_try_run "$LINENO"; then :
28079 gcc_cv_have_tls=yes
28080 else
28081 gcc_cv_have_tls=no
28083 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28084 conftest.$ac_objext conftest.beam conftest.$ac_ext
28087 CFLAGS="$chktls_save_CFLAGS"
28090 else
28091 gcc_cv_have_tls=no
28093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28094 conftest.$ac_objext conftest.beam conftest.$ac_ext
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28099 $as_echo "$gcc_cv_have_tls" >&6; }
28100 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28102 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28106 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28107 do :
28108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28110 eval as_val=\$$as_ac_var
28111 if test "x$as_val" = x""yes; then :
28112 cat >>confdefs.h <<_ACEOF
28113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28114 _ACEOF
28117 done
28119 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28120 do :
28121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28123 eval as_val=\$$as_ac_var
28124 if test "x$as_val" = x""yes; then :
28125 cat >>confdefs.h <<_ACEOF
28126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28127 _ACEOF
28130 done
28133 # For iconv support.
28135 if test "X$prefix" = "XNONE"; then
28136 acl_final_prefix="$ac_default_prefix"
28137 else
28138 acl_final_prefix="$prefix"
28140 if test "X$exec_prefix" = "XNONE"; then
28141 acl_final_exec_prefix='${prefix}'
28142 else
28143 acl_final_exec_prefix="$exec_prefix"
28145 acl_save_prefix="$prefix"
28146 prefix="$acl_final_prefix"
28147 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28148 prefix="$acl_save_prefix"
28151 # Check whether --with-gnu-ld was given.
28152 if test "${with_gnu_ld+set}" = set; then :
28153 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28154 else
28155 with_gnu_ld=no
28158 # Prepare PATH_SEPARATOR.
28159 # The user is always right.
28160 if test "${PATH_SEPARATOR+set}" != set; then
28161 echo "#! /bin/sh" >conf$$.sh
28162 echo "exit 0" >>conf$$.sh
28163 chmod +x conf$$.sh
28164 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28165 PATH_SEPARATOR=';'
28166 else
28167 PATH_SEPARATOR=:
28169 rm -f conf$$.sh
28171 ac_prog=ld
28172 if test "$GCC" = yes; then
28173 # Check if gcc -print-prog-name=ld gives a path.
28174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28175 $as_echo_n "checking for ld used by GCC... " >&6; }
28176 case $host in
28177 *-*-mingw*)
28178 # gcc leaves a trailing carriage return which upsets mingw
28179 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28181 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28182 esac
28183 case $ac_prog in
28184 # Accept absolute paths.
28185 [\\/]* | [A-Za-z]:[\\/]*)
28186 re_direlt='/[^/][^/]*/\.\./'
28187 # Canonicalize the path of ld
28188 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28189 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28190 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28191 done
28192 test -z "$LD" && LD="$ac_prog"
28195 # If it fails, then pretend we aren't using GCC.
28196 ac_prog=ld
28199 # If it is relative, then search for the first ld in PATH.
28200 with_gnu_ld=unknown
28202 esac
28203 elif test "$with_gnu_ld" = yes; then
28204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28205 $as_echo_n "checking for GNU ld... " >&6; }
28206 else
28207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28208 $as_echo_n "checking for non-GNU ld... " >&6; }
28210 if test "${acl_cv_path_LD+set}" = set; then :
28211 $as_echo_n "(cached) " >&6
28212 else
28213 if test -z "$LD"; then
28214 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28215 for ac_dir in $PATH; do
28216 test -z "$ac_dir" && ac_dir=.
28217 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28218 acl_cv_path_LD="$ac_dir/$ac_prog"
28219 # Check to see if the program is GNU ld. I'd rather use --version,
28220 # but apparently some GNU ld's only accept -v.
28221 # Break only if it was the GNU/non-GNU ld that we prefer.
28222 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28223 test "$with_gnu_ld" != no && break
28224 else
28225 test "$with_gnu_ld" != yes && break
28228 done
28229 IFS="$ac_save_ifs"
28230 else
28231 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28235 LD="$acl_cv_path_LD"
28236 if test -n "$LD"; then
28237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28238 $as_echo "$LD" >&6; }
28239 else
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28241 $as_echo "no" >&6; }
28243 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28245 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28246 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28247 $as_echo_n "(cached) " >&6
28248 else
28249 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28250 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28251 acl_cv_prog_gnu_ld=yes
28252 else
28253 acl_cv_prog_gnu_ld=no
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28257 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28258 with_gnu_ld=$acl_cv_prog_gnu_ld
28262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28263 $as_echo_n "checking for shared library run path origin... " >&6; }
28264 if test "${acl_cv_rpath+set}" = set; then :
28265 $as_echo_n "(cached) " >&6
28266 else
28268 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28269 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28270 . ./conftest.sh
28271 rm -f ./conftest.sh
28272 acl_cv_rpath=done
28275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28276 $as_echo "$acl_cv_rpath" >&6; }
28277 wl="$acl_cv_wl"
28278 libext="$acl_cv_libext"
28279 shlibext="$acl_cv_shlibext"
28280 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28281 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28282 hardcode_direct="$acl_cv_hardcode_direct"
28283 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28284 # Check whether --enable-rpath was given.
28285 if test "${enable_rpath+set}" = set; then :
28286 enableval=$enable_rpath; :
28287 else
28288 enable_rpath=yes
28298 use_additional=yes
28300 acl_save_prefix="$prefix"
28301 prefix="$acl_final_prefix"
28302 acl_save_exec_prefix="$exec_prefix"
28303 exec_prefix="$acl_final_exec_prefix"
28305 eval additional_includedir=\"$includedir\"
28306 eval additional_libdir=\"$libdir\"
28308 exec_prefix="$acl_save_exec_prefix"
28309 prefix="$acl_save_prefix"
28312 # Check whether --with-libiconv-prefix was given.
28313 if test "${with_libiconv_prefix+set}" = set; then :
28314 withval=$with_libiconv_prefix;
28315 if test "X$withval" = "Xno"; then
28316 use_additional=no
28317 else
28318 if test "X$withval" = "X"; then
28320 acl_save_prefix="$prefix"
28321 prefix="$acl_final_prefix"
28322 acl_save_exec_prefix="$exec_prefix"
28323 exec_prefix="$acl_final_exec_prefix"
28325 eval additional_includedir=\"$includedir\"
28326 eval additional_libdir=\"$libdir\"
28328 exec_prefix="$acl_save_exec_prefix"
28329 prefix="$acl_save_prefix"
28331 else
28332 additional_includedir="$withval/include"
28333 additional_libdir="$withval/lib"
28339 LIBICONV=
28340 LTLIBICONV=
28341 INCICONV=
28342 rpathdirs=
28343 ltrpathdirs=
28344 names_already_handled=
28345 names_next_round='iconv '
28346 while test -n "$names_next_round"; do
28347 names_this_round="$names_next_round"
28348 names_next_round=
28349 for name in $names_this_round; do
28350 already_handled=
28351 for n in $names_already_handled; do
28352 if test "$n" = "$name"; then
28353 already_handled=yes
28354 break
28356 done
28357 if test -z "$already_handled"; then
28358 names_already_handled="$names_already_handled $name"
28359 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28360 eval value=\"\$HAVE_LIB$uppername\"
28361 if test -n "$value"; then
28362 if test "$value" = yes; then
28363 eval value=\"\$LIB$uppername\"
28364 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28365 eval value=\"\$LTLIB$uppername\"
28366 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28367 else
28370 else
28371 found_dir=
28372 found_la=
28373 found_so=
28374 found_a=
28375 if test $use_additional = yes; then
28376 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28377 found_dir="$additional_libdir"
28378 found_so="$additional_libdir/lib$name.$shlibext"
28379 if test -f "$additional_libdir/lib$name.la"; then
28380 found_la="$additional_libdir/lib$name.la"
28382 else
28383 if test -f "$additional_libdir/lib$name.$libext"; then
28384 found_dir="$additional_libdir"
28385 found_a="$additional_libdir/lib$name.$libext"
28386 if test -f "$additional_libdir/lib$name.la"; then
28387 found_la="$additional_libdir/lib$name.la"
28392 if test "X$found_dir" = "X"; then
28393 for x in $LDFLAGS $LTLIBICONV; do
28395 acl_save_prefix="$prefix"
28396 prefix="$acl_final_prefix"
28397 acl_save_exec_prefix="$exec_prefix"
28398 exec_prefix="$acl_final_exec_prefix"
28399 eval x=\"$x\"
28400 exec_prefix="$acl_save_exec_prefix"
28401 prefix="$acl_save_prefix"
28403 case "$x" in
28404 -L*)
28405 dir=`echo "X$x" | sed -e 's/^X-L//'`
28406 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28407 found_dir="$dir"
28408 found_so="$dir/lib$name.$shlibext"
28409 if test -f "$dir/lib$name.la"; then
28410 found_la="$dir/lib$name.la"
28412 else
28413 if test -f "$dir/lib$name.$libext"; then
28414 found_dir="$dir"
28415 found_a="$dir/lib$name.$libext"
28416 if test -f "$dir/lib$name.la"; then
28417 found_la="$dir/lib$name.la"
28422 esac
28423 if test "X$found_dir" != "X"; then
28424 break
28426 done
28428 if test "X$found_dir" != "X"; then
28429 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28430 if test "X$found_so" != "X"; then
28431 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28432 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28433 else
28434 haveit=
28435 for x in $ltrpathdirs; do
28436 if test "X$x" = "X$found_dir"; then
28437 haveit=yes
28438 break
28440 done
28441 if test -z "$haveit"; then
28442 ltrpathdirs="$ltrpathdirs $found_dir"
28444 if test "$hardcode_direct" = yes; then
28445 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28446 else
28447 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28448 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28449 haveit=
28450 for x in $rpathdirs; do
28451 if test "X$x" = "X$found_dir"; then
28452 haveit=yes
28453 break
28455 done
28456 if test -z "$haveit"; then
28457 rpathdirs="$rpathdirs $found_dir"
28459 else
28460 haveit=
28461 for x in $LDFLAGS $LIBICONV; do
28463 acl_save_prefix="$prefix"
28464 prefix="$acl_final_prefix"
28465 acl_save_exec_prefix="$exec_prefix"
28466 exec_prefix="$acl_final_exec_prefix"
28467 eval x=\"$x\"
28468 exec_prefix="$acl_save_exec_prefix"
28469 prefix="$acl_save_prefix"
28471 if test "X$x" = "X-L$found_dir"; then
28472 haveit=yes
28473 break
28475 done
28476 if test -z "$haveit"; then
28477 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28479 if test "$hardcode_minus_L" != no; then
28480 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28481 else
28482 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28487 else
28488 if test "X$found_a" != "X"; then
28489 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28490 else
28491 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28494 additional_includedir=
28495 case "$found_dir" in
28496 */lib | */lib/)
28497 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28498 additional_includedir="$basedir/include"
28500 esac
28501 if test "X$additional_includedir" != "X"; then
28502 if test "X$additional_includedir" != "X/usr/include"; then
28503 haveit=
28504 if test "X$additional_includedir" = "X/usr/local/include"; then
28505 if test -n "$GCC"; then
28506 case $host_os in
28507 linux*) haveit=yes;;
28508 esac
28511 if test -z "$haveit"; then
28512 for x in $CPPFLAGS $INCICONV; do
28514 acl_save_prefix="$prefix"
28515 prefix="$acl_final_prefix"
28516 acl_save_exec_prefix="$exec_prefix"
28517 exec_prefix="$acl_final_exec_prefix"
28518 eval x=\"$x\"
28519 exec_prefix="$acl_save_exec_prefix"
28520 prefix="$acl_save_prefix"
28522 if test "X$x" = "X-I$additional_includedir"; then
28523 haveit=yes
28524 break
28526 done
28527 if test -z "$haveit"; then
28528 if test -d "$additional_includedir"; then
28529 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28535 if test -n "$found_la"; then
28536 save_libdir="$libdir"
28537 case "$found_la" in
28538 */* | *\\*) . "$found_la" ;;
28539 *) . "./$found_la" ;;
28540 esac
28541 libdir="$save_libdir"
28542 for dep in $dependency_libs; do
28543 case "$dep" in
28544 -L*)
28545 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28546 if test "X$additional_libdir" != "X/usr/lib"; then
28547 haveit=
28548 if test "X$additional_libdir" = "X/usr/local/lib"; then
28549 if test -n "$GCC"; then
28550 case $host_os in
28551 linux*) haveit=yes;;
28552 esac
28555 if test -z "$haveit"; then
28556 haveit=
28557 for x in $LDFLAGS $LIBICONV; do
28559 acl_save_prefix="$prefix"
28560 prefix="$acl_final_prefix"
28561 acl_save_exec_prefix="$exec_prefix"
28562 exec_prefix="$acl_final_exec_prefix"
28563 eval x=\"$x\"
28564 exec_prefix="$acl_save_exec_prefix"
28565 prefix="$acl_save_prefix"
28567 if test "X$x" = "X-L$additional_libdir"; then
28568 haveit=yes
28569 break
28571 done
28572 if test -z "$haveit"; then
28573 if test -d "$additional_libdir"; then
28574 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28577 haveit=
28578 for x in $LDFLAGS $LTLIBICONV; do
28580 acl_save_prefix="$prefix"
28581 prefix="$acl_final_prefix"
28582 acl_save_exec_prefix="$exec_prefix"
28583 exec_prefix="$acl_final_exec_prefix"
28584 eval x=\"$x\"
28585 exec_prefix="$acl_save_exec_prefix"
28586 prefix="$acl_save_prefix"
28588 if test "X$x" = "X-L$additional_libdir"; then
28589 haveit=yes
28590 break
28592 done
28593 if test -z "$haveit"; then
28594 if test -d "$additional_libdir"; then
28595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28601 -R*)
28602 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28603 if test "$enable_rpath" != no; then
28604 haveit=
28605 for x in $rpathdirs; do
28606 if test "X$x" = "X$dir"; then
28607 haveit=yes
28608 break
28610 done
28611 if test -z "$haveit"; then
28612 rpathdirs="$rpathdirs $dir"
28614 haveit=
28615 for x in $ltrpathdirs; do
28616 if test "X$x" = "X$dir"; then
28617 haveit=yes
28618 break
28620 done
28621 if test -z "$haveit"; then
28622 ltrpathdirs="$ltrpathdirs $dir"
28626 -l*)
28627 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28629 *.la)
28630 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28633 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28634 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28636 esac
28637 done
28639 else
28640 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28641 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28645 done
28646 done
28647 if test "X$rpathdirs" != "X"; then
28648 if test -n "$hardcode_libdir_separator"; then
28649 alldirs=
28650 for found_dir in $rpathdirs; do
28651 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28652 done
28653 acl_save_libdir="$libdir"
28654 libdir="$alldirs"
28655 eval flag=\"$hardcode_libdir_flag_spec\"
28656 libdir="$acl_save_libdir"
28657 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28658 else
28659 for found_dir in $rpathdirs; do
28660 acl_save_libdir="$libdir"
28661 libdir="$found_dir"
28662 eval flag=\"$hardcode_libdir_flag_spec\"
28663 libdir="$acl_save_libdir"
28664 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28665 done
28668 if test "X$ltrpathdirs" != "X"; then
28669 for found_dir in $ltrpathdirs; do
28670 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28671 done
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28681 $as_echo_n "checking for iconv... " >&6; }
28682 if test "${am_cv_func_iconv+set}" = set; then :
28683 $as_echo_n "(cached) " >&6
28684 else
28686 am_cv_func_iconv="no, consider installing GNU libiconv"
28687 am_cv_lib_iconv=no
28688 am_save_CPPFLAGS="$CPPFLAGS"
28689 CPPFLAGS="$CPPFLAGS $INCICONV"
28690 if test x$gcc_no_link = xyes; then
28691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28694 /* end confdefs.h. */
28695 #include <stdlib.h>
28696 #include <iconv.h>
28698 main ()
28700 iconv_t cd = iconv_open("","");
28701 iconv(cd,NULL,NULL,NULL,NULL);
28702 iconv_close(cd);
28704 return 0;
28706 _ACEOF
28707 if ac_fn_c_try_link "$LINENO"; then :
28708 am_cv_func_iconv=yes
28710 rm -f core conftest.err conftest.$ac_objext \
28711 conftest$ac_exeext conftest.$ac_ext
28712 CPPFLAGS="$am_save_CPPFLAGS"
28714 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28715 for _libs in .libs _libs; do
28716 am_save_CPPFLAGS="$CPPFLAGS"
28717 am_save_LIBS="$LIBS"
28718 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28719 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28720 if test x$gcc_no_link = xyes; then
28721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28724 /* end confdefs.h. */
28725 #include <stdlib.h>
28726 #include <iconv.h>
28728 main ()
28730 iconv_t cd = iconv_open("","");
28731 iconv(cd,NULL,NULL,NULL,NULL);
28732 iconv_close(cd);
28734 return 0;
28736 _ACEOF
28737 if ac_fn_c_try_link "$LINENO"; then :
28738 INCICONV="-I../libiconv/include"
28739 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28740 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28741 am_cv_lib_iconv=yes
28742 am_cv_func_iconv=yes
28744 rm -f core conftest.err conftest.$ac_objext \
28745 conftest$ac_exeext conftest.$ac_ext
28746 CPPFLAGS="$am_save_CPPFLAGS"
28747 LIBS="$am_save_LIBS"
28748 if test "$am_cv_func_iconv" = "yes"; then
28749 break
28751 done
28754 if test "$am_cv_func_iconv" != yes; then
28755 am_save_CPPFLAGS="$CPPFLAGS"
28756 am_save_LIBS="$LIBS"
28757 CPPFLAGS="$LIBS $INCICONV"
28758 LIBS="$LIBS $LIBICONV"
28759 if test x$gcc_no_link = xyes; then
28760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h. */
28764 #include <stdlib.h>
28765 #include <iconv.h>
28767 main ()
28769 iconv_t cd = iconv_open("","");
28770 iconv(cd,NULL,NULL,NULL,NULL);
28771 iconv_close(cd);
28773 return 0;
28775 _ACEOF
28776 if ac_fn_c_try_link "$LINENO"; then :
28777 am_cv_lib_iconv=yes
28778 am_cv_func_iconv=yes
28780 rm -f core conftest.err conftest.$ac_objext \
28781 conftest$ac_exeext conftest.$ac_ext
28782 CPPFLAGS="$am_save_CPPFLAGS"
28783 LIBS="$am_save_LIBS"
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28788 $as_echo "$am_cv_func_iconv" >&6; }
28789 if test "$am_cv_func_iconv" = yes; then
28791 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28794 if test "$am_cv_lib_iconv" = yes; then
28796 for element in $INCICONV; do
28797 haveit=
28798 for x in $CPPFLAGS; do
28800 acl_save_prefix="$prefix"
28801 prefix="$acl_final_prefix"
28802 acl_save_exec_prefix="$exec_prefix"
28803 exec_prefix="$acl_final_exec_prefix"
28804 eval x=\"$x\"
28805 exec_prefix="$acl_save_exec_prefix"
28806 prefix="$acl_save_prefix"
28808 if test "X$x" = "X$element"; then
28809 haveit=yes
28810 break
28812 done
28813 if test -z "$haveit"; then
28814 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28816 done
28818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28819 $as_echo_n "checking how to link with libiconv... " >&6; }
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28821 $as_echo "$LIBICONV" >&6; }
28822 else
28823 LIBICONV=
28824 LTLIBICONV=
28829 if test "$am_cv_func_iconv" = yes; then
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28831 $as_echo_n "checking for iconv declaration... " >&6; }
28832 if test "${am_cv_proto_iconv+set}" = set; then :
28833 $as_echo_n "(cached) " >&6
28834 else
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28839 #include <stdlib.h>
28840 #include <iconv.h>
28841 extern
28842 #ifdef __cplusplus
28844 #endif
28845 #if defined(__STDC__) || defined(__cplusplus)
28846 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28847 #else
28848 size_t iconv();
28849 #endif
28852 main ()
28856 return 0;
28858 _ACEOF
28859 if ac_fn_c_try_compile "$LINENO"; then :
28860 am_cv_proto_iconv_arg1=""
28861 else
28862 am_cv_proto_iconv_arg1="const"
28864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28865 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);"
28868 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28870 }$am_cv_proto_iconv" >&5
28871 $as_echo "${ac_t:-
28872 }$am_cv_proto_iconv" >&6; }
28874 cat >>confdefs.h <<_ACEOF
28875 #define ICONV_CONST $am_cv_proto_iconv_arg1
28876 _ACEOF
28881 else
28883 # This lets us hard-code the functionality we know we'll have in the cross
28884 # target environment. "Let" is a sugar-coated word placed on an especially
28885 # dull and tedious hack, actually.
28887 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28888 # that involve linking, can't be used:
28889 # "cannot open sim-crt0.o"
28890 # "cannot open crt0.o"
28891 # etc. All this is because there currently exists no unified, consistent
28892 # way for top level CC information to be passed down to target directories:
28893 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28894 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28895 # crosses can be removed.
28897 # If Canadian cross, then don't pick up tools from the build directory.
28898 # Used only in GLIBCXX_EXPORT_INCLUDES.
28899 if test -n "$with_cross_host" &&
28900 test x"$build_alias" != x"$with_cross_host" &&
28901 test x"$build" != x"$target";
28902 then
28903 CANADIAN=yes
28904 else
28905 CANADIAN=no
28908 # Construct crosses by hand, eliminating bits that need ld...
28909 # GLIBCXX_CHECK_MATH_SUPPORT
28911 # First, test for "known" system libraries. We may be using newlib even
28912 # on a hosted environment.
28913 if test "x${with_newlib}" = "xyes"; then
28914 os_include_dir="os/newlib"
28915 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28918 # GLIBCXX_CHECK_STDLIB_SUPPORT
28919 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28922 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28924 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28926 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28928 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28930 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28932 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28934 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28936 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28938 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28940 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28942 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28944 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28946 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28948 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28950 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28952 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28954 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28956 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28958 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28960 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28962 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28964 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28967 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28969 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28971 else
28973 # Base decisions on target environment.
28974 case "${host}" in
28975 arm*-*-symbianelf*)
28976 # This is a freestanding configuration; there is nothing to do here.
28979 avr*-*-*)
28980 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28982 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28984 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28986 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28988 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28990 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28992 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28994 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28996 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28998 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29000 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29002 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29004 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29006 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29008 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29010 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29012 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29014 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29016 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29018 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29020 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29022 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29024 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29028 mips*-sde-elf*)
29029 # These definitions are for the SDE C library rather than newlib.
29030 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29033 # All these tests are for C++; save the language and the compiler flags.
29034 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29035 # found in GLIBCXX_CONFIGURE.
29037 ac_ext=cpp
29038 ac_cpp='$CXXCPP $CPPFLAGS'
29039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29043 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29044 ac_save_CXXFLAGS="$CXXFLAGS"
29046 # Check for maintainer-mode bits.
29047 if test x"$USE_MAINTAINER_MODE" = xno; then
29048 WERROR=''
29049 else
29050 WERROR='-Werror'
29053 # Check for -ffunction-sections -fdata-sections
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29055 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29056 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29058 /* end confdefs.h. */
29059 int foo; void bar() { };
29061 main ()
29065 return 0;
29067 _ACEOF
29068 if ac_fn_cxx_try_compile "$LINENO"; then :
29069 ac_fdsections=yes
29070 else
29071 ac_fdsections=no
29073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29074 if test "$ac_test_CXXFLAGS" = set; then
29075 CXXFLAGS="$ac_save_CXXFLAGS"
29076 else
29077 # this is the suspicious part
29078 CXXFLAGS=''
29080 if test x"$ac_fdsections" = x"yes"; then
29081 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29084 $as_echo "$ac_fdsections" >&6; }
29086 ac_ext=c
29087 ac_cpp='$CPP $CPPFLAGS'
29088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29096 # If we're not using GNU ld, then there's no point in even trying these
29097 # tests. Check for that first. We should have already tested for gld
29098 # by now (in libtool), but require it now just to be safe...
29099 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29100 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29104 # The name set by libtool depends on the version of libtool. Shame on us
29105 # for depending on an impl detail, but c'est la vie. Older versions used
29106 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29107 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29108 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29109 # set (hence we're using an older libtool), then set it.
29110 if test x${with_gnu_ld+set} != xset; then
29111 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29112 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29113 with_gnu_ld=no
29114 else
29115 with_gnu_ld=$ac_cv_prog_gnu_ld
29119 # Start by getting the version number. I think the libtool test already
29120 # does some of this, but throws away the result.
29121 glibcxx_ld_is_gold=no
29122 if test x"$with_gnu_ld" = x"yes"; then
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29124 $as_echo_n "checking for ld version... " >&6; }
29126 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29127 glibcxx_ld_is_gold=yes
29129 ldver=`$LD --version 2>/dev/null |
29130 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'`
29132 glibcxx_gnu_ld_version=`echo $ldver | \
29133 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29135 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29138 # Set --gc-sections.
29139 glibcxx_have_gc_sections=no
29140 if test "$glibcxx_ld_is_gold" = "yes"; then
29141 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29142 glibcxx_have_gc_sections=yes
29144 else
29145 glibcxx_gcsections_min_ld=21602
29146 if test x"$with_gnu_ld" = x"yes" &&
29147 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29148 glibcxx_have_gc_sections=yes
29151 if test "$glibcxx_have_gc_sections" = "yes"; then
29152 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29153 # NB: This flag only works reliably after 2.16.1. Configure tests
29154 # for this are difficult, so hard wire a value that should work.
29156 ac_test_CFLAGS="${CFLAGS+set}"
29157 ac_save_CFLAGS="$CFLAGS"
29158 CFLAGS='-Wl,--gc-sections'
29160 # Check for -Wl,--gc-sections
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29162 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29163 if test x$gcc_no_link = xyes; then
29164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29167 /* end confdefs.h. */
29168 int one(void) { return 1; }
29169 int two(void) { return 2; }
29172 main ()
29174 two();
29176 return 0;
29178 _ACEOF
29179 if ac_fn_c_try_link "$LINENO"; then :
29180 ac_gcsections=yes
29181 else
29182 ac_gcsections=no
29184 rm -f core conftest.err conftest.$ac_objext \
29185 conftest$ac_exeext conftest.$ac_ext
29186 if test "$ac_gcsections" = "yes"; then
29187 rm -f conftest.c
29188 touch conftest.c
29189 if $CC -c conftest.c; then
29190 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29191 grep "Warning: gc-sections option ignored" > /dev/null; then
29192 ac_gcsections=no
29195 rm -f conftest.c conftest.o conftest
29197 if test "$ac_gcsections" = "yes"; then
29198 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29201 $as_echo "$ac_gcsections" >&6; }
29203 if test "$ac_test_CFLAGS" = set; then
29204 CFLAGS="$ac_save_CFLAGS"
29205 else
29206 # this is the suspicious part
29207 CFLAGS=''
29211 # Set -z,relro.
29212 # Note this is only for shared objects.
29213 ac_ld_relro=no
29214 if test x"$with_gnu_ld" = x"yes"; then
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29216 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29217 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29218 if test -n "$cxx_z_relo"; then
29219 OPT_LDFLAGS="-Wl,-z,relro"
29220 ac_ld_relro=yes
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29223 $as_echo "$ac_ld_relro" >&6; }
29226 # Set linker optimization flags.
29227 if test x"$with_gnu_ld" = x"yes"; then
29228 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29235 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29236 ac_save_CXXFLAGS="$CXXFLAGS"
29237 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29240 $as_echo_n "checking for sin in -lm... " >&6; }
29241 if test "${ac_cv_lib_m_sin+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29244 ac_check_lib_save_LIBS=$LIBS
29245 LIBS="-lm $LIBS"
29246 if test x$gcc_no_link = xyes; then
29247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29250 /* end confdefs.h. */
29252 /* Override any GCC internal prototype to avoid an error.
29253 Use char because int might match the return type of a GCC
29254 builtin and then its argument prototype would still apply. */
29255 #ifdef __cplusplus
29256 extern "C"
29257 #endif
29258 char sin ();
29260 main ()
29262 return sin ();
29264 return 0;
29266 _ACEOF
29267 if ac_fn_c_try_link "$LINENO"; then :
29268 ac_cv_lib_m_sin=yes
29269 else
29270 ac_cv_lib_m_sin=no
29272 rm -f core conftest.err conftest.$ac_objext \
29273 conftest$ac_exeext conftest.$ac_ext
29274 LIBS=$ac_check_lib_save_LIBS
29276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29277 $as_echo "$ac_cv_lib_m_sin" >&6; }
29278 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29279 libm="-lm"
29282 ac_save_LIBS="$LIBS"
29283 LIBS="$LIBS $libm"
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29288 $as_echo_n "checking for isinf declaration... " >&6; }
29289 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29290 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29291 $as_echo_n "(cached) " >&6
29292 else
29295 ac_ext=cpp
29296 ac_cpp='$CXXCPP $CPPFLAGS'
29297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29302 /* end confdefs.h. */
29303 #include <math.h>
29304 #ifdef HAVE_IEEEFP_H
29305 #include <ieeefp.h>
29306 #endif
29309 main ()
29311 isinf(0);
29313 return 0;
29315 _ACEOF
29316 if ac_fn_cxx_try_compile "$LINENO"; then :
29317 glibcxx_cv_func_isinf_use=yes
29318 else
29319 glibcxx_cv_func_isinf_use=no
29321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29322 ac_ext=c
29323 ac_cpp='$CPP $CPPFLAGS'
29324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29333 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29335 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29336 for ac_func in isinf
29337 do :
29338 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29339 if test "x$ac_cv_func_isinf" = x""yes; then :
29340 cat >>confdefs.h <<_ACEOF
29341 #define HAVE_ISINF 1
29342 _ACEOF
29345 done
29347 else
29349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29350 $as_echo_n "checking for _isinf declaration... " >&6; }
29351 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29352 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29353 $as_echo_n "(cached) " >&6
29354 else
29357 ac_ext=cpp
29358 ac_cpp='$CXXCPP $CPPFLAGS'
29359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29364 /* end confdefs.h. */
29365 #include <math.h>
29366 #ifdef HAVE_IEEEFP_H
29367 #include <ieeefp.h>
29368 #endif
29371 main ()
29373 _isinf(0);
29375 return 0;
29377 _ACEOF
29378 if ac_fn_cxx_try_compile "$LINENO"; then :
29379 glibcxx_cv_func__isinf_use=yes
29380 else
29381 glibcxx_cv_func__isinf_use=no
29383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384 ac_ext=c
29385 ac_cpp='$CPP $CPPFLAGS'
29386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29395 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29397 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29398 for ac_func in _isinf
29399 do :
29400 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29401 if test "x$ac_cv_func__isinf" = x""yes; then :
29402 cat >>confdefs.h <<_ACEOF
29403 #define HAVE__ISINF 1
29404 _ACEOF
29407 done
29416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29417 $as_echo_n "checking for isnan declaration... " >&6; }
29418 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29419 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29420 $as_echo_n "(cached) " >&6
29421 else
29424 ac_ext=cpp
29425 ac_cpp='$CXXCPP $CPPFLAGS'
29426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h. */
29432 #include <math.h>
29433 #ifdef HAVE_IEEEFP_H
29434 #include <ieeefp.h>
29435 #endif
29438 main ()
29440 isnan(0);
29442 return 0;
29444 _ACEOF
29445 if ac_fn_cxx_try_compile "$LINENO"; then :
29446 glibcxx_cv_func_isnan_use=yes
29447 else
29448 glibcxx_cv_func_isnan_use=no
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29451 ac_ext=c
29452 ac_cpp='$CPP $CPPFLAGS'
29453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29462 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29464 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29465 for ac_func in isnan
29466 do :
29467 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29468 if test "x$ac_cv_func_isnan" = x""yes; then :
29469 cat >>confdefs.h <<_ACEOF
29470 #define HAVE_ISNAN 1
29471 _ACEOF
29474 done
29476 else
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29479 $as_echo_n "checking for _isnan declaration... " >&6; }
29480 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29481 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29482 $as_echo_n "(cached) " >&6
29483 else
29486 ac_ext=cpp
29487 ac_cpp='$CXXCPP $CPPFLAGS'
29488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29494 #include <math.h>
29495 #ifdef HAVE_IEEEFP_H
29496 #include <ieeefp.h>
29497 #endif
29500 main ()
29502 _isnan(0);
29504 return 0;
29506 _ACEOF
29507 if ac_fn_cxx_try_compile "$LINENO"; then :
29508 glibcxx_cv_func__isnan_use=yes
29509 else
29510 glibcxx_cv_func__isnan_use=no
29512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29513 ac_ext=c
29514 ac_cpp='$CPP $CPPFLAGS'
29515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29524 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29526 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29527 for ac_func in _isnan
29528 do :
29529 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29530 if test "x$ac_cv_func__isnan" = x""yes; then :
29531 cat >>confdefs.h <<_ACEOF
29532 #define HAVE__ISNAN 1
29533 _ACEOF
29536 done
29545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29546 $as_echo_n "checking for finite declaration... " >&6; }
29547 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29548 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29549 $as_echo_n "(cached) " >&6
29550 else
29553 ac_ext=cpp
29554 ac_cpp='$CXXCPP $CPPFLAGS'
29555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29560 /* end confdefs.h. */
29561 #include <math.h>
29562 #ifdef HAVE_IEEEFP_H
29563 #include <ieeefp.h>
29564 #endif
29567 main ()
29569 finite(0);
29571 return 0;
29573 _ACEOF
29574 if ac_fn_cxx_try_compile "$LINENO"; then :
29575 glibcxx_cv_func_finite_use=yes
29576 else
29577 glibcxx_cv_func_finite_use=no
29579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29580 ac_ext=c
29581 ac_cpp='$CPP $CPPFLAGS'
29582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29591 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29593 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29594 for ac_func in finite
29595 do :
29596 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29597 if test "x$ac_cv_func_finite" = x""yes; then :
29598 cat >>confdefs.h <<_ACEOF
29599 #define HAVE_FINITE 1
29600 _ACEOF
29603 done
29605 else
29607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29608 $as_echo_n "checking for _finite declaration... " >&6; }
29609 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29610 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29611 $as_echo_n "(cached) " >&6
29612 else
29615 ac_ext=cpp
29616 ac_cpp='$CXXCPP $CPPFLAGS'
29617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29622 /* end confdefs.h. */
29623 #include <math.h>
29624 #ifdef HAVE_IEEEFP_H
29625 #include <ieeefp.h>
29626 #endif
29629 main ()
29631 _finite(0);
29633 return 0;
29635 _ACEOF
29636 if ac_fn_cxx_try_compile "$LINENO"; then :
29637 glibcxx_cv_func__finite_use=yes
29638 else
29639 glibcxx_cv_func__finite_use=no
29641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29642 ac_ext=c
29643 ac_cpp='$CPP $CPPFLAGS'
29644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29653 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29655 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29656 for ac_func in _finite
29657 do :
29658 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29659 if test "x$ac_cv_func__finite" = x""yes; then :
29660 cat >>confdefs.h <<_ACEOF
29661 #define HAVE__FINITE 1
29662 _ACEOF
29665 done
29674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29675 $as_echo_n "checking for sincos declaration... " >&6; }
29676 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29677 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29678 $as_echo_n "(cached) " >&6
29679 else
29682 ac_ext=cpp
29683 ac_cpp='$CXXCPP $CPPFLAGS'
29684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29689 /* end confdefs.h. */
29690 #include <math.h>
29692 main ()
29694 sincos(0, 0, 0);
29696 return 0;
29698 _ACEOF
29699 if ac_fn_cxx_try_compile "$LINENO"; then :
29700 glibcxx_cv_func_sincos_use=yes
29701 else
29702 glibcxx_cv_func_sincos_use=no
29704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29705 ac_ext=c
29706 ac_cpp='$CPP $CPPFLAGS'
29707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29716 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29718 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29719 for ac_func in sincos
29720 do :
29721 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29722 if test "x$ac_cv_func_sincos" = x""yes; then :
29723 cat >>confdefs.h <<_ACEOF
29724 #define HAVE_SINCOS 1
29725 _ACEOF
29728 done
29730 else
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29733 $as_echo_n "checking for _sincos declaration... " >&6; }
29734 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29735 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29736 $as_echo_n "(cached) " >&6
29737 else
29740 ac_ext=cpp
29741 ac_cpp='$CXXCPP $CPPFLAGS'
29742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29747 /* end confdefs.h. */
29748 #include <math.h>
29750 main ()
29752 _sincos(0, 0, 0);
29754 return 0;
29756 _ACEOF
29757 if ac_fn_cxx_try_compile "$LINENO"; then :
29758 glibcxx_cv_func__sincos_use=yes
29759 else
29760 glibcxx_cv_func__sincos_use=no
29762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29763 ac_ext=c
29764 ac_cpp='$CPP $CPPFLAGS'
29765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29774 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29776 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29777 for ac_func in _sincos
29778 do :
29779 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29780 if test "x$ac_cv_func__sincos" = x""yes; then :
29781 cat >>confdefs.h <<_ACEOF
29782 #define HAVE__SINCOS 1
29783 _ACEOF
29786 done
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29796 $as_echo_n "checking for fpclass declaration... " >&6; }
29797 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29798 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29799 $as_echo_n "(cached) " >&6
29800 else
29803 ac_ext=cpp
29804 ac_cpp='$CXXCPP $CPPFLAGS'
29805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29810 /* end confdefs.h. */
29811 #include <math.h>
29812 #ifdef HAVE_IEEEFP_H
29813 #include <ieeefp.h>
29814 #endif
29817 main ()
29819 fpclass(0);
29821 return 0;
29823 _ACEOF
29824 if ac_fn_cxx_try_compile "$LINENO"; then :
29825 glibcxx_cv_func_fpclass_use=yes
29826 else
29827 glibcxx_cv_func_fpclass_use=no
29829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29830 ac_ext=c
29831 ac_cpp='$CPP $CPPFLAGS'
29832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29841 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29843 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29844 for ac_func in fpclass
29845 do :
29846 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29847 if test "x$ac_cv_func_fpclass" = x""yes; then :
29848 cat >>confdefs.h <<_ACEOF
29849 #define HAVE_FPCLASS 1
29850 _ACEOF
29853 done
29855 else
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29858 $as_echo_n "checking for _fpclass declaration... " >&6; }
29859 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29860 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29861 $as_echo_n "(cached) " >&6
29862 else
29865 ac_ext=cpp
29866 ac_cpp='$CXXCPP $CPPFLAGS'
29867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29872 /* end confdefs.h. */
29873 #include <math.h>
29874 #ifdef HAVE_IEEEFP_H
29875 #include <ieeefp.h>
29876 #endif
29879 main ()
29881 _fpclass(0);
29883 return 0;
29885 _ACEOF
29886 if ac_fn_cxx_try_compile "$LINENO"; then :
29887 glibcxx_cv_func__fpclass_use=yes
29888 else
29889 glibcxx_cv_func__fpclass_use=no
29891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29892 ac_ext=c
29893 ac_cpp='$CPP $CPPFLAGS'
29894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29903 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29905 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29906 for ac_func in _fpclass
29907 do :
29908 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29909 if test "x$ac_cv_func__fpclass" = x""yes; then :
29910 cat >>confdefs.h <<_ACEOF
29911 #define HAVE__FPCLASS 1
29912 _ACEOF
29915 done
29924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29925 $as_echo_n "checking for qfpclass declaration... " >&6; }
29926 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29927 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29928 $as_echo_n "(cached) " >&6
29929 else
29932 ac_ext=cpp
29933 ac_cpp='$CXXCPP $CPPFLAGS'
29934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29939 /* end confdefs.h. */
29940 #include <math.h>
29941 #ifdef HAVE_IEEEFP_H
29942 #include <ieeefp.h>
29943 #endif
29946 main ()
29948 qfpclass(0);
29950 return 0;
29952 _ACEOF
29953 if ac_fn_cxx_try_compile "$LINENO"; then :
29954 glibcxx_cv_func_qfpclass_use=yes
29955 else
29956 glibcxx_cv_func_qfpclass_use=no
29958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29959 ac_ext=c
29960 ac_cpp='$CPP $CPPFLAGS'
29961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29970 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29972 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29973 for ac_func in qfpclass
29974 do :
29975 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29976 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29977 cat >>confdefs.h <<_ACEOF
29978 #define HAVE_QFPCLASS 1
29979 _ACEOF
29982 done
29984 else
29986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29987 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29988 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29989 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29990 $as_echo_n "(cached) " >&6
29991 else
29994 ac_ext=cpp
29995 ac_cpp='$CXXCPP $CPPFLAGS'
29996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30001 /* end confdefs.h. */
30002 #include <math.h>
30003 #ifdef HAVE_IEEEFP_H
30004 #include <ieeefp.h>
30005 #endif
30008 main ()
30010 _qfpclass(0);
30012 return 0;
30014 _ACEOF
30015 if ac_fn_cxx_try_compile "$LINENO"; then :
30016 glibcxx_cv_func__qfpclass_use=yes
30017 else
30018 glibcxx_cv_func__qfpclass_use=no
30020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30021 ac_ext=c
30022 ac_cpp='$CPP $CPPFLAGS'
30023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30032 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30034 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30035 for ac_func in _qfpclass
30036 do :
30037 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30038 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30039 cat >>confdefs.h <<_ACEOF
30040 #define HAVE__QFPCLASS 1
30041 _ACEOF
30044 done
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30054 $as_echo_n "checking for hypot declaration... " >&6; }
30055 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30056 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30057 $as_echo_n "(cached) " >&6
30058 else
30061 ac_ext=cpp
30062 ac_cpp='$CXXCPP $CPPFLAGS'
30063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30068 /* end confdefs.h. */
30069 #include <math.h>
30071 main ()
30073 hypot(0, 0);
30075 return 0;
30077 _ACEOF
30078 if ac_fn_cxx_try_compile "$LINENO"; then :
30079 glibcxx_cv_func_hypot_use=yes
30080 else
30081 glibcxx_cv_func_hypot_use=no
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30084 ac_ext=c
30085 ac_cpp='$CPP $CPPFLAGS'
30086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30095 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30097 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30098 for ac_func in hypot
30099 do :
30100 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30101 if test "x$ac_cv_func_hypot" = x""yes; then :
30102 cat >>confdefs.h <<_ACEOF
30103 #define HAVE_HYPOT 1
30104 _ACEOF
30107 done
30109 else
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30112 $as_echo_n "checking for _hypot declaration... " >&6; }
30113 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30114 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30115 $as_echo_n "(cached) " >&6
30116 else
30119 ac_ext=cpp
30120 ac_cpp='$CXXCPP $CPPFLAGS'
30121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30126 /* end confdefs.h. */
30127 #include <math.h>
30129 main ()
30131 _hypot(0, 0);
30133 return 0;
30135 _ACEOF
30136 if ac_fn_cxx_try_compile "$LINENO"; then :
30137 glibcxx_cv_func__hypot_use=yes
30138 else
30139 glibcxx_cv_func__hypot_use=no
30141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30153 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30155 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30156 for ac_func in _hypot
30157 do :
30158 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30159 if test "x$ac_cv_func__hypot" = x""yes; then :
30160 cat >>confdefs.h <<_ACEOF
30161 #define HAVE__HYPOT 1
30162 _ACEOF
30165 done
30174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30175 $as_echo_n "checking for float trig functions... " >&6; }
30176 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30177 $as_echo_n "(cached) " >&6
30178 else
30181 ac_ext=cpp
30182 ac_cpp='$CXXCPP $CPPFLAGS'
30183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h. */
30189 #include <math.h>
30191 main ()
30193 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30195 return 0;
30197 _ACEOF
30198 if ac_fn_cxx_try_compile "$LINENO"; then :
30199 glibcxx_cv_func_float_trig_use=yes
30200 else
30201 glibcxx_cv_func_float_trig_use=no
30203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30204 ac_ext=c
30205 ac_cpp='$CPP $CPPFLAGS'
30206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30213 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30214 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30215 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30216 do :
30217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30219 eval as_val=\$$as_ac_var
30220 if test "x$as_val" = x""yes; then :
30221 cat >>confdefs.h <<_ACEOF
30222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30223 _ACEOF
30226 done
30228 else
30229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30230 $as_echo_n "checking for _float trig functions... " >&6; }
30231 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30232 $as_echo_n "(cached) " >&6
30233 else
30236 ac_ext=cpp
30237 ac_cpp='$CXXCPP $CPPFLAGS'
30238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30243 /* end confdefs.h. */
30244 #include <math.h>
30246 main ()
30248 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30250 return 0;
30252 _ACEOF
30253 if ac_fn_cxx_try_compile "$LINENO"; then :
30254 glibcxx_cv_func__float_trig_use=yes
30255 else
30256 glibcxx_cv_func__float_trig_use=no
30258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30259 ac_ext=c
30260 ac_cpp='$CPP $CPPFLAGS'
30261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30268 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30269 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30270 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30271 do :
30272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30274 eval as_val=\$$as_ac_var
30275 if test "x$as_val" = x""yes; then :
30276 cat >>confdefs.h <<_ACEOF
30277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30278 _ACEOF
30281 done
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30291 $as_echo_n "checking for float round functions... " >&6; }
30292 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30293 $as_echo_n "(cached) " >&6
30294 else
30297 ac_ext=cpp
30298 ac_cpp='$CXXCPP $CPPFLAGS'
30299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30304 /* end confdefs.h. */
30305 #include <math.h>
30307 main ()
30309 ceilf (0); floorf (0);
30311 return 0;
30313 _ACEOF
30314 if ac_fn_cxx_try_compile "$LINENO"; then :
30315 glibcxx_cv_func_float_round_use=yes
30316 else
30317 glibcxx_cv_func_float_round_use=no
30319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30320 ac_ext=c
30321 ac_cpp='$CPP $CPPFLAGS'
30322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30329 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30330 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30331 for ac_func in ceilf floorf
30332 do :
30333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30335 eval as_val=\$$as_ac_var
30336 if test "x$as_val" = x""yes; then :
30337 cat >>confdefs.h <<_ACEOF
30338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30339 _ACEOF
30342 done
30344 else
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30346 $as_echo_n "checking for _float round functions... " >&6; }
30347 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30348 $as_echo_n "(cached) " >&6
30349 else
30352 ac_ext=cpp
30353 ac_cpp='$CXXCPP $CPPFLAGS'
30354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30359 /* end confdefs.h. */
30360 #include <math.h>
30362 main ()
30364 _ceilf (0); _floorf (0);
30366 return 0;
30368 _ACEOF
30369 if ac_fn_cxx_try_compile "$LINENO"; then :
30370 glibcxx_cv_func__float_round_use=yes
30371 else
30372 glibcxx_cv_func__float_round_use=no
30374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30375 ac_ext=c
30376 ac_cpp='$CPP $CPPFLAGS'
30377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30384 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30385 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30386 for ac_func in _ceilf _floorf
30387 do :
30388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30390 eval as_val=\$$as_ac_var
30391 if test "x$as_val" = x""yes; then :
30392 cat >>confdefs.h <<_ACEOF
30393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30394 _ACEOF
30397 done
30407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30408 $as_echo_n "checking for expf declaration... " >&6; }
30409 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30410 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30411 $as_echo_n "(cached) " >&6
30412 else
30415 ac_ext=cpp
30416 ac_cpp='$CXXCPP $CPPFLAGS'
30417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30422 /* end confdefs.h. */
30423 #include <math.h>
30424 #ifdef HAVE_IEEEFP_H
30425 #include <ieeefp.h>
30426 #endif
30429 main ()
30431 expf(0);
30433 return 0;
30435 _ACEOF
30436 if ac_fn_cxx_try_compile "$LINENO"; then :
30437 glibcxx_cv_func_expf_use=yes
30438 else
30439 glibcxx_cv_func_expf_use=no
30441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30442 ac_ext=c
30443 ac_cpp='$CPP $CPPFLAGS'
30444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30453 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30455 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30456 for ac_func in expf
30457 do :
30458 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30459 if test "x$ac_cv_func_expf" = x""yes; then :
30460 cat >>confdefs.h <<_ACEOF
30461 #define HAVE_EXPF 1
30462 _ACEOF
30465 done
30467 else
30469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30470 $as_echo_n "checking for _expf declaration... " >&6; }
30471 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30472 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30473 $as_echo_n "(cached) " >&6
30474 else
30477 ac_ext=cpp
30478 ac_cpp='$CXXCPP $CPPFLAGS'
30479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30484 /* end confdefs.h. */
30485 #include <math.h>
30486 #ifdef HAVE_IEEEFP_H
30487 #include <ieeefp.h>
30488 #endif
30491 main ()
30493 _expf(0);
30495 return 0;
30497 _ACEOF
30498 if ac_fn_cxx_try_compile "$LINENO"; then :
30499 glibcxx_cv_func__expf_use=yes
30500 else
30501 glibcxx_cv_func__expf_use=no
30503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30504 ac_ext=c
30505 ac_cpp='$CPP $CPPFLAGS'
30506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30515 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30517 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30518 for ac_func in _expf
30519 do :
30520 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30521 if test "x$ac_cv_func__expf" = x""yes; then :
30522 cat >>confdefs.h <<_ACEOF
30523 #define HAVE__EXPF 1
30524 _ACEOF
30527 done
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30537 $as_echo_n "checking for isnanf declaration... " >&6; }
30538 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30539 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30544 ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30552 #include <math.h>
30553 #ifdef HAVE_IEEEFP_H
30554 #include <ieeefp.h>
30555 #endif
30558 main ()
30560 isnanf(0);
30562 return 0;
30564 _ACEOF
30565 if ac_fn_cxx_try_compile "$LINENO"; then :
30566 glibcxx_cv_func_isnanf_use=yes
30567 else
30568 glibcxx_cv_func_isnanf_use=no
30570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30571 ac_ext=c
30572 ac_cpp='$CPP $CPPFLAGS'
30573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30582 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30584 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30585 for ac_func in isnanf
30586 do :
30587 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30588 if test "x$ac_cv_func_isnanf" = x""yes; then :
30589 cat >>confdefs.h <<_ACEOF
30590 #define HAVE_ISNANF 1
30591 _ACEOF
30594 done
30596 else
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30599 $as_echo_n "checking for _isnanf declaration... " >&6; }
30600 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30601 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30602 $as_echo_n "(cached) " >&6
30603 else
30606 ac_ext=cpp
30607 ac_cpp='$CXXCPP $CPPFLAGS'
30608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h. */
30614 #include <math.h>
30615 #ifdef HAVE_IEEEFP_H
30616 #include <ieeefp.h>
30617 #endif
30620 main ()
30622 _isnanf(0);
30624 return 0;
30626 _ACEOF
30627 if ac_fn_cxx_try_compile "$LINENO"; then :
30628 glibcxx_cv_func__isnanf_use=yes
30629 else
30630 glibcxx_cv_func__isnanf_use=no
30632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30633 ac_ext=c
30634 ac_cpp='$CPP $CPPFLAGS'
30635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30644 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30646 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30647 for ac_func in _isnanf
30648 do :
30649 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30650 if test "x$ac_cv_func__isnanf" = x""yes; then :
30651 cat >>confdefs.h <<_ACEOF
30652 #define HAVE__ISNANF 1
30653 _ACEOF
30656 done
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30666 $as_echo_n "checking for isinff declaration... " >&6; }
30667 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30668 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30669 $as_echo_n "(cached) " >&6
30670 else
30673 ac_ext=cpp
30674 ac_cpp='$CXXCPP $CPPFLAGS'
30675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30680 /* end confdefs.h. */
30681 #include <math.h>
30682 #ifdef HAVE_IEEEFP_H
30683 #include <ieeefp.h>
30684 #endif
30687 main ()
30689 isinff(0);
30691 return 0;
30693 _ACEOF
30694 if ac_fn_cxx_try_compile "$LINENO"; then :
30695 glibcxx_cv_func_isinff_use=yes
30696 else
30697 glibcxx_cv_func_isinff_use=no
30699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30700 ac_ext=c
30701 ac_cpp='$CPP $CPPFLAGS'
30702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30711 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30713 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30714 for ac_func in isinff
30715 do :
30716 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30717 if test "x$ac_cv_func_isinff" = x""yes; then :
30718 cat >>confdefs.h <<_ACEOF
30719 #define HAVE_ISINFF 1
30720 _ACEOF
30723 done
30725 else
30727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30728 $as_echo_n "checking for _isinff declaration... " >&6; }
30729 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30730 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30731 $as_echo_n "(cached) " >&6
30732 else
30735 ac_ext=cpp
30736 ac_cpp='$CXXCPP $CPPFLAGS'
30737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30742 /* end confdefs.h. */
30743 #include <math.h>
30744 #ifdef HAVE_IEEEFP_H
30745 #include <ieeefp.h>
30746 #endif
30749 main ()
30751 _isinff(0);
30753 return 0;
30755 _ACEOF
30756 if ac_fn_cxx_try_compile "$LINENO"; then :
30757 glibcxx_cv_func__isinff_use=yes
30758 else
30759 glibcxx_cv_func__isinff_use=no
30761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30762 ac_ext=c
30763 ac_cpp='$CPP $CPPFLAGS'
30764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30773 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30775 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30776 for ac_func in _isinff
30777 do :
30778 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30779 if test "x$ac_cv_func__isinff" = x""yes; then :
30780 cat >>confdefs.h <<_ACEOF
30781 #define HAVE__ISINFF 1
30782 _ACEOF
30785 done
30794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30795 $as_echo_n "checking for atan2f declaration... " >&6; }
30796 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30797 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30798 $as_echo_n "(cached) " >&6
30799 else
30802 ac_ext=cpp
30803 ac_cpp='$CXXCPP $CPPFLAGS'
30804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30809 /* end confdefs.h. */
30810 #include <math.h>
30812 main ()
30814 atan2f(0, 0);
30816 return 0;
30818 _ACEOF
30819 if ac_fn_cxx_try_compile "$LINENO"; then :
30820 glibcxx_cv_func_atan2f_use=yes
30821 else
30822 glibcxx_cv_func_atan2f_use=no
30824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30825 ac_ext=c
30826 ac_cpp='$CPP $CPPFLAGS'
30827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30836 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30838 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30839 for ac_func in atan2f
30840 do :
30841 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30842 if test "x$ac_cv_func_atan2f" = x""yes; then :
30843 cat >>confdefs.h <<_ACEOF
30844 #define HAVE_ATAN2F 1
30845 _ACEOF
30848 done
30850 else
30852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30853 $as_echo_n "checking for _atan2f declaration... " >&6; }
30854 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30855 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30856 $as_echo_n "(cached) " >&6
30857 else
30860 ac_ext=cpp
30861 ac_cpp='$CXXCPP $CPPFLAGS'
30862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30867 /* end confdefs.h. */
30868 #include <math.h>
30870 main ()
30872 _atan2f(0, 0);
30874 return 0;
30876 _ACEOF
30877 if ac_fn_cxx_try_compile "$LINENO"; then :
30878 glibcxx_cv_func__atan2f_use=yes
30879 else
30880 glibcxx_cv_func__atan2f_use=no
30882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30883 ac_ext=c
30884 ac_cpp='$CPP $CPPFLAGS'
30885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30894 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30896 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30897 for ac_func in _atan2f
30898 do :
30899 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30900 if test "x$ac_cv_func__atan2f" = x""yes; then :
30901 cat >>confdefs.h <<_ACEOF
30902 #define HAVE__ATAN2F 1
30903 _ACEOF
30906 done
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30916 $as_echo_n "checking for fabsf declaration... " >&6; }
30917 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30918 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30919 $as_echo_n "(cached) " >&6
30920 else
30923 ac_ext=cpp
30924 ac_cpp='$CXXCPP $CPPFLAGS'
30925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30931 #include <math.h>
30932 #ifdef HAVE_IEEEFP_H
30933 #include <ieeefp.h>
30934 #endif
30937 main ()
30939 fabsf(0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_fabsf_use=yes
30946 else
30947 glibcxx_cv_func_fabsf_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30961 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30963 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30964 for ac_func in fabsf
30965 do :
30966 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30967 if test "x$ac_cv_func_fabsf" = x""yes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE_FABSF 1
30970 _ACEOF
30973 done
30975 else
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30978 $as_echo_n "checking for _fabsf declaration... " >&6; }
30979 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30980 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30981 $as_echo_n "(cached) " >&6
30982 else
30985 ac_ext=cpp
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992 /* end confdefs.h. */
30993 #include <math.h>
30994 #ifdef HAVE_IEEEFP_H
30995 #include <ieeefp.h>
30996 #endif
30999 main ()
31001 _fabsf(0);
31003 return 0;
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007 glibcxx_cv_func__fabsf_use=yes
31008 else
31009 glibcxx_cv_func__fabsf_use=no
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31023 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31025 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31026 for ac_func in _fabsf
31027 do :
31028 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31029 if test "x$ac_cv_func__fabsf" = x""yes; then :
31030 cat >>confdefs.h <<_ACEOF
31031 #define HAVE__FABSF 1
31032 _ACEOF
31035 done
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31045 $as_echo_n "checking for fmodf declaration... " >&6; }
31046 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31047 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31048 $as_echo_n "(cached) " >&6
31049 else
31052 ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h. */
31060 #include <math.h>
31062 main ()
31064 fmodf(0, 0);
31066 return 0;
31068 _ACEOF
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070 glibcxx_cv_func_fmodf_use=yes
31071 else
31072 glibcxx_cv_func_fmodf_use=no
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31075 ac_ext=c
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31086 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31088 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31089 for ac_func in fmodf
31090 do :
31091 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31092 if test "x$ac_cv_func_fmodf" = x""yes; then :
31093 cat >>confdefs.h <<_ACEOF
31094 #define HAVE_FMODF 1
31095 _ACEOF
31098 done
31100 else
31102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31103 $as_echo_n "checking for _fmodf declaration... " >&6; }
31104 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31105 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31106 $as_echo_n "(cached) " >&6
31107 else
31110 ac_ext=cpp
31111 ac_cpp='$CXXCPP $CPPFLAGS'
31112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31118 #include <math.h>
31120 main ()
31122 _fmodf(0, 0);
31124 return 0;
31126 _ACEOF
31127 if ac_fn_cxx_try_compile "$LINENO"; then :
31128 glibcxx_cv_func__fmodf_use=yes
31129 else
31130 glibcxx_cv_func__fmodf_use=no
31132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31133 ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31144 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31146 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31147 for ac_func in _fmodf
31148 do :
31149 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31150 if test "x$ac_cv_func__fmodf" = x""yes; then :
31151 cat >>confdefs.h <<_ACEOF
31152 #define HAVE__FMODF 1
31153 _ACEOF
31156 done
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31166 $as_echo_n "checking for frexpf declaration... " >&6; }
31167 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31168 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31169 $as_echo_n "(cached) " >&6
31170 else
31173 ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h. */
31181 #include <math.h>
31183 main ()
31185 frexpf(0, 0);
31187 return 0;
31189 _ACEOF
31190 if ac_fn_cxx_try_compile "$LINENO"; then :
31191 glibcxx_cv_func_frexpf_use=yes
31192 else
31193 glibcxx_cv_func_frexpf_use=no
31195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31196 ac_ext=c
31197 ac_cpp='$CPP $CPPFLAGS'
31198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31207 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31209 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31210 for ac_func in frexpf
31211 do :
31212 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31213 if test "x$ac_cv_func_frexpf" = x""yes; then :
31214 cat >>confdefs.h <<_ACEOF
31215 #define HAVE_FREXPF 1
31216 _ACEOF
31219 done
31221 else
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31224 $as_echo_n "checking for _frexpf declaration... " >&6; }
31225 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31226 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31227 $as_echo_n "(cached) " >&6
31228 else
31231 ac_ext=cpp
31232 ac_cpp='$CXXCPP $CPPFLAGS'
31233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31238 /* end confdefs.h. */
31239 #include <math.h>
31241 main ()
31243 _frexpf(0, 0);
31245 return 0;
31247 _ACEOF
31248 if ac_fn_cxx_try_compile "$LINENO"; then :
31249 glibcxx_cv_func__frexpf_use=yes
31250 else
31251 glibcxx_cv_func__frexpf_use=no
31253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31254 ac_ext=c
31255 ac_cpp='$CPP $CPPFLAGS'
31256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31265 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31267 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31268 for ac_func in _frexpf
31269 do :
31270 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31271 if test "x$ac_cv_func__frexpf" = x""yes; then :
31272 cat >>confdefs.h <<_ACEOF
31273 #define HAVE__FREXPF 1
31274 _ACEOF
31277 done
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31287 $as_echo_n "checking for hypotf declaration... " >&6; }
31288 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31289 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31290 $as_echo_n "(cached) " >&6
31291 else
31294 ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h. */
31302 #include <math.h>
31304 main ()
31306 hypotf(0, 0);
31308 return 0;
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func_hypotf_use=yes
31313 else
31314 glibcxx_cv_func_hypotf_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31328 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31330 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31331 for ac_func in hypotf
31332 do :
31333 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31334 if test "x$ac_cv_func_hypotf" = x""yes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE_HYPOTF 1
31337 _ACEOF
31340 done
31342 else
31344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31345 $as_echo_n "checking for _hypotf declaration... " >&6; }
31346 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31347 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31348 $as_echo_n "(cached) " >&6
31349 else
31352 ac_ext=cpp
31353 ac_cpp='$CXXCPP $CPPFLAGS'
31354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31359 /* end confdefs.h. */
31360 #include <math.h>
31362 main ()
31364 _hypotf(0, 0);
31366 return 0;
31368 _ACEOF
31369 if ac_fn_cxx_try_compile "$LINENO"; then :
31370 glibcxx_cv_func__hypotf_use=yes
31371 else
31372 glibcxx_cv_func__hypotf_use=no
31374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31375 ac_ext=c
31376 ac_cpp='$CPP $CPPFLAGS'
31377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31386 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31388 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31389 for ac_func in _hypotf
31390 do :
31391 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31392 if test "x$ac_cv_func__hypotf" = x""yes; then :
31393 cat >>confdefs.h <<_ACEOF
31394 #define HAVE__HYPOTF 1
31395 _ACEOF
31398 done
31407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31408 $as_echo_n "checking for ldexpf declaration... " >&6; }
31409 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31410 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31411 $as_echo_n "(cached) " >&6
31412 else
31415 ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h. */
31423 #include <math.h>
31425 main ()
31427 ldexpf(0, 0);
31429 return 0;
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433 glibcxx_cv_func_ldexpf_use=yes
31434 else
31435 glibcxx_cv_func_ldexpf_use=no
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31449 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31451 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31452 for ac_func in ldexpf
31453 do :
31454 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31455 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31456 cat >>confdefs.h <<_ACEOF
31457 #define HAVE_LDEXPF 1
31458 _ACEOF
31461 done
31463 else
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31466 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31467 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31468 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31469 $as_echo_n "(cached) " >&6
31470 else
31473 ac_ext=cpp
31474 ac_cpp='$CXXCPP $CPPFLAGS'
31475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31480 /* end confdefs.h. */
31481 #include <math.h>
31483 main ()
31485 _ldexpf(0, 0);
31487 return 0;
31489 _ACEOF
31490 if ac_fn_cxx_try_compile "$LINENO"; then :
31491 glibcxx_cv_func__ldexpf_use=yes
31492 else
31493 glibcxx_cv_func__ldexpf_use=no
31495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31496 ac_ext=c
31497 ac_cpp='$CPP $CPPFLAGS'
31498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31507 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31509 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31510 for ac_func in _ldexpf
31511 do :
31512 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31513 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31514 cat >>confdefs.h <<_ACEOF
31515 #define HAVE__LDEXPF 1
31516 _ACEOF
31519 done
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31529 $as_echo_n "checking for logf declaration... " >&6; }
31530 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31531 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31536 ac_ext=cpp
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31543 /* end confdefs.h. */
31544 #include <math.h>
31545 #ifdef HAVE_IEEEFP_H
31546 #include <ieeefp.h>
31547 #endif
31550 main ()
31552 logf(0);
31554 return 0;
31556 _ACEOF
31557 if ac_fn_cxx_try_compile "$LINENO"; then :
31558 glibcxx_cv_func_logf_use=yes
31559 else
31560 glibcxx_cv_func_logf_use=no
31562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31563 ac_ext=c
31564 ac_cpp='$CPP $CPPFLAGS'
31565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31574 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31576 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31577 for ac_func in logf
31578 do :
31579 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31580 if test "x$ac_cv_func_logf" = x""yes; then :
31581 cat >>confdefs.h <<_ACEOF
31582 #define HAVE_LOGF 1
31583 _ACEOF
31586 done
31588 else
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31591 $as_echo_n "checking for _logf declaration... " >&6; }
31592 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31593 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31594 $as_echo_n "(cached) " >&6
31595 else
31598 ac_ext=cpp
31599 ac_cpp='$CXXCPP $CPPFLAGS'
31600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31605 /* end confdefs.h. */
31606 #include <math.h>
31607 #ifdef HAVE_IEEEFP_H
31608 #include <ieeefp.h>
31609 #endif
31612 main ()
31614 _logf(0);
31616 return 0;
31618 _ACEOF
31619 if ac_fn_cxx_try_compile "$LINENO"; then :
31620 glibcxx_cv_func__logf_use=yes
31621 else
31622 glibcxx_cv_func__logf_use=no
31624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31625 ac_ext=c
31626 ac_cpp='$CPP $CPPFLAGS'
31627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31636 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31638 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31639 for ac_func in _logf
31640 do :
31641 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31642 if test "x$ac_cv_func__logf" = x""yes; then :
31643 cat >>confdefs.h <<_ACEOF
31644 #define HAVE__LOGF 1
31645 _ACEOF
31648 done
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31658 $as_echo_n "checking for log10f declaration... " >&6; }
31659 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31660 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31661 $as_echo_n "(cached) " >&6
31662 else
31665 ac_ext=cpp
31666 ac_cpp='$CXXCPP $CPPFLAGS'
31667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31672 /* end confdefs.h. */
31673 #include <math.h>
31674 #ifdef HAVE_IEEEFP_H
31675 #include <ieeefp.h>
31676 #endif
31679 main ()
31681 log10f(0);
31683 return 0;
31685 _ACEOF
31686 if ac_fn_cxx_try_compile "$LINENO"; then :
31687 glibcxx_cv_func_log10f_use=yes
31688 else
31689 glibcxx_cv_func_log10f_use=no
31691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31692 ac_ext=c
31693 ac_cpp='$CPP $CPPFLAGS'
31694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31703 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31705 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31706 for ac_func in log10f
31707 do :
31708 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31709 if test "x$ac_cv_func_log10f" = x""yes; then :
31710 cat >>confdefs.h <<_ACEOF
31711 #define HAVE_LOG10F 1
31712 _ACEOF
31715 done
31717 else
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31720 $as_echo_n "checking for _log10f declaration... " >&6; }
31721 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31722 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31723 $as_echo_n "(cached) " >&6
31724 else
31727 ac_ext=cpp
31728 ac_cpp='$CXXCPP $CPPFLAGS'
31729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31734 /* end confdefs.h. */
31735 #include <math.h>
31736 #ifdef HAVE_IEEEFP_H
31737 #include <ieeefp.h>
31738 #endif
31741 main ()
31743 _log10f(0);
31745 return 0;
31747 _ACEOF
31748 if ac_fn_cxx_try_compile "$LINENO"; then :
31749 glibcxx_cv_func__log10f_use=yes
31750 else
31751 glibcxx_cv_func__log10f_use=no
31753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31754 ac_ext=c
31755 ac_cpp='$CPP $CPPFLAGS'
31756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31765 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31767 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31768 for ac_func in _log10f
31769 do :
31770 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31771 if test "x$ac_cv_func__log10f" = x""yes; then :
31772 cat >>confdefs.h <<_ACEOF
31773 #define HAVE__LOG10F 1
31774 _ACEOF
31777 done
31786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31787 $as_echo_n "checking for modff declaration... " >&6; }
31788 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31789 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31790 $as_echo_n "(cached) " >&6
31791 else
31794 ac_ext=cpp
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h. */
31802 #include <math.h>
31804 main ()
31806 modff(0, 0);
31808 return 0;
31810 _ACEOF
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812 glibcxx_cv_func_modff_use=yes
31813 else
31814 glibcxx_cv_func_modff_use=no
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31817 ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31828 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31830 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31831 for ac_func in modff
31832 do :
31833 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31834 if test "x$ac_cv_func_modff" = x""yes; then :
31835 cat >>confdefs.h <<_ACEOF
31836 #define HAVE_MODFF 1
31837 _ACEOF
31840 done
31842 else
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31845 $as_echo_n "checking for _modff declaration... " >&6; }
31846 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31847 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31848 $as_echo_n "(cached) " >&6
31849 else
31852 ac_ext=cpp
31853 ac_cpp='$CXXCPP $CPPFLAGS'
31854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31859 /* end confdefs.h. */
31860 #include <math.h>
31862 main ()
31864 _modff(0, 0);
31866 return 0;
31868 _ACEOF
31869 if ac_fn_cxx_try_compile "$LINENO"; then :
31870 glibcxx_cv_func__modff_use=yes
31871 else
31872 glibcxx_cv_func__modff_use=no
31874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31875 ac_ext=c
31876 ac_cpp='$CPP $CPPFLAGS'
31877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31886 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31888 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31889 for ac_func in _modff
31890 do :
31891 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31892 if test "x$ac_cv_func__modff" = x""yes; then :
31893 cat >>confdefs.h <<_ACEOF
31894 #define HAVE__MODFF 1
31895 _ACEOF
31898 done
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31908 $as_echo_n "checking for modf declaration... " >&6; }
31909 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31910 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31911 $as_echo_n "(cached) " >&6
31912 else
31915 ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h. */
31923 #include <math.h>
31925 main ()
31927 modf(0, 0);
31929 return 0;
31931 _ACEOF
31932 if ac_fn_cxx_try_compile "$LINENO"; then :
31933 glibcxx_cv_func_modf_use=yes
31934 else
31935 glibcxx_cv_func_modf_use=no
31937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31938 ac_ext=c
31939 ac_cpp='$CPP $CPPFLAGS'
31940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31949 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31951 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31952 for ac_func in modf
31953 do :
31954 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31955 if test "x$ac_cv_func_modf" = x""yes; then :
31956 cat >>confdefs.h <<_ACEOF
31957 #define HAVE_MODF 1
31958 _ACEOF
31961 done
31963 else
31965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31966 $as_echo_n "checking for _modf declaration... " >&6; }
31967 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31968 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31969 $as_echo_n "(cached) " >&6
31970 else
31973 ac_ext=cpp
31974 ac_cpp='$CXXCPP $CPPFLAGS'
31975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31980 /* end confdefs.h. */
31981 #include <math.h>
31983 main ()
31985 _modf(0, 0);
31987 return 0;
31989 _ACEOF
31990 if ac_fn_cxx_try_compile "$LINENO"; then :
31991 glibcxx_cv_func__modf_use=yes
31992 else
31993 glibcxx_cv_func__modf_use=no
31995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31996 ac_ext=c
31997 ac_cpp='$CPP $CPPFLAGS'
31998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32007 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32009 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32010 for ac_func in _modf
32011 do :
32012 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32013 if test "x$ac_cv_func__modf" = x""yes; then :
32014 cat >>confdefs.h <<_ACEOF
32015 #define HAVE__MODF 1
32016 _ACEOF
32019 done
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32029 $as_echo_n "checking for powf declaration... " >&6; }
32030 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32031 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32032 $as_echo_n "(cached) " >&6
32033 else
32036 ac_ext=cpp
32037 ac_cpp='$CXXCPP $CPPFLAGS'
32038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32043 /* end confdefs.h. */
32044 #include <math.h>
32046 main ()
32048 powf(0, 0);
32050 return 0;
32052 _ACEOF
32053 if ac_fn_cxx_try_compile "$LINENO"; then :
32054 glibcxx_cv_func_powf_use=yes
32055 else
32056 glibcxx_cv_func_powf_use=no
32058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32059 ac_ext=c
32060 ac_cpp='$CPP $CPPFLAGS'
32061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32070 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32072 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32073 for ac_func in powf
32074 do :
32075 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32076 if test "x$ac_cv_func_powf" = x""yes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE_POWF 1
32079 _ACEOF
32082 done
32084 else
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32087 $as_echo_n "checking for _powf declaration... " >&6; }
32088 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32089 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32090 $as_echo_n "(cached) " >&6
32091 else
32094 ac_ext=cpp
32095 ac_cpp='$CXXCPP $CPPFLAGS'
32096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32101 /* end confdefs.h. */
32102 #include <math.h>
32104 main ()
32106 _powf(0, 0);
32108 return 0;
32110 _ACEOF
32111 if ac_fn_cxx_try_compile "$LINENO"; then :
32112 glibcxx_cv_func__powf_use=yes
32113 else
32114 glibcxx_cv_func__powf_use=no
32116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32117 ac_ext=c
32118 ac_cpp='$CPP $CPPFLAGS'
32119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32128 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32130 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32131 for ac_func in _powf
32132 do :
32133 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32134 if test "x$ac_cv_func__powf" = x""yes; then :
32135 cat >>confdefs.h <<_ACEOF
32136 #define HAVE__POWF 1
32137 _ACEOF
32140 done
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32150 $as_echo_n "checking for sqrtf declaration... " >&6; }
32151 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32152 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32153 $as_echo_n "(cached) " >&6
32154 else
32157 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h. */
32165 #include <math.h>
32166 #ifdef HAVE_IEEEFP_H
32167 #include <ieeefp.h>
32168 #endif
32171 main ()
32173 sqrtf(0);
32175 return 0;
32177 _ACEOF
32178 if ac_fn_cxx_try_compile "$LINENO"; then :
32179 glibcxx_cv_func_sqrtf_use=yes
32180 else
32181 glibcxx_cv_func_sqrtf_use=no
32183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32184 ac_ext=c
32185 ac_cpp='$CPP $CPPFLAGS'
32186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32195 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32197 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32198 for ac_func in sqrtf
32199 do :
32200 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32201 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32202 cat >>confdefs.h <<_ACEOF
32203 #define HAVE_SQRTF 1
32204 _ACEOF
32207 done
32209 else
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32212 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32213 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32214 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32215 $as_echo_n "(cached) " >&6
32216 else
32219 ac_ext=cpp
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32226 /* end confdefs.h. */
32227 #include <math.h>
32228 #ifdef HAVE_IEEEFP_H
32229 #include <ieeefp.h>
32230 #endif
32233 main ()
32235 _sqrtf(0);
32237 return 0;
32239 _ACEOF
32240 if ac_fn_cxx_try_compile "$LINENO"; then :
32241 glibcxx_cv_func__sqrtf_use=yes
32242 else
32243 glibcxx_cv_func__sqrtf_use=no
32245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32246 ac_ext=c
32247 ac_cpp='$CPP $CPPFLAGS'
32248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32257 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32259 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32260 for ac_func in _sqrtf
32261 do :
32262 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32263 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32264 cat >>confdefs.h <<_ACEOF
32265 #define HAVE__SQRTF 1
32266 _ACEOF
32269 done
32278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32279 $as_echo_n "checking for sincosf declaration... " >&6; }
32280 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32281 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32282 $as_echo_n "(cached) " >&6
32283 else
32286 ac_ext=cpp
32287 ac_cpp='$CXXCPP $CPPFLAGS'
32288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32293 /* end confdefs.h. */
32294 #include <math.h>
32296 main ()
32298 sincosf(0, 0, 0);
32300 return 0;
32302 _ACEOF
32303 if ac_fn_cxx_try_compile "$LINENO"; then :
32304 glibcxx_cv_func_sincosf_use=yes
32305 else
32306 glibcxx_cv_func_sincosf_use=no
32308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32309 ac_ext=c
32310 ac_cpp='$CPP $CPPFLAGS'
32311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32320 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32322 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32323 for ac_func in sincosf
32324 do :
32325 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32326 if test "x$ac_cv_func_sincosf" = x""yes; then :
32327 cat >>confdefs.h <<_ACEOF
32328 #define HAVE_SINCOSF 1
32329 _ACEOF
32332 done
32334 else
32336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32337 $as_echo_n "checking for _sincosf declaration... " >&6; }
32338 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32339 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32340 $as_echo_n "(cached) " >&6
32341 else
32344 ac_ext=cpp
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32351 /* end confdefs.h. */
32352 #include <math.h>
32354 main ()
32356 _sincosf(0, 0, 0);
32358 return 0;
32360 _ACEOF
32361 if ac_fn_cxx_try_compile "$LINENO"; then :
32362 glibcxx_cv_func__sincosf_use=yes
32363 else
32364 glibcxx_cv_func__sincosf_use=no
32366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32378 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32380 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32381 for ac_func in _sincosf
32382 do :
32383 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32384 if test "x$ac_cv_func__sincosf" = x""yes; then :
32385 cat >>confdefs.h <<_ACEOF
32386 #define HAVE__SINCOSF 1
32387 _ACEOF
32390 done
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32400 $as_echo_n "checking for finitef declaration... " >&6; }
32401 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32402 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32403 $as_echo_n "(cached) " >&6
32404 else
32407 ac_ext=cpp
32408 ac_cpp='$CXXCPP $CPPFLAGS'
32409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32414 /* end confdefs.h. */
32415 #include <math.h>
32416 #ifdef HAVE_IEEEFP_H
32417 #include <ieeefp.h>
32418 #endif
32421 main ()
32423 finitef(0);
32425 return 0;
32427 _ACEOF
32428 if ac_fn_cxx_try_compile "$LINENO"; then :
32429 glibcxx_cv_func_finitef_use=yes
32430 else
32431 glibcxx_cv_func_finitef_use=no
32433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434 ac_ext=c
32435 ac_cpp='$CPP $CPPFLAGS'
32436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32445 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32447 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32448 for ac_func in finitef
32449 do :
32450 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32451 if test "x$ac_cv_func_finitef" = x""yes; then :
32452 cat >>confdefs.h <<_ACEOF
32453 #define HAVE_FINITEF 1
32454 _ACEOF
32457 done
32459 else
32461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32462 $as_echo_n "checking for _finitef declaration... " >&6; }
32463 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32464 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32465 $as_echo_n "(cached) " >&6
32466 else
32469 ac_ext=cpp
32470 ac_cpp='$CXXCPP $CPPFLAGS'
32471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32476 /* end confdefs.h. */
32477 #include <math.h>
32478 #ifdef HAVE_IEEEFP_H
32479 #include <ieeefp.h>
32480 #endif
32483 main ()
32485 _finitef(0);
32487 return 0;
32489 _ACEOF
32490 if ac_fn_cxx_try_compile "$LINENO"; then :
32491 glibcxx_cv_func__finitef_use=yes
32492 else
32493 glibcxx_cv_func__finitef_use=no
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 ac_ext=c
32497 ac_cpp='$CPP $CPPFLAGS'
32498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32507 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32509 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32510 for ac_func in _finitef
32511 do :
32512 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32513 if test "x$ac_cv_func__finitef" = x""yes; then :
32514 cat >>confdefs.h <<_ACEOF
32515 #define HAVE__FINITEF 1
32516 _ACEOF
32519 done
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32529 $as_echo_n "checking for long double trig functions... " >&6; }
32530 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32531 $as_echo_n "(cached) " >&6
32532 else
32535 ac_ext=cpp
32536 ac_cpp='$CXXCPP $CPPFLAGS'
32537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32542 /* end confdefs.h. */
32543 #include <math.h>
32545 main ()
32547 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32549 return 0;
32551 _ACEOF
32552 if ac_fn_cxx_try_compile "$LINENO"; then :
32553 glibcxx_cv_func_long_double_trig_use=yes
32554 else
32555 glibcxx_cv_func_long_double_trig_use=no
32557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32558 ac_ext=c
32559 ac_cpp='$CPP $CPPFLAGS'
32560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32567 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32568 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32569 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32570 do :
32571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32573 eval as_val=\$$as_ac_var
32574 if test "x$as_val" = x""yes; then :
32575 cat >>confdefs.h <<_ACEOF
32576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32577 _ACEOF
32580 done
32582 else
32583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32584 $as_echo_n "checking for _long double trig functions... " >&6; }
32585 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32586 $as_echo_n "(cached) " >&6
32587 else
32590 ac_ext=cpp
32591 ac_cpp='$CXXCPP $CPPFLAGS'
32592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32597 /* end confdefs.h. */
32598 #include <math.h>
32600 main ()
32602 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32604 return 0;
32606 _ACEOF
32607 if ac_fn_cxx_try_compile "$LINENO"; then :
32608 glibcxx_cv_func__long_double_trig_use=yes
32609 else
32610 glibcxx_cv_func__long_double_trig_use=no
32612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32613 ac_ext=c
32614 ac_cpp='$CPP $CPPFLAGS'
32615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32622 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32623 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32624 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32625 do :
32626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32628 eval as_val=\$$as_ac_var
32629 if test "x$as_val" = x""yes; then :
32630 cat >>confdefs.h <<_ACEOF
32631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32632 _ACEOF
32635 done
32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32645 $as_echo_n "checking for long double round functions... " >&6; }
32646 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32647 $as_echo_n "(cached) " >&6
32648 else
32651 ac_ext=cpp
32652 ac_cpp='$CXXCPP $CPPFLAGS'
32653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32658 /* end confdefs.h. */
32659 #include <math.h>
32661 main ()
32663 ceill (0); floorl (0);
32665 return 0;
32667 _ACEOF
32668 if ac_fn_cxx_try_compile "$LINENO"; then :
32669 glibcxx_cv_func_long_double_round_use=yes
32670 else
32671 glibcxx_cv_func_long_double_round_use=no
32673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32674 ac_ext=c
32675 ac_cpp='$CPP $CPPFLAGS'
32676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32683 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32684 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32685 for ac_func in ceill floorl
32686 do :
32687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32689 eval as_val=\$$as_ac_var
32690 if test "x$as_val" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32693 _ACEOF
32696 done
32698 else
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32700 $as_echo_n "checking for _long double round functions... " >&6; }
32701 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32702 $as_echo_n "(cached) " >&6
32703 else
32706 ac_ext=cpp
32707 ac_cpp='$CXXCPP $CPPFLAGS'
32708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h. */
32714 #include <math.h>
32716 main ()
32718 _ceill (0); _floorl (0);
32720 return 0;
32722 _ACEOF
32723 if ac_fn_cxx_try_compile "$LINENO"; then :
32724 glibcxx_cv_func__long_double_round_use=yes
32725 else
32726 glibcxx_cv_func__long_double_round_use=no
32728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32729 ac_ext=c
32730 ac_cpp='$CPP $CPPFLAGS'
32731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32738 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32739 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32740 for ac_func in _ceill _floorl
32741 do :
32742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32744 eval as_val=\$$as_ac_var
32745 if test "x$as_val" = x""yes; then :
32746 cat >>confdefs.h <<_ACEOF
32747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32748 _ACEOF
32751 done
32761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32762 $as_echo_n "checking for isnanl declaration... " >&6; }
32763 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32764 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32765 $as_echo_n "(cached) " >&6
32766 else
32769 ac_ext=cpp
32770 ac_cpp='$CXXCPP $CPPFLAGS'
32771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32776 /* end confdefs.h. */
32777 #include <math.h>
32778 #ifdef HAVE_IEEEFP_H
32779 #include <ieeefp.h>
32780 #endif
32783 main ()
32785 isnanl(0);
32787 return 0;
32789 _ACEOF
32790 if ac_fn_cxx_try_compile "$LINENO"; then :
32791 glibcxx_cv_func_isnanl_use=yes
32792 else
32793 glibcxx_cv_func_isnanl_use=no
32795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796 ac_ext=c
32797 ac_cpp='$CPP $CPPFLAGS'
32798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32807 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32809 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32810 for ac_func in isnanl
32811 do :
32812 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32813 if test "x$ac_cv_func_isnanl" = x""yes; then :
32814 cat >>confdefs.h <<_ACEOF
32815 #define HAVE_ISNANL 1
32816 _ACEOF
32819 done
32821 else
32823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32824 $as_echo_n "checking for _isnanl declaration... " >&6; }
32825 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32826 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32827 $as_echo_n "(cached) " >&6
32828 else
32831 ac_ext=cpp
32832 ac_cpp='$CXXCPP $CPPFLAGS'
32833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32838 /* end confdefs.h. */
32839 #include <math.h>
32840 #ifdef HAVE_IEEEFP_H
32841 #include <ieeefp.h>
32842 #endif
32845 main ()
32847 _isnanl(0);
32849 return 0;
32851 _ACEOF
32852 if ac_fn_cxx_try_compile "$LINENO"; then :
32853 glibcxx_cv_func__isnanl_use=yes
32854 else
32855 glibcxx_cv_func__isnanl_use=no
32857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32858 ac_ext=c
32859 ac_cpp='$CPP $CPPFLAGS'
32860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32869 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32871 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32872 for ac_func in _isnanl
32873 do :
32874 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32875 if test "x$ac_cv_func__isnanl" = x""yes; then :
32876 cat >>confdefs.h <<_ACEOF
32877 #define HAVE__ISNANL 1
32878 _ACEOF
32881 done
32890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32891 $as_echo_n "checking for isinfl declaration... " >&6; }
32892 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32893 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32894 $as_echo_n "(cached) " >&6
32895 else
32898 ac_ext=cpp
32899 ac_cpp='$CXXCPP $CPPFLAGS'
32900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32905 /* end confdefs.h. */
32906 #include <math.h>
32907 #ifdef HAVE_IEEEFP_H
32908 #include <ieeefp.h>
32909 #endif
32912 main ()
32914 isinfl(0);
32916 return 0;
32918 _ACEOF
32919 if ac_fn_cxx_try_compile "$LINENO"; then :
32920 glibcxx_cv_func_isinfl_use=yes
32921 else
32922 glibcxx_cv_func_isinfl_use=no
32924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32925 ac_ext=c
32926 ac_cpp='$CPP $CPPFLAGS'
32927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32936 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32938 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32939 for ac_func in isinfl
32940 do :
32941 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32942 if test "x$ac_cv_func_isinfl" = x""yes; then :
32943 cat >>confdefs.h <<_ACEOF
32944 #define HAVE_ISINFL 1
32945 _ACEOF
32948 done
32950 else
32952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32953 $as_echo_n "checking for _isinfl declaration... " >&6; }
32954 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32955 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32956 $as_echo_n "(cached) " >&6
32957 else
32960 ac_ext=cpp
32961 ac_cpp='$CXXCPP $CPPFLAGS'
32962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32967 /* end confdefs.h. */
32968 #include <math.h>
32969 #ifdef HAVE_IEEEFP_H
32970 #include <ieeefp.h>
32971 #endif
32974 main ()
32976 _isinfl(0);
32978 return 0;
32980 _ACEOF
32981 if ac_fn_cxx_try_compile "$LINENO"; then :
32982 glibcxx_cv_func__isinfl_use=yes
32983 else
32984 glibcxx_cv_func__isinfl_use=no
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32987 ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32998 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33000 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33001 for ac_func in _isinfl
33002 do :
33003 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33004 if test "x$ac_cv_func__isinfl" = x""yes; then :
33005 cat >>confdefs.h <<_ACEOF
33006 #define HAVE__ISINFL 1
33007 _ACEOF
33010 done
33019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33020 $as_echo_n "checking for atan2l declaration... " >&6; }
33021 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33022 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33023 $as_echo_n "(cached) " >&6
33024 else
33027 ac_ext=cpp
33028 ac_cpp='$CXXCPP $CPPFLAGS'
33029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33034 /* end confdefs.h. */
33035 #include <math.h>
33037 main ()
33039 atan2l(0, 0);
33041 return 0;
33043 _ACEOF
33044 if ac_fn_cxx_try_compile "$LINENO"; then :
33045 glibcxx_cv_func_atan2l_use=yes
33046 else
33047 glibcxx_cv_func_atan2l_use=no
33049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33050 ac_ext=c
33051 ac_cpp='$CPP $CPPFLAGS'
33052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33061 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33063 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33064 for ac_func in atan2l
33065 do :
33066 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33067 if test "x$ac_cv_func_atan2l" = x""yes; then :
33068 cat >>confdefs.h <<_ACEOF
33069 #define HAVE_ATAN2L 1
33070 _ACEOF
33073 done
33075 else
33077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33078 $as_echo_n "checking for _atan2l declaration... " >&6; }
33079 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33080 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33081 $as_echo_n "(cached) " >&6
33082 else
33085 ac_ext=cpp
33086 ac_cpp='$CXXCPP $CPPFLAGS'
33087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33092 /* end confdefs.h. */
33093 #include <math.h>
33095 main ()
33097 _atan2l(0, 0);
33099 return 0;
33101 _ACEOF
33102 if ac_fn_cxx_try_compile "$LINENO"; then :
33103 glibcxx_cv_func__atan2l_use=yes
33104 else
33105 glibcxx_cv_func__atan2l_use=no
33107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33108 ac_ext=c
33109 ac_cpp='$CPP $CPPFLAGS'
33110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33119 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33121 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33122 for ac_func in _atan2l
33123 do :
33124 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33125 if test "x$ac_cv_func__atan2l" = x""yes; then :
33126 cat >>confdefs.h <<_ACEOF
33127 #define HAVE__ATAN2L 1
33128 _ACEOF
33131 done
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33141 $as_echo_n "checking for expl declaration... " >&6; }
33142 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33143 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33144 $as_echo_n "(cached) " >&6
33145 else
33148 ac_ext=cpp
33149 ac_cpp='$CXXCPP $CPPFLAGS'
33150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33155 /* end confdefs.h. */
33156 #include <math.h>
33157 #ifdef HAVE_IEEEFP_H
33158 #include <ieeefp.h>
33159 #endif
33162 main ()
33164 expl(0);
33166 return 0;
33168 _ACEOF
33169 if ac_fn_cxx_try_compile "$LINENO"; then :
33170 glibcxx_cv_func_expl_use=yes
33171 else
33172 glibcxx_cv_func_expl_use=no
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 ac_ext=c
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33186 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33188 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33189 for ac_func in expl
33190 do :
33191 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33192 if test "x$ac_cv_func_expl" = x""yes; then :
33193 cat >>confdefs.h <<_ACEOF
33194 #define HAVE_EXPL 1
33195 _ACEOF
33198 done
33200 else
33202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33203 $as_echo_n "checking for _expl declaration... " >&6; }
33204 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33205 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33206 $as_echo_n "(cached) " >&6
33207 else
33210 ac_ext=cpp
33211 ac_cpp='$CXXCPP $CPPFLAGS'
33212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33217 /* end confdefs.h. */
33218 #include <math.h>
33219 #ifdef HAVE_IEEEFP_H
33220 #include <ieeefp.h>
33221 #endif
33224 main ()
33226 _expl(0);
33228 return 0;
33230 _ACEOF
33231 if ac_fn_cxx_try_compile "$LINENO"; then :
33232 glibcxx_cv_func__expl_use=yes
33233 else
33234 glibcxx_cv_func__expl_use=no
33236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33237 ac_ext=c
33238 ac_cpp='$CPP $CPPFLAGS'
33239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33248 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33250 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33251 for ac_func in _expl
33252 do :
33253 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33254 if test "x$ac_cv_func__expl" = x""yes; then :
33255 cat >>confdefs.h <<_ACEOF
33256 #define HAVE__EXPL 1
33257 _ACEOF
33260 done
33269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33270 $as_echo_n "checking for fabsl declaration... " >&6; }
33271 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33272 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33273 $as_echo_n "(cached) " >&6
33274 else
33277 ac_ext=cpp
33278 ac_cpp='$CXXCPP $CPPFLAGS'
33279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33284 /* end confdefs.h. */
33285 #include <math.h>
33286 #ifdef HAVE_IEEEFP_H
33287 #include <ieeefp.h>
33288 #endif
33291 main ()
33293 fabsl(0);
33295 return 0;
33297 _ACEOF
33298 if ac_fn_cxx_try_compile "$LINENO"; then :
33299 glibcxx_cv_func_fabsl_use=yes
33300 else
33301 glibcxx_cv_func_fabsl_use=no
33303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33304 ac_ext=c
33305 ac_cpp='$CPP $CPPFLAGS'
33306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33315 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33317 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33318 for ac_func in fabsl
33319 do :
33320 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33321 if test "x$ac_cv_func_fabsl" = x""yes; then :
33322 cat >>confdefs.h <<_ACEOF
33323 #define HAVE_FABSL 1
33324 _ACEOF
33327 done
33329 else
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33332 $as_echo_n "checking for _fabsl declaration... " >&6; }
33333 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33334 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33335 $as_echo_n "(cached) " >&6
33336 else
33339 ac_ext=cpp
33340 ac_cpp='$CXXCPP $CPPFLAGS'
33341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33346 /* end confdefs.h. */
33347 #include <math.h>
33348 #ifdef HAVE_IEEEFP_H
33349 #include <ieeefp.h>
33350 #endif
33353 main ()
33355 _fabsl(0);
33357 return 0;
33359 _ACEOF
33360 if ac_fn_cxx_try_compile "$LINENO"; then :
33361 glibcxx_cv_func__fabsl_use=yes
33362 else
33363 glibcxx_cv_func__fabsl_use=no
33365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33366 ac_ext=c
33367 ac_cpp='$CPP $CPPFLAGS'
33368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33377 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33379 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33380 for ac_func in _fabsl
33381 do :
33382 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33383 if test "x$ac_cv_func__fabsl" = x""yes; then :
33384 cat >>confdefs.h <<_ACEOF
33385 #define HAVE__FABSL 1
33386 _ACEOF
33389 done
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33399 $as_echo_n "checking for fmodl declaration... " >&6; }
33400 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33401 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33402 $as_echo_n "(cached) " >&6
33403 else
33406 ac_ext=cpp
33407 ac_cpp='$CXXCPP $CPPFLAGS'
33408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33413 /* end confdefs.h. */
33414 #include <math.h>
33416 main ()
33418 fmodl(0, 0);
33420 return 0;
33422 _ACEOF
33423 if ac_fn_cxx_try_compile "$LINENO"; then :
33424 glibcxx_cv_func_fmodl_use=yes
33425 else
33426 glibcxx_cv_func_fmodl_use=no
33428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33429 ac_ext=c
33430 ac_cpp='$CPP $CPPFLAGS'
33431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33440 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33442 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33443 for ac_func in fmodl
33444 do :
33445 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33446 if test "x$ac_cv_func_fmodl" = x""yes; then :
33447 cat >>confdefs.h <<_ACEOF
33448 #define HAVE_FMODL 1
33449 _ACEOF
33452 done
33454 else
33456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33457 $as_echo_n "checking for _fmodl declaration... " >&6; }
33458 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33459 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33460 $as_echo_n "(cached) " >&6
33461 else
33464 ac_ext=cpp
33465 ac_cpp='$CXXCPP $CPPFLAGS'
33466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33471 /* end confdefs.h. */
33472 #include <math.h>
33474 main ()
33476 _fmodl(0, 0);
33478 return 0;
33480 _ACEOF
33481 if ac_fn_cxx_try_compile "$LINENO"; then :
33482 glibcxx_cv_func__fmodl_use=yes
33483 else
33484 glibcxx_cv_func__fmodl_use=no
33486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33487 ac_ext=c
33488 ac_cpp='$CPP $CPPFLAGS'
33489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33498 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33500 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33501 for ac_func in _fmodl
33502 do :
33503 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33504 if test "x$ac_cv_func__fmodl" = x""yes; then :
33505 cat >>confdefs.h <<_ACEOF
33506 #define HAVE__FMODL 1
33507 _ACEOF
33510 done
33519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33520 $as_echo_n "checking for frexpl declaration... " >&6; }
33521 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33522 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33523 $as_echo_n "(cached) " >&6
33524 else
33527 ac_ext=cpp
33528 ac_cpp='$CXXCPP $CPPFLAGS'
33529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33534 /* end confdefs.h. */
33535 #include <math.h>
33537 main ()
33539 frexpl(0, 0);
33541 return 0;
33543 _ACEOF
33544 if ac_fn_cxx_try_compile "$LINENO"; then :
33545 glibcxx_cv_func_frexpl_use=yes
33546 else
33547 glibcxx_cv_func_frexpl_use=no
33549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33550 ac_ext=c
33551 ac_cpp='$CPP $CPPFLAGS'
33552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33561 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33563 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33564 for ac_func in frexpl
33565 do :
33566 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33567 if test "x$ac_cv_func_frexpl" = x""yes; then :
33568 cat >>confdefs.h <<_ACEOF
33569 #define HAVE_FREXPL 1
33570 _ACEOF
33573 done
33575 else
33577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33578 $as_echo_n "checking for _frexpl declaration... " >&6; }
33579 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33580 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33581 $as_echo_n "(cached) " >&6
33582 else
33585 ac_ext=cpp
33586 ac_cpp='$CXXCPP $CPPFLAGS'
33587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33592 /* end confdefs.h. */
33593 #include <math.h>
33595 main ()
33597 _frexpl(0, 0);
33599 return 0;
33601 _ACEOF
33602 if ac_fn_cxx_try_compile "$LINENO"; then :
33603 glibcxx_cv_func__frexpl_use=yes
33604 else
33605 glibcxx_cv_func__frexpl_use=no
33607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33608 ac_ext=c
33609 ac_cpp='$CPP $CPPFLAGS'
33610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33619 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33621 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33622 for ac_func in _frexpl
33623 do :
33624 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33625 if test "x$ac_cv_func__frexpl" = x""yes; then :
33626 cat >>confdefs.h <<_ACEOF
33627 #define HAVE__FREXPL 1
33628 _ACEOF
33631 done
33640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33641 $as_echo_n "checking for hypotl declaration... " >&6; }
33642 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33643 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33644 $as_echo_n "(cached) " >&6
33645 else
33648 ac_ext=cpp
33649 ac_cpp='$CXXCPP $CPPFLAGS'
33650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33655 /* end confdefs.h. */
33656 #include <math.h>
33658 main ()
33660 hypotl(0, 0);
33662 return 0;
33664 _ACEOF
33665 if ac_fn_cxx_try_compile "$LINENO"; then :
33666 glibcxx_cv_func_hypotl_use=yes
33667 else
33668 glibcxx_cv_func_hypotl_use=no
33670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33671 ac_ext=c
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33682 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33684 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33685 for ac_func in hypotl
33686 do :
33687 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33688 if test "x$ac_cv_func_hypotl" = x""yes; then :
33689 cat >>confdefs.h <<_ACEOF
33690 #define HAVE_HYPOTL 1
33691 _ACEOF
33694 done
33696 else
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33699 $as_echo_n "checking for _hypotl declaration... " >&6; }
33700 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33701 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33702 $as_echo_n "(cached) " >&6
33703 else
33706 ac_ext=cpp
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33713 /* end confdefs.h. */
33714 #include <math.h>
33716 main ()
33718 _hypotl(0, 0);
33720 return 0;
33722 _ACEOF
33723 if ac_fn_cxx_try_compile "$LINENO"; then :
33724 glibcxx_cv_func__hypotl_use=yes
33725 else
33726 glibcxx_cv_func__hypotl_use=no
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 ac_ext=c
33730 ac_cpp='$CPP $CPPFLAGS'
33731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33740 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33742 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33743 for ac_func in _hypotl
33744 do :
33745 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33746 if test "x$ac_cv_func__hypotl" = x""yes; then :
33747 cat >>confdefs.h <<_ACEOF
33748 #define HAVE__HYPOTL 1
33749 _ACEOF
33752 done
33761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33762 $as_echo_n "checking for ldexpl declaration... " >&6; }
33763 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33764 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33765 $as_echo_n "(cached) " >&6
33766 else
33769 ac_ext=cpp
33770 ac_cpp='$CXXCPP $CPPFLAGS'
33771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33776 /* end confdefs.h. */
33777 #include <math.h>
33779 main ()
33781 ldexpl(0, 0);
33783 return 0;
33785 _ACEOF
33786 if ac_fn_cxx_try_compile "$LINENO"; then :
33787 glibcxx_cv_func_ldexpl_use=yes
33788 else
33789 glibcxx_cv_func_ldexpl_use=no
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33792 ac_ext=c
33793 ac_cpp='$CPP $CPPFLAGS'
33794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33803 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33805 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33806 for ac_func in ldexpl
33807 do :
33808 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33809 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33810 cat >>confdefs.h <<_ACEOF
33811 #define HAVE_LDEXPL 1
33812 _ACEOF
33815 done
33817 else
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33820 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33821 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33822 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33823 $as_echo_n "(cached) " >&6
33824 else
33827 ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h. */
33835 #include <math.h>
33837 main ()
33839 _ldexpl(0, 0);
33841 return 0;
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845 glibcxx_cv_func__ldexpl_use=yes
33846 else
33847 glibcxx_cv_func__ldexpl_use=no
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850 ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33861 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33863 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33864 for ac_func in _ldexpl
33865 do :
33866 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33867 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33868 cat >>confdefs.h <<_ACEOF
33869 #define HAVE__LDEXPL 1
33870 _ACEOF
33873 done
33882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33883 $as_echo_n "checking for logl declaration... " >&6; }
33884 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33885 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33886 $as_echo_n "(cached) " >&6
33887 else
33890 ac_ext=cpp
33891 ac_cpp='$CXXCPP $CPPFLAGS'
33892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33897 /* end confdefs.h. */
33898 #include <math.h>
33899 #ifdef HAVE_IEEEFP_H
33900 #include <ieeefp.h>
33901 #endif
33904 main ()
33906 logl(0);
33908 return 0;
33910 _ACEOF
33911 if ac_fn_cxx_try_compile "$LINENO"; then :
33912 glibcxx_cv_func_logl_use=yes
33913 else
33914 glibcxx_cv_func_logl_use=no
33916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33917 ac_ext=c
33918 ac_cpp='$CPP $CPPFLAGS'
33919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33928 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33930 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33931 for ac_func in logl
33932 do :
33933 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33934 if test "x$ac_cv_func_logl" = x""yes; then :
33935 cat >>confdefs.h <<_ACEOF
33936 #define HAVE_LOGL 1
33937 _ACEOF
33940 done
33942 else
33944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33945 $as_echo_n "checking for _logl declaration... " >&6; }
33946 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33947 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33948 $as_echo_n "(cached) " >&6
33949 else
33952 ac_ext=cpp
33953 ac_cpp='$CXXCPP $CPPFLAGS'
33954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33959 /* end confdefs.h. */
33960 #include <math.h>
33961 #ifdef HAVE_IEEEFP_H
33962 #include <ieeefp.h>
33963 #endif
33966 main ()
33968 _logl(0);
33970 return 0;
33972 _ACEOF
33973 if ac_fn_cxx_try_compile "$LINENO"; then :
33974 glibcxx_cv_func__logl_use=yes
33975 else
33976 glibcxx_cv_func__logl_use=no
33978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33979 ac_ext=c
33980 ac_cpp='$CPP $CPPFLAGS'
33981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33990 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33992 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33993 for ac_func in _logl
33994 do :
33995 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33996 if test "x$ac_cv_func__logl" = x""yes; then :
33997 cat >>confdefs.h <<_ACEOF
33998 #define HAVE__LOGL 1
33999 _ACEOF
34002 done
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34012 $as_echo_n "checking for log10l declaration... " >&6; }
34013 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34014 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34015 $as_echo_n "(cached) " >&6
34016 else
34019 ac_ext=cpp
34020 ac_cpp='$CXXCPP $CPPFLAGS'
34021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34026 /* end confdefs.h. */
34027 #include <math.h>
34028 #ifdef HAVE_IEEEFP_H
34029 #include <ieeefp.h>
34030 #endif
34033 main ()
34035 log10l(0);
34037 return 0;
34039 _ACEOF
34040 if ac_fn_cxx_try_compile "$LINENO"; then :
34041 glibcxx_cv_func_log10l_use=yes
34042 else
34043 glibcxx_cv_func_log10l_use=no
34045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046 ac_ext=c
34047 ac_cpp='$CPP $CPPFLAGS'
34048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34057 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34059 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34060 for ac_func in log10l
34061 do :
34062 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34063 if test "x$ac_cv_func_log10l" = x""yes; then :
34064 cat >>confdefs.h <<_ACEOF
34065 #define HAVE_LOG10L 1
34066 _ACEOF
34069 done
34071 else
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34074 $as_echo_n "checking for _log10l declaration... " >&6; }
34075 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34076 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34077 $as_echo_n "(cached) " >&6
34078 else
34081 ac_ext=cpp
34082 ac_cpp='$CXXCPP $CPPFLAGS'
34083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34088 /* end confdefs.h. */
34089 #include <math.h>
34090 #ifdef HAVE_IEEEFP_H
34091 #include <ieeefp.h>
34092 #endif
34095 main ()
34097 _log10l(0);
34099 return 0;
34101 _ACEOF
34102 if ac_fn_cxx_try_compile "$LINENO"; then :
34103 glibcxx_cv_func__log10l_use=yes
34104 else
34105 glibcxx_cv_func__log10l_use=no
34107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34108 ac_ext=c
34109 ac_cpp='$CPP $CPPFLAGS'
34110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34119 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34121 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34122 for ac_func in _log10l
34123 do :
34124 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34125 if test "x$ac_cv_func__log10l" = x""yes; then :
34126 cat >>confdefs.h <<_ACEOF
34127 #define HAVE__LOG10L 1
34128 _ACEOF
34131 done
34140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34141 $as_echo_n "checking for modfl declaration... " >&6; }
34142 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34143 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34144 $as_echo_n "(cached) " >&6
34145 else
34148 ac_ext=cpp
34149 ac_cpp='$CXXCPP $CPPFLAGS'
34150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34155 /* end confdefs.h. */
34156 #include <math.h>
34158 main ()
34160 modfl(0, 0);
34162 return 0;
34164 _ACEOF
34165 if ac_fn_cxx_try_compile "$LINENO"; then :
34166 glibcxx_cv_func_modfl_use=yes
34167 else
34168 glibcxx_cv_func_modfl_use=no
34170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34171 ac_ext=c
34172 ac_cpp='$CPP $CPPFLAGS'
34173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34182 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34184 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34185 for ac_func in modfl
34186 do :
34187 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34188 if test "x$ac_cv_func_modfl" = x""yes; then :
34189 cat >>confdefs.h <<_ACEOF
34190 #define HAVE_MODFL 1
34191 _ACEOF
34194 done
34196 else
34198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34199 $as_echo_n "checking for _modfl declaration... " >&6; }
34200 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34201 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34202 $as_echo_n "(cached) " >&6
34203 else
34206 ac_ext=cpp
34207 ac_cpp='$CXXCPP $CPPFLAGS'
34208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34213 /* end confdefs.h. */
34214 #include <math.h>
34216 main ()
34218 _modfl(0, 0);
34220 return 0;
34222 _ACEOF
34223 if ac_fn_cxx_try_compile "$LINENO"; then :
34224 glibcxx_cv_func__modfl_use=yes
34225 else
34226 glibcxx_cv_func__modfl_use=no
34228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34229 ac_ext=c
34230 ac_cpp='$CPP $CPPFLAGS'
34231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34240 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34242 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34243 for ac_func in _modfl
34244 do :
34245 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34246 if test "x$ac_cv_func__modfl" = x""yes; then :
34247 cat >>confdefs.h <<_ACEOF
34248 #define HAVE__MODFL 1
34249 _ACEOF
34252 done
34261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34262 $as_echo_n "checking for powl declaration... " >&6; }
34263 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34264 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34265 $as_echo_n "(cached) " >&6
34266 else
34269 ac_ext=cpp
34270 ac_cpp='$CXXCPP $CPPFLAGS'
34271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34276 /* end confdefs.h. */
34277 #include <math.h>
34279 main ()
34281 powl(0, 0);
34283 return 0;
34285 _ACEOF
34286 if ac_fn_cxx_try_compile "$LINENO"; then :
34287 glibcxx_cv_func_powl_use=yes
34288 else
34289 glibcxx_cv_func_powl_use=no
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34292 ac_ext=c
34293 ac_cpp='$CPP $CPPFLAGS'
34294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34303 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34305 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34306 for ac_func in powl
34307 do :
34308 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34309 if test "x$ac_cv_func_powl" = x""yes; then :
34310 cat >>confdefs.h <<_ACEOF
34311 #define HAVE_POWL 1
34312 _ACEOF
34315 done
34317 else
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34320 $as_echo_n "checking for _powl declaration... " >&6; }
34321 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34322 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34337 main ()
34339 _powl(0, 0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func__powl_use=yes
34346 else
34347 glibcxx_cv_func__powl_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34361 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34363 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34364 for ac_func in _powl
34365 do :
34366 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34367 if test "x$ac_cv_func__powl" = x""yes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE__POWL 1
34370 _ACEOF
34373 done
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34383 $as_echo_n "checking for sqrtl declaration... " >&6; }
34384 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34385 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34386 $as_echo_n "(cached) " >&6
34387 else
34390 ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34398 #include <math.h>
34399 #ifdef HAVE_IEEEFP_H
34400 #include <ieeefp.h>
34401 #endif
34404 main ()
34406 sqrtl(0);
34408 return 0;
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412 glibcxx_cv_func_sqrtl_use=yes
34413 else
34414 glibcxx_cv_func_sqrtl_use=no
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417 ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34428 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34430 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34431 for ac_func in sqrtl
34432 do :
34433 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34434 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34435 cat >>confdefs.h <<_ACEOF
34436 #define HAVE_SQRTL 1
34437 _ACEOF
34440 done
34442 else
34444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34445 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34446 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34447 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34448 $as_echo_n "(cached) " >&6
34449 else
34452 ac_ext=cpp
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34459 /* end confdefs.h. */
34460 #include <math.h>
34461 #ifdef HAVE_IEEEFP_H
34462 #include <ieeefp.h>
34463 #endif
34466 main ()
34468 _sqrtl(0);
34470 return 0;
34472 _ACEOF
34473 if ac_fn_cxx_try_compile "$LINENO"; then :
34474 glibcxx_cv_func__sqrtl_use=yes
34475 else
34476 glibcxx_cv_func__sqrtl_use=no
34478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34479 ac_ext=c
34480 ac_cpp='$CPP $CPPFLAGS'
34481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34490 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34492 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34493 for ac_func in _sqrtl
34494 do :
34495 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34496 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34497 cat >>confdefs.h <<_ACEOF
34498 #define HAVE__SQRTL 1
34499 _ACEOF
34502 done
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34512 $as_echo_n "checking for sincosl declaration... " >&6; }
34513 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34514 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34515 $as_echo_n "(cached) " >&6
34516 else
34519 ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h. */
34527 #include <math.h>
34529 main ()
34531 sincosl(0, 0, 0);
34533 return 0;
34535 _ACEOF
34536 if ac_fn_cxx_try_compile "$LINENO"; then :
34537 glibcxx_cv_func_sincosl_use=yes
34538 else
34539 glibcxx_cv_func_sincosl_use=no
34541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34542 ac_ext=c
34543 ac_cpp='$CPP $CPPFLAGS'
34544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34553 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34555 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34556 for ac_func in sincosl
34557 do :
34558 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34559 if test "x$ac_cv_func_sincosl" = x""yes; then :
34560 cat >>confdefs.h <<_ACEOF
34561 #define HAVE_SINCOSL 1
34562 _ACEOF
34565 done
34567 else
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34570 $as_echo_n "checking for _sincosl declaration... " >&6; }
34571 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34572 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34573 $as_echo_n "(cached) " >&6
34574 else
34577 ac_ext=cpp
34578 ac_cpp='$CXXCPP $CPPFLAGS'
34579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34584 /* end confdefs.h. */
34585 #include <math.h>
34587 main ()
34589 _sincosl(0, 0, 0);
34591 return 0;
34593 _ACEOF
34594 if ac_fn_cxx_try_compile "$LINENO"; then :
34595 glibcxx_cv_func__sincosl_use=yes
34596 else
34597 glibcxx_cv_func__sincosl_use=no
34599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34600 ac_ext=c
34601 ac_cpp='$CPP $CPPFLAGS'
34602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34611 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34613 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34614 for ac_func in _sincosl
34615 do :
34616 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34617 if test "x$ac_cv_func__sincosl" = x""yes; then :
34618 cat >>confdefs.h <<_ACEOF
34619 #define HAVE__SINCOSL 1
34620 _ACEOF
34623 done
34632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34633 $as_echo_n "checking for finitel declaration... " >&6; }
34634 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34635 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34636 $as_echo_n "(cached) " >&6
34637 else
34640 ac_ext=cpp
34641 ac_cpp='$CXXCPP $CPPFLAGS'
34642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34647 /* end confdefs.h. */
34648 #include <math.h>
34649 #ifdef HAVE_IEEEFP_H
34650 #include <ieeefp.h>
34651 #endif
34654 main ()
34656 finitel(0);
34658 return 0;
34660 _ACEOF
34661 if ac_fn_cxx_try_compile "$LINENO"; then :
34662 glibcxx_cv_func_finitel_use=yes
34663 else
34664 glibcxx_cv_func_finitel_use=no
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667 ac_ext=c
34668 ac_cpp='$CPP $CPPFLAGS'
34669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34678 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34680 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34681 for ac_func in finitel
34682 do :
34683 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34684 if test "x$ac_cv_func_finitel" = x""yes; then :
34685 cat >>confdefs.h <<_ACEOF
34686 #define HAVE_FINITEL 1
34687 _ACEOF
34690 done
34692 else
34694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34695 $as_echo_n "checking for _finitel declaration... " >&6; }
34696 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34697 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34698 $as_echo_n "(cached) " >&6
34699 else
34702 ac_ext=cpp
34703 ac_cpp='$CXXCPP $CPPFLAGS'
34704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34709 /* end confdefs.h. */
34710 #include <math.h>
34711 #ifdef HAVE_IEEEFP_H
34712 #include <ieeefp.h>
34713 #endif
34716 main ()
34718 _finitel(0);
34720 return 0;
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724 glibcxx_cv_func__finitel_use=yes
34725 else
34726 glibcxx_cv_func__finitel_use=no
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729 ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34740 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34742 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34743 for ac_func in _finitel
34744 do :
34745 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34746 if test "x$ac_cv_func__finitel" = x""yes; then :
34747 cat >>confdefs.h <<_ACEOF
34748 #define HAVE__FINITEL 1
34749 _ACEOF
34752 done
34760 LIBS="$ac_save_LIBS"
34761 CXXFLAGS="$ac_save_CXXFLAGS"
34764 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34765 ac_save_CXXFLAGS="$CXXFLAGS"
34766 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34770 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34771 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34772 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34773 $as_echo_n "(cached) " >&6
34774 else
34777 ac_ext=cpp
34778 ac_cpp='$CXXCPP $CPPFLAGS'
34779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34784 /* end confdefs.h. */
34785 #include <stdlib.h>
34787 main ()
34789 at_quick_exit(0);
34791 return 0;
34793 _ACEOF
34794 if ac_fn_cxx_try_compile "$LINENO"; then :
34795 glibcxx_cv_func_at_quick_exit_use=yes
34796 else
34797 glibcxx_cv_func_at_quick_exit_use=no
34799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34800 ac_ext=c
34801 ac_cpp='$CPP $CPPFLAGS'
34802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34811 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34812 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34813 for ac_func in at_quick_exit
34814 do :
34815 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34816 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34817 cat >>confdefs.h <<_ACEOF
34818 #define HAVE_AT_QUICK_EXIT 1
34819 _ACEOF
34822 done
34827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34828 $as_echo_n "checking for quick_exit declaration... " >&6; }
34829 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34830 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34831 $as_echo_n "(cached) " >&6
34832 else
34835 ac_ext=cpp
34836 ac_cpp='$CXXCPP $CPPFLAGS'
34837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34842 /* end confdefs.h. */
34843 #include <stdlib.h>
34845 main ()
34847 quick_exit(0);
34849 return 0;
34851 _ACEOF
34852 if ac_fn_cxx_try_compile "$LINENO"; then :
34853 glibcxx_cv_func_quick_exit_use=yes
34854 else
34855 glibcxx_cv_func_quick_exit_use=no
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858 ac_ext=c
34859 ac_cpp='$CPP $CPPFLAGS'
34860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34869 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34870 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34871 for ac_func in quick_exit
34872 do :
34873 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34874 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34875 cat >>confdefs.h <<_ACEOF
34876 #define HAVE_QUICK_EXIT 1
34877 _ACEOF
34880 done
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34886 $as_echo_n "checking for strtold declaration... " >&6; }
34887 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34888 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34889 $as_echo_n "(cached) " >&6
34890 else
34893 ac_ext=cpp
34894 ac_cpp='$CXXCPP $CPPFLAGS'
34895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h. */
34901 #include <stdlib.h>
34903 main ()
34905 strtold(0, 0);
34907 return 0;
34909 _ACEOF
34910 if ac_fn_cxx_try_compile "$LINENO"; then :
34911 glibcxx_cv_func_strtold_use=yes
34912 else
34913 glibcxx_cv_func_strtold_use=no
34915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34916 ac_ext=c
34917 ac_cpp='$CPP $CPPFLAGS'
34918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34927 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34928 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34929 for ac_func in strtold
34930 do :
34931 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34932 if test "x$ac_cv_func_strtold" = x""yes; then :
34933 cat >>confdefs.h <<_ACEOF
34934 #define HAVE_STRTOLD 1
34935 _ACEOF
34938 done
34945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34946 $as_echo_n "checking for strtof declaration... " >&6; }
34947 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34948 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34949 $as_echo_n "(cached) " >&6
34950 else
34953 ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h. */
34961 #include <stdlib.h>
34963 main ()
34965 strtof(0, 0);
34967 return 0;
34969 _ACEOF
34970 if ac_fn_cxx_try_compile "$LINENO"; then :
34971 glibcxx_cv_func_strtof_use=yes
34972 else
34973 glibcxx_cv_func_strtof_use=no
34975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34976 ac_ext=c
34977 ac_cpp='$CPP $CPPFLAGS'
34978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34987 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34988 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34989 for ac_func in strtof
34990 do :
34991 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34992 if test "x$ac_cv_func_strtof" = x""yes; then :
34993 cat >>confdefs.h <<_ACEOF
34994 #define HAVE_STRTOF 1
34995 _ACEOF
34998 done
35005 CXXFLAGS="$ac_save_CXXFLAGS"
35008 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35010 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35012 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35014 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35017 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35019 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35021 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35025 spu-*-elf*)
35027 # All these tests are for C++; save the language and the compiler flags.
35028 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35029 # found in GLIBCXX_CONFIGURE.
35031 ac_ext=cpp
35032 ac_cpp='$CXXCPP $CPPFLAGS'
35033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35037 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35038 ac_save_CXXFLAGS="$CXXFLAGS"
35040 # Check for maintainer-mode bits.
35041 if test x"$USE_MAINTAINER_MODE" = xno; then
35042 WERROR=''
35043 else
35044 WERROR='-Werror'
35047 # Check for -ffunction-sections -fdata-sections
35048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35049 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35050 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35052 /* end confdefs.h. */
35053 int foo; void bar() { };
35055 main ()
35059 return 0;
35061 _ACEOF
35062 if ac_fn_cxx_try_compile "$LINENO"; then :
35063 ac_fdsections=yes
35064 else
35065 ac_fdsections=no
35067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35068 if test "$ac_test_CXXFLAGS" = set; then
35069 CXXFLAGS="$ac_save_CXXFLAGS"
35070 else
35071 # this is the suspicious part
35072 CXXFLAGS=''
35074 if test x"$ac_fdsections" = x"yes"; then
35075 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35078 $as_echo "$ac_fdsections" >&6; }
35080 ac_ext=c
35081 ac_cpp='$CPP $CPPFLAGS'
35082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35090 # If we're not using GNU ld, then there's no point in even trying these
35091 # tests. Check for that first. We should have already tested for gld
35092 # by now (in libtool), but require it now just to be safe...
35093 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35094 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35098 # The name set by libtool depends on the version of libtool. Shame on us
35099 # for depending on an impl detail, but c'est la vie. Older versions used
35100 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35101 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35102 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35103 # set (hence we're using an older libtool), then set it.
35104 if test x${with_gnu_ld+set} != xset; then
35105 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35106 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35107 with_gnu_ld=no
35108 else
35109 with_gnu_ld=$ac_cv_prog_gnu_ld
35113 # Start by getting the version number. I think the libtool test already
35114 # does some of this, but throws away the result.
35115 glibcxx_ld_is_gold=no
35116 if test x"$with_gnu_ld" = x"yes"; then
35117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35118 $as_echo_n "checking for ld version... " >&6; }
35120 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35121 glibcxx_ld_is_gold=yes
35123 ldver=`$LD --version 2>/dev/null |
35124 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'`
35126 glibcxx_gnu_ld_version=`echo $ldver | \
35127 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35129 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35132 # Set --gc-sections.
35133 glibcxx_have_gc_sections=no
35134 if test "$glibcxx_ld_is_gold" = "yes"; then
35135 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35136 glibcxx_have_gc_sections=yes
35138 else
35139 glibcxx_gcsections_min_ld=21602
35140 if test x"$with_gnu_ld" = x"yes" &&
35141 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35142 glibcxx_have_gc_sections=yes
35145 if test "$glibcxx_have_gc_sections" = "yes"; then
35146 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35147 # NB: This flag only works reliably after 2.16.1. Configure tests
35148 # for this are difficult, so hard wire a value that should work.
35150 ac_test_CFLAGS="${CFLAGS+set}"
35151 ac_save_CFLAGS="$CFLAGS"
35152 CFLAGS='-Wl,--gc-sections'
35154 # Check for -Wl,--gc-sections
35155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35156 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35157 if test x$gcc_no_link = xyes; then
35158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35161 /* end confdefs.h. */
35162 int one(void) { return 1; }
35163 int two(void) { return 2; }
35166 main ()
35168 two();
35170 return 0;
35172 _ACEOF
35173 if ac_fn_c_try_link "$LINENO"; then :
35174 ac_gcsections=yes
35175 else
35176 ac_gcsections=no
35178 rm -f core conftest.err conftest.$ac_objext \
35179 conftest$ac_exeext conftest.$ac_ext
35180 if test "$ac_gcsections" = "yes"; then
35181 rm -f conftest.c
35182 touch conftest.c
35183 if $CC -c conftest.c; then
35184 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35185 grep "Warning: gc-sections option ignored" > /dev/null; then
35186 ac_gcsections=no
35189 rm -f conftest.c conftest.o conftest
35191 if test "$ac_gcsections" = "yes"; then
35192 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35195 $as_echo "$ac_gcsections" >&6; }
35197 if test "$ac_test_CFLAGS" = set; then
35198 CFLAGS="$ac_save_CFLAGS"
35199 else
35200 # this is the suspicious part
35201 CFLAGS=''
35205 # Set -z,relro.
35206 # Note this is only for shared objects.
35207 ac_ld_relro=no
35208 if test x"$with_gnu_ld" = x"yes"; then
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35210 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35211 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35212 if test -n "$cxx_z_relo"; then
35213 OPT_LDFLAGS="-Wl,-z,relro"
35214 ac_ld_relro=yes
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35217 $as_echo "$ac_ld_relro" >&6; }
35220 # Set linker optimization flags.
35221 if test x"$with_gnu_ld" = x"yes"; then
35222 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35229 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35230 ac_save_CXXFLAGS="$CXXFLAGS"
35231 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35234 $as_echo_n "checking for sin in -lm... " >&6; }
35235 if test "${ac_cv_lib_m_sin+set}" = set; then :
35236 $as_echo_n "(cached) " >&6
35237 else
35238 ac_check_lib_save_LIBS=$LIBS
35239 LIBS="-lm $LIBS"
35240 if test x$gcc_no_link = xyes; then
35241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35244 /* end confdefs.h. */
35246 /* Override any GCC internal prototype to avoid an error.
35247 Use char because int might match the return type of a GCC
35248 builtin and then its argument prototype would still apply. */
35249 #ifdef __cplusplus
35250 extern "C"
35251 #endif
35252 char sin ();
35254 main ()
35256 return sin ();
35258 return 0;
35260 _ACEOF
35261 if ac_fn_c_try_link "$LINENO"; then :
35262 ac_cv_lib_m_sin=yes
35263 else
35264 ac_cv_lib_m_sin=no
35266 rm -f core conftest.err conftest.$ac_objext \
35267 conftest$ac_exeext conftest.$ac_ext
35268 LIBS=$ac_check_lib_save_LIBS
35270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35271 $as_echo "$ac_cv_lib_m_sin" >&6; }
35272 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35273 libm="-lm"
35276 ac_save_LIBS="$LIBS"
35277 LIBS="$LIBS $libm"
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35282 $as_echo_n "checking for isinf declaration... " >&6; }
35283 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35284 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35285 $as_echo_n "(cached) " >&6
35286 else
35289 ac_ext=cpp
35290 ac_cpp='$CXXCPP $CPPFLAGS'
35291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h. */
35297 #include <math.h>
35298 #ifdef HAVE_IEEEFP_H
35299 #include <ieeefp.h>
35300 #endif
35303 main ()
35305 isinf(0);
35307 return 0;
35309 _ACEOF
35310 if ac_fn_cxx_try_compile "$LINENO"; then :
35311 glibcxx_cv_func_isinf_use=yes
35312 else
35313 glibcxx_cv_func_isinf_use=no
35315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35316 ac_ext=c
35317 ac_cpp='$CPP $CPPFLAGS'
35318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35327 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35329 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35330 for ac_func in isinf
35331 do :
35332 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35333 if test "x$ac_cv_func_isinf" = x""yes; then :
35334 cat >>confdefs.h <<_ACEOF
35335 #define HAVE_ISINF 1
35336 _ACEOF
35339 done
35341 else
35343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35344 $as_echo_n "checking for _isinf declaration... " >&6; }
35345 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35346 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35347 $as_echo_n "(cached) " >&6
35348 else
35351 ac_ext=cpp
35352 ac_cpp='$CXXCPP $CPPFLAGS'
35353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35358 /* end confdefs.h. */
35359 #include <math.h>
35360 #ifdef HAVE_IEEEFP_H
35361 #include <ieeefp.h>
35362 #endif
35365 main ()
35367 _isinf(0);
35369 return 0;
35371 _ACEOF
35372 if ac_fn_cxx_try_compile "$LINENO"; then :
35373 glibcxx_cv_func__isinf_use=yes
35374 else
35375 glibcxx_cv_func__isinf_use=no
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378 ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35389 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35391 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35392 for ac_func in _isinf
35393 do :
35394 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35395 if test "x$ac_cv_func__isinf" = x""yes; then :
35396 cat >>confdefs.h <<_ACEOF
35397 #define HAVE__ISINF 1
35398 _ACEOF
35401 done
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35411 $as_echo_n "checking for isnan declaration... " >&6; }
35412 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35413 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35414 $as_echo_n "(cached) " >&6
35415 else
35418 ac_ext=cpp
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35425 /* end confdefs.h. */
35426 #include <math.h>
35427 #ifdef HAVE_IEEEFP_H
35428 #include <ieeefp.h>
35429 #endif
35432 main ()
35434 isnan(0);
35436 return 0;
35438 _ACEOF
35439 if ac_fn_cxx_try_compile "$LINENO"; then :
35440 glibcxx_cv_func_isnan_use=yes
35441 else
35442 glibcxx_cv_func_isnan_use=no
35444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35445 ac_ext=c
35446 ac_cpp='$CPP $CPPFLAGS'
35447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35456 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35458 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35459 for ac_func in isnan
35460 do :
35461 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35462 if test "x$ac_cv_func_isnan" = x""yes; then :
35463 cat >>confdefs.h <<_ACEOF
35464 #define HAVE_ISNAN 1
35465 _ACEOF
35468 done
35470 else
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35473 $as_echo_n "checking for _isnan declaration... " >&6; }
35474 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35475 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35476 $as_echo_n "(cached) " >&6
35477 else
35480 ac_ext=cpp
35481 ac_cpp='$CXXCPP $CPPFLAGS'
35482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35487 /* end confdefs.h. */
35488 #include <math.h>
35489 #ifdef HAVE_IEEEFP_H
35490 #include <ieeefp.h>
35491 #endif
35494 main ()
35496 _isnan(0);
35498 return 0;
35500 _ACEOF
35501 if ac_fn_cxx_try_compile "$LINENO"; then :
35502 glibcxx_cv_func__isnan_use=yes
35503 else
35504 glibcxx_cv_func__isnan_use=no
35506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35507 ac_ext=c
35508 ac_cpp='$CPP $CPPFLAGS'
35509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35518 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35520 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35521 for ac_func in _isnan
35522 do :
35523 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35524 if test "x$ac_cv_func__isnan" = x""yes; then :
35525 cat >>confdefs.h <<_ACEOF
35526 #define HAVE__ISNAN 1
35527 _ACEOF
35530 done
35539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35540 $as_echo_n "checking for finite declaration... " >&6; }
35541 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35542 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35543 $as_echo_n "(cached) " >&6
35544 else
35547 ac_ext=cpp
35548 ac_cpp='$CXXCPP $CPPFLAGS'
35549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35554 /* end confdefs.h. */
35555 #include <math.h>
35556 #ifdef HAVE_IEEEFP_H
35557 #include <ieeefp.h>
35558 #endif
35561 main ()
35563 finite(0);
35565 return 0;
35567 _ACEOF
35568 if ac_fn_cxx_try_compile "$LINENO"; then :
35569 glibcxx_cv_func_finite_use=yes
35570 else
35571 glibcxx_cv_func_finite_use=no
35573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35574 ac_ext=c
35575 ac_cpp='$CPP $CPPFLAGS'
35576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35585 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35587 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35588 for ac_func in finite
35589 do :
35590 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35591 if test "x$ac_cv_func_finite" = x""yes; then :
35592 cat >>confdefs.h <<_ACEOF
35593 #define HAVE_FINITE 1
35594 _ACEOF
35597 done
35599 else
35601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35602 $as_echo_n "checking for _finite declaration... " >&6; }
35603 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35604 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35605 $as_echo_n "(cached) " >&6
35606 else
35609 ac_ext=cpp
35610 ac_cpp='$CXXCPP $CPPFLAGS'
35611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35616 /* end confdefs.h. */
35617 #include <math.h>
35618 #ifdef HAVE_IEEEFP_H
35619 #include <ieeefp.h>
35620 #endif
35623 main ()
35625 _finite(0);
35627 return 0;
35629 _ACEOF
35630 if ac_fn_cxx_try_compile "$LINENO"; then :
35631 glibcxx_cv_func__finite_use=yes
35632 else
35633 glibcxx_cv_func__finite_use=no
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35636 ac_ext=c
35637 ac_cpp='$CPP $CPPFLAGS'
35638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35647 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35649 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35650 for ac_func in _finite
35651 do :
35652 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35653 if test "x$ac_cv_func__finite" = x""yes; then :
35654 cat >>confdefs.h <<_ACEOF
35655 #define HAVE__FINITE 1
35656 _ACEOF
35659 done
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35669 $as_echo_n "checking for sincos declaration... " >&6; }
35670 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35671 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35672 $as_echo_n "(cached) " >&6
35673 else
35676 ac_ext=cpp
35677 ac_cpp='$CXXCPP $CPPFLAGS'
35678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35683 /* end confdefs.h. */
35684 #include <math.h>
35686 main ()
35688 sincos(0, 0, 0);
35690 return 0;
35692 _ACEOF
35693 if ac_fn_cxx_try_compile "$LINENO"; then :
35694 glibcxx_cv_func_sincos_use=yes
35695 else
35696 glibcxx_cv_func_sincos_use=no
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35699 ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35710 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35712 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35713 for ac_func in sincos
35714 do :
35715 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35716 if test "x$ac_cv_func_sincos" = x""yes; then :
35717 cat >>confdefs.h <<_ACEOF
35718 #define HAVE_SINCOS 1
35719 _ACEOF
35722 done
35724 else
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35727 $as_echo_n "checking for _sincos declaration... " >&6; }
35728 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35729 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35730 $as_echo_n "(cached) " >&6
35731 else
35734 ac_ext=cpp
35735 ac_cpp='$CXXCPP $CPPFLAGS'
35736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35741 /* end confdefs.h. */
35742 #include <math.h>
35744 main ()
35746 _sincos(0, 0, 0);
35748 return 0;
35750 _ACEOF
35751 if ac_fn_cxx_try_compile "$LINENO"; then :
35752 glibcxx_cv_func__sincos_use=yes
35753 else
35754 glibcxx_cv_func__sincos_use=no
35756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35757 ac_ext=c
35758 ac_cpp='$CPP $CPPFLAGS'
35759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35768 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35770 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35771 for ac_func in _sincos
35772 do :
35773 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35774 if test "x$ac_cv_func__sincos" = x""yes; then :
35775 cat >>confdefs.h <<_ACEOF
35776 #define HAVE__SINCOS 1
35777 _ACEOF
35780 done
35789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35790 $as_echo_n "checking for fpclass declaration... " >&6; }
35791 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35792 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35793 $as_echo_n "(cached) " >&6
35794 else
35797 ac_ext=cpp
35798 ac_cpp='$CXXCPP $CPPFLAGS'
35799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35804 /* end confdefs.h. */
35805 #include <math.h>
35806 #ifdef HAVE_IEEEFP_H
35807 #include <ieeefp.h>
35808 #endif
35811 main ()
35813 fpclass(0);
35815 return 0;
35817 _ACEOF
35818 if ac_fn_cxx_try_compile "$LINENO"; then :
35819 glibcxx_cv_func_fpclass_use=yes
35820 else
35821 glibcxx_cv_func_fpclass_use=no
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35824 ac_ext=c
35825 ac_cpp='$CPP $CPPFLAGS'
35826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35835 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35837 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35838 for ac_func in fpclass
35839 do :
35840 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35841 if test "x$ac_cv_func_fpclass" = x""yes; then :
35842 cat >>confdefs.h <<_ACEOF
35843 #define HAVE_FPCLASS 1
35844 _ACEOF
35847 done
35849 else
35851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35852 $as_echo_n "checking for _fpclass declaration... " >&6; }
35853 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35854 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35855 $as_echo_n "(cached) " >&6
35856 else
35859 ac_ext=cpp
35860 ac_cpp='$CXXCPP $CPPFLAGS'
35861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35866 /* end confdefs.h. */
35867 #include <math.h>
35868 #ifdef HAVE_IEEEFP_H
35869 #include <ieeefp.h>
35870 #endif
35873 main ()
35875 _fpclass(0);
35877 return 0;
35879 _ACEOF
35880 if ac_fn_cxx_try_compile "$LINENO"; then :
35881 glibcxx_cv_func__fpclass_use=yes
35882 else
35883 glibcxx_cv_func__fpclass_use=no
35885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35886 ac_ext=c
35887 ac_cpp='$CPP $CPPFLAGS'
35888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35897 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35899 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35900 for ac_func in _fpclass
35901 do :
35902 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35903 if test "x$ac_cv_func__fpclass" = x""yes; then :
35904 cat >>confdefs.h <<_ACEOF
35905 #define HAVE__FPCLASS 1
35906 _ACEOF
35909 done
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35919 $as_echo_n "checking for qfpclass declaration... " >&6; }
35920 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35921 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35922 $as_echo_n "(cached) " >&6
35923 else
35926 ac_ext=cpp
35927 ac_cpp='$CXXCPP $CPPFLAGS'
35928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35933 /* end confdefs.h. */
35934 #include <math.h>
35935 #ifdef HAVE_IEEEFP_H
35936 #include <ieeefp.h>
35937 #endif
35940 main ()
35942 qfpclass(0);
35944 return 0;
35946 _ACEOF
35947 if ac_fn_cxx_try_compile "$LINENO"; then :
35948 glibcxx_cv_func_qfpclass_use=yes
35949 else
35950 glibcxx_cv_func_qfpclass_use=no
35952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35953 ac_ext=c
35954 ac_cpp='$CPP $CPPFLAGS'
35955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35964 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35966 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35967 for ac_func in qfpclass
35968 do :
35969 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35970 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35971 cat >>confdefs.h <<_ACEOF
35972 #define HAVE_QFPCLASS 1
35973 _ACEOF
35976 done
35978 else
35980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35981 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35982 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35983 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35984 $as_echo_n "(cached) " >&6
35985 else
35988 ac_ext=cpp
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35995 /* end confdefs.h. */
35996 #include <math.h>
35997 #ifdef HAVE_IEEEFP_H
35998 #include <ieeefp.h>
35999 #endif
36002 main ()
36004 _qfpclass(0);
36006 return 0;
36008 _ACEOF
36009 if ac_fn_cxx_try_compile "$LINENO"; then :
36010 glibcxx_cv_func__qfpclass_use=yes
36011 else
36012 glibcxx_cv_func__qfpclass_use=no
36014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36015 ac_ext=c
36016 ac_cpp='$CPP $CPPFLAGS'
36017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36026 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36028 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36029 for ac_func in _qfpclass
36030 do :
36031 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36032 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36033 cat >>confdefs.h <<_ACEOF
36034 #define HAVE__QFPCLASS 1
36035 _ACEOF
36038 done
36047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36048 $as_echo_n "checking for hypot declaration... " >&6; }
36049 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36050 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36051 $as_echo_n "(cached) " >&6
36052 else
36055 ac_ext=cpp
36056 ac_cpp='$CXXCPP $CPPFLAGS'
36057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36062 /* end confdefs.h. */
36063 #include <math.h>
36065 main ()
36067 hypot(0, 0);
36069 return 0;
36071 _ACEOF
36072 if ac_fn_cxx_try_compile "$LINENO"; then :
36073 glibcxx_cv_func_hypot_use=yes
36074 else
36075 glibcxx_cv_func_hypot_use=no
36077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36078 ac_ext=c
36079 ac_cpp='$CPP $CPPFLAGS'
36080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36089 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36091 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36092 for ac_func in hypot
36093 do :
36094 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36095 if test "x$ac_cv_func_hypot" = x""yes; then :
36096 cat >>confdefs.h <<_ACEOF
36097 #define HAVE_HYPOT 1
36098 _ACEOF
36101 done
36103 else
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36106 $as_echo_n "checking for _hypot declaration... " >&6; }
36107 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36108 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36110 else
36113 ac_ext=cpp
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36121 #include <math.h>
36123 main ()
36125 _hypot(0, 0);
36127 return 0;
36129 _ACEOF
36130 if ac_fn_cxx_try_compile "$LINENO"; then :
36131 glibcxx_cv_func__hypot_use=yes
36132 else
36133 glibcxx_cv_func__hypot_use=no
36135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36136 ac_ext=c
36137 ac_cpp='$CPP $CPPFLAGS'
36138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36147 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36149 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36150 for ac_func in _hypot
36151 do :
36152 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36153 if test "x$ac_cv_func__hypot" = x""yes; then :
36154 cat >>confdefs.h <<_ACEOF
36155 #define HAVE__HYPOT 1
36156 _ACEOF
36159 done
36168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36169 $as_echo_n "checking for float trig functions... " >&6; }
36170 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36171 $as_echo_n "(cached) " >&6
36172 else
36175 ac_ext=cpp
36176 ac_cpp='$CXXCPP $CPPFLAGS'
36177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36182 /* end confdefs.h. */
36183 #include <math.h>
36185 main ()
36187 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36189 return 0;
36191 _ACEOF
36192 if ac_fn_cxx_try_compile "$LINENO"; then :
36193 glibcxx_cv_func_float_trig_use=yes
36194 else
36195 glibcxx_cv_func_float_trig_use=no
36197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36198 ac_ext=c
36199 ac_cpp='$CPP $CPPFLAGS'
36200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36207 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36208 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36209 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36210 do :
36211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36213 eval as_val=\$$as_ac_var
36214 if test "x$as_val" = x""yes; then :
36215 cat >>confdefs.h <<_ACEOF
36216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36217 _ACEOF
36220 done
36222 else
36223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36224 $as_echo_n "checking for _float trig functions... " >&6; }
36225 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36226 $as_echo_n "(cached) " >&6
36227 else
36230 ac_ext=cpp
36231 ac_cpp='$CXXCPP $CPPFLAGS'
36232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36237 /* end confdefs.h. */
36238 #include <math.h>
36240 main ()
36242 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36244 return 0;
36246 _ACEOF
36247 if ac_fn_cxx_try_compile "$LINENO"; then :
36248 glibcxx_cv_func__float_trig_use=yes
36249 else
36250 glibcxx_cv_func__float_trig_use=no
36252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36253 ac_ext=c
36254 ac_cpp='$CPP $CPPFLAGS'
36255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36262 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36263 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36264 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36265 do :
36266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36268 eval as_val=\$$as_ac_var
36269 if test "x$as_val" = x""yes; then :
36270 cat >>confdefs.h <<_ACEOF
36271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36272 _ACEOF
36275 done
36284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36285 $as_echo_n "checking for float round functions... " >&6; }
36286 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36287 $as_echo_n "(cached) " >&6
36288 else
36291 ac_ext=cpp
36292 ac_cpp='$CXXCPP $CPPFLAGS'
36293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36298 /* end confdefs.h. */
36299 #include <math.h>
36301 main ()
36303 ceilf (0); floorf (0);
36305 return 0;
36307 _ACEOF
36308 if ac_fn_cxx_try_compile "$LINENO"; then :
36309 glibcxx_cv_func_float_round_use=yes
36310 else
36311 glibcxx_cv_func_float_round_use=no
36313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36314 ac_ext=c
36315 ac_cpp='$CPP $CPPFLAGS'
36316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36323 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36324 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36325 for ac_func in ceilf floorf
36326 do :
36327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36329 eval as_val=\$$as_ac_var
36330 if test "x$as_val" = x""yes; then :
36331 cat >>confdefs.h <<_ACEOF
36332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36333 _ACEOF
36336 done
36338 else
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36340 $as_echo_n "checking for _float round functions... " >&6; }
36341 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36342 $as_echo_n "(cached) " >&6
36343 else
36346 ac_ext=cpp
36347 ac_cpp='$CXXCPP $CPPFLAGS'
36348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h. */
36354 #include <math.h>
36356 main ()
36358 _ceilf (0); _floorf (0);
36360 return 0;
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364 glibcxx_cv_func__float_round_use=yes
36365 else
36366 glibcxx_cv_func__float_round_use=no
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36378 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36379 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36380 for ac_func in _ceilf _floorf
36381 do :
36382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36384 eval as_val=\$$as_ac_var
36385 if test "x$as_val" = x""yes; then :
36386 cat >>confdefs.h <<_ACEOF
36387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36388 _ACEOF
36391 done
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36402 $as_echo_n "checking for expf declaration... " >&6; }
36403 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36404 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36405 $as_echo_n "(cached) " >&6
36406 else
36409 ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h. */
36417 #include <math.h>
36418 #ifdef HAVE_IEEEFP_H
36419 #include <ieeefp.h>
36420 #endif
36423 main ()
36425 expf(0);
36427 return 0;
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func_expf_use=yes
36432 else
36433 glibcxx_cv_func_expf_use=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36447 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36449 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36450 for ac_func in expf
36451 do :
36452 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36453 if test "x$ac_cv_func_expf" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE_EXPF 1
36456 _ACEOF
36459 done
36461 else
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36464 $as_echo_n "checking for _expf declaration... " >&6; }
36465 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36466 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36467 $as_echo_n "(cached) " >&6
36468 else
36471 ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h. */
36479 #include <math.h>
36480 #ifdef HAVE_IEEEFP_H
36481 #include <ieeefp.h>
36482 #endif
36485 main ()
36487 _expf(0);
36489 return 0;
36491 _ACEOF
36492 if ac_fn_cxx_try_compile "$LINENO"; then :
36493 glibcxx_cv_func__expf_use=yes
36494 else
36495 glibcxx_cv_func__expf_use=no
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36498 ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36509 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36511 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36512 for ac_func in _expf
36513 do :
36514 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36515 if test "x$ac_cv_func__expf" = x""yes; then :
36516 cat >>confdefs.h <<_ACEOF
36517 #define HAVE__EXPF 1
36518 _ACEOF
36521 done
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36531 $as_echo_n "checking for isnanf declaration... " >&6; }
36532 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36533 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36534 $as_echo_n "(cached) " >&6
36535 else
36538 ac_ext=cpp
36539 ac_cpp='$CXXCPP $CPPFLAGS'
36540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545 /* end confdefs.h. */
36546 #include <math.h>
36547 #ifdef HAVE_IEEEFP_H
36548 #include <ieeefp.h>
36549 #endif
36552 main ()
36554 isnanf(0);
36556 return 0;
36558 _ACEOF
36559 if ac_fn_cxx_try_compile "$LINENO"; then :
36560 glibcxx_cv_func_isnanf_use=yes
36561 else
36562 glibcxx_cv_func_isnanf_use=no
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36576 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36578 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36579 for ac_func in isnanf
36580 do :
36581 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36582 if test "x$ac_cv_func_isnanf" = x""yes; then :
36583 cat >>confdefs.h <<_ACEOF
36584 #define HAVE_ISNANF 1
36585 _ACEOF
36588 done
36590 else
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36593 $as_echo_n "checking for _isnanf declaration... " >&6; }
36594 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36595 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36596 $as_echo_n "(cached) " >&6
36597 else
36600 ac_ext=cpp
36601 ac_cpp='$CXXCPP $CPPFLAGS'
36602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36607 /* end confdefs.h. */
36608 #include <math.h>
36609 #ifdef HAVE_IEEEFP_H
36610 #include <ieeefp.h>
36611 #endif
36614 main ()
36616 _isnanf(0);
36618 return 0;
36620 _ACEOF
36621 if ac_fn_cxx_try_compile "$LINENO"; then :
36622 glibcxx_cv_func__isnanf_use=yes
36623 else
36624 glibcxx_cv_func__isnanf_use=no
36626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36627 ac_ext=c
36628 ac_cpp='$CPP $CPPFLAGS'
36629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36638 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36640 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36641 for ac_func in _isnanf
36642 do :
36643 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36644 if test "x$ac_cv_func__isnanf" = x""yes; then :
36645 cat >>confdefs.h <<_ACEOF
36646 #define HAVE__ISNANF 1
36647 _ACEOF
36650 done
36659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36660 $as_echo_n "checking for isinff declaration... " >&6; }
36661 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36662 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36663 $as_echo_n "(cached) " >&6
36664 else
36667 ac_ext=cpp
36668 ac_cpp='$CXXCPP $CPPFLAGS'
36669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36674 /* end confdefs.h. */
36675 #include <math.h>
36676 #ifdef HAVE_IEEEFP_H
36677 #include <ieeefp.h>
36678 #endif
36681 main ()
36683 isinff(0);
36685 return 0;
36687 _ACEOF
36688 if ac_fn_cxx_try_compile "$LINENO"; then :
36689 glibcxx_cv_func_isinff_use=yes
36690 else
36691 glibcxx_cv_func_isinff_use=no
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36694 ac_ext=c
36695 ac_cpp='$CPP $CPPFLAGS'
36696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36705 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36707 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36708 for ac_func in isinff
36709 do :
36710 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36711 if test "x$ac_cv_func_isinff" = x""yes; then :
36712 cat >>confdefs.h <<_ACEOF
36713 #define HAVE_ISINFF 1
36714 _ACEOF
36717 done
36719 else
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36722 $as_echo_n "checking for _isinff declaration... " >&6; }
36723 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36724 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36725 $as_echo_n "(cached) " >&6
36726 else
36729 ac_ext=cpp
36730 ac_cpp='$CXXCPP $CPPFLAGS'
36731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36736 /* end confdefs.h. */
36737 #include <math.h>
36738 #ifdef HAVE_IEEEFP_H
36739 #include <ieeefp.h>
36740 #endif
36743 main ()
36745 _isinff(0);
36747 return 0;
36749 _ACEOF
36750 if ac_fn_cxx_try_compile "$LINENO"; then :
36751 glibcxx_cv_func__isinff_use=yes
36752 else
36753 glibcxx_cv_func__isinff_use=no
36755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36756 ac_ext=c
36757 ac_cpp='$CPP $CPPFLAGS'
36758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36767 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36769 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36770 for ac_func in _isinff
36771 do :
36772 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36773 if test "x$ac_cv_func__isinff" = x""yes; then :
36774 cat >>confdefs.h <<_ACEOF
36775 #define HAVE__ISINFF 1
36776 _ACEOF
36779 done
36788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36789 $as_echo_n "checking for atan2f declaration... " >&6; }
36790 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36791 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36792 $as_echo_n "(cached) " >&6
36793 else
36796 ac_ext=cpp
36797 ac_cpp='$CXXCPP $CPPFLAGS'
36798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36803 /* end confdefs.h. */
36804 #include <math.h>
36806 main ()
36808 atan2f(0, 0);
36810 return 0;
36812 _ACEOF
36813 if ac_fn_cxx_try_compile "$LINENO"; then :
36814 glibcxx_cv_func_atan2f_use=yes
36815 else
36816 glibcxx_cv_func_atan2f_use=no
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36819 ac_ext=c
36820 ac_cpp='$CPP $CPPFLAGS'
36821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36830 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36832 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36833 for ac_func in atan2f
36834 do :
36835 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36836 if test "x$ac_cv_func_atan2f" = x""yes; then :
36837 cat >>confdefs.h <<_ACEOF
36838 #define HAVE_ATAN2F 1
36839 _ACEOF
36842 done
36844 else
36846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36847 $as_echo_n "checking for _atan2f declaration... " >&6; }
36848 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36849 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36850 $as_echo_n "(cached) " >&6
36851 else
36854 ac_ext=cpp
36855 ac_cpp='$CXXCPP $CPPFLAGS'
36856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36861 /* end confdefs.h. */
36862 #include <math.h>
36864 main ()
36866 _atan2f(0, 0);
36868 return 0;
36870 _ACEOF
36871 if ac_fn_cxx_try_compile "$LINENO"; then :
36872 glibcxx_cv_func__atan2f_use=yes
36873 else
36874 glibcxx_cv_func__atan2f_use=no
36876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36877 ac_ext=c
36878 ac_cpp='$CPP $CPPFLAGS'
36879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36888 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36890 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36891 for ac_func in _atan2f
36892 do :
36893 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36894 if test "x$ac_cv_func__atan2f" = x""yes; then :
36895 cat >>confdefs.h <<_ACEOF
36896 #define HAVE__ATAN2F 1
36897 _ACEOF
36900 done
36909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36910 $as_echo_n "checking for fabsf declaration... " >&6; }
36911 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36912 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36913 $as_echo_n "(cached) " >&6
36914 else
36917 ac_ext=cpp
36918 ac_cpp='$CXXCPP $CPPFLAGS'
36919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36924 /* end confdefs.h. */
36925 #include <math.h>
36926 #ifdef HAVE_IEEEFP_H
36927 #include <ieeefp.h>
36928 #endif
36931 main ()
36933 fabsf(0);
36935 return 0;
36937 _ACEOF
36938 if ac_fn_cxx_try_compile "$LINENO"; then :
36939 glibcxx_cv_func_fabsf_use=yes
36940 else
36941 glibcxx_cv_func_fabsf_use=no
36943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36944 ac_ext=c
36945 ac_cpp='$CPP $CPPFLAGS'
36946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36955 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36957 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36958 for ac_func in fabsf
36959 do :
36960 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36961 if test "x$ac_cv_func_fabsf" = x""yes; then :
36962 cat >>confdefs.h <<_ACEOF
36963 #define HAVE_FABSF 1
36964 _ACEOF
36967 done
36969 else
36971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36972 $as_echo_n "checking for _fabsf declaration... " >&6; }
36973 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36974 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36975 $as_echo_n "(cached) " >&6
36976 else
36979 ac_ext=cpp
36980 ac_cpp='$CXXCPP $CPPFLAGS'
36981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36986 /* end confdefs.h. */
36987 #include <math.h>
36988 #ifdef HAVE_IEEEFP_H
36989 #include <ieeefp.h>
36990 #endif
36993 main ()
36995 _fabsf(0);
36997 return 0;
36999 _ACEOF
37000 if ac_fn_cxx_try_compile "$LINENO"; then :
37001 glibcxx_cv_func__fabsf_use=yes
37002 else
37003 glibcxx_cv_func__fabsf_use=no
37005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37006 ac_ext=c
37007 ac_cpp='$CPP $CPPFLAGS'
37008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37017 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37019 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37020 for ac_func in _fabsf
37021 do :
37022 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37023 if test "x$ac_cv_func__fabsf" = x""yes; then :
37024 cat >>confdefs.h <<_ACEOF
37025 #define HAVE__FABSF 1
37026 _ACEOF
37029 done
37038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37039 $as_echo_n "checking for fmodf declaration... " >&6; }
37040 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37041 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37042 $as_echo_n "(cached) " >&6
37043 else
37046 ac_ext=cpp
37047 ac_cpp='$CXXCPP $CPPFLAGS'
37048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37053 /* end confdefs.h. */
37054 #include <math.h>
37056 main ()
37058 fmodf(0, 0);
37060 return 0;
37062 _ACEOF
37063 if ac_fn_cxx_try_compile "$LINENO"; then :
37064 glibcxx_cv_func_fmodf_use=yes
37065 else
37066 glibcxx_cv_func_fmodf_use=no
37068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37069 ac_ext=c
37070 ac_cpp='$CPP $CPPFLAGS'
37071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37080 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37082 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37083 for ac_func in fmodf
37084 do :
37085 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37086 if test "x$ac_cv_func_fmodf" = x""yes; then :
37087 cat >>confdefs.h <<_ACEOF
37088 #define HAVE_FMODF 1
37089 _ACEOF
37092 done
37094 else
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37097 $as_echo_n "checking for _fmodf declaration... " >&6; }
37098 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37099 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37100 $as_echo_n "(cached) " >&6
37101 else
37104 ac_ext=cpp
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37111 /* end confdefs.h. */
37112 #include <math.h>
37114 main ()
37116 _fmodf(0, 0);
37118 return 0;
37120 _ACEOF
37121 if ac_fn_cxx_try_compile "$LINENO"; then :
37122 glibcxx_cv_func__fmodf_use=yes
37123 else
37124 glibcxx_cv_func__fmodf_use=no
37126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37127 ac_ext=c
37128 ac_cpp='$CPP $CPPFLAGS'
37129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37138 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37140 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37141 for ac_func in _fmodf
37142 do :
37143 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37144 if test "x$ac_cv_func__fmodf" = x""yes; then :
37145 cat >>confdefs.h <<_ACEOF
37146 #define HAVE__FMODF 1
37147 _ACEOF
37150 done
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37160 $as_echo_n "checking for frexpf declaration... " >&6; }
37161 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37162 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37163 $as_echo_n "(cached) " >&6
37164 else
37167 ac_ext=cpp
37168 ac_cpp='$CXXCPP $CPPFLAGS'
37169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37174 /* end confdefs.h. */
37175 #include <math.h>
37177 main ()
37179 frexpf(0, 0);
37181 return 0;
37183 _ACEOF
37184 if ac_fn_cxx_try_compile "$LINENO"; then :
37185 glibcxx_cv_func_frexpf_use=yes
37186 else
37187 glibcxx_cv_func_frexpf_use=no
37189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37190 ac_ext=c
37191 ac_cpp='$CPP $CPPFLAGS'
37192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37201 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37203 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37204 for ac_func in frexpf
37205 do :
37206 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37207 if test "x$ac_cv_func_frexpf" = x""yes; then :
37208 cat >>confdefs.h <<_ACEOF
37209 #define HAVE_FREXPF 1
37210 _ACEOF
37213 done
37215 else
37217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37218 $as_echo_n "checking for _frexpf declaration... " >&6; }
37219 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37220 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37221 $as_echo_n "(cached) " >&6
37222 else
37225 ac_ext=cpp
37226 ac_cpp='$CXXCPP $CPPFLAGS'
37227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37232 /* end confdefs.h. */
37233 #include <math.h>
37235 main ()
37237 _frexpf(0, 0);
37239 return 0;
37241 _ACEOF
37242 if ac_fn_cxx_try_compile "$LINENO"; then :
37243 glibcxx_cv_func__frexpf_use=yes
37244 else
37245 glibcxx_cv_func__frexpf_use=no
37247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37248 ac_ext=c
37249 ac_cpp='$CPP $CPPFLAGS'
37250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37259 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37261 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37262 for ac_func in _frexpf
37263 do :
37264 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37265 if test "x$ac_cv_func__frexpf" = x""yes; then :
37266 cat >>confdefs.h <<_ACEOF
37267 #define HAVE__FREXPF 1
37268 _ACEOF
37271 done
37280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37281 $as_echo_n "checking for hypotf declaration... " >&6; }
37282 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37283 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37284 $as_echo_n "(cached) " >&6
37285 else
37288 ac_ext=cpp
37289 ac_cpp='$CXXCPP $CPPFLAGS'
37290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37295 /* end confdefs.h. */
37296 #include <math.h>
37298 main ()
37300 hypotf(0, 0);
37302 return 0;
37304 _ACEOF
37305 if ac_fn_cxx_try_compile "$LINENO"; then :
37306 glibcxx_cv_func_hypotf_use=yes
37307 else
37308 glibcxx_cv_func_hypotf_use=no
37310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37311 ac_ext=c
37312 ac_cpp='$CPP $CPPFLAGS'
37313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37322 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37324 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37325 for ac_func in hypotf
37326 do :
37327 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37328 if test "x$ac_cv_func_hypotf" = x""yes; then :
37329 cat >>confdefs.h <<_ACEOF
37330 #define HAVE_HYPOTF 1
37331 _ACEOF
37334 done
37336 else
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37339 $as_echo_n "checking for _hypotf declaration... " >&6; }
37340 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37341 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37342 $as_echo_n "(cached) " >&6
37343 else
37346 ac_ext=cpp
37347 ac_cpp='$CXXCPP $CPPFLAGS'
37348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37353 /* end confdefs.h. */
37354 #include <math.h>
37356 main ()
37358 _hypotf(0, 0);
37360 return 0;
37362 _ACEOF
37363 if ac_fn_cxx_try_compile "$LINENO"; then :
37364 glibcxx_cv_func__hypotf_use=yes
37365 else
37366 glibcxx_cv_func__hypotf_use=no
37368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37369 ac_ext=c
37370 ac_cpp='$CPP $CPPFLAGS'
37371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37380 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37382 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37383 for ac_func in _hypotf
37384 do :
37385 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37386 if test "x$ac_cv_func__hypotf" = x""yes; then :
37387 cat >>confdefs.h <<_ACEOF
37388 #define HAVE__HYPOTF 1
37389 _ACEOF
37392 done
37401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37402 $as_echo_n "checking for ldexpf declaration... " >&6; }
37403 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37404 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37405 $as_echo_n "(cached) " >&6
37406 else
37409 ac_ext=cpp
37410 ac_cpp='$CXXCPP $CPPFLAGS'
37411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37416 /* end confdefs.h. */
37417 #include <math.h>
37419 main ()
37421 ldexpf(0, 0);
37423 return 0;
37425 _ACEOF
37426 if ac_fn_cxx_try_compile "$LINENO"; then :
37427 glibcxx_cv_func_ldexpf_use=yes
37428 else
37429 glibcxx_cv_func_ldexpf_use=no
37431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37432 ac_ext=c
37433 ac_cpp='$CPP $CPPFLAGS'
37434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37443 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37445 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37446 for ac_func in ldexpf
37447 do :
37448 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37449 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37450 cat >>confdefs.h <<_ACEOF
37451 #define HAVE_LDEXPF 1
37452 _ACEOF
37455 done
37457 else
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37460 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37461 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37462 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37463 $as_echo_n "(cached) " >&6
37464 else
37467 ac_ext=cpp
37468 ac_cpp='$CXXCPP $CPPFLAGS'
37469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37474 /* end confdefs.h. */
37475 #include <math.h>
37477 main ()
37479 _ldexpf(0, 0);
37481 return 0;
37483 _ACEOF
37484 if ac_fn_cxx_try_compile "$LINENO"; then :
37485 glibcxx_cv_func__ldexpf_use=yes
37486 else
37487 glibcxx_cv_func__ldexpf_use=no
37489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37490 ac_ext=c
37491 ac_cpp='$CPP $CPPFLAGS'
37492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37501 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37503 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37504 for ac_func in _ldexpf
37505 do :
37506 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37507 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37508 cat >>confdefs.h <<_ACEOF
37509 #define HAVE__LDEXPF 1
37510 _ACEOF
37513 done
37522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37523 $as_echo_n "checking for logf declaration... " >&6; }
37524 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37525 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37526 $as_echo_n "(cached) " >&6
37527 else
37530 ac_ext=cpp
37531 ac_cpp='$CXXCPP $CPPFLAGS'
37532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37537 /* end confdefs.h. */
37538 #include <math.h>
37539 #ifdef HAVE_IEEEFP_H
37540 #include <ieeefp.h>
37541 #endif
37544 main ()
37546 logf(0);
37548 return 0;
37550 _ACEOF
37551 if ac_fn_cxx_try_compile "$LINENO"; then :
37552 glibcxx_cv_func_logf_use=yes
37553 else
37554 glibcxx_cv_func_logf_use=no
37556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37557 ac_ext=c
37558 ac_cpp='$CPP $CPPFLAGS'
37559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37568 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37570 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37571 for ac_func in logf
37572 do :
37573 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37574 if test "x$ac_cv_func_logf" = x""yes; then :
37575 cat >>confdefs.h <<_ACEOF
37576 #define HAVE_LOGF 1
37577 _ACEOF
37580 done
37582 else
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37585 $as_echo_n "checking for _logf declaration... " >&6; }
37586 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37587 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37588 $as_echo_n "(cached) " >&6
37589 else
37592 ac_ext=cpp
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37599 /* end confdefs.h. */
37600 #include <math.h>
37601 #ifdef HAVE_IEEEFP_H
37602 #include <ieeefp.h>
37603 #endif
37606 main ()
37608 _logf(0);
37610 return 0;
37612 _ACEOF
37613 if ac_fn_cxx_try_compile "$LINENO"; then :
37614 glibcxx_cv_func__logf_use=yes
37615 else
37616 glibcxx_cv_func__logf_use=no
37618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37619 ac_ext=c
37620 ac_cpp='$CPP $CPPFLAGS'
37621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37630 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37632 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37633 for ac_func in _logf
37634 do :
37635 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37636 if test "x$ac_cv_func__logf" = x""yes; then :
37637 cat >>confdefs.h <<_ACEOF
37638 #define HAVE__LOGF 1
37639 _ACEOF
37642 done
37651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37652 $as_echo_n "checking for log10f declaration... " >&6; }
37653 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37654 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37655 $as_echo_n "(cached) " >&6
37656 else
37659 ac_ext=cpp
37660 ac_cpp='$CXXCPP $CPPFLAGS'
37661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37666 /* end confdefs.h. */
37667 #include <math.h>
37668 #ifdef HAVE_IEEEFP_H
37669 #include <ieeefp.h>
37670 #endif
37673 main ()
37675 log10f(0);
37677 return 0;
37679 _ACEOF
37680 if ac_fn_cxx_try_compile "$LINENO"; then :
37681 glibcxx_cv_func_log10f_use=yes
37682 else
37683 glibcxx_cv_func_log10f_use=no
37685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37686 ac_ext=c
37687 ac_cpp='$CPP $CPPFLAGS'
37688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37697 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37699 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37700 for ac_func in log10f
37701 do :
37702 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37703 if test "x$ac_cv_func_log10f" = x""yes; then :
37704 cat >>confdefs.h <<_ACEOF
37705 #define HAVE_LOG10F 1
37706 _ACEOF
37709 done
37711 else
37713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37714 $as_echo_n "checking for _log10f declaration... " >&6; }
37715 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37716 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37717 $as_echo_n "(cached) " >&6
37718 else
37721 ac_ext=cpp
37722 ac_cpp='$CXXCPP $CPPFLAGS'
37723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37728 /* end confdefs.h. */
37729 #include <math.h>
37730 #ifdef HAVE_IEEEFP_H
37731 #include <ieeefp.h>
37732 #endif
37735 main ()
37737 _log10f(0);
37739 return 0;
37741 _ACEOF
37742 if ac_fn_cxx_try_compile "$LINENO"; then :
37743 glibcxx_cv_func__log10f_use=yes
37744 else
37745 glibcxx_cv_func__log10f_use=no
37747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37748 ac_ext=c
37749 ac_cpp='$CPP $CPPFLAGS'
37750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37759 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37761 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37762 for ac_func in _log10f
37763 do :
37764 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37765 if test "x$ac_cv_func__log10f" = x""yes; then :
37766 cat >>confdefs.h <<_ACEOF
37767 #define HAVE__LOG10F 1
37768 _ACEOF
37771 done
37780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37781 $as_echo_n "checking for modff declaration... " >&6; }
37782 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37783 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37784 $as_echo_n "(cached) " >&6
37785 else
37788 ac_ext=cpp
37789 ac_cpp='$CXXCPP $CPPFLAGS'
37790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37795 /* end confdefs.h. */
37796 #include <math.h>
37798 main ()
37800 modff(0, 0);
37802 return 0;
37804 _ACEOF
37805 if ac_fn_cxx_try_compile "$LINENO"; then :
37806 glibcxx_cv_func_modff_use=yes
37807 else
37808 glibcxx_cv_func_modff_use=no
37810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37811 ac_ext=c
37812 ac_cpp='$CPP $CPPFLAGS'
37813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37822 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37824 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37825 for ac_func in modff
37826 do :
37827 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37828 if test "x$ac_cv_func_modff" = x""yes; then :
37829 cat >>confdefs.h <<_ACEOF
37830 #define HAVE_MODFF 1
37831 _ACEOF
37834 done
37836 else
37838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37839 $as_echo_n "checking for _modff declaration... " >&6; }
37840 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37841 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37842 $as_echo_n "(cached) " >&6
37843 else
37846 ac_ext=cpp
37847 ac_cpp='$CXXCPP $CPPFLAGS'
37848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37853 /* end confdefs.h. */
37854 #include <math.h>
37856 main ()
37858 _modff(0, 0);
37860 return 0;
37862 _ACEOF
37863 if ac_fn_cxx_try_compile "$LINENO"; then :
37864 glibcxx_cv_func__modff_use=yes
37865 else
37866 glibcxx_cv_func__modff_use=no
37868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37869 ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37880 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37882 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37883 for ac_func in _modff
37884 do :
37885 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37886 if test "x$ac_cv_func__modff" = x""yes; then :
37887 cat >>confdefs.h <<_ACEOF
37888 #define HAVE__MODFF 1
37889 _ACEOF
37892 done
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37902 $as_echo_n "checking for modf declaration... " >&6; }
37903 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37904 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37905 $as_echo_n "(cached) " >&6
37906 else
37909 ac_ext=cpp
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37916 /* end confdefs.h. */
37917 #include <math.h>
37919 main ()
37921 modf(0, 0);
37923 return 0;
37925 _ACEOF
37926 if ac_fn_cxx_try_compile "$LINENO"; then :
37927 glibcxx_cv_func_modf_use=yes
37928 else
37929 glibcxx_cv_func_modf_use=no
37931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37932 ac_ext=c
37933 ac_cpp='$CPP $CPPFLAGS'
37934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37943 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37945 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37946 for ac_func in modf
37947 do :
37948 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37949 if test "x$ac_cv_func_modf" = x""yes; then :
37950 cat >>confdefs.h <<_ACEOF
37951 #define HAVE_MODF 1
37952 _ACEOF
37955 done
37957 else
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37960 $as_echo_n "checking for _modf declaration... " >&6; }
37961 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37962 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37963 $as_echo_n "(cached) " >&6
37964 else
37967 ac_ext=cpp
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <math.h>
37977 main ()
37979 _modf(0, 0);
37981 return 0;
37983 _ACEOF
37984 if ac_fn_cxx_try_compile "$LINENO"; then :
37985 glibcxx_cv_func__modf_use=yes
37986 else
37987 glibcxx_cv_func__modf_use=no
37989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37990 ac_ext=c
37991 ac_cpp='$CPP $CPPFLAGS'
37992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38001 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38003 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38004 for ac_func in _modf
38005 do :
38006 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38007 if test "x$ac_cv_func__modf" = x""yes; then :
38008 cat >>confdefs.h <<_ACEOF
38009 #define HAVE__MODF 1
38010 _ACEOF
38013 done
38022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38023 $as_echo_n "checking for powf declaration... " >&6; }
38024 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38025 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38026 $as_echo_n "(cached) " >&6
38027 else
38030 ac_ext=cpp
38031 ac_cpp='$CXXCPP $CPPFLAGS'
38032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38037 /* end confdefs.h. */
38038 #include <math.h>
38040 main ()
38042 powf(0, 0);
38044 return 0;
38046 _ACEOF
38047 if ac_fn_cxx_try_compile "$LINENO"; then :
38048 glibcxx_cv_func_powf_use=yes
38049 else
38050 glibcxx_cv_func_powf_use=no
38052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38053 ac_ext=c
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38064 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38066 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38067 for ac_func in powf
38068 do :
38069 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38070 if test "x$ac_cv_func_powf" = x""yes; then :
38071 cat >>confdefs.h <<_ACEOF
38072 #define HAVE_POWF 1
38073 _ACEOF
38076 done
38078 else
38080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38081 $as_echo_n "checking for _powf declaration... " >&6; }
38082 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38083 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38084 $as_echo_n "(cached) " >&6
38085 else
38088 ac_ext=cpp
38089 ac_cpp='$CXXCPP $CPPFLAGS'
38090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38095 /* end confdefs.h. */
38096 #include <math.h>
38098 main ()
38100 _powf(0, 0);
38102 return 0;
38104 _ACEOF
38105 if ac_fn_cxx_try_compile "$LINENO"; then :
38106 glibcxx_cv_func__powf_use=yes
38107 else
38108 glibcxx_cv_func__powf_use=no
38110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38111 ac_ext=c
38112 ac_cpp='$CPP $CPPFLAGS'
38113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38122 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38124 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38125 for ac_func in _powf
38126 do :
38127 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38128 if test "x$ac_cv_func__powf" = x""yes; then :
38129 cat >>confdefs.h <<_ACEOF
38130 #define HAVE__POWF 1
38131 _ACEOF
38134 done
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38144 $as_echo_n "checking for sqrtf declaration... " >&6; }
38145 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38146 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38147 $as_echo_n "(cached) " >&6
38148 else
38151 ac_ext=cpp
38152 ac_cpp='$CXXCPP $CPPFLAGS'
38153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38158 /* end confdefs.h. */
38159 #include <math.h>
38160 #ifdef HAVE_IEEEFP_H
38161 #include <ieeefp.h>
38162 #endif
38165 main ()
38167 sqrtf(0);
38169 return 0;
38171 _ACEOF
38172 if ac_fn_cxx_try_compile "$LINENO"; then :
38173 glibcxx_cv_func_sqrtf_use=yes
38174 else
38175 glibcxx_cv_func_sqrtf_use=no
38177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38178 ac_ext=c
38179 ac_cpp='$CPP $CPPFLAGS'
38180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38189 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38191 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38192 for ac_func in sqrtf
38193 do :
38194 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38195 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38196 cat >>confdefs.h <<_ACEOF
38197 #define HAVE_SQRTF 1
38198 _ACEOF
38201 done
38203 else
38205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38206 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38207 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38208 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38209 $as_echo_n "(cached) " >&6
38210 else
38213 ac_ext=cpp
38214 ac_cpp='$CXXCPP $CPPFLAGS'
38215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38220 /* end confdefs.h. */
38221 #include <math.h>
38222 #ifdef HAVE_IEEEFP_H
38223 #include <ieeefp.h>
38224 #endif
38227 main ()
38229 _sqrtf(0);
38231 return 0;
38233 _ACEOF
38234 if ac_fn_cxx_try_compile "$LINENO"; then :
38235 glibcxx_cv_func__sqrtf_use=yes
38236 else
38237 glibcxx_cv_func__sqrtf_use=no
38239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38240 ac_ext=c
38241 ac_cpp='$CPP $CPPFLAGS'
38242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38251 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38253 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38254 for ac_func in _sqrtf
38255 do :
38256 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38257 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38258 cat >>confdefs.h <<_ACEOF
38259 #define HAVE__SQRTF 1
38260 _ACEOF
38263 done
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38273 $as_echo_n "checking for sincosf declaration... " >&6; }
38274 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38275 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38276 $as_echo_n "(cached) " >&6
38277 else
38280 ac_ext=cpp
38281 ac_cpp='$CXXCPP $CPPFLAGS'
38282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38287 /* end confdefs.h. */
38288 #include <math.h>
38290 main ()
38292 sincosf(0, 0, 0);
38294 return 0;
38296 _ACEOF
38297 if ac_fn_cxx_try_compile "$LINENO"; then :
38298 glibcxx_cv_func_sincosf_use=yes
38299 else
38300 glibcxx_cv_func_sincosf_use=no
38302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38303 ac_ext=c
38304 ac_cpp='$CPP $CPPFLAGS'
38305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38314 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38316 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38317 for ac_func in sincosf
38318 do :
38319 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38320 if test "x$ac_cv_func_sincosf" = x""yes; then :
38321 cat >>confdefs.h <<_ACEOF
38322 #define HAVE_SINCOSF 1
38323 _ACEOF
38326 done
38328 else
38330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38331 $as_echo_n "checking for _sincosf declaration... " >&6; }
38332 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38333 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38334 $as_echo_n "(cached) " >&6
38335 else
38338 ac_ext=cpp
38339 ac_cpp='$CXXCPP $CPPFLAGS'
38340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38345 /* end confdefs.h. */
38346 #include <math.h>
38348 main ()
38350 _sincosf(0, 0, 0);
38352 return 0;
38354 _ACEOF
38355 if ac_fn_cxx_try_compile "$LINENO"; then :
38356 glibcxx_cv_func__sincosf_use=yes
38357 else
38358 glibcxx_cv_func__sincosf_use=no
38360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38361 ac_ext=c
38362 ac_cpp='$CPP $CPPFLAGS'
38363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38372 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38374 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38375 for ac_func in _sincosf
38376 do :
38377 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38378 if test "x$ac_cv_func__sincosf" = x""yes; then :
38379 cat >>confdefs.h <<_ACEOF
38380 #define HAVE__SINCOSF 1
38381 _ACEOF
38384 done
38393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38394 $as_echo_n "checking for finitef declaration... " >&6; }
38395 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38396 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38397 $as_echo_n "(cached) " >&6
38398 else
38401 ac_ext=cpp
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38408 /* end confdefs.h. */
38409 #include <math.h>
38410 #ifdef HAVE_IEEEFP_H
38411 #include <ieeefp.h>
38412 #endif
38415 main ()
38417 finitef(0);
38419 return 0;
38421 _ACEOF
38422 if ac_fn_cxx_try_compile "$LINENO"; then :
38423 glibcxx_cv_func_finitef_use=yes
38424 else
38425 glibcxx_cv_func_finitef_use=no
38427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38428 ac_ext=c
38429 ac_cpp='$CPP $CPPFLAGS'
38430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38439 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38441 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38442 for ac_func in finitef
38443 do :
38444 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38445 if test "x$ac_cv_func_finitef" = x""yes; then :
38446 cat >>confdefs.h <<_ACEOF
38447 #define HAVE_FINITEF 1
38448 _ACEOF
38451 done
38453 else
38455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38456 $as_echo_n "checking for _finitef declaration... " >&6; }
38457 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38458 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38459 $as_echo_n "(cached) " >&6
38460 else
38463 ac_ext=cpp
38464 ac_cpp='$CXXCPP $CPPFLAGS'
38465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38470 /* end confdefs.h. */
38471 #include <math.h>
38472 #ifdef HAVE_IEEEFP_H
38473 #include <ieeefp.h>
38474 #endif
38477 main ()
38479 _finitef(0);
38481 return 0;
38483 _ACEOF
38484 if ac_fn_cxx_try_compile "$LINENO"; then :
38485 glibcxx_cv_func__finitef_use=yes
38486 else
38487 glibcxx_cv_func__finitef_use=no
38489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38490 ac_ext=c
38491 ac_cpp='$CPP $CPPFLAGS'
38492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38501 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38503 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38504 for ac_func in _finitef
38505 do :
38506 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38507 if test "x$ac_cv_func__finitef" = x""yes; then :
38508 cat >>confdefs.h <<_ACEOF
38509 #define HAVE__FINITEF 1
38510 _ACEOF
38513 done
38522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38523 $as_echo_n "checking for long double trig functions... " >&6; }
38524 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38525 $as_echo_n "(cached) " >&6
38526 else
38529 ac_ext=cpp
38530 ac_cpp='$CXXCPP $CPPFLAGS'
38531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38536 /* end confdefs.h. */
38537 #include <math.h>
38539 main ()
38541 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38543 return 0;
38545 _ACEOF
38546 if ac_fn_cxx_try_compile "$LINENO"; then :
38547 glibcxx_cv_func_long_double_trig_use=yes
38548 else
38549 glibcxx_cv_func_long_double_trig_use=no
38551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38552 ac_ext=c
38553 ac_cpp='$CPP $CPPFLAGS'
38554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38561 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38562 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38563 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38564 do :
38565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38567 eval as_val=\$$as_ac_var
38568 if test "x$as_val" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38571 _ACEOF
38574 done
38576 else
38577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38578 $as_echo_n "checking for _long double trig functions... " >&6; }
38579 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38580 $as_echo_n "(cached) " >&6
38581 else
38584 ac_ext=cpp
38585 ac_cpp='$CXXCPP $CPPFLAGS'
38586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38591 /* end confdefs.h. */
38592 #include <math.h>
38594 main ()
38596 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38598 return 0;
38600 _ACEOF
38601 if ac_fn_cxx_try_compile "$LINENO"; then :
38602 glibcxx_cv_func__long_double_trig_use=yes
38603 else
38604 glibcxx_cv_func__long_double_trig_use=no
38606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38607 ac_ext=c
38608 ac_cpp='$CPP $CPPFLAGS'
38609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38616 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38617 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38618 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38619 do :
38620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38622 eval as_val=\$$as_ac_var
38623 if test "x$as_val" = x""yes; then :
38624 cat >>confdefs.h <<_ACEOF
38625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38626 _ACEOF
38629 done
38638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38639 $as_echo_n "checking for long double round functions... " >&6; }
38640 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38641 $as_echo_n "(cached) " >&6
38642 else
38645 ac_ext=cpp
38646 ac_cpp='$CXXCPP $CPPFLAGS'
38647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38652 /* end confdefs.h. */
38653 #include <math.h>
38655 main ()
38657 ceill (0); floorl (0);
38659 return 0;
38661 _ACEOF
38662 if ac_fn_cxx_try_compile "$LINENO"; then :
38663 glibcxx_cv_func_long_double_round_use=yes
38664 else
38665 glibcxx_cv_func_long_double_round_use=no
38667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38668 ac_ext=c
38669 ac_cpp='$CPP $CPPFLAGS'
38670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38677 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38678 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38679 for ac_func in ceill floorl
38680 do :
38681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38683 eval as_val=\$$as_ac_var
38684 if test "x$as_val" = x""yes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 _ACEOF
38690 done
38692 else
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38694 $as_echo_n "checking for _long double round functions... " >&6; }
38695 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38696 $as_echo_n "(cached) " >&6
38697 else
38700 ac_ext=cpp
38701 ac_cpp='$CXXCPP $CPPFLAGS'
38702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38707 /* end confdefs.h. */
38708 #include <math.h>
38710 main ()
38712 _ceill (0); _floorl (0);
38714 return 0;
38716 _ACEOF
38717 if ac_fn_cxx_try_compile "$LINENO"; then :
38718 glibcxx_cv_func__long_double_round_use=yes
38719 else
38720 glibcxx_cv_func__long_double_round_use=no
38722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38723 ac_ext=c
38724 ac_cpp='$CPP $CPPFLAGS'
38725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38732 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38733 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38734 for ac_func in _ceill _floorl
38735 do :
38736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38738 eval as_val=\$$as_ac_var
38739 if test "x$as_val" = x""yes; then :
38740 cat >>confdefs.h <<_ACEOF
38741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38742 _ACEOF
38745 done
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38756 $as_echo_n "checking for isnanl declaration... " >&6; }
38757 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38758 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38759 $as_echo_n "(cached) " >&6
38760 else
38763 ac_ext=cpp
38764 ac_cpp='$CXXCPP $CPPFLAGS'
38765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38770 /* end confdefs.h. */
38771 #include <math.h>
38772 #ifdef HAVE_IEEEFP_H
38773 #include <ieeefp.h>
38774 #endif
38777 main ()
38779 isnanl(0);
38781 return 0;
38783 _ACEOF
38784 if ac_fn_cxx_try_compile "$LINENO"; then :
38785 glibcxx_cv_func_isnanl_use=yes
38786 else
38787 glibcxx_cv_func_isnanl_use=no
38789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38790 ac_ext=c
38791 ac_cpp='$CPP $CPPFLAGS'
38792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38801 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38803 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38804 for ac_func in isnanl
38805 do :
38806 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38807 if test "x$ac_cv_func_isnanl" = x""yes; then :
38808 cat >>confdefs.h <<_ACEOF
38809 #define HAVE_ISNANL 1
38810 _ACEOF
38813 done
38815 else
38817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38818 $as_echo_n "checking for _isnanl declaration... " >&6; }
38819 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38820 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38821 $as_echo_n "(cached) " >&6
38822 else
38825 ac_ext=cpp
38826 ac_cpp='$CXXCPP $CPPFLAGS'
38827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38832 /* end confdefs.h. */
38833 #include <math.h>
38834 #ifdef HAVE_IEEEFP_H
38835 #include <ieeefp.h>
38836 #endif
38839 main ()
38841 _isnanl(0);
38843 return 0;
38845 _ACEOF
38846 if ac_fn_cxx_try_compile "$LINENO"; then :
38847 glibcxx_cv_func__isnanl_use=yes
38848 else
38849 glibcxx_cv_func__isnanl_use=no
38851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38852 ac_ext=c
38853 ac_cpp='$CPP $CPPFLAGS'
38854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38863 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38865 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38866 for ac_func in _isnanl
38867 do :
38868 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38869 if test "x$ac_cv_func__isnanl" = x""yes; then :
38870 cat >>confdefs.h <<_ACEOF
38871 #define HAVE__ISNANL 1
38872 _ACEOF
38875 done
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38885 $as_echo_n "checking for isinfl declaration... " >&6; }
38886 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38887 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38888 $as_echo_n "(cached) " >&6
38889 else
38892 ac_ext=cpp
38893 ac_cpp='$CXXCPP $CPPFLAGS'
38894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38899 /* end confdefs.h. */
38900 #include <math.h>
38901 #ifdef HAVE_IEEEFP_H
38902 #include <ieeefp.h>
38903 #endif
38906 main ()
38908 isinfl(0);
38910 return 0;
38912 _ACEOF
38913 if ac_fn_cxx_try_compile "$LINENO"; then :
38914 glibcxx_cv_func_isinfl_use=yes
38915 else
38916 glibcxx_cv_func_isinfl_use=no
38918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38919 ac_ext=c
38920 ac_cpp='$CPP $CPPFLAGS'
38921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38930 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38932 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38933 for ac_func in isinfl
38934 do :
38935 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38936 if test "x$ac_cv_func_isinfl" = x""yes; then :
38937 cat >>confdefs.h <<_ACEOF
38938 #define HAVE_ISINFL 1
38939 _ACEOF
38942 done
38944 else
38946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38947 $as_echo_n "checking for _isinfl declaration... " >&6; }
38948 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38949 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38950 $as_echo_n "(cached) " >&6
38951 else
38954 ac_ext=cpp
38955 ac_cpp='$CXXCPP $CPPFLAGS'
38956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38961 /* end confdefs.h. */
38962 #include <math.h>
38963 #ifdef HAVE_IEEEFP_H
38964 #include <ieeefp.h>
38965 #endif
38968 main ()
38970 _isinfl(0);
38972 return 0;
38974 _ACEOF
38975 if ac_fn_cxx_try_compile "$LINENO"; then :
38976 glibcxx_cv_func__isinfl_use=yes
38977 else
38978 glibcxx_cv_func__isinfl_use=no
38980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38981 ac_ext=c
38982 ac_cpp='$CPP $CPPFLAGS'
38983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38992 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38994 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38995 for ac_func in _isinfl
38996 do :
38997 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38998 if test "x$ac_cv_func__isinfl" = x""yes; then :
38999 cat >>confdefs.h <<_ACEOF
39000 #define HAVE__ISINFL 1
39001 _ACEOF
39004 done
39013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39014 $as_echo_n "checking for atan2l declaration... " >&6; }
39015 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39016 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39017 $as_echo_n "(cached) " >&6
39018 else
39021 ac_ext=cpp
39022 ac_cpp='$CXXCPP $CPPFLAGS'
39023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39028 /* end confdefs.h. */
39029 #include <math.h>
39031 main ()
39033 atan2l(0, 0);
39035 return 0;
39037 _ACEOF
39038 if ac_fn_cxx_try_compile "$LINENO"; then :
39039 glibcxx_cv_func_atan2l_use=yes
39040 else
39041 glibcxx_cv_func_atan2l_use=no
39043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39044 ac_ext=c
39045 ac_cpp='$CPP $CPPFLAGS'
39046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39055 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39057 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39058 for ac_func in atan2l
39059 do :
39060 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39061 if test "x$ac_cv_func_atan2l" = x""yes; then :
39062 cat >>confdefs.h <<_ACEOF
39063 #define HAVE_ATAN2L 1
39064 _ACEOF
39067 done
39069 else
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39072 $as_echo_n "checking for _atan2l declaration... " >&6; }
39073 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39074 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39075 $as_echo_n "(cached) " >&6
39076 else
39079 ac_ext=cpp
39080 ac_cpp='$CXXCPP $CPPFLAGS'
39081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39086 /* end confdefs.h. */
39087 #include <math.h>
39089 main ()
39091 _atan2l(0, 0);
39093 return 0;
39095 _ACEOF
39096 if ac_fn_cxx_try_compile "$LINENO"; then :
39097 glibcxx_cv_func__atan2l_use=yes
39098 else
39099 glibcxx_cv_func__atan2l_use=no
39101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39102 ac_ext=c
39103 ac_cpp='$CPP $CPPFLAGS'
39104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39113 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39115 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39116 for ac_func in _atan2l
39117 do :
39118 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39119 if test "x$ac_cv_func__atan2l" = x""yes; then :
39120 cat >>confdefs.h <<_ACEOF
39121 #define HAVE__ATAN2L 1
39122 _ACEOF
39125 done
39134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39135 $as_echo_n "checking for expl declaration... " >&6; }
39136 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39137 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39138 $as_echo_n "(cached) " >&6
39139 else
39142 ac_ext=cpp
39143 ac_cpp='$CXXCPP $CPPFLAGS'
39144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39149 /* end confdefs.h. */
39150 #include <math.h>
39151 #ifdef HAVE_IEEEFP_H
39152 #include <ieeefp.h>
39153 #endif
39156 main ()
39158 expl(0);
39160 return 0;
39162 _ACEOF
39163 if ac_fn_cxx_try_compile "$LINENO"; then :
39164 glibcxx_cv_func_expl_use=yes
39165 else
39166 glibcxx_cv_func_expl_use=no
39168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39169 ac_ext=c
39170 ac_cpp='$CPP $CPPFLAGS'
39171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39180 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39182 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39183 for ac_func in expl
39184 do :
39185 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39186 if test "x$ac_cv_func_expl" = x""yes; then :
39187 cat >>confdefs.h <<_ACEOF
39188 #define HAVE_EXPL 1
39189 _ACEOF
39192 done
39194 else
39196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39197 $as_echo_n "checking for _expl declaration... " >&6; }
39198 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39199 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39200 $as_echo_n "(cached) " >&6
39201 else
39204 ac_ext=cpp
39205 ac_cpp='$CXXCPP $CPPFLAGS'
39206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39211 /* end confdefs.h. */
39212 #include <math.h>
39213 #ifdef HAVE_IEEEFP_H
39214 #include <ieeefp.h>
39215 #endif
39218 main ()
39220 _expl(0);
39222 return 0;
39224 _ACEOF
39225 if ac_fn_cxx_try_compile "$LINENO"; then :
39226 glibcxx_cv_func__expl_use=yes
39227 else
39228 glibcxx_cv_func__expl_use=no
39230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39231 ac_ext=c
39232 ac_cpp='$CPP $CPPFLAGS'
39233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39242 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39244 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39245 for ac_func in _expl
39246 do :
39247 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39248 if test "x$ac_cv_func__expl" = x""yes; then :
39249 cat >>confdefs.h <<_ACEOF
39250 #define HAVE__EXPL 1
39251 _ACEOF
39254 done
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39264 $as_echo_n "checking for fabsl declaration... " >&6; }
39265 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39266 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39267 $as_echo_n "(cached) " >&6
39268 else
39271 ac_ext=cpp
39272 ac_cpp='$CXXCPP $CPPFLAGS'
39273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39278 /* end confdefs.h. */
39279 #include <math.h>
39280 #ifdef HAVE_IEEEFP_H
39281 #include <ieeefp.h>
39282 #endif
39285 main ()
39287 fabsl(0);
39289 return 0;
39291 _ACEOF
39292 if ac_fn_cxx_try_compile "$LINENO"; then :
39293 glibcxx_cv_func_fabsl_use=yes
39294 else
39295 glibcxx_cv_func_fabsl_use=no
39297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39298 ac_ext=c
39299 ac_cpp='$CPP $CPPFLAGS'
39300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39309 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39311 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39312 for ac_func in fabsl
39313 do :
39314 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39315 if test "x$ac_cv_func_fabsl" = x""yes; then :
39316 cat >>confdefs.h <<_ACEOF
39317 #define HAVE_FABSL 1
39318 _ACEOF
39321 done
39323 else
39325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39326 $as_echo_n "checking for _fabsl declaration... " >&6; }
39327 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39328 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39329 $as_echo_n "(cached) " >&6
39330 else
39333 ac_ext=cpp
39334 ac_cpp='$CXXCPP $CPPFLAGS'
39335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39340 /* end confdefs.h. */
39341 #include <math.h>
39342 #ifdef HAVE_IEEEFP_H
39343 #include <ieeefp.h>
39344 #endif
39347 main ()
39349 _fabsl(0);
39351 return 0;
39353 _ACEOF
39354 if ac_fn_cxx_try_compile "$LINENO"; then :
39355 glibcxx_cv_func__fabsl_use=yes
39356 else
39357 glibcxx_cv_func__fabsl_use=no
39359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39360 ac_ext=c
39361 ac_cpp='$CPP $CPPFLAGS'
39362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39371 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39373 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39374 for ac_func in _fabsl
39375 do :
39376 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39377 if test "x$ac_cv_func__fabsl" = x""yes; then :
39378 cat >>confdefs.h <<_ACEOF
39379 #define HAVE__FABSL 1
39380 _ACEOF
39383 done
39392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39393 $as_echo_n "checking for fmodl declaration... " >&6; }
39394 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39395 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39396 $as_echo_n "(cached) " >&6
39397 else
39400 ac_ext=cpp
39401 ac_cpp='$CXXCPP $CPPFLAGS'
39402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39407 /* end confdefs.h. */
39408 #include <math.h>
39410 main ()
39412 fmodl(0, 0);
39414 return 0;
39416 _ACEOF
39417 if ac_fn_cxx_try_compile "$LINENO"; then :
39418 glibcxx_cv_func_fmodl_use=yes
39419 else
39420 glibcxx_cv_func_fmodl_use=no
39422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39423 ac_ext=c
39424 ac_cpp='$CPP $CPPFLAGS'
39425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39434 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39436 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39437 for ac_func in fmodl
39438 do :
39439 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39440 if test "x$ac_cv_func_fmodl" = x""yes; then :
39441 cat >>confdefs.h <<_ACEOF
39442 #define HAVE_FMODL 1
39443 _ACEOF
39446 done
39448 else
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39451 $as_echo_n "checking for _fmodl declaration... " >&6; }
39452 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39453 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39454 $as_echo_n "(cached) " >&6
39455 else
39458 ac_ext=cpp
39459 ac_cpp='$CXXCPP $CPPFLAGS'
39460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39465 /* end confdefs.h. */
39466 #include <math.h>
39468 main ()
39470 _fmodl(0, 0);
39472 return 0;
39474 _ACEOF
39475 if ac_fn_cxx_try_compile "$LINENO"; then :
39476 glibcxx_cv_func__fmodl_use=yes
39477 else
39478 glibcxx_cv_func__fmodl_use=no
39480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39481 ac_ext=c
39482 ac_cpp='$CPP $CPPFLAGS'
39483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39492 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39494 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39495 for ac_func in _fmodl
39496 do :
39497 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39498 if test "x$ac_cv_func__fmodl" = x""yes; then :
39499 cat >>confdefs.h <<_ACEOF
39500 #define HAVE__FMODL 1
39501 _ACEOF
39504 done
39513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39514 $as_echo_n "checking for frexpl declaration... " >&6; }
39515 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39516 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39517 $as_echo_n "(cached) " >&6
39518 else
39521 ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h. */
39529 #include <math.h>
39531 main ()
39533 frexpl(0, 0);
39535 return 0;
39537 _ACEOF
39538 if ac_fn_cxx_try_compile "$LINENO"; then :
39539 glibcxx_cv_func_frexpl_use=yes
39540 else
39541 glibcxx_cv_func_frexpl_use=no
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39555 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39557 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39558 for ac_func in frexpl
39559 do :
39560 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39561 if test "x$ac_cv_func_frexpl" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE_FREXPL 1
39564 _ACEOF
39567 done
39569 else
39571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39572 $as_echo_n "checking for _frexpl declaration... " >&6; }
39573 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39574 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39575 $as_echo_n "(cached) " >&6
39576 else
39579 ac_ext=cpp
39580 ac_cpp='$CXXCPP $CPPFLAGS'
39581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39586 /* end confdefs.h. */
39587 #include <math.h>
39589 main ()
39591 _frexpl(0, 0);
39593 return 0;
39595 _ACEOF
39596 if ac_fn_cxx_try_compile "$LINENO"; then :
39597 glibcxx_cv_func__frexpl_use=yes
39598 else
39599 glibcxx_cv_func__frexpl_use=no
39601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39602 ac_ext=c
39603 ac_cpp='$CPP $CPPFLAGS'
39604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39613 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39615 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39616 for ac_func in _frexpl
39617 do :
39618 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39619 if test "x$ac_cv_func__frexpl" = x""yes; then :
39620 cat >>confdefs.h <<_ACEOF
39621 #define HAVE__FREXPL 1
39622 _ACEOF
39625 done
39634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39635 $as_echo_n "checking for hypotl declaration... " >&6; }
39636 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39637 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39638 $as_echo_n "(cached) " >&6
39639 else
39642 ac_ext=cpp
39643 ac_cpp='$CXXCPP $CPPFLAGS'
39644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39649 /* end confdefs.h. */
39650 #include <math.h>
39652 main ()
39654 hypotl(0, 0);
39656 return 0;
39658 _ACEOF
39659 if ac_fn_cxx_try_compile "$LINENO"; then :
39660 glibcxx_cv_func_hypotl_use=yes
39661 else
39662 glibcxx_cv_func_hypotl_use=no
39664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39665 ac_ext=c
39666 ac_cpp='$CPP $CPPFLAGS'
39667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39676 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39678 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39679 for ac_func in hypotl
39680 do :
39681 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39682 if test "x$ac_cv_func_hypotl" = x""yes; then :
39683 cat >>confdefs.h <<_ACEOF
39684 #define HAVE_HYPOTL 1
39685 _ACEOF
39688 done
39690 else
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39693 $as_echo_n "checking for _hypotl declaration... " >&6; }
39694 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39695 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39696 $as_echo_n "(cached) " >&6
39697 else
39700 ac_ext=cpp
39701 ac_cpp='$CXXCPP $CPPFLAGS'
39702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39707 /* end confdefs.h. */
39708 #include <math.h>
39710 main ()
39712 _hypotl(0, 0);
39714 return 0;
39716 _ACEOF
39717 if ac_fn_cxx_try_compile "$LINENO"; then :
39718 glibcxx_cv_func__hypotl_use=yes
39719 else
39720 glibcxx_cv_func__hypotl_use=no
39722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39723 ac_ext=c
39724 ac_cpp='$CPP $CPPFLAGS'
39725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39734 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39736 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39737 for ac_func in _hypotl
39738 do :
39739 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39740 if test "x$ac_cv_func__hypotl" = x""yes; then :
39741 cat >>confdefs.h <<_ACEOF
39742 #define HAVE__HYPOTL 1
39743 _ACEOF
39746 done
39755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39756 $as_echo_n "checking for ldexpl declaration... " >&6; }
39757 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39758 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39759 $as_echo_n "(cached) " >&6
39760 else
39763 ac_ext=cpp
39764 ac_cpp='$CXXCPP $CPPFLAGS'
39765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39770 /* end confdefs.h. */
39771 #include <math.h>
39773 main ()
39775 ldexpl(0, 0);
39777 return 0;
39779 _ACEOF
39780 if ac_fn_cxx_try_compile "$LINENO"; then :
39781 glibcxx_cv_func_ldexpl_use=yes
39782 else
39783 glibcxx_cv_func_ldexpl_use=no
39785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39786 ac_ext=c
39787 ac_cpp='$CPP $CPPFLAGS'
39788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39797 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39799 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39800 for ac_func in ldexpl
39801 do :
39802 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39803 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39804 cat >>confdefs.h <<_ACEOF
39805 #define HAVE_LDEXPL 1
39806 _ACEOF
39809 done
39811 else
39813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39814 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39815 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39816 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39821 ac_ext=cpp
39822 ac_cpp='$CXXCPP $CPPFLAGS'
39823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39828 /* end confdefs.h. */
39829 #include <math.h>
39831 main ()
39833 _ldexpl(0, 0);
39835 return 0;
39837 _ACEOF
39838 if ac_fn_cxx_try_compile "$LINENO"; then :
39839 glibcxx_cv_func__ldexpl_use=yes
39840 else
39841 glibcxx_cv_func__ldexpl_use=no
39843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39844 ac_ext=c
39845 ac_cpp='$CPP $CPPFLAGS'
39846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39855 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39857 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39858 for ac_func in _ldexpl
39859 do :
39860 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39861 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39862 cat >>confdefs.h <<_ACEOF
39863 #define HAVE__LDEXPL 1
39864 _ACEOF
39867 done
39876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39877 $as_echo_n "checking for logl declaration... " >&6; }
39878 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39879 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39880 $as_echo_n "(cached) " >&6
39881 else
39884 ac_ext=cpp
39885 ac_cpp='$CXXCPP $CPPFLAGS'
39886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39891 /* end confdefs.h. */
39892 #include <math.h>
39893 #ifdef HAVE_IEEEFP_H
39894 #include <ieeefp.h>
39895 #endif
39898 main ()
39900 logl(0);
39902 return 0;
39904 _ACEOF
39905 if ac_fn_cxx_try_compile "$LINENO"; then :
39906 glibcxx_cv_func_logl_use=yes
39907 else
39908 glibcxx_cv_func_logl_use=no
39910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39911 ac_ext=c
39912 ac_cpp='$CPP $CPPFLAGS'
39913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39922 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39924 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39925 for ac_func in logl
39926 do :
39927 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39928 if test "x$ac_cv_func_logl" = x""yes; then :
39929 cat >>confdefs.h <<_ACEOF
39930 #define HAVE_LOGL 1
39931 _ACEOF
39934 done
39936 else
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39939 $as_echo_n "checking for _logl declaration... " >&6; }
39940 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39941 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39942 $as_echo_n "(cached) " >&6
39943 else
39946 ac_ext=cpp
39947 ac_cpp='$CXXCPP $CPPFLAGS'
39948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39953 /* end confdefs.h. */
39954 #include <math.h>
39955 #ifdef HAVE_IEEEFP_H
39956 #include <ieeefp.h>
39957 #endif
39960 main ()
39962 _logl(0);
39964 return 0;
39966 _ACEOF
39967 if ac_fn_cxx_try_compile "$LINENO"; then :
39968 glibcxx_cv_func__logl_use=yes
39969 else
39970 glibcxx_cv_func__logl_use=no
39972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39973 ac_ext=c
39974 ac_cpp='$CPP $CPPFLAGS'
39975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39984 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39986 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39987 for ac_func in _logl
39988 do :
39989 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39990 if test "x$ac_cv_func__logl" = x""yes; then :
39991 cat >>confdefs.h <<_ACEOF
39992 #define HAVE__LOGL 1
39993 _ACEOF
39996 done
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40006 $as_echo_n "checking for log10l declaration... " >&6; }
40007 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40008 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40009 $as_echo_n "(cached) " >&6
40010 else
40013 ac_ext=cpp
40014 ac_cpp='$CXXCPP $CPPFLAGS'
40015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40020 /* end confdefs.h. */
40021 #include <math.h>
40022 #ifdef HAVE_IEEEFP_H
40023 #include <ieeefp.h>
40024 #endif
40027 main ()
40029 log10l(0);
40031 return 0;
40033 _ACEOF
40034 if ac_fn_cxx_try_compile "$LINENO"; then :
40035 glibcxx_cv_func_log10l_use=yes
40036 else
40037 glibcxx_cv_func_log10l_use=no
40039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40040 ac_ext=c
40041 ac_cpp='$CPP $CPPFLAGS'
40042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40051 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40053 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40054 for ac_func in log10l
40055 do :
40056 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40057 if test "x$ac_cv_func_log10l" = x""yes; then :
40058 cat >>confdefs.h <<_ACEOF
40059 #define HAVE_LOG10L 1
40060 _ACEOF
40063 done
40065 else
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40068 $as_echo_n "checking for _log10l declaration... " >&6; }
40069 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40070 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40071 $as_echo_n "(cached) " >&6
40072 else
40075 ac_ext=cpp
40076 ac_cpp='$CXXCPP $CPPFLAGS'
40077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40082 /* end confdefs.h. */
40083 #include <math.h>
40084 #ifdef HAVE_IEEEFP_H
40085 #include <ieeefp.h>
40086 #endif
40089 main ()
40091 _log10l(0);
40093 return 0;
40095 _ACEOF
40096 if ac_fn_cxx_try_compile "$LINENO"; then :
40097 glibcxx_cv_func__log10l_use=yes
40098 else
40099 glibcxx_cv_func__log10l_use=no
40101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40102 ac_ext=c
40103 ac_cpp='$CPP $CPPFLAGS'
40104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40113 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40115 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40116 for ac_func in _log10l
40117 do :
40118 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40119 if test "x$ac_cv_func__log10l" = x""yes; then :
40120 cat >>confdefs.h <<_ACEOF
40121 #define HAVE__LOG10L 1
40122 _ACEOF
40125 done
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40135 $as_echo_n "checking for modfl declaration... " >&6; }
40136 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40137 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40138 $as_echo_n "(cached) " >&6
40139 else
40142 ac_ext=cpp
40143 ac_cpp='$CXXCPP $CPPFLAGS'
40144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40149 /* end confdefs.h. */
40150 #include <math.h>
40152 main ()
40154 modfl(0, 0);
40156 return 0;
40158 _ACEOF
40159 if ac_fn_cxx_try_compile "$LINENO"; then :
40160 glibcxx_cv_func_modfl_use=yes
40161 else
40162 glibcxx_cv_func_modfl_use=no
40164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40165 ac_ext=c
40166 ac_cpp='$CPP $CPPFLAGS'
40167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40176 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40178 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40179 for ac_func in modfl
40180 do :
40181 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40182 if test "x$ac_cv_func_modfl" = x""yes; then :
40183 cat >>confdefs.h <<_ACEOF
40184 #define HAVE_MODFL 1
40185 _ACEOF
40188 done
40190 else
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40193 $as_echo_n "checking for _modfl declaration... " >&6; }
40194 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40195 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40196 $as_echo_n "(cached) " >&6
40197 else
40200 ac_ext=cpp
40201 ac_cpp='$CXXCPP $CPPFLAGS'
40202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40207 /* end confdefs.h. */
40208 #include <math.h>
40210 main ()
40212 _modfl(0, 0);
40214 return 0;
40216 _ACEOF
40217 if ac_fn_cxx_try_compile "$LINENO"; then :
40218 glibcxx_cv_func__modfl_use=yes
40219 else
40220 glibcxx_cv_func__modfl_use=no
40222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40223 ac_ext=c
40224 ac_cpp='$CPP $CPPFLAGS'
40225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40234 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40236 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40237 for ac_func in _modfl
40238 do :
40239 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40240 if test "x$ac_cv_func__modfl" = x""yes; then :
40241 cat >>confdefs.h <<_ACEOF
40242 #define HAVE__MODFL 1
40243 _ACEOF
40246 done
40255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40256 $as_echo_n "checking for powl declaration... " >&6; }
40257 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40258 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40259 $as_echo_n "(cached) " >&6
40260 else
40263 ac_ext=cpp
40264 ac_cpp='$CXXCPP $CPPFLAGS'
40265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40270 /* end confdefs.h. */
40271 #include <math.h>
40273 main ()
40275 powl(0, 0);
40277 return 0;
40279 _ACEOF
40280 if ac_fn_cxx_try_compile "$LINENO"; then :
40281 glibcxx_cv_func_powl_use=yes
40282 else
40283 glibcxx_cv_func_powl_use=no
40285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40286 ac_ext=c
40287 ac_cpp='$CPP $CPPFLAGS'
40288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40297 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40299 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40300 for ac_func in powl
40301 do :
40302 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40303 if test "x$ac_cv_func_powl" = x""yes; then :
40304 cat >>confdefs.h <<_ACEOF
40305 #define HAVE_POWL 1
40306 _ACEOF
40309 done
40311 else
40313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40314 $as_echo_n "checking for _powl declaration... " >&6; }
40315 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40316 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40317 $as_echo_n "(cached) " >&6
40318 else
40321 ac_ext=cpp
40322 ac_cpp='$CXXCPP $CPPFLAGS'
40323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40328 /* end confdefs.h. */
40329 #include <math.h>
40331 main ()
40333 _powl(0, 0);
40335 return 0;
40337 _ACEOF
40338 if ac_fn_cxx_try_compile "$LINENO"; then :
40339 glibcxx_cv_func__powl_use=yes
40340 else
40341 glibcxx_cv_func__powl_use=no
40343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40344 ac_ext=c
40345 ac_cpp='$CPP $CPPFLAGS'
40346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40355 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40357 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40358 for ac_func in _powl
40359 do :
40360 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40361 if test "x$ac_cv_func__powl" = x""yes; then :
40362 cat >>confdefs.h <<_ACEOF
40363 #define HAVE__POWL 1
40364 _ACEOF
40367 done
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40377 $as_echo_n "checking for sqrtl declaration... " >&6; }
40378 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40379 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40380 $as_echo_n "(cached) " >&6
40381 else
40384 ac_ext=cpp
40385 ac_cpp='$CXXCPP $CPPFLAGS'
40386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40391 /* end confdefs.h. */
40392 #include <math.h>
40393 #ifdef HAVE_IEEEFP_H
40394 #include <ieeefp.h>
40395 #endif
40398 main ()
40400 sqrtl(0);
40402 return 0;
40404 _ACEOF
40405 if ac_fn_cxx_try_compile "$LINENO"; then :
40406 glibcxx_cv_func_sqrtl_use=yes
40407 else
40408 glibcxx_cv_func_sqrtl_use=no
40410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40411 ac_ext=c
40412 ac_cpp='$CPP $CPPFLAGS'
40413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40422 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40424 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40425 for ac_func in sqrtl
40426 do :
40427 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40428 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40429 cat >>confdefs.h <<_ACEOF
40430 #define HAVE_SQRTL 1
40431 _ACEOF
40434 done
40436 else
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40439 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40440 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40441 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40442 $as_echo_n "(cached) " >&6
40443 else
40446 ac_ext=cpp
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40453 /* end confdefs.h. */
40454 #include <math.h>
40455 #ifdef HAVE_IEEEFP_H
40456 #include <ieeefp.h>
40457 #endif
40460 main ()
40462 _sqrtl(0);
40464 return 0;
40466 _ACEOF
40467 if ac_fn_cxx_try_compile "$LINENO"; then :
40468 glibcxx_cv_func__sqrtl_use=yes
40469 else
40470 glibcxx_cv_func__sqrtl_use=no
40472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40473 ac_ext=c
40474 ac_cpp='$CPP $CPPFLAGS'
40475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40484 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40486 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40487 for ac_func in _sqrtl
40488 do :
40489 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40490 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE__SQRTL 1
40493 _ACEOF
40496 done
40505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40506 $as_echo_n "checking for sincosl declaration... " >&6; }
40507 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40508 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40509 $as_echo_n "(cached) " >&6
40510 else
40513 ac_ext=cpp
40514 ac_cpp='$CXXCPP $CPPFLAGS'
40515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40520 /* end confdefs.h. */
40521 #include <math.h>
40523 main ()
40525 sincosl(0, 0, 0);
40527 return 0;
40529 _ACEOF
40530 if ac_fn_cxx_try_compile "$LINENO"; then :
40531 glibcxx_cv_func_sincosl_use=yes
40532 else
40533 glibcxx_cv_func_sincosl_use=no
40535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40536 ac_ext=c
40537 ac_cpp='$CPP $CPPFLAGS'
40538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40547 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40549 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40550 for ac_func in sincosl
40551 do :
40552 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40553 if test "x$ac_cv_func_sincosl" = x""yes; then :
40554 cat >>confdefs.h <<_ACEOF
40555 #define HAVE_SINCOSL 1
40556 _ACEOF
40559 done
40561 else
40563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40564 $as_echo_n "checking for _sincosl declaration... " >&6; }
40565 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40566 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40567 $as_echo_n "(cached) " >&6
40568 else
40571 ac_ext=cpp
40572 ac_cpp='$CXXCPP $CPPFLAGS'
40573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40578 /* end confdefs.h. */
40579 #include <math.h>
40581 main ()
40583 _sincosl(0, 0, 0);
40585 return 0;
40587 _ACEOF
40588 if ac_fn_cxx_try_compile "$LINENO"; then :
40589 glibcxx_cv_func__sincosl_use=yes
40590 else
40591 glibcxx_cv_func__sincosl_use=no
40593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40594 ac_ext=c
40595 ac_cpp='$CPP $CPPFLAGS'
40596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40605 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40607 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40608 for ac_func in _sincosl
40609 do :
40610 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40611 if test "x$ac_cv_func__sincosl" = x""yes; then :
40612 cat >>confdefs.h <<_ACEOF
40613 #define HAVE__SINCOSL 1
40614 _ACEOF
40617 done
40626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40627 $as_echo_n "checking for finitel declaration... " >&6; }
40628 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40629 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40630 $as_echo_n "(cached) " >&6
40631 else
40634 ac_ext=cpp
40635 ac_cpp='$CXXCPP $CPPFLAGS'
40636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40641 /* end confdefs.h. */
40642 #include <math.h>
40643 #ifdef HAVE_IEEEFP_H
40644 #include <ieeefp.h>
40645 #endif
40648 main ()
40650 finitel(0);
40652 return 0;
40654 _ACEOF
40655 if ac_fn_cxx_try_compile "$LINENO"; then :
40656 glibcxx_cv_func_finitel_use=yes
40657 else
40658 glibcxx_cv_func_finitel_use=no
40660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40661 ac_ext=c
40662 ac_cpp='$CPP $CPPFLAGS'
40663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40672 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40674 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40675 for ac_func in finitel
40676 do :
40677 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40678 if test "x$ac_cv_func_finitel" = x""yes; then :
40679 cat >>confdefs.h <<_ACEOF
40680 #define HAVE_FINITEL 1
40681 _ACEOF
40684 done
40686 else
40688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40689 $as_echo_n "checking for _finitel declaration... " >&6; }
40690 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40691 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40692 $as_echo_n "(cached) " >&6
40693 else
40696 ac_ext=cpp
40697 ac_cpp='$CXXCPP $CPPFLAGS'
40698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40703 /* end confdefs.h. */
40704 #include <math.h>
40705 #ifdef HAVE_IEEEFP_H
40706 #include <ieeefp.h>
40707 #endif
40710 main ()
40712 _finitel(0);
40714 return 0;
40716 _ACEOF
40717 if ac_fn_cxx_try_compile "$LINENO"; then :
40718 glibcxx_cv_func__finitel_use=yes
40719 else
40720 glibcxx_cv_func__finitel_use=no
40722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40723 ac_ext=c
40724 ac_cpp='$CPP $CPPFLAGS'
40725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40734 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40736 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40737 for ac_func in _finitel
40738 do :
40739 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40740 if test "x$ac_cv_func__finitel" = x""yes; then :
40741 cat >>confdefs.h <<_ACEOF
40742 #define HAVE__FINITEL 1
40743 _ACEOF
40746 done
40754 LIBS="$ac_save_LIBS"
40755 CXXFLAGS="$ac_save_CXXFLAGS"
40758 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40759 ac_save_CXXFLAGS="$CXXFLAGS"
40760 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40764 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40765 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40766 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40767 $as_echo_n "(cached) " >&6
40768 else
40771 ac_ext=cpp
40772 ac_cpp='$CXXCPP $CPPFLAGS'
40773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40778 /* end confdefs.h. */
40779 #include <stdlib.h>
40781 main ()
40783 at_quick_exit(0);
40785 return 0;
40787 _ACEOF
40788 if ac_fn_cxx_try_compile "$LINENO"; then :
40789 glibcxx_cv_func_at_quick_exit_use=yes
40790 else
40791 glibcxx_cv_func_at_quick_exit_use=no
40793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40794 ac_ext=c
40795 ac_cpp='$CPP $CPPFLAGS'
40796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40805 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40806 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40807 for ac_func in at_quick_exit
40808 do :
40809 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40810 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40811 cat >>confdefs.h <<_ACEOF
40812 #define HAVE_AT_QUICK_EXIT 1
40813 _ACEOF
40816 done
40821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40822 $as_echo_n "checking for quick_exit declaration... " >&6; }
40823 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40824 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40825 $as_echo_n "(cached) " >&6
40826 else
40829 ac_ext=cpp
40830 ac_cpp='$CXXCPP $CPPFLAGS'
40831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40836 /* end confdefs.h. */
40837 #include <stdlib.h>
40839 main ()
40841 quick_exit(0);
40843 return 0;
40845 _ACEOF
40846 if ac_fn_cxx_try_compile "$LINENO"; then :
40847 glibcxx_cv_func_quick_exit_use=yes
40848 else
40849 glibcxx_cv_func_quick_exit_use=no
40851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40852 ac_ext=c
40853 ac_cpp='$CPP $CPPFLAGS'
40854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40863 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40864 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40865 for ac_func in quick_exit
40866 do :
40867 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40868 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40869 cat >>confdefs.h <<_ACEOF
40870 #define HAVE_QUICK_EXIT 1
40871 _ACEOF
40874 done
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40880 $as_echo_n "checking for strtold declaration... " >&6; }
40881 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40882 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40883 $as_echo_n "(cached) " >&6
40884 else
40887 ac_ext=cpp
40888 ac_cpp='$CXXCPP $CPPFLAGS'
40889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40894 /* end confdefs.h. */
40895 #include <stdlib.h>
40897 main ()
40899 strtold(0, 0);
40901 return 0;
40903 _ACEOF
40904 if ac_fn_cxx_try_compile "$LINENO"; then :
40905 glibcxx_cv_func_strtold_use=yes
40906 else
40907 glibcxx_cv_func_strtold_use=no
40909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40910 ac_ext=c
40911 ac_cpp='$CPP $CPPFLAGS'
40912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40921 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40922 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40923 for ac_func in strtold
40924 do :
40925 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40926 if test "x$ac_cv_func_strtold" = x""yes; then :
40927 cat >>confdefs.h <<_ACEOF
40928 #define HAVE_STRTOLD 1
40929 _ACEOF
40932 done
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40940 $as_echo_n "checking for strtof declaration... " >&6; }
40941 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40942 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40943 $as_echo_n "(cached) " >&6
40944 else
40947 ac_ext=cpp
40948 ac_cpp='$CXXCPP $CPPFLAGS'
40949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40954 /* end confdefs.h. */
40955 #include <stdlib.h>
40957 main ()
40959 strtof(0, 0);
40961 return 0;
40963 _ACEOF
40964 if ac_fn_cxx_try_compile "$LINENO"; then :
40965 glibcxx_cv_func_strtof_use=yes
40966 else
40967 glibcxx_cv_func_strtof_use=no
40969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40970 ac_ext=c
40971 ac_cpp='$CPP $CPPFLAGS'
40972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40981 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40982 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40983 for ac_func in strtof
40984 do :
40985 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40986 if test "x$ac_cv_func_strtof" = x""yes; then :
40987 cat >>confdefs.h <<_ACEOF
40988 #define HAVE_STRTOF 1
40989 _ACEOF
40992 done
40999 CXXFLAGS="$ac_save_CXXFLAGS"
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41007 $as_echo_n "checking for iconv... " >&6; }
41008 if test "${am_cv_func_iconv+set}" = set; then :
41009 $as_echo_n "(cached) " >&6
41010 else
41012 am_cv_func_iconv="no, consider installing GNU libiconv"
41013 am_cv_lib_iconv=no
41014 am_save_CPPFLAGS="$CPPFLAGS"
41015 CPPFLAGS="$CPPFLAGS $INCICONV"
41016 if test x$gcc_no_link = xyes; then
41017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41020 /* end confdefs.h. */
41021 #include <stdlib.h>
41022 #include <iconv.h>
41024 main ()
41026 iconv_t cd = iconv_open("","");
41027 iconv(cd,NULL,NULL,NULL,NULL);
41028 iconv_close(cd);
41030 return 0;
41032 _ACEOF
41033 if ac_fn_c_try_link "$LINENO"; then :
41034 am_cv_func_iconv=yes
41036 rm -f core conftest.err conftest.$ac_objext \
41037 conftest$ac_exeext conftest.$ac_ext
41038 CPPFLAGS="$am_save_CPPFLAGS"
41040 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41041 for _libs in .libs _libs; do
41042 am_save_CPPFLAGS="$CPPFLAGS"
41043 am_save_LIBS="$LIBS"
41044 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41045 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41046 if test x$gcc_no_link = xyes; then
41047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41050 /* end confdefs.h. */
41051 #include <stdlib.h>
41052 #include <iconv.h>
41054 main ()
41056 iconv_t cd = iconv_open("","");
41057 iconv(cd,NULL,NULL,NULL,NULL);
41058 iconv_close(cd);
41060 return 0;
41062 _ACEOF
41063 if ac_fn_c_try_link "$LINENO"; then :
41064 INCICONV="-I../libiconv/include"
41065 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41066 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41067 am_cv_lib_iconv=yes
41068 am_cv_func_iconv=yes
41070 rm -f core conftest.err conftest.$ac_objext \
41071 conftest$ac_exeext conftest.$ac_ext
41072 CPPFLAGS="$am_save_CPPFLAGS"
41073 LIBS="$am_save_LIBS"
41074 if test "$am_cv_func_iconv" = "yes"; then
41075 break
41077 done
41080 if test "$am_cv_func_iconv" != yes; then
41081 am_save_CPPFLAGS="$CPPFLAGS"
41082 am_save_LIBS="$LIBS"
41083 CPPFLAGS="$LIBS $INCICONV"
41084 LIBS="$LIBS $LIBICONV"
41085 if test x$gcc_no_link = xyes; then
41086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41089 /* end confdefs.h. */
41090 #include <stdlib.h>
41091 #include <iconv.h>
41093 main ()
41095 iconv_t cd = iconv_open("","");
41096 iconv(cd,NULL,NULL,NULL,NULL);
41097 iconv_close(cd);
41099 return 0;
41101 _ACEOF
41102 if ac_fn_c_try_link "$LINENO"; then :
41103 am_cv_lib_iconv=yes
41104 am_cv_func_iconv=yes
41106 rm -f core conftest.err conftest.$ac_objext \
41107 conftest$ac_exeext conftest.$ac_ext
41108 CPPFLAGS="$am_save_CPPFLAGS"
41109 LIBS="$am_save_LIBS"
41113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41114 $as_echo "$am_cv_func_iconv" >&6; }
41115 if test "$am_cv_func_iconv" = yes; then
41117 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41120 if test "$am_cv_lib_iconv" = yes; then
41122 for element in $INCICONV; do
41123 haveit=
41124 for x in $CPPFLAGS; do
41126 acl_save_prefix="$prefix"
41127 prefix="$acl_final_prefix"
41128 acl_save_exec_prefix="$exec_prefix"
41129 exec_prefix="$acl_final_exec_prefix"
41130 eval x=\"$x\"
41131 exec_prefix="$acl_save_exec_prefix"
41132 prefix="$acl_save_prefix"
41134 if test "X$x" = "X$element"; then
41135 haveit=yes
41136 break
41138 done
41139 if test -z "$haveit"; then
41140 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41142 done
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41145 $as_echo_n "checking how to link with libiconv... " >&6; }
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41147 $as_echo "$LIBICONV" >&6; }
41148 else
41149 LIBICONV=
41150 LTLIBICONV=
41155 if test "$am_cv_func_iconv" = yes; then
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41157 $as_echo_n "checking for iconv declaration... " >&6; }
41158 if test "${am_cv_proto_iconv+set}" = set; then :
41159 $as_echo_n "(cached) " >&6
41160 else
41162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41163 /* end confdefs.h. */
41165 #include <stdlib.h>
41166 #include <iconv.h>
41167 extern
41168 #ifdef __cplusplus
41170 #endif
41171 #if defined(__STDC__) || defined(__cplusplus)
41172 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41173 #else
41174 size_t iconv();
41175 #endif
41178 main ()
41182 return 0;
41184 _ACEOF
41185 if ac_fn_c_try_compile "$LINENO"; then :
41186 am_cv_proto_iconv_arg1=""
41187 else
41188 am_cv_proto_iconv_arg1="const"
41190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41191 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);"
41194 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41196 }$am_cv_proto_iconv" >&5
41197 $as_echo "${ac_t:-
41198 }$am_cv_proto_iconv" >&6; }
41200 cat >>confdefs.h <<_ACEOF
41201 #define ICONV_CONST $am_cv_proto_iconv_arg1
41202 _ACEOF
41208 *-aix*)
41210 # If we're not using GNU ld, then there's no point in even trying these
41211 # tests. Check for that first. We should have already tested for gld
41212 # by now (in libtool), but require it now just to be safe...
41213 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41214 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41218 # The name set by libtool depends on the version of libtool. Shame on us
41219 # for depending on an impl detail, but c'est la vie. Older versions used
41220 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41221 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41222 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41223 # set (hence we're using an older libtool), then set it.
41224 if test x${with_gnu_ld+set} != xset; then
41225 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41226 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41227 with_gnu_ld=no
41228 else
41229 with_gnu_ld=$ac_cv_prog_gnu_ld
41233 # Start by getting the version number. I think the libtool test already
41234 # does some of this, but throws away the result.
41235 glibcxx_ld_is_gold=no
41236 if test x"$with_gnu_ld" = x"yes"; then
41237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41238 $as_echo_n "checking for ld version... " >&6; }
41240 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41241 glibcxx_ld_is_gold=yes
41243 ldver=`$LD --version 2>/dev/null |
41244 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'`
41246 glibcxx_gnu_ld_version=`echo $ldver | \
41247 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41249 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41252 # Set --gc-sections.
41253 glibcxx_have_gc_sections=no
41254 if test "$glibcxx_ld_is_gold" = "yes"; then
41255 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41256 glibcxx_have_gc_sections=yes
41258 else
41259 glibcxx_gcsections_min_ld=21602
41260 if test x"$with_gnu_ld" = x"yes" &&
41261 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41262 glibcxx_have_gc_sections=yes
41265 if test "$glibcxx_have_gc_sections" = "yes"; then
41266 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41267 # NB: This flag only works reliably after 2.16.1. Configure tests
41268 # for this are difficult, so hard wire a value that should work.
41270 ac_test_CFLAGS="${CFLAGS+set}"
41271 ac_save_CFLAGS="$CFLAGS"
41272 CFLAGS='-Wl,--gc-sections'
41274 # Check for -Wl,--gc-sections
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41276 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41277 if test x$gcc_no_link = xyes; then
41278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41281 /* end confdefs.h. */
41282 int one(void) { return 1; }
41283 int two(void) { return 2; }
41286 main ()
41288 two();
41290 return 0;
41292 _ACEOF
41293 if ac_fn_c_try_link "$LINENO"; then :
41294 ac_gcsections=yes
41295 else
41296 ac_gcsections=no
41298 rm -f core conftest.err conftest.$ac_objext \
41299 conftest$ac_exeext conftest.$ac_ext
41300 if test "$ac_gcsections" = "yes"; then
41301 rm -f conftest.c
41302 touch conftest.c
41303 if $CC -c conftest.c; then
41304 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41305 grep "Warning: gc-sections option ignored" > /dev/null; then
41306 ac_gcsections=no
41309 rm -f conftest.c conftest.o conftest
41311 if test "$ac_gcsections" = "yes"; then
41312 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41315 $as_echo "$ac_gcsections" >&6; }
41317 if test "$ac_test_CFLAGS" = set; then
41318 CFLAGS="$ac_save_CFLAGS"
41319 else
41320 # this is the suspicious part
41321 CFLAGS=''
41325 # Set -z,relro.
41326 # Note this is only for shared objects.
41327 ac_ld_relro=no
41328 if test x"$with_gnu_ld" = x"yes"; then
41329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41330 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41331 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41332 if test -n "$cxx_z_relo"; then
41333 OPT_LDFLAGS="-Wl,-z,relro"
41334 ac_ld_relro=yes
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41337 $as_echo "$ac_ld_relro" >&6; }
41340 # Set linker optimization flags.
41341 if test x"$with_gnu_ld" = x"yes"; then
41342 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41349 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41350 ac_save_CXXFLAGS="$CXXFLAGS"
41351 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41354 $as_echo_n "checking for sin in -lm... " >&6; }
41355 if test "${ac_cv_lib_m_sin+set}" = set; then :
41356 $as_echo_n "(cached) " >&6
41357 else
41358 ac_check_lib_save_LIBS=$LIBS
41359 LIBS="-lm $LIBS"
41360 if test x$gcc_no_link = xyes; then
41361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41364 /* end confdefs.h. */
41366 /* Override any GCC internal prototype to avoid an error.
41367 Use char because int might match the return type of a GCC
41368 builtin and then its argument prototype would still apply. */
41369 #ifdef __cplusplus
41370 extern "C"
41371 #endif
41372 char sin ();
41374 main ()
41376 return sin ();
41378 return 0;
41380 _ACEOF
41381 if ac_fn_c_try_link "$LINENO"; then :
41382 ac_cv_lib_m_sin=yes
41383 else
41384 ac_cv_lib_m_sin=no
41386 rm -f core conftest.err conftest.$ac_objext \
41387 conftest$ac_exeext conftest.$ac_ext
41388 LIBS=$ac_check_lib_save_LIBS
41390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41391 $as_echo "$ac_cv_lib_m_sin" >&6; }
41392 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41393 libm="-lm"
41396 ac_save_LIBS="$LIBS"
41397 LIBS="$LIBS $libm"
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41402 $as_echo_n "checking for isinf declaration... " >&6; }
41403 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41404 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41405 $as_echo_n "(cached) " >&6
41406 else
41409 ac_ext=cpp
41410 ac_cpp='$CXXCPP $CPPFLAGS'
41411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41416 /* end confdefs.h. */
41417 #include <math.h>
41418 #ifdef HAVE_IEEEFP_H
41419 #include <ieeefp.h>
41420 #endif
41423 main ()
41425 isinf(0);
41427 return 0;
41429 _ACEOF
41430 if ac_fn_cxx_try_compile "$LINENO"; then :
41431 glibcxx_cv_func_isinf_use=yes
41432 else
41433 glibcxx_cv_func_isinf_use=no
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436 ac_ext=c
41437 ac_cpp='$CPP $CPPFLAGS'
41438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41447 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41449 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41450 for ac_func in isinf
41451 do :
41452 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41453 if test "x$ac_cv_func_isinf" = x""yes; then :
41454 cat >>confdefs.h <<_ACEOF
41455 #define HAVE_ISINF 1
41456 _ACEOF
41459 done
41461 else
41463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41464 $as_echo_n "checking for _isinf declaration... " >&6; }
41465 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41466 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41467 $as_echo_n "(cached) " >&6
41468 else
41471 ac_ext=cpp
41472 ac_cpp='$CXXCPP $CPPFLAGS'
41473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h. */
41479 #include <math.h>
41480 #ifdef HAVE_IEEEFP_H
41481 #include <ieeefp.h>
41482 #endif
41485 main ()
41487 _isinf(0);
41489 return 0;
41491 _ACEOF
41492 if ac_fn_cxx_try_compile "$LINENO"; then :
41493 glibcxx_cv_func__isinf_use=yes
41494 else
41495 glibcxx_cv_func__isinf_use=no
41497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41498 ac_ext=c
41499 ac_cpp='$CPP $CPPFLAGS'
41500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41509 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41511 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41512 for ac_func in _isinf
41513 do :
41514 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41515 if test "x$ac_cv_func__isinf" = x""yes; then :
41516 cat >>confdefs.h <<_ACEOF
41517 #define HAVE__ISINF 1
41518 _ACEOF
41521 done
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41531 $as_echo_n "checking for isnan declaration... " >&6; }
41532 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41533 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41534 $as_echo_n "(cached) " >&6
41535 else
41538 ac_ext=cpp
41539 ac_cpp='$CXXCPP $CPPFLAGS'
41540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41545 /* end confdefs.h. */
41546 #include <math.h>
41547 #ifdef HAVE_IEEEFP_H
41548 #include <ieeefp.h>
41549 #endif
41552 main ()
41554 isnan(0);
41556 return 0;
41558 _ACEOF
41559 if ac_fn_cxx_try_compile "$LINENO"; then :
41560 glibcxx_cv_func_isnan_use=yes
41561 else
41562 glibcxx_cv_func_isnan_use=no
41564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41565 ac_ext=c
41566 ac_cpp='$CPP $CPPFLAGS'
41567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41576 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41578 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41579 for ac_func in isnan
41580 do :
41581 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41582 if test "x$ac_cv_func_isnan" = x""yes; then :
41583 cat >>confdefs.h <<_ACEOF
41584 #define HAVE_ISNAN 1
41585 _ACEOF
41588 done
41590 else
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41593 $as_echo_n "checking for _isnan declaration... " >&6; }
41594 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41595 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41596 $as_echo_n "(cached) " >&6
41597 else
41600 ac_ext=cpp
41601 ac_cpp='$CXXCPP $CPPFLAGS'
41602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41607 /* end confdefs.h. */
41608 #include <math.h>
41609 #ifdef HAVE_IEEEFP_H
41610 #include <ieeefp.h>
41611 #endif
41614 main ()
41616 _isnan(0);
41618 return 0;
41620 _ACEOF
41621 if ac_fn_cxx_try_compile "$LINENO"; then :
41622 glibcxx_cv_func__isnan_use=yes
41623 else
41624 glibcxx_cv_func__isnan_use=no
41626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41627 ac_ext=c
41628 ac_cpp='$CPP $CPPFLAGS'
41629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41638 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41640 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41641 for ac_func in _isnan
41642 do :
41643 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41644 if test "x$ac_cv_func__isnan" = x""yes; then :
41645 cat >>confdefs.h <<_ACEOF
41646 #define HAVE__ISNAN 1
41647 _ACEOF
41650 done
41659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41660 $as_echo_n "checking for finite declaration... " >&6; }
41661 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41662 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41663 $as_echo_n "(cached) " >&6
41664 else
41667 ac_ext=cpp
41668 ac_cpp='$CXXCPP $CPPFLAGS'
41669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41674 /* end confdefs.h. */
41675 #include <math.h>
41676 #ifdef HAVE_IEEEFP_H
41677 #include <ieeefp.h>
41678 #endif
41681 main ()
41683 finite(0);
41685 return 0;
41687 _ACEOF
41688 if ac_fn_cxx_try_compile "$LINENO"; then :
41689 glibcxx_cv_func_finite_use=yes
41690 else
41691 glibcxx_cv_func_finite_use=no
41693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41694 ac_ext=c
41695 ac_cpp='$CPP $CPPFLAGS'
41696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41705 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41707 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41708 for ac_func in finite
41709 do :
41710 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41711 if test "x$ac_cv_func_finite" = x""yes; then :
41712 cat >>confdefs.h <<_ACEOF
41713 #define HAVE_FINITE 1
41714 _ACEOF
41717 done
41719 else
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41722 $as_echo_n "checking for _finite declaration... " >&6; }
41723 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41724 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41725 $as_echo_n "(cached) " >&6
41726 else
41729 ac_ext=cpp
41730 ac_cpp='$CXXCPP $CPPFLAGS'
41731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41736 /* end confdefs.h. */
41737 #include <math.h>
41738 #ifdef HAVE_IEEEFP_H
41739 #include <ieeefp.h>
41740 #endif
41743 main ()
41745 _finite(0);
41747 return 0;
41749 _ACEOF
41750 if ac_fn_cxx_try_compile "$LINENO"; then :
41751 glibcxx_cv_func__finite_use=yes
41752 else
41753 glibcxx_cv_func__finite_use=no
41755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41756 ac_ext=c
41757 ac_cpp='$CPP $CPPFLAGS'
41758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41767 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41769 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41770 for ac_func in _finite
41771 do :
41772 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41773 if test "x$ac_cv_func__finite" = x""yes; then :
41774 cat >>confdefs.h <<_ACEOF
41775 #define HAVE__FINITE 1
41776 _ACEOF
41779 done
41788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41789 $as_echo_n "checking for sincos declaration... " >&6; }
41790 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41791 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41792 $as_echo_n "(cached) " >&6
41793 else
41796 ac_ext=cpp
41797 ac_cpp='$CXXCPP $CPPFLAGS'
41798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41803 /* end confdefs.h. */
41804 #include <math.h>
41806 main ()
41808 sincos(0, 0, 0);
41810 return 0;
41812 _ACEOF
41813 if ac_fn_cxx_try_compile "$LINENO"; then :
41814 glibcxx_cv_func_sincos_use=yes
41815 else
41816 glibcxx_cv_func_sincos_use=no
41818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41819 ac_ext=c
41820 ac_cpp='$CPP $CPPFLAGS'
41821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41830 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41832 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41833 for ac_func in sincos
41834 do :
41835 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41836 if test "x$ac_cv_func_sincos" = x""yes; then :
41837 cat >>confdefs.h <<_ACEOF
41838 #define HAVE_SINCOS 1
41839 _ACEOF
41842 done
41844 else
41846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41847 $as_echo_n "checking for _sincos declaration... " >&6; }
41848 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41849 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41850 $as_echo_n "(cached) " >&6
41851 else
41854 ac_ext=cpp
41855 ac_cpp='$CXXCPP $CPPFLAGS'
41856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41861 /* end confdefs.h. */
41862 #include <math.h>
41864 main ()
41866 _sincos(0, 0, 0);
41868 return 0;
41870 _ACEOF
41871 if ac_fn_cxx_try_compile "$LINENO"; then :
41872 glibcxx_cv_func__sincos_use=yes
41873 else
41874 glibcxx_cv_func__sincos_use=no
41876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41877 ac_ext=c
41878 ac_cpp='$CPP $CPPFLAGS'
41879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41888 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41890 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41891 for ac_func in _sincos
41892 do :
41893 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41894 if test "x$ac_cv_func__sincos" = x""yes; then :
41895 cat >>confdefs.h <<_ACEOF
41896 #define HAVE__SINCOS 1
41897 _ACEOF
41900 done
41909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41910 $as_echo_n "checking for fpclass declaration... " >&6; }
41911 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41912 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41913 $as_echo_n "(cached) " >&6
41914 else
41917 ac_ext=cpp
41918 ac_cpp='$CXXCPP $CPPFLAGS'
41919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41924 /* end confdefs.h. */
41925 #include <math.h>
41926 #ifdef HAVE_IEEEFP_H
41927 #include <ieeefp.h>
41928 #endif
41931 main ()
41933 fpclass(0);
41935 return 0;
41937 _ACEOF
41938 if ac_fn_cxx_try_compile "$LINENO"; then :
41939 glibcxx_cv_func_fpclass_use=yes
41940 else
41941 glibcxx_cv_func_fpclass_use=no
41943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41944 ac_ext=c
41945 ac_cpp='$CPP $CPPFLAGS'
41946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41955 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41957 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41958 for ac_func in fpclass
41959 do :
41960 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41961 if test "x$ac_cv_func_fpclass" = x""yes; then :
41962 cat >>confdefs.h <<_ACEOF
41963 #define HAVE_FPCLASS 1
41964 _ACEOF
41967 done
41969 else
41971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41972 $as_echo_n "checking for _fpclass declaration... " >&6; }
41973 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41974 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41975 $as_echo_n "(cached) " >&6
41976 else
41979 ac_ext=cpp
41980 ac_cpp='$CXXCPP $CPPFLAGS'
41981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41986 /* end confdefs.h. */
41987 #include <math.h>
41988 #ifdef HAVE_IEEEFP_H
41989 #include <ieeefp.h>
41990 #endif
41993 main ()
41995 _fpclass(0);
41997 return 0;
41999 _ACEOF
42000 if ac_fn_cxx_try_compile "$LINENO"; then :
42001 glibcxx_cv_func__fpclass_use=yes
42002 else
42003 glibcxx_cv_func__fpclass_use=no
42005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42006 ac_ext=c
42007 ac_cpp='$CPP $CPPFLAGS'
42008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42017 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42019 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42020 for ac_func in _fpclass
42021 do :
42022 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42023 if test "x$ac_cv_func__fpclass" = x""yes; then :
42024 cat >>confdefs.h <<_ACEOF
42025 #define HAVE__FPCLASS 1
42026 _ACEOF
42029 done
42038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42039 $as_echo_n "checking for qfpclass declaration... " >&6; }
42040 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42041 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42042 $as_echo_n "(cached) " >&6
42043 else
42046 ac_ext=cpp
42047 ac_cpp='$CXXCPP $CPPFLAGS'
42048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42053 /* end confdefs.h. */
42054 #include <math.h>
42055 #ifdef HAVE_IEEEFP_H
42056 #include <ieeefp.h>
42057 #endif
42060 main ()
42062 qfpclass(0);
42064 return 0;
42066 _ACEOF
42067 if ac_fn_cxx_try_compile "$LINENO"; then :
42068 glibcxx_cv_func_qfpclass_use=yes
42069 else
42070 glibcxx_cv_func_qfpclass_use=no
42072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42073 ac_ext=c
42074 ac_cpp='$CPP $CPPFLAGS'
42075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42084 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42086 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42087 for ac_func in qfpclass
42088 do :
42089 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42090 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42091 cat >>confdefs.h <<_ACEOF
42092 #define HAVE_QFPCLASS 1
42093 _ACEOF
42096 done
42098 else
42100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42101 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42102 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42103 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42104 $as_echo_n "(cached) " >&6
42105 else
42108 ac_ext=cpp
42109 ac_cpp='$CXXCPP $CPPFLAGS'
42110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42115 /* end confdefs.h. */
42116 #include <math.h>
42117 #ifdef HAVE_IEEEFP_H
42118 #include <ieeefp.h>
42119 #endif
42122 main ()
42124 _qfpclass(0);
42126 return 0;
42128 _ACEOF
42129 if ac_fn_cxx_try_compile "$LINENO"; then :
42130 glibcxx_cv_func__qfpclass_use=yes
42131 else
42132 glibcxx_cv_func__qfpclass_use=no
42134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42135 ac_ext=c
42136 ac_cpp='$CPP $CPPFLAGS'
42137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42146 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42148 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42149 for ac_func in _qfpclass
42150 do :
42151 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42152 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42153 cat >>confdefs.h <<_ACEOF
42154 #define HAVE__QFPCLASS 1
42155 _ACEOF
42158 done
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42168 $as_echo_n "checking for hypot declaration... " >&6; }
42169 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42170 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42171 $as_echo_n "(cached) " >&6
42172 else
42175 ac_ext=cpp
42176 ac_cpp='$CXXCPP $CPPFLAGS'
42177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42182 /* end confdefs.h. */
42183 #include <math.h>
42185 main ()
42187 hypot(0, 0);
42189 return 0;
42191 _ACEOF
42192 if ac_fn_cxx_try_compile "$LINENO"; then :
42193 glibcxx_cv_func_hypot_use=yes
42194 else
42195 glibcxx_cv_func_hypot_use=no
42197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42198 ac_ext=c
42199 ac_cpp='$CPP $CPPFLAGS'
42200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42209 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42211 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42212 for ac_func in hypot
42213 do :
42214 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42215 if test "x$ac_cv_func_hypot" = x""yes; then :
42216 cat >>confdefs.h <<_ACEOF
42217 #define HAVE_HYPOT 1
42218 _ACEOF
42221 done
42223 else
42225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42226 $as_echo_n "checking for _hypot declaration... " >&6; }
42227 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42228 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42229 $as_echo_n "(cached) " >&6
42230 else
42233 ac_ext=cpp
42234 ac_cpp='$CXXCPP $CPPFLAGS'
42235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42240 /* end confdefs.h. */
42241 #include <math.h>
42243 main ()
42245 _hypot(0, 0);
42247 return 0;
42249 _ACEOF
42250 if ac_fn_cxx_try_compile "$LINENO"; then :
42251 glibcxx_cv_func__hypot_use=yes
42252 else
42253 glibcxx_cv_func__hypot_use=no
42255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42256 ac_ext=c
42257 ac_cpp='$CPP $CPPFLAGS'
42258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42267 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42269 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42270 for ac_func in _hypot
42271 do :
42272 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42273 if test "x$ac_cv_func__hypot" = x""yes; then :
42274 cat >>confdefs.h <<_ACEOF
42275 #define HAVE__HYPOT 1
42276 _ACEOF
42279 done
42288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42289 $as_echo_n "checking for float trig functions... " >&6; }
42290 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42291 $as_echo_n "(cached) " >&6
42292 else
42295 ac_ext=cpp
42296 ac_cpp='$CXXCPP $CPPFLAGS'
42297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42302 /* end confdefs.h. */
42303 #include <math.h>
42305 main ()
42307 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42309 return 0;
42311 _ACEOF
42312 if ac_fn_cxx_try_compile "$LINENO"; then :
42313 glibcxx_cv_func_float_trig_use=yes
42314 else
42315 glibcxx_cv_func_float_trig_use=no
42317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42318 ac_ext=c
42319 ac_cpp='$CPP $CPPFLAGS'
42320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42327 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42328 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42329 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42330 do :
42331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42333 eval as_val=\$$as_ac_var
42334 if test "x$as_val" = x""yes; then :
42335 cat >>confdefs.h <<_ACEOF
42336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42337 _ACEOF
42340 done
42342 else
42343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42344 $as_echo_n "checking for _float trig functions... " >&6; }
42345 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42346 $as_echo_n "(cached) " >&6
42347 else
42350 ac_ext=cpp
42351 ac_cpp='$CXXCPP $CPPFLAGS'
42352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42357 /* end confdefs.h. */
42358 #include <math.h>
42360 main ()
42362 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42364 return 0;
42366 _ACEOF
42367 if ac_fn_cxx_try_compile "$LINENO"; then :
42368 glibcxx_cv_func__float_trig_use=yes
42369 else
42370 glibcxx_cv_func__float_trig_use=no
42372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42373 ac_ext=c
42374 ac_cpp='$CPP $CPPFLAGS'
42375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42382 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42383 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42384 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42385 do :
42386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42388 eval as_val=\$$as_ac_var
42389 if test "x$as_val" = x""yes; then :
42390 cat >>confdefs.h <<_ACEOF
42391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42392 _ACEOF
42395 done
42404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42405 $as_echo_n "checking for float round functions... " >&6; }
42406 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42407 $as_echo_n "(cached) " >&6
42408 else
42411 ac_ext=cpp
42412 ac_cpp='$CXXCPP $CPPFLAGS'
42413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42418 /* end confdefs.h. */
42419 #include <math.h>
42421 main ()
42423 ceilf (0); floorf (0);
42425 return 0;
42427 _ACEOF
42428 if ac_fn_cxx_try_compile "$LINENO"; then :
42429 glibcxx_cv_func_float_round_use=yes
42430 else
42431 glibcxx_cv_func_float_round_use=no
42433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42434 ac_ext=c
42435 ac_cpp='$CPP $CPPFLAGS'
42436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42443 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42444 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42445 for ac_func in ceilf floorf
42446 do :
42447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42449 eval as_val=\$$as_ac_var
42450 if test "x$as_val" = x""yes; then :
42451 cat >>confdefs.h <<_ACEOF
42452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42453 _ACEOF
42456 done
42458 else
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42460 $as_echo_n "checking for _float round functions... " >&6; }
42461 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42462 $as_echo_n "(cached) " >&6
42463 else
42466 ac_ext=cpp
42467 ac_cpp='$CXXCPP $CPPFLAGS'
42468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42473 /* end confdefs.h. */
42474 #include <math.h>
42476 main ()
42478 _ceilf (0); _floorf (0);
42480 return 0;
42482 _ACEOF
42483 if ac_fn_cxx_try_compile "$LINENO"; then :
42484 glibcxx_cv_func__float_round_use=yes
42485 else
42486 glibcxx_cv_func__float_round_use=no
42488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42489 ac_ext=c
42490 ac_cpp='$CPP $CPPFLAGS'
42491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42498 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42499 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42500 for ac_func in _ceilf _floorf
42501 do :
42502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42504 eval as_val=\$$as_ac_var
42505 if test "x$as_val" = x""yes; then :
42506 cat >>confdefs.h <<_ACEOF
42507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42508 _ACEOF
42511 done
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42522 $as_echo_n "checking for expf declaration... " >&6; }
42523 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42524 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42525 $as_echo_n "(cached) " >&6
42526 else
42529 ac_ext=cpp
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h. */
42537 #include <math.h>
42538 #ifdef HAVE_IEEEFP_H
42539 #include <ieeefp.h>
42540 #endif
42543 main ()
42545 expf(0);
42547 return 0;
42549 _ACEOF
42550 if ac_fn_cxx_try_compile "$LINENO"; then :
42551 glibcxx_cv_func_expf_use=yes
42552 else
42553 glibcxx_cv_func_expf_use=no
42555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42556 ac_ext=c
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42567 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42569 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42570 for ac_func in expf
42571 do :
42572 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42573 if test "x$ac_cv_func_expf" = x""yes; then :
42574 cat >>confdefs.h <<_ACEOF
42575 #define HAVE_EXPF 1
42576 _ACEOF
42579 done
42581 else
42583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42584 $as_echo_n "checking for _expf declaration... " >&6; }
42585 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42586 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42587 $as_echo_n "(cached) " >&6
42588 else
42591 ac_ext=cpp
42592 ac_cpp='$CXXCPP $CPPFLAGS'
42593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42598 /* end confdefs.h. */
42599 #include <math.h>
42600 #ifdef HAVE_IEEEFP_H
42601 #include <ieeefp.h>
42602 #endif
42605 main ()
42607 _expf(0);
42609 return 0;
42611 _ACEOF
42612 if ac_fn_cxx_try_compile "$LINENO"; then :
42613 glibcxx_cv_func__expf_use=yes
42614 else
42615 glibcxx_cv_func__expf_use=no
42617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42618 ac_ext=c
42619 ac_cpp='$CPP $CPPFLAGS'
42620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42629 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42631 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42632 for ac_func in _expf
42633 do :
42634 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42635 if test "x$ac_cv_func__expf" = x""yes; then :
42636 cat >>confdefs.h <<_ACEOF
42637 #define HAVE__EXPF 1
42638 _ACEOF
42641 done
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42651 $as_echo_n "checking for isnanf declaration... " >&6; }
42652 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42653 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42654 $as_echo_n "(cached) " >&6
42655 else
42658 ac_ext=cpp
42659 ac_cpp='$CXXCPP $CPPFLAGS'
42660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42665 /* end confdefs.h. */
42666 #include <math.h>
42667 #ifdef HAVE_IEEEFP_H
42668 #include <ieeefp.h>
42669 #endif
42672 main ()
42674 isnanf(0);
42676 return 0;
42678 _ACEOF
42679 if ac_fn_cxx_try_compile "$LINENO"; then :
42680 glibcxx_cv_func_isnanf_use=yes
42681 else
42682 glibcxx_cv_func_isnanf_use=no
42684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42685 ac_ext=c
42686 ac_cpp='$CPP $CPPFLAGS'
42687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42696 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42698 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42699 for ac_func in isnanf
42700 do :
42701 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42702 if test "x$ac_cv_func_isnanf" = x""yes; then :
42703 cat >>confdefs.h <<_ACEOF
42704 #define HAVE_ISNANF 1
42705 _ACEOF
42708 done
42710 else
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42713 $as_echo_n "checking for _isnanf declaration... " >&6; }
42714 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42715 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42716 $as_echo_n "(cached) " >&6
42717 else
42720 ac_ext=cpp
42721 ac_cpp='$CXXCPP $CPPFLAGS'
42722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42727 /* end confdefs.h. */
42728 #include <math.h>
42729 #ifdef HAVE_IEEEFP_H
42730 #include <ieeefp.h>
42731 #endif
42734 main ()
42736 _isnanf(0);
42738 return 0;
42740 _ACEOF
42741 if ac_fn_cxx_try_compile "$LINENO"; then :
42742 glibcxx_cv_func__isnanf_use=yes
42743 else
42744 glibcxx_cv_func__isnanf_use=no
42746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42747 ac_ext=c
42748 ac_cpp='$CPP $CPPFLAGS'
42749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42758 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42760 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42761 for ac_func in _isnanf
42762 do :
42763 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42764 if test "x$ac_cv_func__isnanf" = x""yes; then :
42765 cat >>confdefs.h <<_ACEOF
42766 #define HAVE__ISNANF 1
42767 _ACEOF
42770 done
42779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42780 $as_echo_n "checking for isinff declaration... " >&6; }
42781 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42782 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42783 $as_echo_n "(cached) " >&6
42784 else
42787 ac_ext=cpp
42788 ac_cpp='$CXXCPP $CPPFLAGS'
42789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42794 /* end confdefs.h. */
42795 #include <math.h>
42796 #ifdef HAVE_IEEEFP_H
42797 #include <ieeefp.h>
42798 #endif
42801 main ()
42803 isinff(0);
42805 return 0;
42807 _ACEOF
42808 if ac_fn_cxx_try_compile "$LINENO"; then :
42809 glibcxx_cv_func_isinff_use=yes
42810 else
42811 glibcxx_cv_func_isinff_use=no
42813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42814 ac_ext=c
42815 ac_cpp='$CPP $CPPFLAGS'
42816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42825 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42827 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42828 for ac_func in isinff
42829 do :
42830 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42831 if test "x$ac_cv_func_isinff" = x""yes; then :
42832 cat >>confdefs.h <<_ACEOF
42833 #define HAVE_ISINFF 1
42834 _ACEOF
42837 done
42839 else
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42842 $as_echo_n "checking for _isinff declaration... " >&6; }
42843 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42844 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42845 $as_echo_n "(cached) " >&6
42846 else
42849 ac_ext=cpp
42850 ac_cpp='$CXXCPP $CPPFLAGS'
42851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42856 /* end confdefs.h. */
42857 #include <math.h>
42858 #ifdef HAVE_IEEEFP_H
42859 #include <ieeefp.h>
42860 #endif
42863 main ()
42865 _isinff(0);
42867 return 0;
42869 _ACEOF
42870 if ac_fn_cxx_try_compile "$LINENO"; then :
42871 glibcxx_cv_func__isinff_use=yes
42872 else
42873 glibcxx_cv_func__isinff_use=no
42875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42876 ac_ext=c
42877 ac_cpp='$CPP $CPPFLAGS'
42878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42887 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42889 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42890 for ac_func in _isinff
42891 do :
42892 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42893 if test "x$ac_cv_func__isinff" = x""yes; then :
42894 cat >>confdefs.h <<_ACEOF
42895 #define HAVE__ISINFF 1
42896 _ACEOF
42899 done
42908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42909 $as_echo_n "checking for atan2f declaration... " >&6; }
42910 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42911 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42912 $as_echo_n "(cached) " >&6
42913 else
42916 ac_ext=cpp
42917 ac_cpp='$CXXCPP $CPPFLAGS'
42918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42923 /* end confdefs.h. */
42924 #include <math.h>
42926 main ()
42928 atan2f(0, 0);
42930 return 0;
42932 _ACEOF
42933 if ac_fn_cxx_try_compile "$LINENO"; then :
42934 glibcxx_cv_func_atan2f_use=yes
42935 else
42936 glibcxx_cv_func_atan2f_use=no
42938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42939 ac_ext=c
42940 ac_cpp='$CPP $CPPFLAGS'
42941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42950 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42952 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42953 for ac_func in atan2f
42954 do :
42955 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42956 if test "x$ac_cv_func_atan2f" = x""yes; then :
42957 cat >>confdefs.h <<_ACEOF
42958 #define HAVE_ATAN2F 1
42959 _ACEOF
42962 done
42964 else
42966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42967 $as_echo_n "checking for _atan2f declaration... " >&6; }
42968 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42969 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42970 $as_echo_n "(cached) " >&6
42971 else
42974 ac_ext=cpp
42975 ac_cpp='$CXXCPP $CPPFLAGS'
42976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42981 /* end confdefs.h. */
42982 #include <math.h>
42984 main ()
42986 _atan2f(0, 0);
42988 return 0;
42990 _ACEOF
42991 if ac_fn_cxx_try_compile "$LINENO"; then :
42992 glibcxx_cv_func__atan2f_use=yes
42993 else
42994 glibcxx_cv_func__atan2f_use=no
42996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42997 ac_ext=c
42998 ac_cpp='$CPP $CPPFLAGS'
42999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43008 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43010 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43011 for ac_func in _atan2f
43012 do :
43013 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43014 if test "x$ac_cv_func__atan2f" = x""yes; then :
43015 cat >>confdefs.h <<_ACEOF
43016 #define HAVE__ATAN2F 1
43017 _ACEOF
43020 done
43029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43030 $as_echo_n "checking for fabsf declaration... " >&6; }
43031 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43032 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43033 $as_echo_n "(cached) " >&6
43034 else
43037 ac_ext=cpp
43038 ac_cpp='$CXXCPP $CPPFLAGS'
43039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43044 /* end confdefs.h. */
43045 #include <math.h>
43046 #ifdef HAVE_IEEEFP_H
43047 #include <ieeefp.h>
43048 #endif
43051 main ()
43053 fabsf(0);
43055 return 0;
43057 _ACEOF
43058 if ac_fn_cxx_try_compile "$LINENO"; then :
43059 glibcxx_cv_func_fabsf_use=yes
43060 else
43061 glibcxx_cv_func_fabsf_use=no
43063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43064 ac_ext=c
43065 ac_cpp='$CPP $CPPFLAGS'
43066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43075 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43077 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43078 for ac_func in fabsf
43079 do :
43080 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43081 if test "x$ac_cv_func_fabsf" = x""yes; then :
43082 cat >>confdefs.h <<_ACEOF
43083 #define HAVE_FABSF 1
43084 _ACEOF
43087 done
43089 else
43091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43092 $as_echo_n "checking for _fabsf declaration... " >&6; }
43093 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43094 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43095 $as_echo_n "(cached) " >&6
43096 else
43099 ac_ext=cpp
43100 ac_cpp='$CXXCPP $CPPFLAGS'
43101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43106 /* end confdefs.h. */
43107 #include <math.h>
43108 #ifdef HAVE_IEEEFP_H
43109 #include <ieeefp.h>
43110 #endif
43113 main ()
43115 _fabsf(0);
43117 return 0;
43119 _ACEOF
43120 if ac_fn_cxx_try_compile "$LINENO"; then :
43121 glibcxx_cv_func__fabsf_use=yes
43122 else
43123 glibcxx_cv_func__fabsf_use=no
43125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43126 ac_ext=c
43127 ac_cpp='$CPP $CPPFLAGS'
43128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43137 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43139 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43140 for ac_func in _fabsf
43141 do :
43142 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43143 if test "x$ac_cv_func__fabsf" = x""yes; then :
43144 cat >>confdefs.h <<_ACEOF
43145 #define HAVE__FABSF 1
43146 _ACEOF
43149 done
43158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43159 $as_echo_n "checking for fmodf declaration... " >&6; }
43160 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43161 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43162 $as_echo_n "(cached) " >&6
43163 else
43166 ac_ext=cpp
43167 ac_cpp='$CXXCPP $CPPFLAGS'
43168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43173 /* end confdefs.h. */
43174 #include <math.h>
43176 main ()
43178 fmodf(0, 0);
43180 return 0;
43182 _ACEOF
43183 if ac_fn_cxx_try_compile "$LINENO"; then :
43184 glibcxx_cv_func_fmodf_use=yes
43185 else
43186 glibcxx_cv_func_fmodf_use=no
43188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43189 ac_ext=c
43190 ac_cpp='$CPP $CPPFLAGS'
43191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43200 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43202 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43203 for ac_func in fmodf
43204 do :
43205 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43206 if test "x$ac_cv_func_fmodf" = x""yes; then :
43207 cat >>confdefs.h <<_ACEOF
43208 #define HAVE_FMODF 1
43209 _ACEOF
43212 done
43214 else
43216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43217 $as_echo_n "checking for _fmodf declaration... " >&6; }
43218 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43219 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43220 $as_echo_n "(cached) " >&6
43221 else
43224 ac_ext=cpp
43225 ac_cpp='$CXXCPP $CPPFLAGS'
43226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43231 /* end confdefs.h. */
43232 #include <math.h>
43234 main ()
43236 _fmodf(0, 0);
43238 return 0;
43240 _ACEOF
43241 if ac_fn_cxx_try_compile "$LINENO"; then :
43242 glibcxx_cv_func__fmodf_use=yes
43243 else
43244 glibcxx_cv_func__fmodf_use=no
43246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43247 ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43258 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43260 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43261 for ac_func in _fmodf
43262 do :
43263 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43264 if test "x$ac_cv_func__fmodf" = x""yes; then :
43265 cat >>confdefs.h <<_ACEOF
43266 #define HAVE__FMODF 1
43267 _ACEOF
43270 done
43279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43280 $as_echo_n "checking for frexpf declaration... " >&6; }
43281 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43282 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43283 $as_echo_n "(cached) " >&6
43284 else
43287 ac_ext=cpp
43288 ac_cpp='$CXXCPP $CPPFLAGS'
43289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43294 /* end confdefs.h. */
43295 #include <math.h>
43297 main ()
43299 frexpf(0, 0);
43301 return 0;
43303 _ACEOF
43304 if ac_fn_cxx_try_compile "$LINENO"; then :
43305 glibcxx_cv_func_frexpf_use=yes
43306 else
43307 glibcxx_cv_func_frexpf_use=no
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310 ac_ext=c
43311 ac_cpp='$CPP $CPPFLAGS'
43312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43321 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43323 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43324 for ac_func in frexpf
43325 do :
43326 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43327 if test "x$ac_cv_func_frexpf" = x""yes; then :
43328 cat >>confdefs.h <<_ACEOF
43329 #define HAVE_FREXPF 1
43330 _ACEOF
43333 done
43335 else
43337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43338 $as_echo_n "checking for _frexpf declaration... " >&6; }
43339 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43340 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43341 $as_echo_n "(cached) " >&6
43342 else
43345 ac_ext=cpp
43346 ac_cpp='$CXXCPP $CPPFLAGS'
43347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43352 /* end confdefs.h. */
43353 #include <math.h>
43355 main ()
43357 _frexpf(0, 0);
43359 return 0;
43361 _ACEOF
43362 if ac_fn_cxx_try_compile "$LINENO"; then :
43363 glibcxx_cv_func__frexpf_use=yes
43364 else
43365 glibcxx_cv_func__frexpf_use=no
43367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43368 ac_ext=c
43369 ac_cpp='$CPP $CPPFLAGS'
43370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43379 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43381 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43382 for ac_func in _frexpf
43383 do :
43384 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43385 if test "x$ac_cv_func__frexpf" = x""yes; then :
43386 cat >>confdefs.h <<_ACEOF
43387 #define HAVE__FREXPF 1
43388 _ACEOF
43391 done
43400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43401 $as_echo_n "checking for hypotf declaration... " >&6; }
43402 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43403 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43404 $as_echo_n "(cached) " >&6
43405 else
43408 ac_ext=cpp
43409 ac_cpp='$CXXCPP $CPPFLAGS'
43410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43415 /* end confdefs.h. */
43416 #include <math.h>
43418 main ()
43420 hypotf(0, 0);
43422 return 0;
43424 _ACEOF
43425 if ac_fn_cxx_try_compile "$LINENO"; then :
43426 glibcxx_cv_func_hypotf_use=yes
43427 else
43428 glibcxx_cv_func_hypotf_use=no
43430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43431 ac_ext=c
43432 ac_cpp='$CPP $CPPFLAGS'
43433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43442 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43444 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43445 for ac_func in hypotf
43446 do :
43447 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43448 if test "x$ac_cv_func_hypotf" = x""yes; then :
43449 cat >>confdefs.h <<_ACEOF
43450 #define HAVE_HYPOTF 1
43451 _ACEOF
43454 done
43456 else
43458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43459 $as_echo_n "checking for _hypotf declaration... " >&6; }
43460 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43461 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43462 $as_echo_n "(cached) " >&6
43463 else
43466 ac_ext=cpp
43467 ac_cpp='$CXXCPP $CPPFLAGS'
43468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43473 /* end confdefs.h. */
43474 #include <math.h>
43476 main ()
43478 _hypotf(0, 0);
43480 return 0;
43482 _ACEOF
43483 if ac_fn_cxx_try_compile "$LINENO"; then :
43484 glibcxx_cv_func__hypotf_use=yes
43485 else
43486 glibcxx_cv_func__hypotf_use=no
43488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43489 ac_ext=c
43490 ac_cpp='$CPP $CPPFLAGS'
43491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43500 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43502 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43503 for ac_func in _hypotf
43504 do :
43505 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43506 if test "x$ac_cv_func__hypotf" = x""yes; then :
43507 cat >>confdefs.h <<_ACEOF
43508 #define HAVE__HYPOTF 1
43509 _ACEOF
43512 done
43521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43522 $as_echo_n "checking for ldexpf declaration... " >&6; }
43523 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43524 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43525 $as_echo_n "(cached) " >&6
43526 else
43529 ac_ext=cpp
43530 ac_cpp='$CXXCPP $CPPFLAGS'
43531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43536 /* end confdefs.h. */
43537 #include <math.h>
43539 main ()
43541 ldexpf(0, 0);
43543 return 0;
43545 _ACEOF
43546 if ac_fn_cxx_try_compile "$LINENO"; then :
43547 glibcxx_cv_func_ldexpf_use=yes
43548 else
43549 glibcxx_cv_func_ldexpf_use=no
43551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43552 ac_ext=c
43553 ac_cpp='$CPP $CPPFLAGS'
43554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43563 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43565 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43566 for ac_func in ldexpf
43567 do :
43568 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43569 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43570 cat >>confdefs.h <<_ACEOF
43571 #define HAVE_LDEXPF 1
43572 _ACEOF
43575 done
43577 else
43579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43580 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43581 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43582 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43583 $as_echo_n "(cached) " >&6
43584 else
43587 ac_ext=cpp
43588 ac_cpp='$CXXCPP $CPPFLAGS'
43589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43594 /* end confdefs.h. */
43595 #include <math.h>
43597 main ()
43599 _ldexpf(0, 0);
43601 return 0;
43603 _ACEOF
43604 if ac_fn_cxx_try_compile "$LINENO"; then :
43605 glibcxx_cv_func__ldexpf_use=yes
43606 else
43607 glibcxx_cv_func__ldexpf_use=no
43609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43610 ac_ext=c
43611 ac_cpp='$CPP $CPPFLAGS'
43612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43621 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43623 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43624 for ac_func in _ldexpf
43625 do :
43626 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43627 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43628 cat >>confdefs.h <<_ACEOF
43629 #define HAVE__LDEXPF 1
43630 _ACEOF
43633 done
43642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43643 $as_echo_n "checking for logf declaration... " >&6; }
43644 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43645 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43646 $as_echo_n "(cached) " >&6
43647 else
43650 ac_ext=cpp
43651 ac_cpp='$CXXCPP $CPPFLAGS'
43652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43657 /* end confdefs.h. */
43658 #include <math.h>
43659 #ifdef HAVE_IEEEFP_H
43660 #include <ieeefp.h>
43661 #endif
43664 main ()
43666 logf(0);
43668 return 0;
43670 _ACEOF
43671 if ac_fn_cxx_try_compile "$LINENO"; then :
43672 glibcxx_cv_func_logf_use=yes
43673 else
43674 glibcxx_cv_func_logf_use=no
43676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43677 ac_ext=c
43678 ac_cpp='$CPP $CPPFLAGS'
43679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43688 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43690 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43691 for ac_func in logf
43692 do :
43693 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43694 if test "x$ac_cv_func_logf" = x""yes; then :
43695 cat >>confdefs.h <<_ACEOF
43696 #define HAVE_LOGF 1
43697 _ACEOF
43700 done
43702 else
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43705 $as_echo_n "checking for _logf declaration... " >&6; }
43706 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43707 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43708 $as_echo_n "(cached) " >&6
43709 else
43712 ac_ext=cpp
43713 ac_cpp='$CXXCPP $CPPFLAGS'
43714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43719 /* end confdefs.h. */
43720 #include <math.h>
43721 #ifdef HAVE_IEEEFP_H
43722 #include <ieeefp.h>
43723 #endif
43726 main ()
43728 _logf(0);
43730 return 0;
43732 _ACEOF
43733 if ac_fn_cxx_try_compile "$LINENO"; then :
43734 glibcxx_cv_func__logf_use=yes
43735 else
43736 glibcxx_cv_func__logf_use=no
43738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43739 ac_ext=c
43740 ac_cpp='$CPP $CPPFLAGS'
43741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43750 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43752 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43753 for ac_func in _logf
43754 do :
43755 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43756 if test "x$ac_cv_func__logf" = x""yes; then :
43757 cat >>confdefs.h <<_ACEOF
43758 #define HAVE__LOGF 1
43759 _ACEOF
43762 done
43771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43772 $as_echo_n "checking for log10f declaration... " >&6; }
43773 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43774 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43775 $as_echo_n "(cached) " >&6
43776 else
43779 ac_ext=cpp
43780 ac_cpp='$CXXCPP $CPPFLAGS'
43781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43786 /* end confdefs.h. */
43787 #include <math.h>
43788 #ifdef HAVE_IEEEFP_H
43789 #include <ieeefp.h>
43790 #endif
43793 main ()
43795 log10f(0);
43797 return 0;
43799 _ACEOF
43800 if ac_fn_cxx_try_compile "$LINENO"; then :
43801 glibcxx_cv_func_log10f_use=yes
43802 else
43803 glibcxx_cv_func_log10f_use=no
43805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43806 ac_ext=c
43807 ac_cpp='$CPP $CPPFLAGS'
43808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43817 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43819 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43820 for ac_func in log10f
43821 do :
43822 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43823 if test "x$ac_cv_func_log10f" = x""yes; then :
43824 cat >>confdefs.h <<_ACEOF
43825 #define HAVE_LOG10F 1
43826 _ACEOF
43829 done
43831 else
43833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43834 $as_echo_n "checking for _log10f declaration... " >&6; }
43835 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43836 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43837 $as_echo_n "(cached) " >&6
43838 else
43841 ac_ext=cpp
43842 ac_cpp='$CXXCPP $CPPFLAGS'
43843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43848 /* end confdefs.h. */
43849 #include <math.h>
43850 #ifdef HAVE_IEEEFP_H
43851 #include <ieeefp.h>
43852 #endif
43855 main ()
43857 _log10f(0);
43859 return 0;
43861 _ACEOF
43862 if ac_fn_cxx_try_compile "$LINENO"; then :
43863 glibcxx_cv_func__log10f_use=yes
43864 else
43865 glibcxx_cv_func__log10f_use=no
43867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43868 ac_ext=c
43869 ac_cpp='$CPP $CPPFLAGS'
43870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43879 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43881 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43882 for ac_func in _log10f
43883 do :
43884 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43885 if test "x$ac_cv_func__log10f" = x""yes; then :
43886 cat >>confdefs.h <<_ACEOF
43887 #define HAVE__LOG10F 1
43888 _ACEOF
43891 done
43900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43901 $as_echo_n "checking for modff declaration... " >&6; }
43902 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43903 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43904 $as_echo_n "(cached) " >&6
43905 else
43908 ac_ext=cpp
43909 ac_cpp='$CXXCPP $CPPFLAGS'
43910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43915 /* end confdefs.h. */
43916 #include <math.h>
43918 main ()
43920 modff(0, 0);
43922 return 0;
43924 _ACEOF
43925 if ac_fn_cxx_try_compile "$LINENO"; then :
43926 glibcxx_cv_func_modff_use=yes
43927 else
43928 glibcxx_cv_func_modff_use=no
43930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43931 ac_ext=c
43932 ac_cpp='$CPP $CPPFLAGS'
43933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43942 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43944 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43945 for ac_func in modff
43946 do :
43947 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43948 if test "x$ac_cv_func_modff" = x""yes; then :
43949 cat >>confdefs.h <<_ACEOF
43950 #define HAVE_MODFF 1
43951 _ACEOF
43954 done
43956 else
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43959 $as_echo_n "checking for _modff declaration... " >&6; }
43960 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43961 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43962 $as_echo_n "(cached) " >&6
43963 else
43966 ac_ext=cpp
43967 ac_cpp='$CXXCPP $CPPFLAGS'
43968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43973 /* end confdefs.h. */
43974 #include <math.h>
43976 main ()
43978 _modff(0, 0);
43980 return 0;
43982 _ACEOF
43983 if ac_fn_cxx_try_compile "$LINENO"; then :
43984 glibcxx_cv_func__modff_use=yes
43985 else
43986 glibcxx_cv_func__modff_use=no
43988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43989 ac_ext=c
43990 ac_cpp='$CPP $CPPFLAGS'
43991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44000 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44002 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44003 for ac_func in _modff
44004 do :
44005 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44006 if test "x$ac_cv_func__modff" = x""yes; then :
44007 cat >>confdefs.h <<_ACEOF
44008 #define HAVE__MODFF 1
44009 _ACEOF
44012 done
44021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44022 $as_echo_n "checking for modf declaration... " >&6; }
44023 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44024 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44025 $as_echo_n "(cached) " >&6
44026 else
44029 ac_ext=cpp
44030 ac_cpp='$CXXCPP $CPPFLAGS'
44031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44036 /* end confdefs.h. */
44037 #include <math.h>
44039 main ()
44041 modf(0, 0);
44043 return 0;
44045 _ACEOF
44046 if ac_fn_cxx_try_compile "$LINENO"; then :
44047 glibcxx_cv_func_modf_use=yes
44048 else
44049 glibcxx_cv_func_modf_use=no
44051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44052 ac_ext=c
44053 ac_cpp='$CPP $CPPFLAGS'
44054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44063 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44065 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44066 for ac_func in modf
44067 do :
44068 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44069 if test "x$ac_cv_func_modf" = x""yes; then :
44070 cat >>confdefs.h <<_ACEOF
44071 #define HAVE_MODF 1
44072 _ACEOF
44075 done
44077 else
44079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44080 $as_echo_n "checking for _modf declaration... " >&6; }
44081 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44082 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44083 $as_echo_n "(cached) " >&6
44084 else
44087 ac_ext=cpp
44088 ac_cpp='$CXXCPP $CPPFLAGS'
44089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44094 /* end confdefs.h. */
44095 #include <math.h>
44097 main ()
44099 _modf(0, 0);
44101 return 0;
44103 _ACEOF
44104 if ac_fn_cxx_try_compile "$LINENO"; then :
44105 glibcxx_cv_func__modf_use=yes
44106 else
44107 glibcxx_cv_func__modf_use=no
44109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44110 ac_ext=c
44111 ac_cpp='$CPP $CPPFLAGS'
44112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44121 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44123 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44124 for ac_func in _modf
44125 do :
44126 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44127 if test "x$ac_cv_func__modf" = x""yes; then :
44128 cat >>confdefs.h <<_ACEOF
44129 #define HAVE__MODF 1
44130 _ACEOF
44133 done
44142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44143 $as_echo_n "checking for powf declaration... " >&6; }
44144 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44145 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44146 $as_echo_n "(cached) " >&6
44147 else
44150 ac_ext=cpp
44151 ac_cpp='$CXXCPP $CPPFLAGS'
44152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44157 /* end confdefs.h. */
44158 #include <math.h>
44160 main ()
44162 powf(0, 0);
44164 return 0;
44166 _ACEOF
44167 if ac_fn_cxx_try_compile "$LINENO"; then :
44168 glibcxx_cv_func_powf_use=yes
44169 else
44170 glibcxx_cv_func_powf_use=no
44172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44173 ac_ext=c
44174 ac_cpp='$CPP $CPPFLAGS'
44175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44184 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44186 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44187 for ac_func in powf
44188 do :
44189 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44190 if test "x$ac_cv_func_powf" = x""yes; then :
44191 cat >>confdefs.h <<_ACEOF
44192 #define HAVE_POWF 1
44193 _ACEOF
44196 done
44198 else
44200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44201 $as_echo_n "checking for _powf declaration... " >&6; }
44202 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44203 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44204 $as_echo_n "(cached) " >&6
44205 else
44208 ac_ext=cpp
44209 ac_cpp='$CXXCPP $CPPFLAGS'
44210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44215 /* end confdefs.h. */
44216 #include <math.h>
44218 main ()
44220 _powf(0, 0);
44222 return 0;
44224 _ACEOF
44225 if ac_fn_cxx_try_compile "$LINENO"; then :
44226 glibcxx_cv_func__powf_use=yes
44227 else
44228 glibcxx_cv_func__powf_use=no
44230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44231 ac_ext=c
44232 ac_cpp='$CPP $CPPFLAGS'
44233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44242 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44244 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44245 for ac_func in _powf
44246 do :
44247 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44248 if test "x$ac_cv_func__powf" = x""yes; then :
44249 cat >>confdefs.h <<_ACEOF
44250 #define HAVE__POWF 1
44251 _ACEOF
44254 done
44263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44264 $as_echo_n "checking for sqrtf declaration... " >&6; }
44265 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44266 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44267 $as_echo_n "(cached) " >&6
44268 else
44271 ac_ext=cpp
44272 ac_cpp='$CXXCPP $CPPFLAGS'
44273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44278 /* end confdefs.h. */
44279 #include <math.h>
44280 #ifdef HAVE_IEEEFP_H
44281 #include <ieeefp.h>
44282 #endif
44285 main ()
44287 sqrtf(0);
44289 return 0;
44291 _ACEOF
44292 if ac_fn_cxx_try_compile "$LINENO"; then :
44293 glibcxx_cv_func_sqrtf_use=yes
44294 else
44295 glibcxx_cv_func_sqrtf_use=no
44297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44298 ac_ext=c
44299 ac_cpp='$CPP $CPPFLAGS'
44300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44309 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44311 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44312 for ac_func in sqrtf
44313 do :
44314 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44315 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44316 cat >>confdefs.h <<_ACEOF
44317 #define HAVE_SQRTF 1
44318 _ACEOF
44321 done
44323 else
44325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44326 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44327 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44328 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44329 $as_echo_n "(cached) " >&6
44330 else
44333 ac_ext=cpp
44334 ac_cpp='$CXXCPP $CPPFLAGS'
44335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340 /* end confdefs.h. */
44341 #include <math.h>
44342 #ifdef HAVE_IEEEFP_H
44343 #include <ieeefp.h>
44344 #endif
44347 main ()
44349 _sqrtf(0);
44351 return 0;
44353 _ACEOF
44354 if ac_fn_cxx_try_compile "$LINENO"; then :
44355 glibcxx_cv_func__sqrtf_use=yes
44356 else
44357 glibcxx_cv_func__sqrtf_use=no
44359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44360 ac_ext=c
44361 ac_cpp='$CPP $CPPFLAGS'
44362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44371 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44373 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44374 for ac_func in _sqrtf
44375 do :
44376 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44377 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44378 cat >>confdefs.h <<_ACEOF
44379 #define HAVE__SQRTF 1
44380 _ACEOF
44383 done
44392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44393 $as_echo_n "checking for sincosf declaration... " >&6; }
44394 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44395 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44396 $as_echo_n "(cached) " >&6
44397 else
44400 ac_ext=cpp
44401 ac_cpp='$CXXCPP $CPPFLAGS'
44402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44407 /* end confdefs.h. */
44408 #include <math.h>
44410 main ()
44412 sincosf(0, 0, 0);
44414 return 0;
44416 _ACEOF
44417 if ac_fn_cxx_try_compile "$LINENO"; then :
44418 glibcxx_cv_func_sincosf_use=yes
44419 else
44420 glibcxx_cv_func_sincosf_use=no
44422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44423 ac_ext=c
44424 ac_cpp='$CPP $CPPFLAGS'
44425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44434 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44436 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44437 for ac_func in sincosf
44438 do :
44439 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44440 if test "x$ac_cv_func_sincosf" = x""yes; then :
44441 cat >>confdefs.h <<_ACEOF
44442 #define HAVE_SINCOSF 1
44443 _ACEOF
44446 done
44448 else
44450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44451 $as_echo_n "checking for _sincosf declaration... " >&6; }
44452 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44453 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44454 $as_echo_n "(cached) " >&6
44455 else
44458 ac_ext=cpp
44459 ac_cpp='$CXXCPP $CPPFLAGS'
44460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44465 /* end confdefs.h. */
44466 #include <math.h>
44468 main ()
44470 _sincosf(0, 0, 0);
44472 return 0;
44474 _ACEOF
44475 if ac_fn_cxx_try_compile "$LINENO"; then :
44476 glibcxx_cv_func__sincosf_use=yes
44477 else
44478 glibcxx_cv_func__sincosf_use=no
44480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44481 ac_ext=c
44482 ac_cpp='$CPP $CPPFLAGS'
44483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44492 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44494 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44495 for ac_func in _sincosf
44496 do :
44497 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44498 if test "x$ac_cv_func__sincosf" = x""yes; then :
44499 cat >>confdefs.h <<_ACEOF
44500 #define HAVE__SINCOSF 1
44501 _ACEOF
44504 done
44513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44514 $as_echo_n "checking for finitef declaration... " >&6; }
44515 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44516 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44517 $as_echo_n "(cached) " >&6
44518 else
44521 ac_ext=cpp
44522 ac_cpp='$CXXCPP $CPPFLAGS'
44523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44528 /* end confdefs.h. */
44529 #include <math.h>
44530 #ifdef HAVE_IEEEFP_H
44531 #include <ieeefp.h>
44532 #endif
44535 main ()
44537 finitef(0);
44539 return 0;
44541 _ACEOF
44542 if ac_fn_cxx_try_compile "$LINENO"; then :
44543 glibcxx_cv_func_finitef_use=yes
44544 else
44545 glibcxx_cv_func_finitef_use=no
44547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44548 ac_ext=c
44549 ac_cpp='$CPP $CPPFLAGS'
44550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44559 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44561 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44562 for ac_func in finitef
44563 do :
44564 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44565 if test "x$ac_cv_func_finitef" = x""yes; then :
44566 cat >>confdefs.h <<_ACEOF
44567 #define HAVE_FINITEF 1
44568 _ACEOF
44571 done
44573 else
44575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44576 $as_echo_n "checking for _finitef declaration... " >&6; }
44577 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44578 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44579 $as_echo_n "(cached) " >&6
44580 else
44583 ac_ext=cpp
44584 ac_cpp='$CXXCPP $CPPFLAGS'
44585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44590 /* end confdefs.h. */
44591 #include <math.h>
44592 #ifdef HAVE_IEEEFP_H
44593 #include <ieeefp.h>
44594 #endif
44597 main ()
44599 _finitef(0);
44601 return 0;
44603 _ACEOF
44604 if ac_fn_cxx_try_compile "$LINENO"; then :
44605 glibcxx_cv_func__finitef_use=yes
44606 else
44607 glibcxx_cv_func__finitef_use=no
44609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44610 ac_ext=c
44611 ac_cpp='$CPP $CPPFLAGS'
44612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44621 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44623 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44624 for ac_func in _finitef
44625 do :
44626 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44627 if test "x$ac_cv_func__finitef" = x""yes; then :
44628 cat >>confdefs.h <<_ACEOF
44629 #define HAVE__FINITEF 1
44630 _ACEOF
44633 done
44642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44643 $as_echo_n "checking for long double trig functions... " >&6; }
44644 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44645 $as_echo_n "(cached) " >&6
44646 else
44649 ac_ext=cpp
44650 ac_cpp='$CXXCPP $CPPFLAGS'
44651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44656 /* end confdefs.h. */
44657 #include <math.h>
44659 main ()
44661 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44663 return 0;
44665 _ACEOF
44666 if ac_fn_cxx_try_compile "$LINENO"; then :
44667 glibcxx_cv_func_long_double_trig_use=yes
44668 else
44669 glibcxx_cv_func_long_double_trig_use=no
44671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44672 ac_ext=c
44673 ac_cpp='$CPP $CPPFLAGS'
44674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44681 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44682 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44683 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44684 do :
44685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44687 eval as_val=\$$as_ac_var
44688 if test "x$as_val" = x""yes; then :
44689 cat >>confdefs.h <<_ACEOF
44690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44691 _ACEOF
44694 done
44696 else
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44698 $as_echo_n "checking for _long double trig functions... " >&6; }
44699 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44700 $as_echo_n "(cached) " >&6
44701 else
44704 ac_ext=cpp
44705 ac_cpp='$CXXCPP $CPPFLAGS'
44706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44711 /* end confdefs.h. */
44712 #include <math.h>
44714 main ()
44716 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44718 return 0;
44720 _ACEOF
44721 if ac_fn_cxx_try_compile "$LINENO"; then :
44722 glibcxx_cv_func__long_double_trig_use=yes
44723 else
44724 glibcxx_cv_func__long_double_trig_use=no
44726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44727 ac_ext=c
44728 ac_cpp='$CPP $CPPFLAGS'
44729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44736 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44737 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44738 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44739 do :
44740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44742 eval as_val=\$$as_ac_var
44743 if test "x$as_val" = x""yes; then :
44744 cat >>confdefs.h <<_ACEOF
44745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44746 _ACEOF
44749 done
44758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44759 $as_echo_n "checking for long double round functions... " >&6; }
44760 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44761 $as_echo_n "(cached) " >&6
44762 else
44765 ac_ext=cpp
44766 ac_cpp='$CXXCPP $CPPFLAGS'
44767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44772 /* end confdefs.h. */
44773 #include <math.h>
44775 main ()
44777 ceill (0); floorl (0);
44779 return 0;
44781 _ACEOF
44782 if ac_fn_cxx_try_compile "$LINENO"; then :
44783 glibcxx_cv_func_long_double_round_use=yes
44784 else
44785 glibcxx_cv_func_long_double_round_use=no
44787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788 ac_ext=c
44789 ac_cpp='$CPP $CPPFLAGS'
44790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44797 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44798 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44799 for ac_func in ceill floorl
44800 do :
44801 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44803 eval as_val=\$$as_ac_var
44804 if test "x$as_val" = x""yes; then :
44805 cat >>confdefs.h <<_ACEOF
44806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44807 _ACEOF
44810 done
44812 else
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44814 $as_echo_n "checking for _long double round functions... " >&6; }
44815 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44816 $as_echo_n "(cached) " >&6
44817 else
44820 ac_ext=cpp
44821 ac_cpp='$CXXCPP $CPPFLAGS'
44822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44827 /* end confdefs.h. */
44828 #include <math.h>
44830 main ()
44832 _ceill (0); _floorl (0);
44834 return 0;
44836 _ACEOF
44837 if ac_fn_cxx_try_compile "$LINENO"; then :
44838 glibcxx_cv_func__long_double_round_use=yes
44839 else
44840 glibcxx_cv_func__long_double_round_use=no
44842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44843 ac_ext=c
44844 ac_cpp='$CPP $CPPFLAGS'
44845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44852 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44853 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44854 for ac_func in _ceill _floorl
44855 do :
44856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44858 eval as_val=\$$as_ac_var
44859 if test "x$as_val" = x""yes; then :
44860 cat >>confdefs.h <<_ACEOF
44861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44862 _ACEOF
44865 done
44875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44876 $as_echo_n "checking for isnanl declaration... " >&6; }
44877 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44878 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44879 $as_echo_n "(cached) " >&6
44880 else
44883 ac_ext=cpp
44884 ac_cpp='$CXXCPP $CPPFLAGS'
44885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44890 /* end confdefs.h. */
44891 #include <math.h>
44892 #ifdef HAVE_IEEEFP_H
44893 #include <ieeefp.h>
44894 #endif
44897 main ()
44899 isnanl(0);
44901 return 0;
44903 _ACEOF
44904 if ac_fn_cxx_try_compile "$LINENO"; then :
44905 glibcxx_cv_func_isnanl_use=yes
44906 else
44907 glibcxx_cv_func_isnanl_use=no
44909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44910 ac_ext=c
44911 ac_cpp='$CPP $CPPFLAGS'
44912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44921 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44923 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44924 for ac_func in isnanl
44925 do :
44926 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44927 if test "x$ac_cv_func_isnanl" = x""yes; then :
44928 cat >>confdefs.h <<_ACEOF
44929 #define HAVE_ISNANL 1
44930 _ACEOF
44933 done
44935 else
44937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44938 $as_echo_n "checking for _isnanl declaration... " >&6; }
44939 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44940 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44941 $as_echo_n "(cached) " >&6
44942 else
44945 ac_ext=cpp
44946 ac_cpp='$CXXCPP $CPPFLAGS'
44947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44952 /* end confdefs.h. */
44953 #include <math.h>
44954 #ifdef HAVE_IEEEFP_H
44955 #include <ieeefp.h>
44956 #endif
44959 main ()
44961 _isnanl(0);
44963 return 0;
44965 _ACEOF
44966 if ac_fn_cxx_try_compile "$LINENO"; then :
44967 glibcxx_cv_func__isnanl_use=yes
44968 else
44969 glibcxx_cv_func__isnanl_use=no
44971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44972 ac_ext=c
44973 ac_cpp='$CPP $CPPFLAGS'
44974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44983 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44985 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44986 for ac_func in _isnanl
44987 do :
44988 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44989 if test "x$ac_cv_func__isnanl" = x""yes; then :
44990 cat >>confdefs.h <<_ACEOF
44991 #define HAVE__ISNANL 1
44992 _ACEOF
44995 done
45004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45005 $as_echo_n "checking for isinfl declaration... " >&6; }
45006 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45007 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45008 $as_echo_n "(cached) " >&6
45009 else
45012 ac_ext=cpp
45013 ac_cpp='$CXXCPP $CPPFLAGS'
45014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45019 /* end confdefs.h. */
45020 #include <math.h>
45021 #ifdef HAVE_IEEEFP_H
45022 #include <ieeefp.h>
45023 #endif
45026 main ()
45028 isinfl(0);
45030 return 0;
45032 _ACEOF
45033 if ac_fn_cxx_try_compile "$LINENO"; then :
45034 glibcxx_cv_func_isinfl_use=yes
45035 else
45036 glibcxx_cv_func_isinfl_use=no
45038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45039 ac_ext=c
45040 ac_cpp='$CPP $CPPFLAGS'
45041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45050 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45052 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45053 for ac_func in isinfl
45054 do :
45055 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45056 if test "x$ac_cv_func_isinfl" = x""yes; then :
45057 cat >>confdefs.h <<_ACEOF
45058 #define HAVE_ISINFL 1
45059 _ACEOF
45062 done
45064 else
45066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45067 $as_echo_n "checking for _isinfl declaration... " >&6; }
45068 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45069 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45070 $as_echo_n "(cached) " >&6
45071 else
45074 ac_ext=cpp
45075 ac_cpp='$CXXCPP $CPPFLAGS'
45076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45081 /* end confdefs.h. */
45082 #include <math.h>
45083 #ifdef HAVE_IEEEFP_H
45084 #include <ieeefp.h>
45085 #endif
45088 main ()
45090 _isinfl(0);
45092 return 0;
45094 _ACEOF
45095 if ac_fn_cxx_try_compile "$LINENO"; then :
45096 glibcxx_cv_func__isinfl_use=yes
45097 else
45098 glibcxx_cv_func__isinfl_use=no
45100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45101 ac_ext=c
45102 ac_cpp='$CPP $CPPFLAGS'
45103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45112 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45114 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45115 for ac_func in _isinfl
45116 do :
45117 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45118 if test "x$ac_cv_func__isinfl" = x""yes; then :
45119 cat >>confdefs.h <<_ACEOF
45120 #define HAVE__ISINFL 1
45121 _ACEOF
45124 done
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45134 $as_echo_n "checking for atan2l declaration... " >&6; }
45135 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45136 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45137 $as_echo_n "(cached) " >&6
45138 else
45141 ac_ext=cpp
45142 ac_cpp='$CXXCPP $CPPFLAGS'
45143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45148 /* end confdefs.h. */
45149 #include <math.h>
45151 main ()
45153 atan2l(0, 0);
45155 return 0;
45157 _ACEOF
45158 if ac_fn_cxx_try_compile "$LINENO"; then :
45159 glibcxx_cv_func_atan2l_use=yes
45160 else
45161 glibcxx_cv_func_atan2l_use=no
45163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45164 ac_ext=c
45165 ac_cpp='$CPP $CPPFLAGS'
45166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45175 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45177 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45178 for ac_func in atan2l
45179 do :
45180 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45181 if test "x$ac_cv_func_atan2l" = x""yes; then :
45182 cat >>confdefs.h <<_ACEOF
45183 #define HAVE_ATAN2L 1
45184 _ACEOF
45187 done
45189 else
45191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45192 $as_echo_n "checking for _atan2l declaration... " >&6; }
45193 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45194 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45195 $as_echo_n "(cached) " >&6
45196 else
45199 ac_ext=cpp
45200 ac_cpp='$CXXCPP $CPPFLAGS'
45201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45206 /* end confdefs.h. */
45207 #include <math.h>
45209 main ()
45211 _atan2l(0, 0);
45213 return 0;
45215 _ACEOF
45216 if ac_fn_cxx_try_compile "$LINENO"; then :
45217 glibcxx_cv_func__atan2l_use=yes
45218 else
45219 glibcxx_cv_func__atan2l_use=no
45221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45222 ac_ext=c
45223 ac_cpp='$CPP $CPPFLAGS'
45224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45233 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45235 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45236 for ac_func in _atan2l
45237 do :
45238 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45239 if test "x$ac_cv_func__atan2l" = x""yes; then :
45240 cat >>confdefs.h <<_ACEOF
45241 #define HAVE__ATAN2L 1
45242 _ACEOF
45245 done
45254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45255 $as_echo_n "checking for expl declaration... " >&6; }
45256 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45257 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45258 $as_echo_n "(cached) " >&6
45259 else
45262 ac_ext=cpp
45263 ac_cpp='$CXXCPP $CPPFLAGS'
45264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45269 /* end confdefs.h. */
45270 #include <math.h>
45271 #ifdef HAVE_IEEEFP_H
45272 #include <ieeefp.h>
45273 #endif
45276 main ()
45278 expl(0);
45280 return 0;
45282 _ACEOF
45283 if ac_fn_cxx_try_compile "$LINENO"; then :
45284 glibcxx_cv_func_expl_use=yes
45285 else
45286 glibcxx_cv_func_expl_use=no
45288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45289 ac_ext=c
45290 ac_cpp='$CPP $CPPFLAGS'
45291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45300 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45302 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45303 for ac_func in expl
45304 do :
45305 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45306 if test "x$ac_cv_func_expl" = x""yes; then :
45307 cat >>confdefs.h <<_ACEOF
45308 #define HAVE_EXPL 1
45309 _ACEOF
45312 done
45314 else
45316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45317 $as_echo_n "checking for _expl declaration... " >&6; }
45318 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45319 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45320 $as_echo_n "(cached) " >&6
45321 else
45324 ac_ext=cpp
45325 ac_cpp='$CXXCPP $CPPFLAGS'
45326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45331 /* end confdefs.h. */
45332 #include <math.h>
45333 #ifdef HAVE_IEEEFP_H
45334 #include <ieeefp.h>
45335 #endif
45338 main ()
45340 _expl(0);
45342 return 0;
45344 _ACEOF
45345 if ac_fn_cxx_try_compile "$LINENO"; then :
45346 glibcxx_cv_func__expl_use=yes
45347 else
45348 glibcxx_cv_func__expl_use=no
45350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45351 ac_ext=c
45352 ac_cpp='$CPP $CPPFLAGS'
45353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45362 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45364 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45365 for ac_func in _expl
45366 do :
45367 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45368 if test "x$ac_cv_func__expl" = x""yes; then :
45369 cat >>confdefs.h <<_ACEOF
45370 #define HAVE__EXPL 1
45371 _ACEOF
45374 done
45383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45384 $as_echo_n "checking for fabsl declaration... " >&6; }
45385 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45386 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45387 $as_echo_n "(cached) " >&6
45388 else
45391 ac_ext=cpp
45392 ac_cpp='$CXXCPP $CPPFLAGS'
45393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45398 /* end confdefs.h. */
45399 #include <math.h>
45400 #ifdef HAVE_IEEEFP_H
45401 #include <ieeefp.h>
45402 #endif
45405 main ()
45407 fabsl(0);
45409 return 0;
45411 _ACEOF
45412 if ac_fn_cxx_try_compile "$LINENO"; then :
45413 glibcxx_cv_func_fabsl_use=yes
45414 else
45415 glibcxx_cv_func_fabsl_use=no
45417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45418 ac_ext=c
45419 ac_cpp='$CPP $CPPFLAGS'
45420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45429 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45431 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45432 for ac_func in fabsl
45433 do :
45434 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45435 if test "x$ac_cv_func_fabsl" = x""yes; then :
45436 cat >>confdefs.h <<_ACEOF
45437 #define HAVE_FABSL 1
45438 _ACEOF
45441 done
45443 else
45445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45446 $as_echo_n "checking for _fabsl declaration... " >&6; }
45447 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45448 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45449 $as_echo_n "(cached) " >&6
45450 else
45453 ac_ext=cpp
45454 ac_cpp='$CXXCPP $CPPFLAGS'
45455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45460 /* end confdefs.h. */
45461 #include <math.h>
45462 #ifdef HAVE_IEEEFP_H
45463 #include <ieeefp.h>
45464 #endif
45467 main ()
45469 _fabsl(0);
45471 return 0;
45473 _ACEOF
45474 if ac_fn_cxx_try_compile "$LINENO"; then :
45475 glibcxx_cv_func__fabsl_use=yes
45476 else
45477 glibcxx_cv_func__fabsl_use=no
45479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45480 ac_ext=c
45481 ac_cpp='$CPP $CPPFLAGS'
45482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45491 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45493 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45494 for ac_func in _fabsl
45495 do :
45496 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45497 if test "x$ac_cv_func__fabsl" = x""yes; then :
45498 cat >>confdefs.h <<_ACEOF
45499 #define HAVE__FABSL 1
45500 _ACEOF
45503 done
45512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45513 $as_echo_n "checking for fmodl declaration... " >&6; }
45514 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45515 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45516 $as_echo_n "(cached) " >&6
45517 else
45520 ac_ext=cpp
45521 ac_cpp='$CXXCPP $CPPFLAGS'
45522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45527 /* end confdefs.h. */
45528 #include <math.h>
45530 main ()
45532 fmodl(0, 0);
45534 return 0;
45536 _ACEOF
45537 if ac_fn_cxx_try_compile "$LINENO"; then :
45538 glibcxx_cv_func_fmodl_use=yes
45539 else
45540 glibcxx_cv_func_fmodl_use=no
45542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45543 ac_ext=c
45544 ac_cpp='$CPP $CPPFLAGS'
45545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45554 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45556 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45557 for ac_func in fmodl
45558 do :
45559 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45560 if test "x$ac_cv_func_fmodl" = x""yes; then :
45561 cat >>confdefs.h <<_ACEOF
45562 #define HAVE_FMODL 1
45563 _ACEOF
45566 done
45568 else
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45571 $as_echo_n "checking for _fmodl declaration... " >&6; }
45572 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45573 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45574 $as_echo_n "(cached) " >&6
45575 else
45578 ac_ext=cpp
45579 ac_cpp='$CXXCPP $CPPFLAGS'
45580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45585 /* end confdefs.h. */
45586 #include <math.h>
45588 main ()
45590 _fmodl(0, 0);
45592 return 0;
45594 _ACEOF
45595 if ac_fn_cxx_try_compile "$LINENO"; then :
45596 glibcxx_cv_func__fmodl_use=yes
45597 else
45598 glibcxx_cv_func__fmodl_use=no
45600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45601 ac_ext=c
45602 ac_cpp='$CPP $CPPFLAGS'
45603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45612 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45614 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45615 for ac_func in _fmodl
45616 do :
45617 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45618 if test "x$ac_cv_func__fmodl" = x""yes; then :
45619 cat >>confdefs.h <<_ACEOF
45620 #define HAVE__FMODL 1
45621 _ACEOF
45624 done
45633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45634 $as_echo_n "checking for frexpl declaration... " >&6; }
45635 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45636 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45637 $as_echo_n "(cached) " >&6
45638 else
45641 ac_ext=cpp
45642 ac_cpp='$CXXCPP $CPPFLAGS'
45643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45648 /* end confdefs.h. */
45649 #include <math.h>
45651 main ()
45653 frexpl(0, 0);
45655 return 0;
45657 _ACEOF
45658 if ac_fn_cxx_try_compile "$LINENO"; then :
45659 glibcxx_cv_func_frexpl_use=yes
45660 else
45661 glibcxx_cv_func_frexpl_use=no
45663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45664 ac_ext=c
45665 ac_cpp='$CPP $CPPFLAGS'
45666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45675 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45677 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45678 for ac_func in frexpl
45679 do :
45680 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45681 if test "x$ac_cv_func_frexpl" = x""yes; then :
45682 cat >>confdefs.h <<_ACEOF
45683 #define HAVE_FREXPL 1
45684 _ACEOF
45687 done
45689 else
45691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45692 $as_echo_n "checking for _frexpl declaration... " >&6; }
45693 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45694 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45695 $as_echo_n "(cached) " >&6
45696 else
45699 ac_ext=cpp
45700 ac_cpp='$CXXCPP $CPPFLAGS'
45701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45706 /* end confdefs.h. */
45707 #include <math.h>
45709 main ()
45711 _frexpl(0, 0);
45713 return 0;
45715 _ACEOF
45716 if ac_fn_cxx_try_compile "$LINENO"; then :
45717 glibcxx_cv_func__frexpl_use=yes
45718 else
45719 glibcxx_cv_func__frexpl_use=no
45721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45722 ac_ext=c
45723 ac_cpp='$CPP $CPPFLAGS'
45724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45733 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45735 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45736 for ac_func in _frexpl
45737 do :
45738 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45739 if test "x$ac_cv_func__frexpl" = x""yes; then :
45740 cat >>confdefs.h <<_ACEOF
45741 #define HAVE__FREXPL 1
45742 _ACEOF
45745 done
45754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45755 $as_echo_n "checking for hypotl declaration... " >&6; }
45756 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45757 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45758 $as_echo_n "(cached) " >&6
45759 else
45762 ac_ext=cpp
45763 ac_cpp='$CXXCPP $CPPFLAGS'
45764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45769 /* end confdefs.h. */
45770 #include <math.h>
45772 main ()
45774 hypotl(0, 0);
45776 return 0;
45778 _ACEOF
45779 if ac_fn_cxx_try_compile "$LINENO"; then :
45780 glibcxx_cv_func_hypotl_use=yes
45781 else
45782 glibcxx_cv_func_hypotl_use=no
45784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45785 ac_ext=c
45786 ac_cpp='$CPP $CPPFLAGS'
45787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45796 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45798 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45799 for ac_func in hypotl
45800 do :
45801 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45802 if test "x$ac_cv_func_hypotl" = x""yes; then :
45803 cat >>confdefs.h <<_ACEOF
45804 #define HAVE_HYPOTL 1
45805 _ACEOF
45808 done
45810 else
45812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45813 $as_echo_n "checking for _hypotl declaration... " >&6; }
45814 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45815 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45816 $as_echo_n "(cached) " >&6
45817 else
45820 ac_ext=cpp
45821 ac_cpp='$CXXCPP $CPPFLAGS'
45822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45827 /* end confdefs.h. */
45828 #include <math.h>
45830 main ()
45832 _hypotl(0, 0);
45834 return 0;
45836 _ACEOF
45837 if ac_fn_cxx_try_compile "$LINENO"; then :
45838 glibcxx_cv_func__hypotl_use=yes
45839 else
45840 glibcxx_cv_func__hypotl_use=no
45842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45843 ac_ext=c
45844 ac_cpp='$CPP $CPPFLAGS'
45845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45854 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45856 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45857 for ac_func in _hypotl
45858 do :
45859 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45860 if test "x$ac_cv_func__hypotl" = x""yes; then :
45861 cat >>confdefs.h <<_ACEOF
45862 #define HAVE__HYPOTL 1
45863 _ACEOF
45866 done
45875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45876 $as_echo_n "checking for ldexpl declaration... " >&6; }
45877 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45878 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45879 $as_echo_n "(cached) " >&6
45880 else
45883 ac_ext=cpp
45884 ac_cpp='$CXXCPP $CPPFLAGS'
45885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45890 /* end confdefs.h. */
45891 #include <math.h>
45893 main ()
45895 ldexpl(0, 0);
45897 return 0;
45899 _ACEOF
45900 if ac_fn_cxx_try_compile "$LINENO"; then :
45901 glibcxx_cv_func_ldexpl_use=yes
45902 else
45903 glibcxx_cv_func_ldexpl_use=no
45905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45906 ac_ext=c
45907 ac_cpp='$CPP $CPPFLAGS'
45908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45917 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45919 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45920 for ac_func in ldexpl
45921 do :
45922 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45923 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45924 cat >>confdefs.h <<_ACEOF
45925 #define HAVE_LDEXPL 1
45926 _ACEOF
45929 done
45931 else
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45934 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45935 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45936 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45937 $as_echo_n "(cached) " >&6
45938 else
45941 ac_ext=cpp
45942 ac_cpp='$CXXCPP $CPPFLAGS'
45943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 #include <math.h>
45951 main ()
45953 _ldexpl(0, 0);
45955 return 0;
45957 _ACEOF
45958 if ac_fn_cxx_try_compile "$LINENO"; then :
45959 glibcxx_cv_func__ldexpl_use=yes
45960 else
45961 glibcxx_cv_func__ldexpl_use=no
45963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45964 ac_ext=c
45965 ac_cpp='$CPP $CPPFLAGS'
45966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45975 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45977 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45978 for ac_func in _ldexpl
45979 do :
45980 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45981 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45982 cat >>confdefs.h <<_ACEOF
45983 #define HAVE__LDEXPL 1
45984 _ACEOF
45987 done
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45997 $as_echo_n "checking for logl declaration... " >&6; }
45998 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45999 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46000 $as_echo_n "(cached) " >&6
46001 else
46004 ac_ext=cpp
46005 ac_cpp='$CXXCPP $CPPFLAGS'
46006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46011 /* end confdefs.h. */
46012 #include <math.h>
46013 #ifdef HAVE_IEEEFP_H
46014 #include <ieeefp.h>
46015 #endif
46018 main ()
46020 logl(0);
46022 return 0;
46024 _ACEOF
46025 if ac_fn_cxx_try_compile "$LINENO"; then :
46026 glibcxx_cv_func_logl_use=yes
46027 else
46028 glibcxx_cv_func_logl_use=no
46030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46031 ac_ext=c
46032 ac_cpp='$CPP $CPPFLAGS'
46033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46042 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46044 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46045 for ac_func in logl
46046 do :
46047 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46048 if test "x$ac_cv_func_logl" = x""yes; then :
46049 cat >>confdefs.h <<_ACEOF
46050 #define HAVE_LOGL 1
46051 _ACEOF
46054 done
46056 else
46058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46059 $as_echo_n "checking for _logl declaration... " >&6; }
46060 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46061 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46062 $as_echo_n "(cached) " >&6
46063 else
46066 ac_ext=cpp
46067 ac_cpp='$CXXCPP $CPPFLAGS'
46068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46073 /* end confdefs.h. */
46074 #include <math.h>
46075 #ifdef HAVE_IEEEFP_H
46076 #include <ieeefp.h>
46077 #endif
46080 main ()
46082 _logl(0);
46084 return 0;
46086 _ACEOF
46087 if ac_fn_cxx_try_compile "$LINENO"; then :
46088 glibcxx_cv_func__logl_use=yes
46089 else
46090 glibcxx_cv_func__logl_use=no
46092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46093 ac_ext=c
46094 ac_cpp='$CPP $CPPFLAGS'
46095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46104 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46106 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46107 for ac_func in _logl
46108 do :
46109 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46110 if test "x$ac_cv_func__logl" = x""yes; then :
46111 cat >>confdefs.h <<_ACEOF
46112 #define HAVE__LOGL 1
46113 _ACEOF
46116 done
46125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46126 $as_echo_n "checking for log10l declaration... " >&6; }
46127 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46128 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46129 $as_echo_n "(cached) " >&6
46130 else
46133 ac_ext=cpp
46134 ac_cpp='$CXXCPP $CPPFLAGS'
46135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46140 /* end confdefs.h. */
46141 #include <math.h>
46142 #ifdef HAVE_IEEEFP_H
46143 #include <ieeefp.h>
46144 #endif
46147 main ()
46149 log10l(0);
46151 return 0;
46153 _ACEOF
46154 if ac_fn_cxx_try_compile "$LINENO"; then :
46155 glibcxx_cv_func_log10l_use=yes
46156 else
46157 glibcxx_cv_func_log10l_use=no
46159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46160 ac_ext=c
46161 ac_cpp='$CPP $CPPFLAGS'
46162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46171 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46173 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46174 for ac_func in log10l
46175 do :
46176 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46177 if test "x$ac_cv_func_log10l" = x""yes; then :
46178 cat >>confdefs.h <<_ACEOF
46179 #define HAVE_LOG10L 1
46180 _ACEOF
46183 done
46185 else
46187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46188 $as_echo_n "checking for _log10l declaration... " >&6; }
46189 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46190 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46191 $as_echo_n "(cached) " >&6
46192 else
46195 ac_ext=cpp
46196 ac_cpp='$CXXCPP $CPPFLAGS'
46197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46202 /* end confdefs.h. */
46203 #include <math.h>
46204 #ifdef HAVE_IEEEFP_H
46205 #include <ieeefp.h>
46206 #endif
46209 main ()
46211 _log10l(0);
46213 return 0;
46215 _ACEOF
46216 if ac_fn_cxx_try_compile "$LINENO"; then :
46217 glibcxx_cv_func__log10l_use=yes
46218 else
46219 glibcxx_cv_func__log10l_use=no
46221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46222 ac_ext=c
46223 ac_cpp='$CPP $CPPFLAGS'
46224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46233 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46235 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46236 for ac_func in _log10l
46237 do :
46238 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46239 if test "x$ac_cv_func__log10l" = x""yes; then :
46240 cat >>confdefs.h <<_ACEOF
46241 #define HAVE__LOG10L 1
46242 _ACEOF
46245 done
46254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46255 $as_echo_n "checking for modfl declaration... " >&6; }
46256 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46257 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46258 $as_echo_n "(cached) " >&6
46259 else
46262 ac_ext=cpp
46263 ac_cpp='$CXXCPP $CPPFLAGS'
46264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46269 /* end confdefs.h. */
46270 #include <math.h>
46272 main ()
46274 modfl(0, 0);
46276 return 0;
46278 _ACEOF
46279 if ac_fn_cxx_try_compile "$LINENO"; then :
46280 glibcxx_cv_func_modfl_use=yes
46281 else
46282 glibcxx_cv_func_modfl_use=no
46284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46285 ac_ext=c
46286 ac_cpp='$CPP $CPPFLAGS'
46287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46296 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46298 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46299 for ac_func in modfl
46300 do :
46301 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46302 if test "x$ac_cv_func_modfl" = x""yes; then :
46303 cat >>confdefs.h <<_ACEOF
46304 #define HAVE_MODFL 1
46305 _ACEOF
46308 done
46310 else
46312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46313 $as_echo_n "checking for _modfl declaration... " >&6; }
46314 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46315 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46316 $as_echo_n "(cached) " >&6
46317 else
46320 ac_ext=cpp
46321 ac_cpp='$CXXCPP $CPPFLAGS'
46322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46327 /* end confdefs.h. */
46328 #include <math.h>
46330 main ()
46332 _modfl(0, 0);
46334 return 0;
46336 _ACEOF
46337 if ac_fn_cxx_try_compile "$LINENO"; then :
46338 glibcxx_cv_func__modfl_use=yes
46339 else
46340 glibcxx_cv_func__modfl_use=no
46342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46343 ac_ext=c
46344 ac_cpp='$CPP $CPPFLAGS'
46345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46354 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46356 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46357 for ac_func in _modfl
46358 do :
46359 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46360 if test "x$ac_cv_func__modfl" = x""yes; then :
46361 cat >>confdefs.h <<_ACEOF
46362 #define HAVE__MODFL 1
46363 _ACEOF
46366 done
46375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46376 $as_echo_n "checking for powl declaration... " >&6; }
46377 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46378 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46379 $as_echo_n "(cached) " >&6
46380 else
46383 ac_ext=cpp
46384 ac_cpp='$CXXCPP $CPPFLAGS'
46385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46390 /* end confdefs.h. */
46391 #include <math.h>
46393 main ()
46395 powl(0, 0);
46397 return 0;
46399 _ACEOF
46400 if ac_fn_cxx_try_compile "$LINENO"; then :
46401 glibcxx_cv_func_powl_use=yes
46402 else
46403 glibcxx_cv_func_powl_use=no
46405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46406 ac_ext=c
46407 ac_cpp='$CPP $CPPFLAGS'
46408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46417 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46419 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46420 for ac_func in powl
46421 do :
46422 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46423 if test "x$ac_cv_func_powl" = x""yes; then :
46424 cat >>confdefs.h <<_ACEOF
46425 #define HAVE_POWL 1
46426 _ACEOF
46429 done
46431 else
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46434 $as_echo_n "checking for _powl declaration... " >&6; }
46435 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46436 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46438 else
46441 ac_ext=cpp
46442 ac_cpp='$CXXCPP $CPPFLAGS'
46443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46448 /* end confdefs.h. */
46449 #include <math.h>
46451 main ()
46453 _powl(0, 0);
46455 return 0;
46457 _ACEOF
46458 if ac_fn_cxx_try_compile "$LINENO"; then :
46459 glibcxx_cv_func__powl_use=yes
46460 else
46461 glibcxx_cv_func__powl_use=no
46463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46464 ac_ext=c
46465 ac_cpp='$CPP $CPPFLAGS'
46466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46475 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46477 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46478 for ac_func in _powl
46479 do :
46480 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46481 if test "x$ac_cv_func__powl" = x""yes; then :
46482 cat >>confdefs.h <<_ACEOF
46483 #define HAVE__POWL 1
46484 _ACEOF
46487 done
46496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46497 $as_echo_n "checking for sqrtl declaration... " >&6; }
46498 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46499 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46500 $as_echo_n "(cached) " >&6
46501 else
46504 ac_ext=cpp
46505 ac_cpp='$CXXCPP $CPPFLAGS'
46506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46511 /* end confdefs.h. */
46512 #include <math.h>
46513 #ifdef HAVE_IEEEFP_H
46514 #include <ieeefp.h>
46515 #endif
46518 main ()
46520 sqrtl(0);
46522 return 0;
46524 _ACEOF
46525 if ac_fn_cxx_try_compile "$LINENO"; then :
46526 glibcxx_cv_func_sqrtl_use=yes
46527 else
46528 glibcxx_cv_func_sqrtl_use=no
46530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46531 ac_ext=c
46532 ac_cpp='$CPP $CPPFLAGS'
46533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46542 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46544 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46545 for ac_func in sqrtl
46546 do :
46547 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46548 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46549 cat >>confdefs.h <<_ACEOF
46550 #define HAVE_SQRTL 1
46551 _ACEOF
46554 done
46556 else
46558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46559 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46560 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46561 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46562 $as_echo_n "(cached) " >&6
46563 else
46566 ac_ext=cpp
46567 ac_cpp='$CXXCPP $CPPFLAGS'
46568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46573 /* end confdefs.h. */
46574 #include <math.h>
46575 #ifdef HAVE_IEEEFP_H
46576 #include <ieeefp.h>
46577 #endif
46580 main ()
46582 _sqrtl(0);
46584 return 0;
46586 _ACEOF
46587 if ac_fn_cxx_try_compile "$LINENO"; then :
46588 glibcxx_cv_func__sqrtl_use=yes
46589 else
46590 glibcxx_cv_func__sqrtl_use=no
46592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46593 ac_ext=c
46594 ac_cpp='$CPP $CPPFLAGS'
46595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46604 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46606 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46607 for ac_func in _sqrtl
46608 do :
46609 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46610 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46611 cat >>confdefs.h <<_ACEOF
46612 #define HAVE__SQRTL 1
46613 _ACEOF
46616 done
46625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46626 $as_echo_n "checking for sincosl declaration... " >&6; }
46627 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46628 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46629 $as_echo_n "(cached) " >&6
46630 else
46633 ac_ext=cpp
46634 ac_cpp='$CXXCPP $CPPFLAGS'
46635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46640 /* end confdefs.h. */
46641 #include <math.h>
46643 main ()
46645 sincosl(0, 0, 0);
46647 return 0;
46649 _ACEOF
46650 if ac_fn_cxx_try_compile "$LINENO"; then :
46651 glibcxx_cv_func_sincosl_use=yes
46652 else
46653 glibcxx_cv_func_sincosl_use=no
46655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46656 ac_ext=c
46657 ac_cpp='$CPP $CPPFLAGS'
46658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46667 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46669 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46670 for ac_func in sincosl
46671 do :
46672 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46673 if test "x$ac_cv_func_sincosl" = x""yes; then :
46674 cat >>confdefs.h <<_ACEOF
46675 #define HAVE_SINCOSL 1
46676 _ACEOF
46679 done
46681 else
46683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46684 $as_echo_n "checking for _sincosl declaration... " >&6; }
46685 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46686 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46687 $as_echo_n "(cached) " >&6
46688 else
46691 ac_ext=cpp
46692 ac_cpp='$CXXCPP $CPPFLAGS'
46693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46698 /* end confdefs.h. */
46699 #include <math.h>
46701 main ()
46703 _sincosl(0, 0, 0);
46705 return 0;
46707 _ACEOF
46708 if ac_fn_cxx_try_compile "$LINENO"; then :
46709 glibcxx_cv_func__sincosl_use=yes
46710 else
46711 glibcxx_cv_func__sincosl_use=no
46713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46714 ac_ext=c
46715 ac_cpp='$CPP $CPPFLAGS'
46716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46725 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46727 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46728 for ac_func in _sincosl
46729 do :
46730 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46731 if test "x$ac_cv_func__sincosl" = x""yes; then :
46732 cat >>confdefs.h <<_ACEOF
46733 #define HAVE__SINCOSL 1
46734 _ACEOF
46737 done
46746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46747 $as_echo_n "checking for finitel declaration... " >&6; }
46748 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46749 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46750 $as_echo_n "(cached) " >&6
46751 else
46754 ac_ext=cpp
46755 ac_cpp='$CXXCPP $CPPFLAGS'
46756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46761 /* end confdefs.h. */
46762 #include <math.h>
46763 #ifdef HAVE_IEEEFP_H
46764 #include <ieeefp.h>
46765 #endif
46768 main ()
46770 finitel(0);
46772 return 0;
46774 _ACEOF
46775 if ac_fn_cxx_try_compile "$LINENO"; then :
46776 glibcxx_cv_func_finitel_use=yes
46777 else
46778 glibcxx_cv_func_finitel_use=no
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46781 ac_ext=c
46782 ac_cpp='$CPP $CPPFLAGS'
46783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46792 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46794 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46795 for ac_func in finitel
46796 do :
46797 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46798 if test "x$ac_cv_func_finitel" = x""yes; then :
46799 cat >>confdefs.h <<_ACEOF
46800 #define HAVE_FINITEL 1
46801 _ACEOF
46804 done
46806 else
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46809 $as_echo_n "checking for _finitel declaration... " >&6; }
46810 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46811 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46812 $as_echo_n "(cached) " >&6
46813 else
46816 ac_ext=cpp
46817 ac_cpp='$CXXCPP $CPPFLAGS'
46818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46823 /* end confdefs.h. */
46824 #include <math.h>
46825 #ifdef HAVE_IEEEFP_H
46826 #include <ieeefp.h>
46827 #endif
46830 main ()
46832 _finitel(0);
46834 return 0;
46836 _ACEOF
46837 if ac_fn_cxx_try_compile "$LINENO"; then :
46838 glibcxx_cv_func__finitel_use=yes
46839 else
46840 glibcxx_cv_func__finitel_use=no
46842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46843 ac_ext=c
46844 ac_cpp='$CPP $CPPFLAGS'
46845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46854 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46856 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46857 for ac_func in _finitel
46858 do :
46859 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46860 if test "x$ac_cv_func__finitel" = x""yes; then :
46861 cat >>confdefs.h <<_ACEOF
46862 #define HAVE__FINITEL 1
46863 _ACEOF
46866 done
46874 LIBS="$ac_save_LIBS"
46875 CXXFLAGS="$ac_save_CXXFLAGS"
46878 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46879 ac_save_CXXFLAGS="$CXXFLAGS"
46880 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46884 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46885 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46886 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46887 $as_echo_n "(cached) " >&6
46888 else
46891 ac_ext=cpp
46892 ac_cpp='$CXXCPP $CPPFLAGS'
46893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46898 /* end confdefs.h. */
46899 #include <stdlib.h>
46901 main ()
46903 at_quick_exit(0);
46905 return 0;
46907 _ACEOF
46908 if ac_fn_cxx_try_compile "$LINENO"; then :
46909 glibcxx_cv_func_at_quick_exit_use=yes
46910 else
46911 glibcxx_cv_func_at_quick_exit_use=no
46913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46914 ac_ext=c
46915 ac_cpp='$CPP $CPPFLAGS'
46916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46925 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46926 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46927 for ac_func in at_quick_exit
46928 do :
46929 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46930 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46931 cat >>confdefs.h <<_ACEOF
46932 #define HAVE_AT_QUICK_EXIT 1
46933 _ACEOF
46936 done
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46942 $as_echo_n "checking for quick_exit declaration... " >&6; }
46943 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46944 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46945 $as_echo_n "(cached) " >&6
46946 else
46949 ac_ext=cpp
46950 ac_cpp='$CXXCPP $CPPFLAGS'
46951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46956 /* end confdefs.h. */
46957 #include <stdlib.h>
46959 main ()
46961 quick_exit(0);
46963 return 0;
46965 _ACEOF
46966 if ac_fn_cxx_try_compile "$LINENO"; then :
46967 glibcxx_cv_func_quick_exit_use=yes
46968 else
46969 glibcxx_cv_func_quick_exit_use=no
46971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46972 ac_ext=c
46973 ac_cpp='$CPP $CPPFLAGS'
46974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46983 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46984 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46985 for ac_func in quick_exit
46986 do :
46987 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46988 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46989 cat >>confdefs.h <<_ACEOF
46990 #define HAVE_QUICK_EXIT 1
46991 _ACEOF
46994 done
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47000 $as_echo_n "checking for strtold declaration... " >&6; }
47001 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47002 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47003 $as_echo_n "(cached) " >&6
47004 else
47007 ac_ext=cpp
47008 ac_cpp='$CXXCPP $CPPFLAGS'
47009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47014 /* end confdefs.h. */
47015 #include <stdlib.h>
47017 main ()
47019 strtold(0, 0);
47021 return 0;
47023 _ACEOF
47024 if ac_fn_cxx_try_compile "$LINENO"; then :
47025 glibcxx_cv_func_strtold_use=yes
47026 else
47027 glibcxx_cv_func_strtold_use=no
47029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47030 ac_ext=c
47031 ac_cpp='$CPP $CPPFLAGS'
47032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47041 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47042 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47043 for ac_func in strtold
47044 do :
47045 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47046 if test "x$ac_cv_func_strtold" = x""yes; then :
47047 cat >>confdefs.h <<_ACEOF
47048 #define HAVE_STRTOLD 1
47049 _ACEOF
47052 done
47059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47060 $as_echo_n "checking for strtof declaration... " >&6; }
47061 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47062 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47063 $as_echo_n "(cached) " >&6
47064 else
47067 ac_ext=cpp
47068 ac_cpp='$CXXCPP $CPPFLAGS'
47069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47074 /* end confdefs.h. */
47075 #include <stdlib.h>
47077 main ()
47079 strtof(0, 0);
47081 return 0;
47083 _ACEOF
47084 if ac_fn_cxx_try_compile "$LINENO"; then :
47085 glibcxx_cv_func_strtof_use=yes
47086 else
47087 glibcxx_cv_func_strtof_use=no
47089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47090 ac_ext=c
47091 ac_cpp='$CPP $CPPFLAGS'
47092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47101 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47102 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47103 for ac_func in strtof
47104 do :
47105 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47106 if test "x$ac_cv_func_strtof" = x""yes; then :
47107 cat >>confdefs.h <<_ACEOF
47108 #define HAVE_STRTOF 1
47109 _ACEOF
47112 done
47119 CXXFLAGS="$ac_save_CXXFLAGS"
47121 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47123 # We don't yet support AIX's TLS ABI.
47124 #GCC_CHECK_TLS
47130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47131 $as_echo_n "checking for iconv... " >&6; }
47132 if test "${am_cv_func_iconv+set}" = set; then :
47133 $as_echo_n "(cached) " >&6
47134 else
47136 am_cv_func_iconv="no, consider installing GNU libiconv"
47137 am_cv_lib_iconv=no
47138 am_save_CPPFLAGS="$CPPFLAGS"
47139 CPPFLAGS="$CPPFLAGS $INCICONV"
47140 if test x$gcc_no_link = xyes; then
47141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47144 /* end confdefs.h. */
47145 #include <stdlib.h>
47146 #include <iconv.h>
47148 main ()
47150 iconv_t cd = iconv_open("","");
47151 iconv(cd,NULL,NULL,NULL,NULL);
47152 iconv_close(cd);
47154 return 0;
47156 _ACEOF
47157 if ac_fn_c_try_link "$LINENO"; then :
47158 am_cv_func_iconv=yes
47160 rm -f core conftest.err conftest.$ac_objext \
47161 conftest$ac_exeext conftest.$ac_ext
47162 CPPFLAGS="$am_save_CPPFLAGS"
47164 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47165 for _libs in .libs _libs; do
47166 am_save_CPPFLAGS="$CPPFLAGS"
47167 am_save_LIBS="$LIBS"
47168 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47169 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47170 if test x$gcc_no_link = xyes; then
47171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47174 /* end confdefs.h. */
47175 #include <stdlib.h>
47176 #include <iconv.h>
47178 main ()
47180 iconv_t cd = iconv_open("","");
47181 iconv(cd,NULL,NULL,NULL,NULL);
47182 iconv_close(cd);
47184 return 0;
47186 _ACEOF
47187 if ac_fn_c_try_link "$LINENO"; then :
47188 INCICONV="-I../libiconv/include"
47189 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47190 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47191 am_cv_lib_iconv=yes
47192 am_cv_func_iconv=yes
47194 rm -f core conftest.err conftest.$ac_objext \
47195 conftest$ac_exeext conftest.$ac_ext
47196 CPPFLAGS="$am_save_CPPFLAGS"
47197 LIBS="$am_save_LIBS"
47198 if test "$am_cv_func_iconv" = "yes"; then
47199 break
47201 done
47204 if test "$am_cv_func_iconv" != yes; then
47205 am_save_CPPFLAGS="$CPPFLAGS"
47206 am_save_LIBS="$LIBS"
47207 CPPFLAGS="$LIBS $INCICONV"
47208 LIBS="$LIBS $LIBICONV"
47209 if test x$gcc_no_link = xyes; then
47210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47213 /* end confdefs.h. */
47214 #include <stdlib.h>
47215 #include <iconv.h>
47217 main ()
47219 iconv_t cd = iconv_open("","");
47220 iconv(cd,NULL,NULL,NULL,NULL);
47221 iconv_close(cd);
47223 return 0;
47225 _ACEOF
47226 if ac_fn_c_try_link "$LINENO"; then :
47227 am_cv_lib_iconv=yes
47228 am_cv_func_iconv=yes
47230 rm -f core conftest.err conftest.$ac_objext \
47231 conftest$ac_exeext conftest.$ac_ext
47232 CPPFLAGS="$am_save_CPPFLAGS"
47233 LIBS="$am_save_LIBS"
47237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47238 $as_echo "$am_cv_func_iconv" >&6; }
47239 if test "$am_cv_func_iconv" = yes; then
47241 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47244 if test "$am_cv_lib_iconv" = yes; then
47246 for element in $INCICONV; do
47247 haveit=
47248 for x in $CPPFLAGS; do
47250 acl_save_prefix="$prefix"
47251 prefix="$acl_final_prefix"
47252 acl_save_exec_prefix="$exec_prefix"
47253 exec_prefix="$acl_final_exec_prefix"
47254 eval x=\"$x\"
47255 exec_prefix="$acl_save_exec_prefix"
47256 prefix="$acl_save_prefix"
47258 if test "X$x" = "X$element"; then
47259 haveit=yes
47260 break
47262 done
47263 if test -z "$haveit"; then
47264 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47266 done
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47269 $as_echo_n "checking how to link with libiconv... " >&6; }
47270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47271 $as_echo "$LIBICONV" >&6; }
47272 else
47273 LIBICONV=
47274 LTLIBICONV=
47279 if test "$am_cv_func_iconv" = yes; then
47280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47281 $as_echo_n "checking for iconv declaration... " >&6; }
47282 if test "${am_cv_proto_iconv+set}" = set; then :
47283 $as_echo_n "(cached) " >&6
47284 else
47286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47287 /* end confdefs.h. */
47289 #include <stdlib.h>
47290 #include <iconv.h>
47291 extern
47292 #ifdef __cplusplus
47294 #endif
47295 #if defined(__STDC__) || defined(__cplusplus)
47296 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47297 #else
47298 size_t iconv();
47299 #endif
47302 main ()
47306 return 0;
47308 _ACEOF
47309 if ac_fn_c_try_compile "$LINENO"; then :
47310 am_cv_proto_iconv_arg1=""
47311 else
47312 am_cv_proto_iconv_arg1="const"
47314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47315 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);"
47318 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47320 }$am_cv_proto_iconv" >&5
47321 $as_echo "${ac_t:-
47322 }$am_cv_proto_iconv" >&6; }
47324 cat >>confdefs.h <<_ACEOF
47325 #define ICONV_CONST $am_cv_proto_iconv_arg1
47326 _ACEOF
47332 *-darwin*)
47333 # Darwin versions vary, but the linker should work in a cross environment,
47334 # so we just check for all the features here.
47335 # Check for available headers.
47337 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47340 ac_save_CXXFLAGS="$CXXFLAGS"
47341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47344 $as_echo_n "checking for sin in -lm... " >&6; }
47345 if test "${ac_cv_lib_m_sin+set}" = set; then :
47346 $as_echo_n "(cached) " >&6
47347 else
47348 ac_check_lib_save_LIBS=$LIBS
47349 LIBS="-lm $LIBS"
47350 if test x$gcc_no_link = xyes; then
47351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47354 /* end confdefs.h. */
47356 /* Override any GCC internal prototype to avoid an error.
47357 Use char because int might match the return type of a GCC
47358 builtin and then its argument prototype would still apply. */
47359 #ifdef __cplusplus
47360 extern "C"
47361 #endif
47362 char sin ();
47364 main ()
47366 return sin ();
47368 return 0;
47370 _ACEOF
47371 if ac_fn_c_try_link "$LINENO"; then :
47372 ac_cv_lib_m_sin=yes
47373 else
47374 ac_cv_lib_m_sin=no
47376 rm -f core conftest.err conftest.$ac_objext \
47377 conftest$ac_exeext conftest.$ac_ext
47378 LIBS=$ac_check_lib_save_LIBS
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47381 $as_echo "$ac_cv_lib_m_sin" >&6; }
47382 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47383 libm="-lm"
47386 ac_save_LIBS="$LIBS"
47387 LIBS="$LIBS $libm"
47391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47392 $as_echo_n "checking for isinf declaration... " >&6; }
47393 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47394 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47395 $as_echo_n "(cached) " >&6
47396 else
47399 ac_ext=cpp
47400 ac_cpp='$CXXCPP $CPPFLAGS'
47401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47406 /* end confdefs.h. */
47407 #include <math.h>
47408 #ifdef HAVE_IEEEFP_H
47409 #include <ieeefp.h>
47410 #endif
47413 main ()
47415 isinf(0);
47417 return 0;
47419 _ACEOF
47420 if ac_fn_cxx_try_compile "$LINENO"; then :
47421 glibcxx_cv_func_isinf_use=yes
47422 else
47423 glibcxx_cv_func_isinf_use=no
47425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47426 ac_ext=c
47427 ac_cpp='$CPP $CPPFLAGS'
47428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47437 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47439 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47440 for ac_func in isinf
47441 do :
47442 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47443 if test "x$ac_cv_func_isinf" = x""yes; then :
47444 cat >>confdefs.h <<_ACEOF
47445 #define HAVE_ISINF 1
47446 _ACEOF
47449 done
47451 else
47453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47454 $as_echo_n "checking for _isinf declaration... " >&6; }
47455 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47456 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47457 $as_echo_n "(cached) " >&6
47458 else
47461 ac_ext=cpp
47462 ac_cpp='$CXXCPP $CPPFLAGS'
47463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47468 /* end confdefs.h. */
47469 #include <math.h>
47470 #ifdef HAVE_IEEEFP_H
47471 #include <ieeefp.h>
47472 #endif
47475 main ()
47477 _isinf(0);
47479 return 0;
47481 _ACEOF
47482 if ac_fn_cxx_try_compile "$LINENO"; then :
47483 glibcxx_cv_func__isinf_use=yes
47484 else
47485 glibcxx_cv_func__isinf_use=no
47487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47488 ac_ext=c
47489 ac_cpp='$CPP $CPPFLAGS'
47490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47499 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47501 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47502 for ac_func in _isinf
47503 do :
47504 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47505 if test "x$ac_cv_func__isinf" = x""yes; then :
47506 cat >>confdefs.h <<_ACEOF
47507 #define HAVE__ISINF 1
47508 _ACEOF
47511 done
47520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47521 $as_echo_n "checking for isnan declaration... " >&6; }
47522 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47523 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47524 $as_echo_n "(cached) " >&6
47525 else
47528 ac_ext=cpp
47529 ac_cpp='$CXXCPP $CPPFLAGS'
47530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47535 /* end confdefs.h. */
47536 #include <math.h>
47537 #ifdef HAVE_IEEEFP_H
47538 #include <ieeefp.h>
47539 #endif
47542 main ()
47544 isnan(0);
47546 return 0;
47548 _ACEOF
47549 if ac_fn_cxx_try_compile "$LINENO"; then :
47550 glibcxx_cv_func_isnan_use=yes
47551 else
47552 glibcxx_cv_func_isnan_use=no
47554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47555 ac_ext=c
47556 ac_cpp='$CPP $CPPFLAGS'
47557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47566 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47568 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47569 for ac_func in isnan
47570 do :
47571 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47572 if test "x$ac_cv_func_isnan" = x""yes; then :
47573 cat >>confdefs.h <<_ACEOF
47574 #define HAVE_ISNAN 1
47575 _ACEOF
47578 done
47580 else
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47583 $as_echo_n "checking for _isnan declaration... " >&6; }
47584 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47585 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47586 $as_echo_n "(cached) " >&6
47587 else
47590 ac_ext=cpp
47591 ac_cpp='$CXXCPP $CPPFLAGS'
47592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47597 /* end confdefs.h. */
47598 #include <math.h>
47599 #ifdef HAVE_IEEEFP_H
47600 #include <ieeefp.h>
47601 #endif
47604 main ()
47606 _isnan(0);
47608 return 0;
47610 _ACEOF
47611 if ac_fn_cxx_try_compile "$LINENO"; then :
47612 glibcxx_cv_func__isnan_use=yes
47613 else
47614 glibcxx_cv_func__isnan_use=no
47616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47617 ac_ext=c
47618 ac_cpp='$CPP $CPPFLAGS'
47619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47628 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47630 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47631 for ac_func in _isnan
47632 do :
47633 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47634 if test "x$ac_cv_func__isnan" = x""yes; then :
47635 cat >>confdefs.h <<_ACEOF
47636 #define HAVE__ISNAN 1
47637 _ACEOF
47640 done
47649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47650 $as_echo_n "checking for finite declaration... " >&6; }
47651 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47652 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47653 $as_echo_n "(cached) " >&6
47654 else
47657 ac_ext=cpp
47658 ac_cpp='$CXXCPP $CPPFLAGS'
47659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47664 /* end confdefs.h. */
47665 #include <math.h>
47666 #ifdef HAVE_IEEEFP_H
47667 #include <ieeefp.h>
47668 #endif
47671 main ()
47673 finite(0);
47675 return 0;
47677 _ACEOF
47678 if ac_fn_cxx_try_compile "$LINENO"; then :
47679 glibcxx_cv_func_finite_use=yes
47680 else
47681 glibcxx_cv_func_finite_use=no
47683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47684 ac_ext=c
47685 ac_cpp='$CPP $CPPFLAGS'
47686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47695 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47697 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47698 for ac_func in finite
47699 do :
47700 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47701 if test "x$ac_cv_func_finite" = x""yes; then :
47702 cat >>confdefs.h <<_ACEOF
47703 #define HAVE_FINITE 1
47704 _ACEOF
47707 done
47709 else
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47712 $as_echo_n "checking for _finite declaration... " >&6; }
47713 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47714 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47715 $as_echo_n "(cached) " >&6
47716 else
47719 ac_ext=cpp
47720 ac_cpp='$CXXCPP $CPPFLAGS'
47721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47726 /* end confdefs.h. */
47727 #include <math.h>
47728 #ifdef HAVE_IEEEFP_H
47729 #include <ieeefp.h>
47730 #endif
47733 main ()
47735 _finite(0);
47737 return 0;
47739 _ACEOF
47740 if ac_fn_cxx_try_compile "$LINENO"; then :
47741 glibcxx_cv_func__finite_use=yes
47742 else
47743 glibcxx_cv_func__finite_use=no
47745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47746 ac_ext=c
47747 ac_cpp='$CPP $CPPFLAGS'
47748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47757 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47759 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47760 for ac_func in _finite
47761 do :
47762 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47763 if test "x$ac_cv_func__finite" = x""yes; then :
47764 cat >>confdefs.h <<_ACEOF
47765 #define HAVE__FINITE 1
47766 _ACEOF
47769 done
47778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47779 $as_echo_n "checking for sincos declaration... " >&6; }
47780 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47781 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47782 $as_echo_n "(cached) " >&6
47783 else
47786 ac_ext=cpp
47787 ac_cpp='$CXXCPP $CPPFLAGS'
47788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47793 /* end confdefs.h. */
47794 #include <math.h>
47796 main ()
47798 sincos(0, 0, 0);
47800 return 0;
47802 _ACEOF
47803 if ac_fn_cxx_try_compile "$LINENO"; then :
47804 glibcxx_cv_func_sincos_use=yes
47805 else
47806 glibcxx_cv_func_sincos_use=no
47808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47809 ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47820 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47822 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47823 for ac_func in sincos
47824 do :
47825 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47826 if test "x$ac_cv_func_sincos" = x""yes; then :
47827 cat >>confdefs.h <<_ACEOF
47828 #define HAVE_SINCOS 1
47829 _ACEOF
47832 done
47834 else
47836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47837 $as_echo_n "checking for _sincos declaration... " >&6; }
47838 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47839 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47840 $as_echo_n "(cached) " >&6
47841 else
47844 ac_ext=cpp
47845 ac_cpp='$CXXCPP $CPPFLAGS'
47846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47851 /* end confdefs.h. */
47852 #include <math.h>
47854 main ()
47856 _sincos(0, 0, 0);
47858 return 0;
47860 _ACEOF
47861 if ac_fn_cxx_try_compile "$LINENO"; then :
47862 glibcxx_cv_func__sincos_use=yes
47863 else
47864 glibcxx_cv_func__sincos_use=no
47866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47867 ac_ext=c
47868 ac_cpp='$CPP $CPPFLAGS'
47869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47878 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47880 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47881 for ac_func in _sincos
47882 do :
47883 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47884 if test "x$ac_cv_func__sincos" = x""yes; then :
47885 cat >>confdefs.h <<_ACEOF
47886 #define HAVE__SINCOS 1
47887 _ACEOF
47890 done
47899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47900 $as_echo_n "checking for fpclass declaration... " >&6; }
47901 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47902 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47903 $as_echo_n "(cached) " >&6
47904 else
47907 ac_ext=cpp
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47914 /* end confdefs.h. */
47915 #include <math.h>
47916 #ifdef HAVE_IEEEFP_H
47917 #include <ieeefp.h>
47918 #endif
47921 main ()
47923 fpclass(0);
47925 return 0;
47927 _ACEOF
47928 if ac_fn_cxx_try_compile "$LINENO"; then :
47929 glibcxx_cv_func_fpclass_use=yes
47930 else
47931 glibcxx_cv_func_fpclass_use=no
47933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47934 ac_ext=c
47935 ac_cpp='$CPP $CPPFLAGS'
47936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47945 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47947 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47948 for ac_func in fpclass
47949 do :
47950 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47951 if test "x$ac_cv_func_fpclass" = x""yes; then :
47952 cat >>confdefs.h <<_ACEOF
47953 #define HAVE_FPCLASS 1
47954 _ACEOF
47957 done
47959 else
47961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47962 $as_echo_n "checking for _fpclass declaration... " >&6; }
47963 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47964 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47965 $as_echo_n "(cached) " >&6
47966 else
47969 ac_ext=cpp
47970 ac_cpp='$CXXCPP $CPPFLAGS'
47971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47976 /* end confdefs.h. */
47977 #include <math.h>
47978 #ifdef HAVE_IEEEFP_H
47979 #include <ieeefp.h>
47980 #endif
47983 main ()
47985 _fpclass(0);
47987 return 0;
47989 _ACEOF
47990 if ac_fn_cxx_try_compile "$LINENO"; then :
47991 glibcxx_cv_func__fpclass_use=yes
47992 else
47993 glibcxx_cv_func__fpclass_use=no
47995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47996 ac_ext=c
47997 ac_cpp='$CPP $CPPFLAGS'
47998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48007 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48009 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48010 for ac_func in _fpclass
48011 do :
48012 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48013 if test "x$ac_cv_func__fpclass" = x""yes; then :
48014 cat >>confdefs.h <<_ACEOF
48015 #define HAVE__FPCLASS 1
48016 _ACEOF
48019 done
48028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48029 $as_echo_n "checking for qfpclass declaration... " >&6; }
48030 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48031 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48032 $as_echo_n "(cached) " >&6
48033 else
48036 ac_ext=cpp
48037 ac_cpp='$CXXCPP $CPPFLAGS'
48038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48043 /* end confdefs.h. */
48044 #include <math.h>
48045 #ifdef HAVE_IEEEFP_H
48046 #include <ieeefp.h>
48047 #endif
48050 main ()
48052 qfpclass(0);
48054 return 0;
48056 _ACEOF
48057 if ac_fn_cxx_try_compile "$LINENO"; then :
48058 glibcxx_cv_func_qfpclass_use=yes
48059 else
48060 glibcxx_cv_func_qfpclass_use=no
48062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48063 ac_ext=c
48064 ac_cpp='$CPP $CPPFLAGS'
48065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48074 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48076 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48077 for ac_func in qfpclass
48078 do :
48079 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48080 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48081 cat >>confdefs.h <<_ACEOF
48082 #define HAVE_QFPCLASS 1
48083 _ACEOF
48086 done
48088 else
48090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48091 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48092 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48093 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48094 $as_echo_n "(cached) " >&6
48095 else
48098 ac_ext=cpp
48099 ac_cpp='$CXXCPP $CPPFLAGS'
48100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48105 /* end confdefs.h. */
48106 #include <math.h>
48107 #ifdef HAVE_IEEEFP_H
48108 #include <ieeefp.h>
48109 #endif
48112 main ()
48114 _qfpclass(0);
48116 return 0;
48118 _ACEOF
48119 if ac_fn_cxx_try_compile "$LINENO"; then :
48120 glibcxx_cv_func__qfpclass_use=yes
48121 else
48122 glibcxx_cv_func__qfpclass_use=no
48124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48125 ac_ext=c
48126 ac_cpp='$CPP $CPPFLAGS'
48127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48136 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48138 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48139 for ac_func in _qfpclass
48140 do :
48141 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48142 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48143 cat >>confdefs.h <<_ACEOF
48144 #define HAVE__QFPCLASS 1
48145 _ACEOF
48148 done
48157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48158 $as_echo_n "checking for hypot declaration... " >&6; }
48159 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48160 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48161 $as_echo_n "(cached) " >&6
48162 else
48165 ac_ext=cpp
48166 ac_cpp='$CXXCPP $CPPFLAGS'
48167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48172 /* end confdefs.h. */
48173 #include <math.h>
48175 main ()
48177 hypot(0, 0);
48179 return 0;
48181 _ACEOF
48182 if ac_fn_cxx_try_compile "$LINENO"; then :
48183 glibcxx_cv_func_hypot_use=yes
48184 else
48185 glibcxx_cv_func_hypot_use=no
48187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48188 ac_ext=c
48189 ac_cpp='$CPP $CPPFLAGS'
48190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48199 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48201 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48202 for ac_func in hypot
48203 do :
48204 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48205 if test "x$ac_cv_func_hypot" = x""yes; then :
48206 cat >>confdefs.h <<_ACEOF
48207 #define HAVE_HYPOT 1
48208 _ACEOF
48211 done
48213 else
48215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48216 $as_echo_n "checking for _hypot declaration... " >&6; }
48217 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48218 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48219 $as_echo_n "(cached) " >&6
48220 else
48223 ac_ext=cpp
48224 ac_cpp='$CXXCPP $CPPFLAGS'
48225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48230 /* end confdefs.h. */
48231 #include <math.h>
48233 main ()
48235 _hypot(0, 0);
48237 return 0;
48239 _ACEOF
48240 if ac_fn_cxx_try_compile "$LINENO"; then :
48241 glibcxx_cv_func__hypot_use=yes
48242 else
48243 glibcxx_cv_func__hypot_use=no
48245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48246 ac_ext=c
48247 ac_cpp='$CPP $CPPFLAGS'
48248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48257 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48259 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48260 for ac_func in _hypot
48261 do :
48262 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48263 if test "x$ac_cv_func__hypot" = x""yes; then :
48264 cat >>confdefs.h <<_ACEOF
48265 #define HAVE__HYPOT 1
48266 _ACEOF
48269 done
48278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48279 $as_echo_n "checking for float trig functions... " >&6; }
48280 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48281 $as_echo_n "(cached) " >&6
48282 else
48285 ac_ext=cpp
48286 ac_cpp='$CXXCPP $CPPFLAGS'
48287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48292 /* end confdefs.h. */
48293 #include <math.h>
48295 main ()
48297 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48299 return 0;
48301 _ACEOF
48302 if ac_fn_cxx_try_compile "$LINENO"; then :
48303 glibcxx_cv_func_float_trig_use=yes
48304 else
48305 glibcxx_cv_func_float_trig_use=no
48307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48308 ac_ext=c
48309 ac_cpp='$CPP $CPPFLAGS'
48310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48317 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48318 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48319 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48320 do :
48321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48323 eval as_val=\$$as_ac_var
48324 if test "x$as_val" = x""yes; then :
48325 cat >>confdefs.h <<_ACEOF
48326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48327 _ACEOF
48330 done
48332 else
48333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48334 $as_echo_n "checking for _float trig functions... " >&6; }
48335 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48350 main ()
48352 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48354 return 0;
48356 _ACEOF
48357 if ac_fn_cxx_try_compile "$LINENO"; then :
48358 glibcxx_cv_func__float_trig_use=yes
48359 else
48360 glibcxx_cv_func__float_trig_use=no
48362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48363 ac_ext=c
48364 ac_cpp='$CPP $CPPFLAGS'
48365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48373 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48374 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48375 do :
48376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48378 eval as_val=\$$as_ac_var
48379 if test "x$as_val" = x""yes; then :
48380 cat >>confdefs.h <<_ACEOF
48381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48382 _ACEOF
48385 done
48394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48395 $as_echo_n "checking for float round functions... " >&6; }
48396 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48397 $as_echo_n "(cached) " >&6
48398 else
48401 ac_ext=cpp
48402 ac_cpp='$CXXCPP $CPPFLAGS'
48403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48408 /* end confdefs.h. */
48409 #include <math.h>
48411 main ()
48413 ceilf (0); floorf (0);
48415 return 0;
48417 _ACEOF
48418 if ac_fn_cxx_try_compile "$LINENO"; then :
48419 glibcxx_cv_func_float_round_use=yes
48420 else
48421 glibcxx_cv_func_float_round_use=no
48423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48424 ac_ext=c
48425 ac_cpp='$CPP $CPPFLAGS'
48426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48433 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48434 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48435 for ac_func in ceilf floorf
48436 do :
48437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48439 eval as_val=\$$as_ac_var
48440 if test "x$as_val" = x""yes; then :
48441 cat >>confdefs.h <<_ACEOF
48442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48443 _ACEOF
48446 done
48448 else
48449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48450 $as_echo_n "checking for _float round functions... " >&6; }
48451 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48452 $as_echo_n "(cached) " >&6
48453 else
48456 ac_ext=cpp
48457 ac_cpp='$CXXCPP $CPPFLAGS'
48458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48463 /* end confdefs.h. */
48464 #include <math.h>
48466 main ()
48468 _ceilf (0); _floorf (0);
48470 return 0;
48472 _ACEOF
48473 if ac_fn_cxx_try_compile "$LINENO"; then :
48474 glibcxx_cv_func__float_round_use=yes
48475 else
48476 glibcxx_cv_func__float_round_use=no
48478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48479 ac_ext=c
48480 ac_cpp='$CPP $CPPFLAGS'
48481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48488 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48489 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48490 for ac_func in _ceilf _floorf
48491 do :
48492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48494 eval as_val=\$$as_ac_var
48495 if test "x$as_val" = x""yes; then :
48496 cat >>confdefs.h <<_ACEOF
48497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48498 _ACEOF
48501 done
48511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48512 $as_echo_n "checking for expf declaration... " >&6; }
48513 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48514 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48515 $as_echo_n "(cached) " >&6
48516 else
48519 ac_ext=cpp
48520 ac_cpp='$CXXCPP $CPPFLAGS'
48521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h. */
48527 #include <math.h>
48528 #ifdef HAVE_IEEEFP_H
48529 #include <ieeefp.h>
48530 #endif
48533 main ()
48535 expf(0);
48537 return 0;
48539 _ACEOF
48540 if ac_fn_cxx_try_compile "$LINENO"; then :
48541 glibcxx_cv_func_expf_use=yes
48542 else
48543 glibcxx_cv_func_expf_use=no
48545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48546 ac_ext=c
48547 ac_cpp='$CPP $CPPFLAGS'
48548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48557 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48559 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48560 for ac_func in expf
48561 do :
48562 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48563 if test "x$ac_cv_func_expf" = x""yes; then :
48564 cat >>confdefs.h <<_ACEOF
48565 #define HAVE_EXPF 1
48566 _ACEOF
48569 done
48571 else
48573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48574 $as_echo_n "checking for _expf declaration... " >&6; }
48575 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48576 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48577 $as_echo_n "(cached) " >&6
48578 else
48581 ac_ext=cpp
48582 ac_cpp='$CXXCPP $CPPFLAGS'
48583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48588 /* end confdefs.h. */
48589 #include <math.h>
48590 #ifdef HAVE_IEEEFP_H
48591 #include <ieeefp.h>
48592 #endif
48595 main ()
48597 _expf(0);
48599 return 0;
48601 _ACEOF
48602 if ac_fn_cxx_try_compile "$LINENO"; then :
48603 glibcxx_cv_func__expf_use=yes
48604 else
48605 glibcxx_cv_func__expf_use=no
48607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48608 ac_ext=c
48609 ac_cpp='$CPP $CPPFLAGS'
48610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48619 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48621 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48622 for ac_func in _expf
48623 do :
48624 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48625 if test "x$ac_cv_func__expf" = x""yes; then :
48626 cat >>confdefs.h <<_ACEOF
48627 #define HAVE__EXPF 1
48628 _ACEOF
48631 done
48640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48641 $as_echo_n "checking for isnanf declaration... " >&6; }
48642 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48643 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48644 $as_echo_n "(cached) " >&6
48645 else
48648 ac_ext=cpp
48649 ac_cpp='$CXXCPP $CPPFLAGS'
48650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48655 /* end confdefs.h. */
48656 #include <math.h>
48657 #ifdef HAVE_IEEEFP_H
48658 #include <ieeefp.h>
48659 #endif
48662 main ()
48664 isnanf(0);
48666 return 0;
48668 _ACEOF
48669 if ac_fn_cxx_try_compile "$LINENO"; then :
48670 glibcxx_cv_func_isnanf_use=yes
48671 else
48672 glibcxx_cv_func_isnanf_use=no
48674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48675 ac_ext=c
48676 ac_cpp='$CPP $CPPFLAGS'
48677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48686 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48688 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48689 for ac_func in isnanf
48690 do :
48691 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48692 if test "x$ac_cv_func_isnanf" = x""yes; then :
48693 cat >>confdefs.h <<_ACEOF
48694 #define HAVE_ISNANF 1
48695 _ACEOF
48698 done
48700 else
48702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48703 $as_echo_n "checking for _isnanf declaration... " >&6; }
48704 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48705 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48706 $as_echo_n "(cached) " >&6
48707 else
48710 ac_ext=cpp
48711 ac_cpp='$CXXCPP $CPPFLAGS'
48712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48717 /* end confdefs.h. */
48718 #include <math.h>
48719 #ifdef HAVE_IEEEFP_H
48720 #include <ieeefp.h>
48721 #endif
48724 main ()
48726 _isnanf(0);
48728 return 0;
48730 _ACEOF
48731 if ac_fn_cxx_try_compile "$LINENO"; then :
48732 glibcxx_cv_func__isnanf_use=yes
48733 else
48734 glibcxx_cv_func__isnanf_use=no
48736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48737 ac_ext=c
48738 ac_cpp='$CPP $CPPFLAGS'
48739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48748 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48750 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48751 for ac_func in _isnanf
48752 do :
48753 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48754 if test "x$ac_cv_func__isnanf" = x""yes; then :
48755 cat >>confdefs.h <<_ACEOF
48756 #define HAVE__ISNANF 1
48757 _ACEOF
48760 done
48769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48770 $as_echo_n "checking for isinff declaration... " >&6; }
48771 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48772 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48773 $as_echo_n "(cached) " >&6
48774 else
48777 ac_ext=cpp
48778 ac_cpp='$CXXCPP $CPPFLAGS'
48779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48784 /* end confdefs.h. */
48785 #include <math.h>
48786 #ifdef HAVE_IEEEFP_H
48787 #include <ieeefp.h>
48788 #endif
48791 main ()
48793 isinff(0);
48795 return 0;
48797 _ACEOF
48798 if ac_fn_cxx_try_compile "$LINENO"; then :
48799 glibcxx_cv_func_isinff_use=yes
48800 else
48801 glibcxx_cv_func_isinff_use=no
48803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48804 ac_ext=c
48805 ac_cpp='$CPP $CPPFLAGS'
48806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48815 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48817 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48818 for ac_func in isinff
48819 do :
48820 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48821 if test "x$ac_cv_func_isinff" = x""yes; then :
48822 cat >>confdefs.h <<_ACEOF
48823 #define HAVE_ISINFF 1
48824 _ACEOF
48827 done
48829 else
48831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48832 $as_echo_n "checking for _isinff declaration... " >&6; }
48833 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48834 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48835 $as_echo_n "(cached) " >&6
48836 else
48839 ac_ext=cpp
48840 ac_cpp='$CXXCPP $CPPFLAGS'
48841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48846 /* end confdefs.h. */
48847 #include <math.h>
48848 #ifdef HAVE_IEEEFP_H
48849 #include <ieeefp.h>
48850 #endif
48853 main ()
48855 _isinff(0);
48857 return 0;
48859 _ACEOF
48860 if ac_fn_cxx_try_compile "$LINENO"; then :
48861 glibcxx_cv_func__isinff_use=yes
48862 else
48863 glibcxx_cv_func__isinff_use=no
48865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48866 ac_ext=c
48867 ac_cpp='$CPP $CPPFLAGS'
48868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48877 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48879 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48880 for ac_func in _isinff
48881 do :
48882 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48883 if test "x$ac_cv_func__isinff" = x""yes; then :
48884 cat >>confdefs.h <<_ACEOF
48885 #define HAVE__ISINFF 1
48886 _ACEOF
48889 done
48898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48899 $as_echo_n "checking for atan2f declaration... " >&6; }
48900 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48901 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48902 $as_echo_n "(cached) " >&6
48903 else
48906 ac_ext=cpp
48907 ac_cpp='$CXXCPP $CPPFLAGS'
48908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48913 /* end confdefs.h. */
48914 #include <math.h>
48916 main ()
48918 atan2f(0, 0);
48920 return 0;
48922 _ACEOF
48923 if ac_fn_cxx_try_compile "$LINENO"; then :
48924 glibcxx_cv_func_atan2f_use=yes
48925 else
48926 glibcxx_cv_func_atan2f_use=no
48928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48929 ac_ext=c
48930 ac_cpp='$CPP $CPPFLAGS'
48931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48940 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48942 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48943 for ac_func in atan2f
48944 do :
48945 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48946 if test "x$ac_cv_func_atan2f" = x""yes; then :
48947 cat >>confdefs.h <<_ACEOF
48948 #define HAVE_ATAN2F 1
48949 _ACEOF
48952 done
48954 else
48956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48957 $as_echo_n "checking for _atan2f declaration... " >&6; }
48958 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48959 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48960 $as_echo_n "(cached) " >&6
48961 else
48964 ac_ext=cpp
48965 ac_cpp='$CXXCPP $CPPFLAGS'
48966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48971 /* end confdefs.h. */
48972 #include <math.h>
48974 main ()
48976 _atan2f(0, 0);
48978 return 0;
48980 _ACEOF
48981 if ac_fn_cxx_try_compile "$LINENO"; then :
48982 glibcxx_cv_func__atan2f_use=yes
48983 else
48984 glibcxx_cv_func__atan2f_use=no
48986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48987 ac_ext=c
48988 ac_cpp='$CPP $CPPFLAGS'
48989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48998 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49000 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49001 for ac_func in _atan2f
49002 do :
49003 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49004 if test "x$ac_cv_func__atan2f" = x""yes; then :
49005 cat >>confdefs.h <<_ACEOF
49006 #define HAVE__ATAN2F 1
49007 _ACEOF
49010 done
49019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49020 $as_echo_n "checking for fabsf declaration... " >&6; }
49021 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49022 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49023 $as_echo_n "(cached) " >&6
49024 else
49027 ac_ext=cpp
49028 ac_cpp='$CXXCPP $CPPFLAGS'
49029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49034 /* end confdefs.h. */
49035 #include <math.h>
49036 #ifdef HAVE_IEEEFP_H
49037 #include <ieeefp.h>
49038 #endif
49041 main ()
49043 fabsf(0);
49045 return 0;
49047 _ACEOF
49048 if ac_fn_cxx_try_compile "$LINENO"; then :
49049 glibcxx_cv_func_fabsf_use=yes
49050 else
49051 glibcxx_cv_func_fabsf_use=no
49053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49054 ac_ext=c
49055 ac_cpp='$CPP $CPPFLAGS'
49056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49065 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49067 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49068 for ac_func in fabsf
49069 do :
49070 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49071 if test "x$ac_cv_func_fabsf" = x""yes; then :
49072 cat >>confdefs.h <<_ACEOF
49073 #define HAVE_FABSF 1
49074 _ACEOF
49077 done
49079 else
49081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49082 $as_echo_n "checking for _fabsf declaration... " >&6; }
49083 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49084 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49085 $as_echo_n "(cached) " >&6
49086 else
49089 ac_ext=cpp
49090 ac_cpp='$CXXCPP $CPPFLAGS'
49091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49096 /* end confdefs.h. */
49097 #include <math.h>
49098 #ifdef HAVE_IEEEFP_H
49099 #include <ieeefp.h>
49100 #endif
49103 main ()
49105 _fabsf(0);
49107 return 0;
49109 _ACEOF
49110 if ac_fn_cxx_try_compile "$LINENO"; then :
49111 glibcxx_cv_func__fabsf_use=yes
49112 else
49113 glibcxx_cv_func__fabsf_use=no
49115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49116 ac_ext=c
49117 ac_cpp='$CPP $CPPFLAGS'
49118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49127 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49129 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49130 for ac_func in _fabsf
49131 do :
49132 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49133 if test "x$ac_cv_func__fabsf" = x""yes; then :
49134 cat >>confdefs.h <<_ACEOF
49135 #define HAVE__FABSF 1
49136 _ACEOF
49139 done
49148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49149 $as_echo_n "checking for fmodf declaration... " >&6; }
49150 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49151 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49152 $as_echo_n "(cached) " >&6
49153 else
49156 ac_ext=cpp
49157 ac_cpp='$CXXCPP $CPPFLAGS'
49158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49163 /* end confdefs.h. */
49164 #include <math.h>
49166 main ()
49168 fmodf(0, 0);
49170 return 0;
49172 _ACEOF
49173 if ac_fn_cxx_try_compile "$LINENO"; then :
49174 glibcxx_cv_func_fmodf_use=yes
49175 else
49176 glibcxx_cv_func_fmodf_use=no
49178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49179 ac_ext=c
49180 ac_cpp='$CPP $CPPFLAGS'
49181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49190 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49192 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49193 for ac_func in fmodf
49194 do :
49195 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49196 if test "x$ac_cv_func_fmodf" = x""yes; then :
49197 cat >>confdefs.h <<_ACEOF
49198 #define HAVE_FMODF 1
49199 _ACEOF
49202 done
49204 else
49206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49207 $as_echo_n "checking for _fmodf declaration... " >&6; }
49208 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49209 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49210 $as_echo_n "(cached) " >&6
49211 else
49214 ac_ext=cpp
49215 ac_cpp='$CXXCPP $CPPFLAGS'
49216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49221 /* end confdefs.h. */
49222 #include <math.h>
49224 main ()
49226 _fmodf(0, 0);
49228 return 0;
49230 _ACEOF
49231 if ac_fn_cxx_try_compile "$LINENO"; then :
49232 glibcxx_cv_func__fmodf_use=yes
49233 else
49234 glibcxx_cv_func__fmodf_use=no
49236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49237 ac_ext=c
49238 ac_cpp='$CPP $CPPFLAGS'
49239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49248 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49250 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49251 for ac_func in _fmodf
49252 do :
49253 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49254 if test "x$ac_cv_func__fmodf" = x""yes; then :
49255 cat >>confdefs.h <<_ACEOF
49256 #define HAVE__FMODF 1
49257 _ACEOF
49260 done
49269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49270 $as_echo_n "checking for frexpf declaration... " >&6; }
49271 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49272 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49273 $as_echo_n "(cached) " >&6
49274 else
49277 ac_ext=cpp
49278 ac_cpp='$CXXCPP $CPPFLAGS'
49279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49284 /* end confdefs.h. */
49285 #include <math.h>
49287 main ()
49289 frexpf(0, 0);
49291 return 0;
49293 _ACEOF
49294 if ac_fn_cxx_try_compile "$LINENO"; then :
49295 glibcxx_cv_func_frexpf_use=yes
49296 else
49297 glibcxx_cv_func_frexpf_use=no
49299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49300 ac_ext=c
49301 ac_cpp='$CPP $CPPFLAGS'
49302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49311 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49313 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49314 for ac_func in frexpf
49315 do :
49316 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49317 if test "x$ac_cv_func_frexpf" = x""yes; then :
49318 cat >>confdefs.h <<_ACEOF
49319 #define HAVE_FREXPF 1
49320 _ACEOF
49323 done
49325 else
49327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49328 $as_echo_n "checking for _frexpf declaration... " >&6; }
49329 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49330 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49331 $as_echo_n "(cached) " >&6
49332 else
49335 ac_ext=cpp
49336 ac_cpp='$CXXCPP $CPPFLAGS'
49337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49342 /* end confdefs.h. */
49343 #include <math.h>
49345 main ()
49347 _frexpf(0, 0);
49349 return 0;
49351 _ACEOF
49352 if ac_fn_cxx_try_compile "$LINENO"; then :
49353 glibcxx_cv_func__frexpf_use=yes
49354 else
49355 glibcxx_cv_func__frexpf_use=no
49357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49358 ac_ext=c
49359 ac_cpp='$CPP $CPPFLAGS'
49360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49369 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49371 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49372 for ac_func in _frexpf
49373 do :
49374 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49375 if test "x$ac_cv_func__frexpf" = x""yes; then :
49376 cat >>confdefs.h <<_ACEOF
49377 #define HAVE__FREXPF 1
49378 _ACEOF
49381 done
49390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49391 $as_echo_n "checking for hypotf declaration... " >&6; }
49392 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49393 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49394 $as_echo_n "(cached) " >&6
49395 else
49398 ac_ext=cpp
49399 ac_cpp='$CXXCPP $CPPFLAGS'
49400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49405 /* end confdefs.h. */
49406 #include <math.h>
49408 main ()
49410 hypotf(0, 0);
49412 return 0;
49414 _ACEOF
49415 if ac_fn_cxx_try_compile "$LINENO"; then :
49416 glibcxx_cv_func_hypotf_use=yes
49417 else
49418 glibcxx_cv_func_hypotf_use=no
49420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49421 ac_ext=c
49422 ac_cpp='$CPP $CPPFLAGS'
49423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49432 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49434 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49435 for ac_func in hypotf
49436 do :
49437 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49438 if test "x$ac_cv_func_hypotf" = x""yes; then :
49439 cat >>confdefs.h <<_ACEOF
49440 #define HAVE_HYPOTF 1
49441 _ACEOF
49444 done
49446 else
49448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49449 $as_echo_n "checking for _hypotf declaration... " >&6; }
49450 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49451 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49452 $as_echo_n "(cached) " >&6
49453 else
49456 ac_ext=cpp
49457 ac_cpp='$CXXCPP $CPPFLAGS'
49458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49463 /* end confdefs.h. */
49464 #include <math.h>
49466 main ()
49468 _hypotf(0, 0);
49470 return 0;
49472 _ACEOF
49473 if ac_fn_cxx_try_compile "$LINENO"; then :
49474 glibcxx_cv_func__hypotf_use=yes
49475 else
49476 glibcxx_cv_func__hypotf_use=no
49478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49479 ac_ext=c
49480 ac_cpp='$CPP $CPPFLAGS'
49481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49490 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49492 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49493 for ac_func in _hypotf
49494 do :
49495 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49496 if test "x$ac_cv_func__hypotf" = x""yes; then :
49497 cat >>confdefs.h <<_ACEOF
49498 #define HAVE__HYPOTF 1
49499 _ACEOF
49502 done
49511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49512 $as_echo_n "checking for ldexpf declaration... " >&6; }
49513 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49514 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49515 $as_echo_n "(cached) " >&6
49516 else
49519 ac_ext=cpp
49520 ac_cpp='$CXXCPP $CPPFLAGS'
49521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526 /* end confdefs.h. */
49527 #include <math.h>
49529 main ()
49531 ldexpf(0, 0);
49533 return 0;
49535 _ACEOF
49536 if ac_fn_cxx_try_compile "$LINENO"; then :
49537 glibcxx_cv_func_ldexpf_use=yes
49538 else
49539 glibcxx_cv_func_ldexpf_use=no
49541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49542 ac_ext=c
49543 ac_cpp='$CPP $CPPFLAGS'
49544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49553 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49555 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49556 for ac_func in ldexpf
49557 do :
49558 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49559 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49560 cat >>confdefs.h <<_ACEOF
49561 #define HAVE_LDEXPF 1
49562 _ACEOF
49565 done
49567 else
49569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49570 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49571 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49572 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49573 $as_echo_n "(cached) " >&6
49574 else
49577 ac_ext=cpp
49578 ac_cpp='$CXXCPP $CPPFLAGS'
49579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49584 /* end confdefs.h. */
49585 #include <math.h>
49587 main ()
49589 _ldexpf(0, 0);
49591 return 0;
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func__ldexpf_use=yes
49596 else
49597 glibcxx_cv_func__ldexpf_use=no
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49611 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49613 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49614 for ac_func in _ldexpf
49615 do :
49616 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49617 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define HAVE__LDEXPF 1
49620 _ACEOF
49623 done
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49633 $as_echo_n "checking for logf declaration... " >&6; }
49634 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49635 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49649 #ifdef HAVE_IEEEFP_H
49650 #include <ieeefp.h>
49651 #endif
49654 main ()
49656 logf(0);
49658 return 0;
49660 _ACEOF
49661 if ac_fn_cxx_try_compile "$LINENO"; then :
49662 glibcxx_cv_func_logf_use=yes
49663 else
49664 glibcxx_cv_func_logf_use=no
49666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49667 ac_ext=c
49668 ac_cpp='$CPP $CPPFLAGS'
49669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49678 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49680 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49681 for ac_func in logf
49682 do :
49683 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49684 if test "x$ac_cv_func_logf" = x""yes; then :
49685 cat >>confdefs.h <<_ACEOF
49686 #define HAVE_LOGF 1
49687 _ACEOF
49690 done
49692 else
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49695 $as_echo_n "checking for _logf declaration... " >&6; }
49696 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49697 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49698 $as_echo_n "(cached) " >&6
49699 else
49702 ac_ext=cpp
49703 ac_cpp='$CXXCPP $CPPFLAGS'
49704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49709 /* end confdefs.h. */
49710 #include <math.h>
49711 #ifdef HAVE_IEEEFP_H
49712 #include <ieeefp.h>
49713 #endif
49716 main ()
49718 _logf(0);
49720 return 0;
49722 _ACEOF
49723 if ac_fn_cxx_try_compile "$LINENO"; then :
49724 glibcxx_cv_func__logf_use=yes
49725 else
49726 glibcxx_cv_func__logf_use=no
49728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49729 ac_ext=c
49730 ac_cpp='$CPP $CPPFLAGS'
49731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49740 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49742 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49743 for ac_func in _logf
49744 do :
49745 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49746 if test "x$ac_cv_func__logf" = x""yes; then :
49747 cat >>confdefs.h <<_ACEOF
49748 #define HAVE__LOGF 1
49749 _ACEOF
49752 done
49761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49762 $as_echo_n "checking for log10f declaration... " >&6; }
49763 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49764 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49765 $as_echo_n "(cached) " >&6
49766 else
49769 ac_ext=cpp
49770 ac_cpp='$CXXCPP $CPPFLAGS'
49771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49776 /* end confdefs.h. */
49777 #include <math.h>
49778 #ifdef HAVE_IEEEFP_H
49779 #include <ieeefp.h>
49780 #endif
49783 main ()
49785 log10f(0);
49787 return 0;
49789 _ACEOF
49790 if ac_fn_cxx_try_compile "$LINENO"; then :
49791 glibcxx_cv_func_log10f_use=yes
49792 else
49793 glibcxx_cv_func_log10f_use=no
49795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49796 ac_ext=c
49797 ac_cpp='$CPP $CPPFLAGS'
49798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49807 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49809 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49810 for ac_func in log10f
49811 do :
49812 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49813 if test "x$ac_cv_func_log10f" = x""yes; then :
49814 cat >>confdefs.h <<_ACEOF
49815 #define HAVE_LOG10F 1
49816 _ACEOF
49819 done
49821 else
49823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49824 $as_echo_n "checking for _log10f declaration... " >&6; }
49825 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49826 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49827 $as_echo_n "(cached) " >&6
49828 else
49831 ac_ext=cpp
49832 ac_cpp='$CXXCPP $CPPFLAGS'
49833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49838 /* end confdefs.h. */
49839 #include <math.h>
49840 #ifdef HAVE_IEEEFP_H
49841 #include <ieeefp.h>
49842 #endif
49845 main ()
49847 _log10f(0);
49849 return 0;
49851 _ACEOF
49852 if ac_fn_cxx_try_compile "$LINENO"; then :
49853 glibcxx_cv_func__log10f_use=yes
49854 else
49855 glibcxx_cv_func__log10f_use=no
49857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49858 ac_ext=c
49859 ac_cpp='$CPP $CPPFLAGS'
49860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49869 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49871 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49872 for ac_func in _log10f
49873 do :
49874 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49875 if test "x$ac_cv_func__log10f" = x""yes; then :
49876 cat >>confdefs.h <<_ACEOF
49877 #define HAVE__LOG10F 1
49878 _ACEOF
49881 done
49890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49891 $as_echo_n "checking for modff declaration... " >&6; }
49892 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49893 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49894 $as_echo_n "(cached) " >&6
49895 else
49898 ac_ext=cpp
49899 ac_cpp='$CXXCPP $CPPFLAGS'
49900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49905 /* end confdefs.h. */
49906 #include <math.h>
49908 main ()
49910 modff(0, 0);
49912 return 0;
49914 _ACEOF
49915 if ac_fn_cxx_try_compile "$LINENO"; then :
49916 glibcxx_cv_func_modff_use=yes
49917 else
49918 glibcxx_cv_func_modff_use=no
49920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49921 ac_ext=c
49922 ac_cpp='$CPP $CPPFLAGS'
49923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49932 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49934 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49935 for ac_func in modff
49936 do :
49937 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49938 if test "x$ac_cv_func_modff" = x""yes; then :
49939 cat >>confdefs.h <<_ACEOF
49940 #define HAVE_MODFF 1
49941 _ACEOF
49944 done
49946 else
49948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49949 $as_echo_n "checking for _modff declaration... " >&6; }
49950 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49951 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49952 $as_echo_n "(cached) " >&6
49953 else
49956 ac_ext=cpp
49957 ac_cpp='$CXXCPP $CPPFLAGS'
49958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49963 /* end confdefs.h. */
49964 #include <math.h>
49966 main ()
49968 _modff(0, 0);
49970 return 0;
49972 _ACEOF
49973 if ac_fn_cxx_try_compile "$LINENO"; then :
49974 glibcxx_cv_func__modff_use=yes
49975 else
49976 glibcxx_cv_func__modff_use=no
49978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49979 ac_ext=c
49980 ac_cpp='$CPP $CPPFLAGS'
49981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49990 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49992 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49993 for ac_func in _modff
49994 do :
49995 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49996 if test "x$ac_cv_func__modff" = x""yes; then :
49997 cat >>confdefs.h <<_ACEOF
49998 #define HAVE__MODFF 1
49999 _ACEOF
50002 done
50011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50012 $as_echo_n "checking for modf declaration... " >&6; }
50013 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50014 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50015 $as_echo_n "(cached) " >&6
50016 else
50019 ac_ext=cpp
50020 ac_cpp='$CXXCPP $CPPFLAGS'
50021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50026 /* end confdefs.h. */
50027 #include <math.h>
50029 main ()
50031 modf(0, 0);
50033 return 0;
50035 _ACEOF
50036 if ac_fn_cxx_try_compile "$LINENO"; then :
50037 glibcxx_cv_func_modf_use=yes
50038 else
50039 glibcxx_cv_func_modf_use=no
50041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50042 ac_ext=c
50043 ac_cpp='$CPP $CPPFLAGS'
50044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50053 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50055 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50056 for ac_func in modf
50057 do :
50058 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50059 if test "x$ac_cv_func_modf" = x""yes; then :
50060 cat >>confdefs.h <<_ACEOF
50061 #define HAVE_MODF 1
50062 _ACEOF
50065 done
50067 else
50069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50070 $as_echo_n "checking for _modf declaration... " >&6; }
50071 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50072 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50073 $as_echo_n "(cached) " >&6
50074 else
50077 ac_ext=cpp
50078 ac_cpp='$CXXCPP $CPPFLAGS'
50079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50084 /* end confdefs.h. */
50085 #include <math.h>
50087 main ()
50089 _modf(0, 0);
50091 return 0;
50093 _ACEOF
50094 if ac_fn_cxx_try_compile "$LINENO"; then :
50095 glibcxx_cv_func__modf_use=yes
50096 else
50097 glibcxx_cv_func__modf_use=no
50099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50100 ac_ext=c
50101 ac_cpp='$CPP $CPPFLAGS'
50102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50111 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50113 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50114 for ac_func in _modf
50115 do :
50116 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50117 if test "x$ac_cv_func__modf" = x""yes; then :
50118 cat >>confdefs.h <<_ACEOF
50119 #define HAVE__MODF 1
50120 _ACEOF
50123 done
50132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50133 $as_echo_n "checking for powf declaration... " >&6; }
50134 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50135 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50136 $as_echo_n "(cached) " >&6
50137 else
50140 ac_ext=cpp
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50147 /* end confdefs.h. */
50148 #include <math.h>
50150 main ()
50152 powf(0, 0);
50154 return 0;
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158 glibcxx_cv_func_powf_use=yes
50159 else
50160 glibcxx_cv_func_powf_use=no
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163 ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50174 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50176 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50177 for ac_func in powf
50178 do :
50179 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50180 if test "x$ac_cv_func_powf" = x""yes; then :
50181 cat >>confdefs.h <<_ACEOF
50182 #define HAVE_POWF 1
50183 _ACEOF
50186 done
50188 else
50190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50191 $as_echo_n "checking for _powf declaration... " >&6; }
50192 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50193 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50194 $as_echo_n "(cached) " >&6
50195 else
50198 ac_ext=cpp
50199 ac_cpp='$CXXCPP $CPPFLAGS'
50200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50205 /* end confdefs.h. */
50206 #include <math.h>
50208 main ()
50210 _powf(0, 0);
50212 return 0;
50214 _ACEOF
50215 if ac_fn_cxx_try_compile "$LINENO"; then :
50216 glibcxx_cv_func__powf_use=yes
50217 else
50218 glibcxx_cv_func__powf_use=no
50220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50221 ac_ext=c
50222 ac_cpp='$CPP $CPPFLAGS'
50223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50232 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50234 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50235 for ac_func in _powf
50236 do :
50237 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50238 if test "x$ac_cv_func__powf" = x""yes; then :
50239 cat >>confdefs.h <<_ACEOF
50240 #define HAVE__POWF 1
50241 _ACEOF
50244 done
50253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50254 $as_echo_n "checking for sqrtf declaration... " >&6; }
50255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50257 $as_echo_n "(cached) " >&6
50258 else
50261 ac_ext=cpp
50262 ac_cpp='$CXXCPP $CPPFLAGS'
50263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h. */
50269 #include <math.h>
50270 #ifdef HAVE_IEEEFP_H
50271 #include <ieeefp.h>
50272 #endif
50275 main ()
50277 sqrtf(0);
50279 return 0;
50281 _ACEOF
50282 if ac_fn_cxx_try_compile "$LINENO"; then :
50283 glibcxx_cv_func_sqrtf_use=yes
50284 else
50285 glibcxx_cv_func_sqrtf_use=no
50287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50288 ac_ext=c
50289 ac_cpp='$CPP $CPPFLAGS'
50290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50299 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50301 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50302 for ac_func in sqrtf
50303 do :
50304 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50305 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50306 cat >>confdefs.h <<_ACEOF
50307 #define HAVE_SQRTF 1
50308 _ACEOF
50311 done
50313 else
50315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50316 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50317 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50318 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50319 $as_echo_n "(cached) " >&6
50320 else
50323 ac_ext=cpp
50324 ac_cpp='$CXXCPP $CPPFLAGS'
50325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50330 /* end confdefs.h. */
50331 #include <math.h>
50332 #ifdef HAVE_IEEEFP_H
50333 #include <ieeefp.h>
50334 #endif
50337 main ()
50339 _sqrtf(0);
50341 return 0;
50343 _ACEOF
50344 if ac_fn_cxx_try_compile "$LINENO"; then :
50345 glibcxx_cv_func__sqrtf_use=yes
50346 else
50347 glibcxx_cv_func__sqrtf_use=no
50349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50350 ac_ext=c
50351 ac_cpp='$CPP $CPPFLAGS'
50352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50361 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50363 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50364 for ac_func in _sqrtf
50365 do :
50366 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50367 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50368 cat >>confdefs.h <<_ACEOF
50369 #define HAVE__SQRTF 1
50370 _ACEOF
50373 done
50382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50383 $as_echo_n "checking for sincosf declaration... " >&6; }
50384 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50385 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50386 $as_echo_n "(cached) " >&6
50387 else
50390 ac_ext=cpp
50391 ac_cpp='$CXXCPP $CPPFLAGS'
50392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50397 /* end confdefs.h. */
50398 #include <math.h>
50400 main ()
50402 sincosf(0, 0, 0);
50404 return 0;
50406 _ACEOF
50407 if ac_fn_cxx_try_compile "$LINENO"; then :
50408 glibcxx_cv_func_sincosf_use=yes
50409 else
50410 glibcxx_cv_func_sincosf_use=no
50412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50413 ac_ext=c
50414 ac_cpp='$CPP $CPPFLAGS'
50415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50424 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50426 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50427 for ac_func in sincosf
50428 do :
50429 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50430 if test "x$ac_cv_func_sincosf" = x""yes; then :
50431 cat >>confdefs.h <<_ACEOF
50432 #define HAVE_SINCOSF 1
50433 _ACEOF
50436 done
50438 else
50440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50441 $as_echo_n "checking for _sincosf declaration... " >&6; }
50442 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50443 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50444 $as_echo_n "(cached) " >&6
50445 else
50448 ac_ext=cpp
50449 ac_cpp='$CXXCPP $CPPFLAGS'
50450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50455 /* end confdefs.h. */
50456 #include <math.h>
50458 main ()
50460 _sincosf(0, 0, 0);
50462 return 0;
50464 _ACEOF
50465 if ac_fn_cxx_try_compile "$LINENO"; then :
50466 glibcxx_cv_func__sincosf_use=yes
50467 else
50468 glibcxx_cv_func__sincosf_use=no
50470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50471 ac_ext=c
50472 ac_cpp='$CPP $CPPFLAGS'
50473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50482 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50484 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50485 for ac_func in _sincosf
50486 do :
50487 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50488 if test "x$ac_cv_func__sincosf" = x""yes; then :
50489 cat >>confdefs.h <<_ACEOF
50490 #define HAVE__SINCOSF 1
50491 _ACEOF
50494 done
50503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50504 $as_echo_n "checking for finitef declaration... " >&6; }
50505 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50506 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50507 $as_echo_n "(cached) " >&6
50508 else
50511 ac_ext=cpp
50512 ac_cpp='$CXXCPP $CPPFLAGS'
50513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h. */
50519 #include <math.h>
50520 #ifdef HAVE_IEEEFP_H
50521 #include <ieeefp.h>
50522 #endif
50525 main ()
50527 finitef(0);
50529 return 0;
50531 _ACEOF
50532 if ac_fn_cxx_try_compile "$LINENO"; then :
50533 glibcxx_cv_func_finitef_use=yes
50534 else
50535 glibcxx_cv_func_finitef_use=no
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538 ac_ext=c
50539 ac_cpp='$CPP $CPPFLAGS'
50540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50549 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50551 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50552 for ac_func in finitef
50553 do :
50554 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50555 if test "x$ac_cv_func_finitef" = x""yes; then :
50556 cat >>confdefs.h <<_ACEOF
50557 #define HAVE_FINITEF 1
50558 _ACEOF
50561 done
50563 else
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50566 $as_echo_n "checking for _finitef declaration... " >&6; }
50567 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50568 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50569 $as_echo_n "(cached) " >&6
50570 else
50573 ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h. */
50581 #include <math.h>
50582 #ifdef HAVE_IEEEFP_H
50583 #include <ieeefp.h>
50584 #endif
50587 main ()
50589 _finitef(0);
50591 return 0;
50593 _ACEOF
50594 if ac_fn_cxx_try_compile "$LINENO"; then :
50595 glibcxx_cv_func__finitef_use=yes
50596 else
50597 glibcxx_cv_func__finitef_use=no
50599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50600 ac_ext=c
50601 ac_cpp='$CPP $CPPFLAGS'
50602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50611 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50613 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50614 for ac_func in _finitef
50615 do :
50616 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50617 if test "x$ac_cv_func__finitef" = x""yes; then :
50618 cat >>confdefs.h <<_ACEOF
50619 #define HAVE__FINITEF 1
50620 _ACEOF
50623 done
50632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50633 $as_echo_n "checking for long double trig functions... " >&6; }
50634 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50635 $as_echo_n "(cached) " >&6
50636 else
50639 ac_ext=cpp
50640 ac_cpp='$CXXCPP $CPPFLAGS'
50641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50646 /* end confdefs.h. */
50647 #include <math.h>
50649 main ()
50651 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50653 return 0;
50655 _ACEOF
50656 if ac_fn_cxx_try_compile "$LINENO"; then :
50657 glibcxx_cv_func_long_double_trig_use=yes
50658 else
50659 glibcxx_cv_func_long_double_trig_use=no
50661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50662 ac_ext=c
50663 ac_cpp='$CPP $CPPFLAGS'
50664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50671 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50672 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50673 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50674 do :
50675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50677 eval as_val=\$$as_ac_var
50678 if test "x$as_val" = x""yes; then :
50679 cat >>confdefs.h <<_ACEOF
50680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50681 _ACEOF
50684 done
50686 else
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50688 $as_echo_n "checking for _long double trig functions... " >&6; }
50689 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50704 main ()
50706 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50708 return 0;
50710 _ACEOF
50711 if ac_fn_cxx_try_compile "$LINENO"; then :
50712 glibcxx_cv_func__long_double_trig_use=yes
50713 else
50714 glibcxx_cv_func__long_double_trig_use=no
50716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50717 ac_ext=c
50718 ac_cpp='$CPP $CPPFLAGS'
50719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50726 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50727 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50728 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50729 do :
50730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50732 eval as_val=\$$as_ac_var
50733 if test "x$as_val" = x""yes; then :
50734 cat >>confdefs.h <<_ACEOF
50735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50736 _ACEOF
50739 done
50748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50749 $as_echo_n "checking for long double round functions... " >&6; }
50750 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50751 $as_echo_n "(cached) " >&6
50752 else
50755 ac_ext=cpp
50756 ac_cpp='$CXXCPP $CPPFLAGS'
50757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50762 /* end confdefs.h. */
50763 #include <math.h>
50765 main ()
50767 ceill (0); floorl (0);
50769 return 0;
50771 _ACEOF
50772 if ac_fn_cxx_try_compile "$LINENO"; then :
50773 glibcxx_cv_func_long_double_round_use=yes
50774 else
50775 glibcxx_cv_func_long_double_round_use=no
50777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50778 ac_ext=c
50779 ac_cpp='$CPP $CPPFLAGS'
50780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50787 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50788 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50789 for ac_func in ceill floorl
50790 do :
50791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50793 eval as_val=\$$as_ac_var
50794 if test "x$as_val" = x""yes; then :
50795 cat >>confdefs.h <<_ACEOF
50796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50797 _ACEOF
50800 done
50802 else
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50804 $as_echo_n "checking for _long double round functions... " >&6; }
50805 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50806 $as_echo_n "(cached) " >&6
50807 else
50810 ac_ext=cpp
50811 ac_cpp='$CXXCPP $CPPFLAGS'
50812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50817 /* end confdefs.h. */
50818 #include <math.h>
50820 main ()
50822 _ceill (0); _floorl (0);
50824 return 0;
50826 _ACEOF
50827 if ac_fn_cxx_try_compile "$LINENO"; then :
50828 glibcxx_cv_func__long_double_round_use=yes
50829 else
50830 glibcxx_cv_func__long_double_round_use=no
50832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50833 ac_ext=c
50834 ac_cpp='$CPP $CPPFLAGS'
50835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50842 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50843 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50844 for ac_func in _ceill _floorl
50845 do :
50846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50848 eval as_val=\$$as_ac_var
50849 if test "x$as_val" = x""yes; then :
50850 cat >>confdefs.h <<_ACEOF
50851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50852 _ACEOF
50855 done
50865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50866 $as_echo_n "checking for isnanl declaration... " >&6; }
50867 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50868 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50869 $as_echo_n "(cached) " >&6
50870 else
50873 ac_ext=cpp
50874 ac_cpp='$CXXCPP $CPPFLAGS'
50875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50880 /* end confdefs.h. */
50881 #include <math.h>
50882 #ifdef HAVE_IEEEFP_H
50883 #include <ieeefp.h>
50884 #endif
50887 main ()
50889 isnanl(0);
50891 return 0;
50893 _ACEOF
50894 if ac_fn_cxx_try_compile "$LINENO"; then :
50895 glibcxx_cv_func_isnanl_use=yes
50896 else
50897 glibcxx_cv_func_isnanl_use=no
50899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50900 ac_ext=c
50901 ac_cpp='$CPP $CPPFLAGS'
50902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50911 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50913 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50914 for ac_func in isnanl
50915 do :
50916 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50917 if test "x$ac_cv_func_isnanl" = x""yes; then :
50918 cat >>confdefs.h <<_ACEOF
50919 #define HAVE_ISNANL 1
50920 _ACEOF
50923 done
50925 else
50927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50928 $as_echo_n "checking for _isnanl declaration... " >&6; }
50929 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50930 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50931 $as_echo_n "(cached) " >&6
50932 else
50935 ac_ext=cpp
50936 ac_cpp='$CXXCPP $CPPFLAGS'
50937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50942 /* end confdefs.h. */
50943 #include <math.h>
50944 #ifdef HAVE_IEEEFP_H
50945 #include <ieeefp.h>
50946 #endif
50949 main ()
50951 _isnanl(0);
50953 return 0;
50955 _ACEOF
50956 if ac_fn_cxx_try_compile "$LINENO"; then :
50957 glibcxx_cv_func__isnanl_use=yes
50958 else
50959 glibcxx_cv_func__isnanl_use=no
50961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50962 ac_ext=c
50963 ac_cpp='$CPP $CPPFLAGS'
50964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50973 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50975 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50976 for ac_func in _isnanl
50977 do :
50978 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50979 if test "x$ac_cv_func__isnanl" = x""yes; then :
50980 cat >>confdefs.h <<_ACEOF
50981 #define HAVE__ISNANL 1
50982 _ACEOF
50985 done
50994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50995 $as_echo_n "checking for isinfl declaration... " >&6; }
50996 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50997 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50998 $as_echo_n "(cached) " >&6
50999 else
51002 ac_ext=cpp
51003 ac_cpp='$CXXCPP $CPPFLAGS'
51004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51009 /* end confdefs.h. */
51010 #include <math.h>
51011 #ifdef HAVE_IEEEFP_H
51012 #include <ieeefp.h>
51013 #endif
51016 main ()
51018 isinfl(0);
51020 return 0;
51022 _ACEOF
51023 if ac_fn_cxx_try_compile "$LINENO"; then :
51024 glibcxx_cv_func_isinfl_use=yes
51025 else
51026 glibcxx_cv_func_isinfl_use=no
51028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51029 ac_ext=c
51030 ac_cpp='$CPP $CPPFLAGS'
51031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51040 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51042 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51043 for ac_func in isinfl
51044 do :
51045 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51046 if test "x$ac_cv_func_isinfl" = x""yes; then :
51047 cat >>confdefs.h <<_ACEOF
51048 #define HAVE_ISINFL 1
51049 _ACEOF
51052 done
51054 else
51056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51057 $as_echo_n "checking for _isinfl declaration... " >&6; }
51058 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51059 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51060 $as_echo_n "(cached) " >&6
51061 else
51064 ac_ext=cpp
51065 ac_cpp='$CXXCPP $CPPFLAGS'
51066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51071 /* end confdefs.h. */
51072 #include <math.h>
51073 #ifdef HAVE_IEEEFP_H
51074 #include <ieeefp.h>
51075 #endif
51078 main ()
51080 _isinfl(0);
51082 return 0;
51084 _ACEOF
51085 if ac_fn_cxx_try_compile "$LINENO"; then :
51086 glibcxx_cv_func__isinfl_use=yes
51087 else
51088 glibcxx_cv_func__isinfl_use=no
51090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51091 ac_ext=c
51092 ac_cpp='$CPP $CPPFLAGS'
51093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51102 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51104 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51105 for ac_func in _isinfl
51106 do :
51107 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51108 if test "x$ac_cv_func__isinfl" = x""yes; then :
51109 cat >>confdefs.h <<_ACEOF
51110 #define HAVE__ISINFL 1
51111 _ACEOF
51114 done
51123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51124 $as_echo_n "checking for atan2l declaration... " >&6; }
51125 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51126 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51127 $as_echo_n "(cached) " >&6
51128 else
51131 ac_ext=cpp
51132 ac_cpp='$CXXCPP $CPPFLAGS'
51133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51138 /* end confdefs.h. */
51139 #include <math.h>
51141 main ()
51143 atan2l(0, 0);
51145 return 0;
51147 _ACEOF
51148 if ac_fn_cxx_try_compile "$LINENO"; then :
51149 glibcxx_cv_func_atan2l_use=yes
51150 else
51151 glibcxx_cv_func_atan2l_use=no
51153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51154 ac_ext=c
51155 ac_cpp='$CPP $CPPFLAGS'
51156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51165 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51167 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51168 for ac_func in atan2l
51169 do :
51170 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51171 if test "x$ac_cv_func_atan2l" = x""yes; then :
51172 cat >>confdefs.h <<_ACEOF
51173 #define HAVE_ATAN2L 1
51174 _ACEOF
51177 done
51179 else
51181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51182 $as_echo_n "checking for _atan2l declaration... " >&6; }
51183 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51184 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51185 $as_echo_n "(cached) " >&6
51186 else
51189 ac_ext=cpp
51190 ac_cpp='$CXXCPP $CPPFLAGS'
51191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51196 /* end confdefs.h. */
51197 #include <math.h>
51199 main ()
51201 _atan2l(0, 0);
51203 return 0;
51205 _ACEOF
51206 if ac_fn_cxx_try_compile "$LINENO"; then :
51207 glibcxx_cv_func__atan2l_use=yes
51208 else
51209 glibcxx_cv_func__atan2l_use=no
51211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51212 ac_ext=c
51213 ac_cpp='$CPP $CPPFLAGS'
51214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51223 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51225 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51226 for ac_func in _atan2l
51227 do :
51228 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51229 if test "x$ac_cv_func__atan2l" = x""yes; then :
51230 cat >>confdefs.h <<_ACEOF
51231 #define HAVE__ATAN2L 1
51232 _ACEOF
51235 done
51244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51245 $as_echo_n "checking for expl declaration... " >&6; }
51246 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51247 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51248 $as_echo_n "(cached) " >&6
51249 else
51252 ac_ext=cpp
51253 ac_cpp='$CXXCPP $CPPFLAGS'
51254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51259 /* end confdefs.h. */
51260 #include <math.h>
51261 #ifdef HAVE_IEEEFP_H
51262 #include <ieeefp.h>
51263 #endif
51266 main ()
51268 expl(0);
51270 return 0;
51272 _ACEOF
51273 if ac_fn_cxx_try_compile "$LINENO"; then :
51274 glibcxx_cv_func_expl_use=yes
51275 else
51276 glibcxx_cv_func_expl_use=no
51278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51279 ac_ext=c
51280 ac_cpp='$CPP $CPPFLAGS'
51281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51292 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51293 for ac_func in expl
51294 do :
51295 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51296 if test "x$ac_cv_func_expl" = x""yes; then :
51297 cat >>confdefs.h <<_ACEOF
51298 #define HAVE_EXPL 1
51299 _ACEOF
51302 done
51304 else
51306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51307 $as_echo_n "checking for _expl declaration... " >&6; }
51308 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51309 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51310 $as_echo_n "(cached) " >&6
51311 else
51314 ac_ext=cpp
51315 ac_cpp='$CXXCPP $CPPFLAGS'
51316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51321 /* end confdefs.h. */
51322 #include <math.h>
51323 #ifdef HAVE_IEEEFP_H
51324 #include <ieeefp.h>
51325 #endif
51328 main ()
51330 _expl(0);
51332 return 0;
51334 _ACEOF
51335 if ac_fn_cxx_try_compile "$LINENO"; then :
51336 glibcxx_cv_func__expl_use=yes
51337 else
51338 glibcxx_cv_func__expl_use=no
51340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51341 ac_ext=c
51342 ac_cpp='$CPP $CPPFLAGS'
51343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51352 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51354 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51355 for ac_func in _expl
51356 do :
51357 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51358 if test "x$ac_cv_func__expl" = x""yes; then :
51359 cat >>confdefs.h <<_ACEOF
51360 #define HAVE__EXPL 1
51361 _ACEOF
51364 done
51373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51374 $as_echo_n "checking for fabsl declaration... " >&6; }
51375 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51376 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51377 $as_echo_n "(cached) " >&6
51378 else
51381 ac_ext=cpp
51382 ac_cpp='$CXXCPP $CPPFLAGS'
51383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51388 /* end confdefs.h. */
51389 #include <math.h>
51390 #ifdef HAVE_IEEEFP_H
51391 #include <ieeefp.h>
51392 #endif
51395 main ()
51397 fabsl(0);
51399 return 0;
51401 _ACEOF
51402 if ac_fn_cxx_try_compile "$LINENO"; then :
51403 glibcxx_cv_func_fabsl_use=yes
51404 else
51405 glibcxx_cv_func_fabsl_use=no
51407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51408 ac_ext=c
51409 ac_cpp='$CPP $CPPFLAGS'
51410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51419 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51421 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51422 for ac_func in fabsl
51423 do :
51424 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51425 if test "x$ac_cv_func_fabsl" = x""yes; then :
51426 cat >>confdefs.h <<_ACEOF
51427 #define HAVE_FABSL 1
51428 _ACEOF
51431 done
51433 else
51435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51436 $as_echo_n "checking for _fabsl declaration... " >&6; }
51437 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51438 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51439 $as_echo_n "(cached) " >&6
51440 else
51443 ac_ext=cpp
51444 ac_cpp='$CXXCPP $CPPFLAGS'
51445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51450 /* end confdefs.h. */
51451 #include <math.h>
51452 #ifdef HAVE_IEEEFP_H
51453 #include <ieeefp.h>
51454 #endif
51457 main ()
51459 _fabsl(0);
51461 return 0;
51463 _ACEOF
51464 if ac_fn_cxx_try_compile "$LINENO"; then :
51465 glibcxx_cv_func__fabsl_use=yes
51466 else
51467 glibcxx_cv_func__fabsl_use=no
51469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51470 ac_ext=c
51471 ac_cpp='$CPP $CPPFLAGS'
51472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51481 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51483 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51484 for ac_func in _fabsl
51485 do :
51486 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51487 if test "x$ac_cv_func__fabsl" = x""yes; then :
51488 cat >>confdefs.h <<_ACEOF
51489 #define HAVE__FABSL 1
51490 _ACEOF
51493 done
51502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51503 $as_echo_n "checking for fmodl declaration... " >&6; }
51504 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51505 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51506 $as_echo_n "(cached) " >&6
51507 else
51510 ac_ext=cpp
51511 ac_cpp='$CXXCPP $CPPFLAGS'
51512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51517 /* end confdefs.h. */
51518 #include <math.h>
51520 main ()
51522 fmodl(0, 0);
51524 return 0;
51526 _ACEOF
51527 if ac_fn_cxx_try_compile "$LINENO"; then :
51528 glibcxx_cv_func_fmodl_use=yes
51529 else
51530 glibcxx_cv_func_fmodl_use=no
51532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51533 ac_ext=c
51534 ac_cpp='$CPP $CPPFLAGS'
51535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51544 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51546 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51547 for ac_func in fmodl
51548 do :
51549 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51550 if test "x$ac_cv_func_fmodl" = x""yes; then :
51551 cat >>confdefs.h <<_ACEOF
51552 #define HAVE_FMODL 1
51553 _ACEOF
51556 done
51558 else
51560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51561 $as_echo_n "checking for _fmodl declaration... " >&6; }
51562 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51563 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51564 $as_echo_n "(cached) " >&6
51565 else
51568 ac_ext=cpp
51569 ac_cpp='$CXXCPP $CPPFLAGS'
51570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51575 /* end confdefs.h. */
51576 #include <math.h>
51578 main ()
51580 _fmodl(0, 0);
51582 return 0;
51584 _ACEOF
51585 if ac_fn_cxx_try_compile "$LINENO"; then :
51586 glibcxx_cv_func__fmodl_use=yes
51587 else
51588 glibcxx_cv_func__fmodl_use=no
51590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51591 ac_ext=c
51592 ac_cpp='$CPP $CPPFLAGS'
51593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51602 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51604 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51605 for ac_func in _fmodl
51606 do :
51607 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51608 if test "x$ac_cv_func__fmodl" = x""yes; then :
51609 cat >>confdefs.h <<_ACEOF
51610 #define HAVE__FMODL 1
51611 _ACEOF
51614 done
51623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51624 $as_echo_n "checking for frexpl declaration... " >&6; }
51625 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51626 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51627 $as_echo_n "(cached) " >&6
51628 else
51631 ac_ext=cpp
51632 ac_cpp='$CXXCPP $CPPFLAGS'
51633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51638 /* end confdefs.h. */
51639 #include <math.h>
51641 main ()
51643 frexpl(0, 0);
51645 return 0;
51647 _ACEOF
51648 if ac_fn_cxx_try_compile "$LINENO"; then :
51649 glibcxx_cv_func_frexpl_use=yes
51650 else
51651 glibcxx_cv_func_frexpl_use=no
51653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51654 ac_ext=c
51655 ac_cpp='$CPP $CPPFLAGS'
51656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51665 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51667 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51668 for ac_func in frexpl
51669 do :
51670 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51671 if test "x$ac_cv_func_frexpl" = x""yes; then :
51672 cat >>confdefs.h <<_ACEOF
51673 #define HAVE_FREXPL 1
51674 _ACEOF
51677 done
51679 else
51681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51682 $as_echo_n "checking for _frexpl declaration... " >&6; }
51683 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51684 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51685 $as_echo_n "(cached) " >&6
51686 else
51689 ac_ext=cpp
51690 ac_cpp='$CXXCPP $CPPFLAGS'
51691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51696 /* end confdefs.h. */
51697 #include <math.h>
51699 main ()
51701 _frexpl(0, 0);
51703 return 0;
51705 _ACEOF
51706 if ac_fn_cxx_try_compile "$LINENO"; then :
51707 glibcxx_cv_func__frexpl_use=yes
51708 else
51709 glibcxx_cv_func__frexpl_use=no
51711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51712 ac_ext=c
51713 ac_cpp='$CPP $CPPFLAGS'
51714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51723 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51725 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51726 for ac_func in _frexpl
51727 do :
51728 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51729 if test "x$ac_cv_func__frexpl" = x""yes; then :
51730 cat >>confdefs.h <<_ACEOF
51731 #define HAVE__FREXPL 1
51732 _ACEOF
51735 done
51744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51745 $as_echo_n "checking for hypotl declaration... " >&6; }
51746 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51747 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51748 $as_echo_n "(cached) " >&6
51749 else
51752 ac_ext=cpp
51753 ac_cpp='$CXXCPP $CPPFLAGS'
51754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51759 /* end confdefs.h. */
51760 #include <math.h>
51762 main ()
51764 hypotl(0, 0);
51766 return 0;
51768 _ACEOF
51769 if ac_fn_cxx_try_compile "$LINENO"; then :
51770 glibcxx_cv_func_hypotl_use=yes
51771 else
51772 glibcxx_cv_func_hypotl_use=no
51774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51775 ac_ext=c
51776 ac_cpp='$CPP $CPPFLAGS'
51777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51786 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51788 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51789 for ac_func in hypotl
51790 do :
51791 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51792 if test "x$ac_cv_func_hypotl" = x""yes; then :
51793 cat >>confdefs.h <<_ACEOF
51794 #define HAVE_HYPOTL 1
51795 _ACEOF
51798 done
51800 else
51802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51803 $as_echo_n "checking for _hypotl declaration... " >&6; }
51804 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51805 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51806 $as_echo_n "(cached) " >&6
51807 else
51810 ac_ext=cpp
51811 ac_cpp='$CXXCPP $CPPFLAGS'
51812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51817 /* end confdefs.h. */
51818 #include <math.h>
51820 main ()
51822 _hypotl(0, 0);
51824 return 0;
51826 _ACEOF
51827 if ac_fn_cxx_try_compile "$LINENO"; then :
51828 glibcxx_cv_func__hypotl_use=yes
51829 else
51830 glibcxx_cv_func__hypotl_use=no
51832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51844 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51846 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51847 for ac_func in _hypotl
51848 do :
51849 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51850 if test "x$ac_cv_func__hypotl" = x""yes; then :
51851 cat >>confdefs.h <<_ACEOF
51852 #define HAVE__HYPOTL 1
51853 _ACEOF
51856 done
51865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51866 $as_echo_n "checking for ldexpl declaration... " >&6; }
51867 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51868 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51869 $as_echo_n "(cached) " >&6
51870 else
51873 ac_ext=cpp
51874 ac_cpp='$CXXCPP $CPPFLAGS'
51875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51880 /* end confdefs.h. */
51881 #include <math.h>
51883 main ()
51885 ldexpl(0, 0);
51887 return 0;
51889 _ACEOF
51890 if ac_fn_cxx_try_compile "$LINENO"; then :
51891 glibcxx_cv_func_ldexpl_use=yes
51892 else
51893 glibcxx_cv_func_ldexpl_use=no
51895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51896 ac_ext=c
51897 ac_cpp='$CPP $CPPFLAGS'
51898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51907 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51909 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51910 for ac_func in ldexpl
51911 do :
51912 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51913 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51914 cat >>confdefs.h <<_ACEOF
51915 #define HAVE_LDEXPL 1
51916 _ACEOF
51919 done
51921 else
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51924 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51925 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51926 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51927 $as_echo_n "(cached) " >&6
51928 else
51931 ac_ext=cpp
51932 ac_cpp='$CXXCPP $CPPFLAGS'
51933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51938 /* end confdefs.h. */
51939 #include <math.h>
51941 main ()
51943 _ldexpl(0, 0);
51945 return 0;
51947 _ACEOF
51948 if ac_fn_cxx_try_compile "$LINENO"; then :
51949 glibcxx_cv_func__ldexpl_use=yes
51950 else
51951 glibcxx_cv_func__ldexpl_use=no
51953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51954 ac_ext=c
51955 ac_cpp='$CPP $CPPFLAGS'
51956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51965 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51967 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51968 for ac_func in _ldexpl
51969 do :
51970 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51971 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51972 cat >>confdefs.h <<_ACEOF
51973 #define HAVE__LDEXPL 1
51974 _ACEOF
51977 done
51986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51987 $as_echo_n "checking for logl declaration... " >&6; }
51988 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51989 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51990 $as_echo_n "(cached) " >&6
51991 else
51994 ac_ext=cpp
51995 ac_cpp='$CXXCPP $CPPFLAGS'
51996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52001 /* end confdefs.h. */
52002 #include <math.h>
52003 #ifdef HAVE_IEEEFP_H
52004 #include <ieeefp.h>
52005 #endif
52008 main ()
52010 logl(0);
52012 return 0;
52014 _ACEOF
52015 if ac_fn_cxx_try_compile "$LINENO"; then :
52016 glibcxx_cv_func_logl_use=yes
52017 else
52018 glibcxx_cv_func_logl_use=no
52020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52021 ac_ext=c
52022 ac_cpp='$CPP $CPPFLAGS'
52023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52032 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52034 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52035 for ac_func in logl
52036 do :
52037 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52038 if test "x$ac_cv_func_logl" = x""yes; then :
52039 cat >>confdefs.h <<_ACEOF
52040 #define HAVE_LOGL 1
52041 _ACEOF
52044 done
52046 else
52048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52049 $as_echo_n "checking for _logl declaration... " >&6; }
52050 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52051 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52052 $as_echo_n "(cached) " >&6
52053 else
52056 ac_ext=cpp
52057 ac_cpp='$CXXCPP $CPPFLAGS'
52058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52063 /* end confdefs.h. */
52064 #include <math.h>
52065 #ifdef HAVE_IEEEFP_H
52066 #include <ieeefp.h>
52067 #endif
52070 main ()
52072 _logl(0);
52074 return 0;
52076 _ACEOF
52077 if ac_fn_cxx_try_compile "$LINENO"; then :
52078 glibcxx_cv_func__logl_use=yes
52079 else
52080 glibcxx_cv_func__logl_use=no
52082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52083 ac_ext=c
52084 ac_cpp='$CPP $CPPFLAGS'
52085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52094 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52096 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52097 for ac_func in _logl
52098 do :
52099 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52100 if test "x$ac_cv_func__logl" = x""yes; then :
52101 cat >>confdefs.h <<_ACEOF
52102 #define HAVE__LOGL 1
52103 _ACEOF
52106 done
52115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52116 $as_echo_n "checking for log10l declaration... " >&6; }
52117 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52118 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52119 $as_echo_n "(cached) " >&6
52120 else
52123 ac_ext=cpp
52124 ac_cpp='$CXXCPP $CPPFLAGS'
52125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52130 /* end confdefs.h. */
52131 #include <math.h>
52132 #ifdef HAVE_IEEEFP_H
52133 #include <ieeefp.h>
52134 #endif
52137 main ()
52139 log10l(0);
52141 return 0;
52143 _ACEOF
52144 if ac_fn_cxx_try_compile "$LINENO"; then :
52145 glibcxx_cv_func_log10l_use=yes
52146 else
52147 glibcxx_cv_func_log10l_use=no
52149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52150 ac_ext=c
52151 ac_cpp='$CPP $CPPFLAGS'
52152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52161 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52163 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52164 for ac_func in log10l
52165 do :
52166 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52167 if test "x$ac_cv_func_log10l" = x""yes; then :
52168 cat >>confdefs.h <<_ACEOF
52169 #define HAVE_LOG10L 1
52170 _ACEOF
52173 done
52175 else
52177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52178 $as_echo_n "checking for _log10l declaration... " >&6; }
52179 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52180 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52181 $as_echo_n "(cached) " >&6
52182 else
52185 ac_ext=cpp
52186 ac_cpp='$CXXCPP $CPPFLAGS'
52187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52192 /* end confdefs.h. */
52193 #include <math.h>
52194 #ifdef HAVE_IEEEFP_H
52195 #include <ieeefp.h>
52196 #endif
52199 main ()
52201 _log10l(0);
52203 return 0;
52205 _ACEOF
52206 if ac_fn_cxx_try_compile "$LINENO"; then :
52207 glibcxx_cv_func__log10l_use=yes
52208 else
52209 glibcxx_cv_func__log10l_use=no
52211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52212 ac_ext=c
52213 ac_cpp='$CPP $CPPFLAGS'
52214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52223 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52225 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52226 for ac_func in _log10l
52227 do :
52228 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52229 if test "x$ac_cv_func__log10l" = x""yes; then :
52230 cat >>confdefs.h <<_ACEOF
52231 #define HAVE__LOG10L 1
52232 _ACEOF
52235 done
52244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52245 $as_echo_n "checking for modfl declaration... " >&6; }
52246 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52247 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52248 $as_echo_n "(cached) " >&6
52249 else
52252 ac_ext=cpp
52253 ac_cpp='$CXXCPP $CPPFLAGS'
52254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52259 /* end confdefs.h. */
52260 #include <math.h>
52262 main ()
52264 modfl(0, 0);
52266 return 0;
52268 _ACEOF
52269 if ac_fn_cxx_try_compile "$LINENO"; then :
52270 glibcxx_cv_func_modfl_use=yes
52271 else
52272 glibcxx_cv_func_modfl_use=no
52274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52275 ac_ext=c
52276 ac_cpp='$CPP $CPPFLAGS'
52277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52286 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52288 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52289 for ac_func in modfl
52290 do :
52291 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52292 if test "x$ac_cv_func_modfl" = x""yes; then :
52293 cat >>confdefs.h <<_ACEOF
52294 #define HAVE_MODFL 1
52295 _ACEOF
52298 done
52300 else
52302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52303 $as_echo_n "checking for _modfl declaration... " >&6; }
52304 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52305 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52306 $as_echo_n "(cached) " >&6
52307 else
52310 ac_ext=cpp
52311 ac_cpp='$CXXCPP $CPPFLAGS'
52312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 #include <math.h>
52320 main ()
52322 _modfl(0, 0);
52324 return 0;
52326 _ACEOF
52327 if ac_fn_cxx_try_compile "$LINENO"; then :
52328 glibcxx_cv_func__modfl_use=yes
52329 else
52330 glibcxx_cv_func__modfl_use=no
52332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52333 ac_ext=c
52334 ac_cpp='$CPP $CPPFLAGS'
52335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52344 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52346 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52347 for ac_func in _modfl
52348 do :
52349 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52350 if test "x$ac_cv_func__modfl" = x""yes; then :
52351 cat >>confdefs.h <<_ACEOF
52352 #define HAVE__MODFL 1
52353 _ACEOF
52356 done
52365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52366 $as_echo_n "checking for powl declaration... " >&6; }
52367 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52368 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52369 $as_echo_n "(cached) " >&6
52370 else
52373 ac_ext=cpp
52374 ac_cpp='$CXXCPP $CPPFLAGS'
52375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52380 /* end confdefs.h. */
52381 #include <math.h>
52383 main ()
52385 powl(0, 0);
52387 return 0;
52389 _ACEOF
52390 if ac_fn_cxx_try_compile "$LINENO"; then :
52391 glibcxx_cv_func_powl_use=yes
52392 else
52393 glibcxx_cv_func_powl_use=no
52395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52396 ac_ext=c
52397 ac_cpp='$CPP $CPPFLAGS'
52398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52407 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52409 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52410 for ac_func in powl
52411 do :
52412 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52413 if test "x$ac_cv_func_powl" = x""yes; then :
52414 cat >>confdefs.h <<_ACEOF
52415 #define HAVE_POWL 1
52416 _ACEOF
52419 done
52421 else
52423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52424 $as_echo_n "checking for _powl declaration... " >&6; }
52425 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52426 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52427 $as_echo_n "(cached) " >&6
52428 else
52431 ac_ext=cpp
52432 ac_cpp='$CXXCPP $CPPFLAGS'
52433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52438 /* end confdefs.h. */
52439 #include <math.h>
52441 main ()
52443 _powl(0, 0);
52445 return 0;
52447 _ACEOF
52448 if ac_fn_cxx_try_compile "$LINENO"; then :
52449 glibcxx_cv_func__powl_use=yes
52450 else
52451 glibcxx_cv_func__powl_use=no
52453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52454 ac_ext=c
52455 ac_cpp='$CPP $CPPFLAGS'
52456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52465 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52467 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52468 for ac_func in _powl
52469 do :
52470 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52471 if test "x$ac_cv_func__powl" = x""yes; then :
52472 cat >>confdefs.h <<_ACEOF
52473 #define HAVE__POWL 1
52474 _ACEOF
52477 done
52486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52487 $as_echo_n "checking for sqrtl declaration... " >&6; }
52488 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52489 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52490 $as_echo_n "(cached) " >&6
52491 else
52494 ac_ext=cpp
52495 ac_cpp='$CXXCPP $CPPFLAGS'
52496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52501 /* end confdefs.h. */
52502 #include <math.h>
52503 #ifdef HAVE_IEEEFP_H
52504 #include <ieeefp.h>
52505 #endif
52508 main ()
52510 sqrtl(0);
52512 return 0;
52514 _ACEOF
52515 if ac_fn_cxx_try_compile "$LINENO"; then :
52516 glibcxx_cv_func_sqrtl_use=yes
52517 else
52518 glibcxx_cv_func_sqrtl_use=no
52520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52521 ac_ext=c
52522 ac_cpp='$CPP $CPPFLAGS'
52523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52532 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52534 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52535 for ac_func in sqrtl
52536 do :
52537 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52538 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52539 cat >>confdefs.h <<_ACEOF
52540 #define HAVE_SQRTL 1
52541 _ACEOF
52544 done
52546 else
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52549 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52550 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52551 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52552 $as_echo_n "(cached) " >&6
52553 else
52556 ac_ext=cpp
52557 ac_cpp='$CXXCPP $CPPFLAGS'
52558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52563 /* end confdefs.h. */
52564 #include <math.h>
52565 #ifdef HAVE_IEEEFP_H
52566 #include <ieeefp.h>
52567 #endif
52570 main ()
52572 _sqrtl(0);
52574 return 0;
52576 _ACEOF
52577 if ac_fn_cxx_try_compile "$LINENO"; then :
52578 glibcxx_cv_func__sqrtl_use=yes
52579 else
52580 glibcxx_cv_func__sqrtl_use=no
52582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52583 ac_ext=c
52584 ac_cpp='$CPP $CPPFLAGS'
52585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52594 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52596 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52597 for ac_func in _sqrtl
52598 do :
52599 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52600 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52601 cat >>confdefs.h <<_ACEOF
52602 #define HAVE__SQRTL 1
52603 _ACEOF
52606 done
52615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52616 $as_echo_n "checking for sincosl declaration... " >&6; }
52617 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52618 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52619 $as_echo_n "(cached) " >&6
52620 else
52623 ac_ext=cpp
52624 ac_cpp='$CXXCPP $CPPFLAGS'
52625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52630 /* end confdefs.h. */
52631 #include <math.h>
52633 main ()
52635 sincosl(0, 0, 0);
52637 return 0;
52639 _ACEOF
52640 if ac_fn_cxx_try_compile "$LINENO"; then :
52641 glibcxx_cv_func_sincosl_use=yes
52642 else
52643 glibcxx_cv_func_sincosl_use=no
52645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52646 ac_ext=c
52647 ac_cpp='$CPP $CPPFLAGS'
52648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52657 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52659 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52660 for ac_func in sincosl
52661 do :
52662 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52663 if test "x$ac_cv_func_sincosl" = x""yes; then :
52664 cat >>confdefs.h <<_ACEOF
52665 #define HAVE_SINCOSL 1
52666 _ACEOF
52669 done
52671 else
52673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52674 $as_echo_n "checking for _sincosl declaration... " >&6; }
52675 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52676 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52677 $as_echo_n "(cached) " >&6
52678 else
52681 ac_ext=cpp
52682 ac_cpp='$CXXCPP $CPPFLAGS'
52683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52688 /* end confdefs.h. */
52689 #include <math.h>
52691 main ()
52693 _sincosl(0, 0, 0);
52695 return 0;
52697 _ACEOF
52698 if ac_fn_cxx_try_compile "$LINENO"; then :
52699 glibcxx_cv_func__sincosl_use=yes
52700 else
52701 glibcxx_cv_func__sincosl_use=no
52703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52704 ac_ext=c
52705 ac_cpp='$CPP $CPPFLAGS'
52706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52715 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52717 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52718 for ac_func in _sincosl
52719 do :
52720 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52721 if test "x$ac_cv_func__sincosl" = x""yes; then :
52722 cat >>confdefs.h <<_ACEOF
52723 #define HAVE__SINCOSL 1
52724 _ACEOF
52727 done
52736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52737 $as_echo_n "checking for finitel declaration... " >&6; }
52738 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52739 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52740 $as_echo_n "(cached) " >&6
52741 else
52744 ac_ext=cpp
52745 ac_cpp='$CXXCPP $CPPFLAGS'
52746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52751 /* end confdefs.h. */
52752 #include <math.h>
52753 #ifdef HAVE_IEEEFP_H
52754 #include <ieeefp.h>
52755 #endif
52758 main ()
52760 finitel(0);
52762 return 0;
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func_finitel_use=yes
52767 else
52768 glibcxx_cv_func_finitel_use=no
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52782 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52784 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52785 for ac_func in finitel
52786 do :
52787 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52788 if test "x$ac_cv_func_finitel" = x""yes; then :
52789 cat >>confdefs.h <<_ACEOF
52790 #define HAVE_FINITEL 1
52791 _ACEOF
52794 done
52796 else
52798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52799 $as_echo_n "checking for _finitel declaration... " >&6; }
52800 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52801 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52802 $as_echo_n "(cached) " >&6
52803 else
52806 ac_ext=cpp
52807 ac_cpp='$CXXCPP $CPPFLAGS'
52808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52813 /* end confdefs.h. */
52814 #include <math.h>
52815 #ifdef HAVE_IEEEFP_H
52816 #include <ieeefp.h>
52817 #endif
52820 main ()
52822 _finitel(0);
52824 return 0;
52826 _ACEOF
52827 if ac_fn_cxx_try_compile "$LINENO"; then :
52828 glibcxx_cv_func__finitel_use=yes
52829 else
52830 glibcxx_cv_func__finitel_use=no
52832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52833 ac_ext=c
52834 ac_cpp='$CPP $CPPFLAGS'
52835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52844 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52846 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52847 for ac_func in _finitel
52848 do :
52849 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52850 if test "x$ac_cv_func__finitel" = x""yes; then :
52851 cat >>confdefs.h <<_ACEOF
52852 #define HAVE__FINITEL 1
52853 _ACEOF
52856 done
52864 LIBS="$ac_save_LIBS"
52865 CXXFLAGS="$ac_save_CXXFLAGS"
52868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52869 ac_save_CXXFLAGS="$CXXFLAGS"
52870 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52874 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52875 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52876 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52877 $as_echo_n "(cached) " >&6
52878 else
52881 ac_ext=cpp
52882 ac_cpp='$CXXCPP $CPPFLAGS'
52883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52888 /* end confdefs.h. */
52889 #include <stdlib.h>
52891 main ()
52893 at_quick_exit(0);
52895 return 0;
52897 _ACEOF
52898 if ac_fn_cxx_try_compile "$LINENO"; then :
52899 glibcxx_cv_func_at_quick_exit_use=yes
52900 else
52901 glibcxx_cv_func_at_quick_exit_use=no
52903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52904 ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52915 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52916 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52917 for ac_func in at_quick_exit
52918 do :
52919 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52920 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52921 cat >>confdefs.h <<_ACEOF
52922 #define HAVE_AT_QUICK_EXIT 1
52923 _ACEOF
52926 done
52931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52932 $as_echo_n "checking for quick_exit declaration... " >&6; }
52933 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52934 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52935 $as_echo_n "(cached) " >&6
52936 else
52939 ac_ext=cpp
52940 ac_cpp='$CXXCPP $CPPFLAGS'
52941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52946 /* end confdefs.h. */
52947 #include <stdlib.h>
52949 main ()
52951 quick_exit(0);
52953 return 0;
52955 _ACEOF
52956 if ac_fn_cxx_try_compile "$LINENO"; then :
52957 glibcxx_cv_func_quick_exit_use=yes
52958 else
52959 glibcxx_cv_func_quick_exit_use=no
52961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52962 ac_ext=c
52963 ac_cpp='$CPP $CPPFLAGS'
52964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52973 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52974 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52975 for ac_func in quick_exit
52976 do :
52977 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52978 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52979 cat >>confdefs.h <<_ACEOF
52980 #define HAVE_QUICK_EXIT 1
52981 _ACEOF
52984 done
52989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52990 $as_echo_n "checking for strtold declaration... " >&6; }
52991 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52992 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52993 $as_echo_n "(cached) " >&6
52994 else
52997 ac_ext=cpp
52998 ac_cpp='$CXXCPP $CPPFLAGS'
52999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53004 /* end confdefs.h. */
53005 #include <stdlib.h>
53007 main ()
53009 strtold(0, 0);
53011 return 0;
53013 _ACEOF
53014 if ac_fn_cxx_try_compile "$LINENO"; then :
53015 glibcxx_cv_func_strtold_use=yes
53016 else
53017 glibcxx_cv_func_strtold_use=no
53019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53020 ac_ext=c
53021 ac_cpp='$CPP $CPPFLAGS'
53022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53031 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53032 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53033 for ac_func in strtold
53034 do :
53035 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53036 if test "x$ac_cv_func_strtold" = x""yes; then :
53037 cat >>confdefs.h <<_ACEOF
53038 #define HAVE_STRTOLD 1
53039 _ACEOF
53042 done
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53050 $as_echo_n "checking for strtof declaration... " >&6; }
53051 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53052 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53053 $as_echo_n "(cached) " >&6
53054 else
53057 ac_ext=cpp
53058 ac_cpp='$CXXCPP $CPPFLAGS'
53059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53064 /* end confdefs.h. */
53065 #include <stdlib.h>
53067 main ()
53069 strtof(0, 0);
53071 return 0;
53073 _ACEOF
53074 if ac_fn_cxx_try_compile "$LINENO"; then :
53075 glibcxx_cv_func_strtof_use=yes
53076 else
53077 glibcxx_cv_func_strtof_use=no
53079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53080 ac_ext=c
53081 ac_cpp='$CPP $CPPFLAGS'
53082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53091 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53092 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53093 for ac_func in strtof
53094 do :
53095 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53096 if test "x$ac_cv_func_strtof" = x""yes; then :
53097 cat >>confdefs.h <<_ACEOF
53098 #define HAVE_STRTOF 1
53099 _ACEOF
53102 done
53109 CXXFLAGS="$ac_save_CXXFLAGS"
53113 *djgpp)
53114 # GLIBCXX_CHECK_MATH_SUPPORT
53115 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53117 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53119 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53121 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53123 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53127 *-freebsd*)
53128 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53131 # If we're not using GNU ld, then there's no point in even trying these
53132 # tests. Check for that first. We should have already tested for gld
53133 # by now (in libtool), but require it now just to be safe...
53134 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53135 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53139 # The name set by libtool depends on the version of libtool. Shame on us
53140 # for depending on an impl detail, but c'est la vie. Older versions used
53141 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53142 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53143 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53144 # set (hence we're using an older libtool), then set it.
53145 if test x${with_gnu_ld+set} != xset; then
53146 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53147 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53148 with_gnu_ld=no
53149 else
53150 with_gnu_ld=$ac_cv_prog_gnu_ld
53154 # Start by getting the version number. I think the libtool test already
53155 # does some of this, but throws away the result.
53156 glibcxx_ld_is_gold=no
53157 if test x"$with_gnu_ld" = x"yes"; then
53158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53159 $as_echo_n "checking for ld version... " >&6; }
53161 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53162 glibcxx_ld_is_gold=yes
53164 ldver=`$LD --version 2>/dev/null |
53165 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'`
53167 glibcxx_gnu_ld_version=`echo $ldver | \
53168 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53170 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53173 # Set --gc-sections.
53174 glibcxx_have_gc_sections=no
53175 if test "$glibcxx_ld_is_gold" = "yes"; then
53176 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53177 glibcxx_have_gc_sections=yes
53179 else
53180 glibcxx_gcsections_min_ld=21602
53181 if test x"$with_gnu_ld" = x"yes" &&
53182 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53183 glibcxx_have_gc_sections=yes
53186 if test "$glibcxx_have_gc_sections" = "yes"; then
53187 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53188 # NB: This flag only works reliably after 2.16.1. Configure tests
53189 # for this are difficult, so hard wire a value that should work.
53191 ac_test_CFLAGS="${CFLAGS+set}"
53192 ac_save_CFLAGS="$CFLAGS"
53193 CFLAGS='-Wl,--gc-sections'
53195 # Check for -Wl,--gc-sections
53196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53197 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53198 if test x$gcc_no_link = xyes; then
53199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53202 /* end confdefs.h. */
53203 int one(void) { return 1; }
53204 int two(void) { return 2; }
53207 main ()
53209 two();
53211 return 0;
53213 _ACEOF
53214 if ac_fn_c_try_link "$LINENO"; then :
53215 ac_gcsections=yes
53216 else
53217 ac_gcsections=no
53219 rm -f core conftest.err conftest.$ac_objext \
53220 conftest$ac_exeext conftest.$ac_ext
53221 if test "$ac_gcsections" = "yes"; then
53222 rm -f conftest.c
53223 touch conftest.c
53224 if $CC -c conftest.c; then
53225 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53226 grep "Warning: gc-sections option ignored" > /dev/null; then
53227 ac_gcsections=no
53230 rm -f conftest.c conftest.o conftest
53232 if test "$ac_gcsections" = "yes"; then
53233 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53236 $as_echo "$ac_gcsections" >&6; }
53238 if test "$ac_test_CFLAGS" = set; then
53239 CFLAGS="$ac_save_CFLAGS"
53240 else
53241 # this is the suspicious part
53242 CFLAGS=''
53246 # Set -z,relro.
53247 # Note this is only for shared objects.
53248 ac_ld_relro=no
53249 if test x"$with_gnu_ld" = x"yes"; then
53250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53251 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53252 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53253 if test -n "$cxx_z_relo"; then
53254 OPT_LDFLAGS="-Wl,-z,relro"
53255 ac_ld_relro=yes
53257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53258 $as_echo "$ac_ld_relro" >&6; }
53261 # Set linker optimization flags.
53262 if test x"$with_gnu_ld" = x"yes"; then
53263 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53269 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53271 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53273 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53275 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53277 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53279 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53281 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53283 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53285 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53288 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53290 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53292 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53294 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53296 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53298 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53300 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53302 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53304 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53306 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53308 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53310 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53312 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53314 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53316 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53318 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53320 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53322 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53324 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53326 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53328 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53330 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53332 if test x"long_double_math_on_this_cpu" = x"yes"; then
53333 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53335 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53337 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53340 for ac_func in __cxa_thread_atexit
53341 do :
53342 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53343 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53344 cat >>confdefs.h <<_ACEOF
53345 #define HAVE___CXA_THREAD_ATEXIT 1
53346 _ACEOF
53349 done
53353 *-fuchsia*)
53354 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53358 *-hpux*)
53359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53362 # If we're not using GNU ld, then there's no point in even trying these
53363 # tests. Check for that first. We should have already tested for gld
53364 # by now (in libtool), but require it now just to be safe...
53365 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53366 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53370 # The name set by libtool depends on the version of libtool. Shame on us
53371 # for depending on an impl detail, but c'est la vie. Older versions used
53372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53375 # set (hence we're using an older libtool), then set it.
53376 if test x${with_gnu_ld+set} != xset; then
53377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53379 with_gnu_ld=no
53380 else
53381 with_gnu_ld=$ac_cv_prog_gnu_ld
53385 # Start by getting the version number. I think the libtool test already
53386 # does some of this, but throws away the result.
53387 glibcxx_ld_is_gold=no
53388 if test x"$with_gnu_ld" = x"yes"; then
53389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53390 $as_echo_n "checking for ld version... " >&6; }
53392 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53393 glibcxx_ld_is_gold=yes
53395 ldver=`$LD --version 2>/dev/null |
53396 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'`
53398 glibcxx_gnu_ld_version=`echo $ldver | \
53399 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53401 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53404 # Set --gc-sections.
53405 glibcxx_have_gc_sections=no
53406 if test "$glibcxx_ld_is_gold" = "yes"; then
53407 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53408 glibcxx_have_gc_sections=yes
53410 else
53411 glibcxx_gcsections_min_ld=21602
53412 if test x"$with_gnu_ld" = x"yes" &&
53413 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53414 glibcxx_have_gc_sections=yes
53417 if test "$glibcxx_have_gc_sections" = "yes"; then
53418 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53419 # NB: This flag only works reliably after 2.16.1. Configure tests
53420 # for this are difficult, so hard wire a value that should work.
53422 ac_test_CFLAGS="${CFLAGS+set}"
53423 ac_save_CFLAGS="$CFLAGS"
53424 CFLAGS='-Wl,--gc-sections'
53426 # Check for -Wl,--gc-sections
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53428 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53429 if test x$gcc_no_link = xyes; then
53430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53433 /* end confdefs.h. */
53434 int one(void) { return 1; }
53435 int two(void) { return 2; }
53438 main ()
53440 two();
53442 return 0;
53444 _ACEOF
53445 if ac_fn_c_try_link "$LINENO"; then :
53446 ac_gcsections=yes
53447 else
53448 ac_gcsections=no
53450 rm -f core conftest.err conftest.$ac_objext \
53451 conftest$ac_exeext conftest.$ac_ext
53452 if test "$ac_gcsections" = "yes"; then
53453 rm -f conftest.c
53454 touch conftest.c
53455 if $CC -c conftest.c; then
53456 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53457 grep "Warning: gc-sections option ignored" > /dev/null; then
53458 ac_gcsections=no
53461 rm -f conftest.c conftest.o conftest
53463 if test "$ac_gcsections" = "yes"; then
53464 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53467 $as_echo "$ac_gcsections" >&6; }
53469 if test "$ac_test_CFLAGS" = set; then
53470 CFLAGS="$ac_save_CFLAGS"
53471 else
53472 # this is the suspicious part
53473 CFLAGS=''
53477 # Set -z,relro.
53478 # Note this is only for shared objects.
53479 ac_ld_relro=no
53480 if test x"$with_gnu_ld" = x"yes"; then
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53482 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53483 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53484 if test -n "$cxx_z_relo"; then
53485 OPT_LDFLAGS="-Wl,-z,relro"
53486 ac_ld_relro=yes
53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53489 $as_echo "$ac_ld_relro" >&6; }
53492 # Set linker optimization flags.
53493 if test x"$with_gnu_ld" = x"yes"; then
53494 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53501 # GLIBCXX_CHECK_MATH_SUPPORT
53502 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53504 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53506 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53508 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53510 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53512 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53514 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53516 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53518 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53520 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53522 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53524 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53526 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53528 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53530 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53532 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53534 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53536 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53538 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53540 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53542 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53545 # GLIBCXX_CHECK_STDLIB_SUPPORT
53546 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53551 # Check whether --enable-tls was given.
53552 if test "${enable_tls+set}" = set; then :
53553 enableval=$enable_tls;
53554 case "$enableval" in
53555 yes|no) ;;
53556 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53557 esac
53559 else
53560 enable_tls=yes
53564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53565 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53566 if test "${gcc_cv_have_tls+set}" = set; then :
53567 $as_echo_n "(cached) " >&6
53568 else
53570 if test "$cross_compiling" = yes; then :
53571 if test x$gcc_no_link = xyes; then
53572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 __thread int a; int b; int main() { return a = b; }
53577 _ACEOF
53578 if ac_fn_c_try_link "$LINENO"; then :
53579 chktls_save_LDFLAGS="$LDFLAGS"
53580 case $host in
53581 *-*-linux*)
53582 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53584 esac
53585 chktls_save_CFLAGS="$CFLAGS"
53586 CFLAGS="-fPIC $CFLAGS"
53587 if test x$gcc_no_link = xyes; then
53588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53591 /* end confdefs.h. */
53592 int f() { return 0; }
53593 _ACEOF
53594 if ac_fn_c_try_link "$LINENO"; then :
53595 if test x$gcc_no_link = xyes; then
53596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 __thread int a; int b; int f() { return a = b; }
53601 _ACEOF
53602 if ac_fn_c_try_link "$LINENO"; then :
53603 gcc_cv_have_tls=yes
53604 else
53605 gcc_cv_have_tls=no
53607 rm -f core conftest.err conftest.$ac_objext \
53608 conftest$ac_exeext conftest.$ac_ext
53609 else
53610 gcc_cv_have_tls=yes
53612 rm -f core conftest.err conftest.$ac_objext \
53613 conftest$ac_exeext conftest.$ac_ext
53614 CFLAGS="$chktls_save_CFLAGS"
53615 LDFLAGS="$chktls_save_LDFLAGS"
53616 else
53617 gcc_cv_have_tls=no
53619 rm -f core conftest.err conftest.$ac_objext \
53620 conftest$ac_exeext conftest.$ac_ext
53623 else
53624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53625 /* end confdefs.h. */
53626 __thread int a; int b; int main() { return a = b; }
53627 _ACEOF
53628 if ac_fn_c_try_run "$LINENO"; then :
53629 chktls_save_LDFLAGS="$LDFLAGS"
53630 LDFLAGS="-static $LDFLAGS"
53631 if test x$gcc_no_link = xyes; then
53632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53635 /* end confdefs.h. */
53636 int main() { return 0; }
53637 _ACEOF
53638 if ac_fn_c_try_link "$LINENO"; then :
53639 if test "$cross_compiling" = yes; then :
53640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53642 as_fn_error "cannot run test program while cross compiling
53643 See \`config.log' for more details." "$LINENO" 5; }
53644 else
53645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53646 /* end confdefs.h. */
53647 __thread int a; int b; int main() { return a = b; }
53648 _ACEOF
53649 if ac_fn_c_try_run "$LINENO"; then :
53650 gcc_cv_have_tls=yes
53651 else
53652 gcc_cv_have_tls=no
53654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53655 conftest.$ac_objext conftest.beam conftest.$ac_ext
53658 else
53659 gcc_cv_have_tls=yes
53661 rm -f core conftest.err conftest.$ac_objext \
53662 conftest$ac_exeext conftest.$ac_ext
53663 LDFLAGS="$chktls_save_LDFLAGS"
53664 if test $gcc_cv_have_tls = yes; then
53665 chktls_save_CFLAGS="$CFLAGS"
53666 thread_CFLAGS=failed
53667 for flag in '' '-pthread' '-lpthread'; do
53668 CFLAGS="$flag $chktls_save_CFLAGS"
53669 if test x$gcc_no_link = xyes; then
53670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53673 /* end confdefs.h. */
53674 #include <pthread.h>
53675 void *g(void *d) { return NULL; }
53677 main ()
53679 pthread_t t; pthread_create(&t,NULL,g,NULL);
53681 return 0;
53683 _ACEOF
53684 if ac_fn_c_try_link "$LINENO"; then :
53685 thread_CFLAGS="$flag"
53687 rm -f core conftest.err conftest.$ac_objext \
53688 conftest$ac_exeext conftest.$ac_ext
53689 if test "X$thread_CFLAGS" != Xfailed; then
53690 break
53692 done
53693 CFLAGS="$chktls_save_CFLAGS"
53694 if test "X$thread_CFLAGS" != Xfailed; then
53695 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53696 if test "$cross_compiling" = yes; then :
53697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53699 as_fn_error "cannot run test program while cross compiling
53700 See \`config.log' for more details." "$LINENO" 5; }
53701 else
53702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53703 /* end confdefs.h. */
53704 #include <pthread.h>
53705 __thread int a;
53706 static int *volatile a_in_other_thread;
53707 static void *
53708 thread_func (void *arg)
53710 a_in_other_thread = &a;
53711 return (void *)0;
53714 main ()
53716 pthread_t thread;
53717 void *thread_retval;
53718 int *volatile a_in_main_thread;
53719 a_in_main_thread = &a;
53720 if (pthread_create (&thread, (pthread_attr_t *)0,
53721 thread_func, (void *)0))
53722 return 0;
53723 if (pthread_join (thread, &thread_retval))
53724 return 0;
53725 return (a_in_other_thread == a_in_main_thread);
53727 return 0;
53729 _ACEOF
53730 if ac_fn_c_try_run "$LINENO"; then :
53731 gcc_cv_have_tls=yes
53732 else
53733 gcc_cv_have_tls=no
53735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53736 conftest.$ac_objext conftest.beam conftest.$ac_ext
53739 CFLAGS="$chktls_save_CFLAGS"
53742 else
53743 gcc_cv_have_tls=no
53745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53746 conftest.$ac_objext conftest.beam conftest.$ac_ext
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53751 $as_echo "$gcc_cv_have_tls" >&6; }
53752 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53754 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53757 case "$target" in
53758 *-hpux10*)
53759 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53761 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53763 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53765 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53767 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53770 esac
53772 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53774 # All these tests are for C++; save the language and the compiler flags.
53775 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53776 # found in GLIBCXX_CONFIGURE.
53778 ac_ext=cpp
53779 ac_cpp='$CXXCPP $CPPFLAGS'
53780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53785 ac_save_CXXFLAGS="$CXXFLAGS"
53787 # Check for maintainer-mode bits.
53788 if test x"$USE_MAINTAINER_MODE" = xno; then
53789 WERROR=''
53790 else
53791 WERROR='-Werror'
53794 # Check for -ffunction-sections -fdata-sections
53795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53796 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53797 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53799 /* end confdefs.h. */
53800 int foo; void bar() { };
53802 main ()
53806 return 0;
53808 _ACEOF
53809 if ac_fn_cxx_try_compile "$LINENO"; then :
53810 ac_fdsections=yes
53811 else
53812 ac_fdsections=no
53814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53815 if test "$ac_test_CXXFLAGS" = set; then
53816 CXXFLAGS="$ac_save_CXXFLAGS"
53817 else
53818 # this is the suspicious part
53819 CXXFLAGS=''
53821 if test x"$ac_fdsections" = x"yes"; then
53822 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53825 $as_echo "$ac_fdsections" >&6; }
53827 ac_ext=c
53828 ac_cpp='$CPP $CPPFLAGS'
53829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53837 # If we're not using GNU ld, then there's no point in even trying these
53838 # tests. Check for that first. We should have already tested for gld
53839 # by now (in libtool), but require it now just to be safe...
53840 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53841 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53845 # The name set by libtool depends on the version of libtool. Shame on us
53846 # for depending on an impl detail, but c'est la vie. Older versions used
53847 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53848 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53849 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53850 # set (hence we're using an older libtool), then set it.
53851 if test x${with_gnu_ld+set} != xset; then
53852 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53853 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53854 with_gnu_ld=no
53855 else
53856 with_gnu_ld=$ac_cv_prog_gnu_ld
53860 # Start by getting the version number. I think the libtool test already
53861 # does some of this, but throws away the result.
53862 glibcxx_ld_is_gold=no
53863 if test x"$with_gnu_ld" = x"yes"; then
53864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53865 $as_echo_n "checking for ld version... " >&6; }
53867 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53868 glibcxx_ld_is_gold=yes
53870 ldver=`$LD --version 2>/dev/null |
53871 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'`
53873 glibcxx_gnu_ld_version=`echo $ldver | \
53874 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53876 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53879 # Set --gc-sections.
53880 glibcxx_have_gc_sections=no
53881 if test "$glibcxx_ld_is_gold" = "yes"; then
53882 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53883 glibcxx_have_gc_sections=yes
53885 else
53886 glibcxx_gcsections_min_ld=21602
53887 if test x"$with_gnu_ld" = x"yes" &&
53888 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53889 glibcxx_have_gc_sections=yes
53892 if test "$glibcxx_have_gc_sections" = "yes"; then
53893 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53894 # NB: This flag only works reliably after 2.16.1. Configure tests
53895 # for this are difficult, so hard wire a value that should work.
53897 ac_test_CFLAGS="${CFLAGS+set}"
53898 ac_save_CFLAGS="$CFLAGS"
53899 CFLAGS='-Wl,--gc-sections'
53901 # Check for -Wl,--gc-sections
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53903 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53904 if test x$gcc_no_link = xyes; then
53905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53908 /* end confdefs.h. */
53909 int one(void) { return 1; }
53910 int two(void) { return 2; }
53913 main ()
53915 two();
53917 return 0;
53919 _ACEOF
53920 if ac_fn_c_try_link "$LINENO"; then :
53921 ac_gcsections=yes
53922 else
53923 ac_gcsections=no
53925 rm -f core conftest.err conftest.$ac_objext \
53926 conftest$ac_exeext conftest.$ac_ext
53927 if test "$ac_gcsections" = "yes"; then
53928 rm -f conftest.c
53929 touch conftest.c
53930 if $CC -c conftest.c; then
53931 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53932 grep "Warning: gc-sections option ignored" > /dev/null; then
53933 ac_gcsections=no
53936 rm -f conftest.c conftest.o conftest
53938 if test "$ac_gcsections" = "yes"; then
53939 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53942 $as_echo "$ac_gcsections" >&6; }
53944 if test "$ac_test_CFLAGS" = set; then
53945 CFLAGS="$ac_save_CFLAGS"
53946 else
53947 # this is the suspicious part
53948 CFLAGS=''
53952 # Set -z,relro.
53953 # Note this is only for shared objects.
53954 ac_ld_relro=no
53955 if test x"$with_gnu_ld" = x"yes"; then
53956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53957 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53958 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53959 if test -n "$cxx_z_relo"; then
53960 OPT_LDFLAGS="-Wl,-z,relro"
53961 ac_ld_relro=yes
53963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53964 $as_echo "$ac_ld_relro" >&6; }
53967 # Set linker optimization flags.
53968 if test x"$with_gnu_ld" = x"yes"; then
53969 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53976 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53977 ac_save_CXXFLAGS="$CXXFLAGS"
53978 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53981 $as_echo_n "checking for sin in -lm... " >&6; }
53982 if test "${ac_cv_lib_m_sin+set}" = set; then :
53983 $as_echo_n "(cached) " >&6
53984 else
53985 ac_check_lib_save_LIBS=$LIBS
53986 LIBS="-lm $LIBS"
53987 if test x$gcc_no_link = xyes; then
53988 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53991 /* end confdefs.h. */
53993 /* Override any GCC internal prototype to avoid an error.
53994 Use char because int might match the return type of a GCC
53995 builtin and then its argument prototype would still apply. */
53996 #ifdef __cplusplus
53997 extern "C"
53998 #endif
53999 char sin ();
54001 main ()
54003 return sin ();
54005 return 0;
54007 _ACEOF
54008 if ac_fn_c_try_link "$LINENO"; then :
54009 ac_cv_lib_m_sin=yes
54010 else
54011 ac_cv_lib_m_sin=no
54013 rm -f core conftest.err conftest.$ac_objext \
54014 conftest$ac_exeext conftest.$ac_ext
54015 LIBS=$ac_check_lib_save_LIBS
54017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54018 $as_echo "$ac_cv_lib_m_sin" >&6; }
54019 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54020 libm="-lm"
54023 ac_save_LIBS="$LIBS"
54024 LIBS="$LIBS $libm"
54028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54029 $as_echo_n "checking for isinf declaration... " >&6; }
54030 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54031 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54032 $as_echo_n "(cached) " >&6
54033 else
54036 ac_ext=cpp
54037 ac_cpp='$CXXCPP $CPPFLAGS'
54038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54043 /* end confdefs.h. */
54044 #include <math.h>
54045 #ifdef HAVE_IEEEFP_H
54046 #include <ieeefp.h>
54047 #endif
54050 main ()
54052 isinf(0);
54054 return 0;
54056 _ACEOF
54057 if ac_fn_cxx_try_compile "$LINENO"; then :
54058 glibcxx_cv_func_isinf_use=yes
54059 else
54060 glibcxx_cv_func_isinf_use=no
54062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54063 ac_ext=c
54064 ac_cpp='$CPP $CPPFLAGS'
54065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54074 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54076 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54077 for ac_func in isinf
54078 do :
54079 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54080 if test "x$ac_cv_func_isinf" = x""yes; then :
54081 cat >>confdefs.h <<_ACEOF
54082 #define HAVE_ISINF 1
54083 _ACEOF
54086 done
54088 else
54090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54091 $as_echo_n "checking for _isinf declaration... " >&6; }
54092 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54093 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54094 $as_echo_n "(cached) " >&6
54095 else
54098 ac_ext=cpp
54099 ac_cpp='$CXXCPP $CPPFLAGS'
54100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54105 /* end confdefs.h. */
54106 #include <math.h>
54107 #ifdef HAVE_IEEEFP_H
54108 #include <ieeefp.h>
54109 #endif
54112 main ()
54114 _isinf(0);
54116 return 0;
54118 _ACEOF
54119 if ac_fn_cxx_try_compile "$LINENO"; then :
54120 glibcxx_cv_func__isinf_use=yes
54121 else
54122 glibcxx_cv_func__isinf_use=no
54124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54125 ac_ext=c
54126 ac_cpp='$CPP $CPPFLAGS'
54127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54136 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54138 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54139 for ac_func in _isinf
54140 do :
54141 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54142 if test "x$ac_cv_func__isinf" = x""yes; then :
54143 cat >>confdefs.h <<_ACEOF
54144 #define HAVE__ISINF 1
54145 _ACEOF
54148 done
54157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54158 $as_echo_n "checking for isnan declaration... " >&6; }
54159 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54160 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54161 $as_echo_n "(cached) " >&6
54162 else
54165 ac_ext=cpp
54166 ac_cpp='$CXXCPP $CPPFLAGS'
54167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54172 /* end confdefs.h. */
54173 #include <math.h>
54174 #ifdef HAVE_IEEEFP_H
54175 #include <ieeefp.h>
54176 #endif
54179 main ()
54181 isnan(0);
54183 return 0;
54185 _ACEOF
54186 if ac_fn_cxx_try_compile "$LINENO"; then :
54187 glibcxx_cv_func_isnan_use=yes
54188 else
54189 glibcxx_cv_func_isnan_use=no
54191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54192 ac_ext=c
54193 ac_cpp='$CPP $CPPFLAGS'
54194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54203 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54205 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54206 for ac_func in isnan
54207 do :
54208 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54209 if test "x$ac_cv_func_isnan" = x""yes; then :
54210 cat >>confdefs.h <<_ACEOF
54211 #define HAVE_ISNAN 1
54212 _ACEOF
54215 done
54217 else
54219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54220 $as_echo_n "checking for _isnan declaration... " >&6; }
54221 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54222 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54223 $as_echo_n "(cached) " >&6
54224 else
54227 ac_ext=cpp
54228 ac_cpp='$CXXCPP $CPPFLAGS'
54229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54234 /* end confdefs.h. */
54235 #include <math.h>
54236 #ifdef HAVE_IEEEFP_H
54237 #include <ieeefp.h>
54238 #endif
54241 main ()
54243 _isnan(0);
54245 return 0;
54247 _ACEOF
54248 if ac_fn_cxx_try_compile "$LINENO"; then :
54249 glibcxx_cv_func__isnan_use=yes
54250 else
54251 glibcxx_cv_func__isnan_use=no
54253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54254 ac_ext=c
54255 ac_cpp='$CPP $CPPFLAGS'
54256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54265 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54267 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54268 for ac_func in _isnan
54269 do :
54270 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54271 if test "x$ac_cv_func__isnan" = x""yes; then :
54272 cat >>confdefs.h <<_ACEOF
54273 #define HAVE__ISNAN 1
54274 _ACEOF
54277 done
54286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54287 $as_echo_n "checking for finite declaration... " >&6; }
54288 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54289 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54290 $as_echo_n "(cached) " >&6
54291 else
54294 ac_ext=cpp
54295 ac_cpp='$CXXCPP $CPPFLAGS'
54296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54301 /* end confdefs.h. */
54302 #include <math.h>
54303 #ifdef HAVE_IEEEFP_H
54304 #include <ieeefp.h>
54305 #endif
54308 main ()
54310 finite(0);
54312 return 0;
54314 _ACEOF
54315 if ac_fn_cxx_try_compile "$LINENO"; then :
54316 glibcxx_cv_func_finite_use=yes
54317 else
54318 glibcxx_cv_func_finite_use=no
54320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54321 ac_ext=c
54322 ac_cpp='$CPP $CPPFLAGS'
54323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54332 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54334 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54335 for ac_func in finite
54336 do :
54337 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54338 if test "x$ac_cv_func_finite" = x""yes; then :
54339 cat >>confdefs.h <<_ACEOF
54340 #define HAVE_FINITE 1
54341 _ACEOF
54344 done
54346 else
54348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54349 $as_echo_n "checking for _finite declaration... " >&6; }
54350 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54351 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54352 $as_echo_n "(cached) " >&6
54353 else
54356 ac_ext=cpp
54357 ac_cpp='$CXXCPP $CPPFLAGS'
54358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54363 /* end confdefs.h. */
54364 #include <math.h>
54365 #ifdef HAVE_IEEEFP_H
54366 #include <ieeefp.h>
54367 #endif
54370 main ()
54372 _finite(0);
54374 return 0;
54376 _ACEOF
54377 if ac_fn_cxx_try_compile "$LINENO"; then :
54378 glibcxx_cv_func__finite_use=yes
54379 else
54380 glibcxx_cv_func__finite_use=no
54382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54383 ac_ext=c
54384 ac_cpp='$CPP $CPPFLAGS'
54385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54394 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54396 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54397 for ac_func in _finite
54398 do :
54399 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54400 if test "x$ac_cv_func__finite" = x""yes; then :
54401 cat >>confdefs.h <<_ACEOF
54402 #define HAVE__FINITE 1
54403 _ACEOF
54406 done
54415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54416 $as_echo_n "checking for sincos declaration... " >&6; }
54417 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54418 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54419 $as_echo_n "(cached) " >&6
54420 else
54423 ac_ext=cpp
54424 ac_cpp='$CXXCPP $CPPFLAGS'
54425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54430 /* end confdefs.h. */
54431 #include <math.h>
54433 main ()
54435 sincos(0, 0, 0);
54437 return 0;
54439 _ACEOF
54440 if ac_fn_cxx_try_compile "$LINENO"; then :
54441 glibcxx_cv_func_sincos_use=yes
54442 else
54443 glibcxx_cv_func_sincos_use=no
54445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54446 ac_ext=c
54447 ac_cpp='$CPP $CPPFLAGS'
54448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54457 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54459 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54460 for ac_func in sincos
54461 do :
54462 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54463 if test "x$ac_cv_func_sincos" = x""yes; then :
54464 cat >>confdefs.h <<_ACEOF
54465 #define HAVE_SINCOS 1
54466 _ACEOF
54469 done
54471 else
54473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54474 $as_echo_n "checking for _sincos declaration... " >&6; }
54475 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54476 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54477 $as_echo_n "(cached) " >&6
54478 else
54481 ac_ext=cpp
54482 ac_cpp='$CXXCPP $CPPFLAGS'
54483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54488 /* end confdefs.h. */
54489 #include <math.h>
54491 main ()
54493 _sincos(0, 0, 0);
54495 return 0;
54497 _ACEOF
54498 if ac_fn_cxx_try_compile "$LINENO"; then :
54499 glibcxx_cv_func__sincos_use=yes
54500 else
54501 glibcxx_cv_func__sincos_use=no
54503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54504 ac_ext=c
54505 ac_cpp='$CPP $CPPFLAGS'
54506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54515 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54517 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54518 for ac_func in _sincos
54519 do :
54520 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54521 if test "x$ac_cv_func__sincos" = x""yes; then :
54522 cat >>confdefs.h <<_ACEOF
54523 #define HAVE__SINCOS 1
54524 _ACEOF
54527 done
54536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54537 $as_echo_n "checking for fpclass declaration... " >&6; }
54538 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54539 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54540 $as_echo_n "(cached) " >&6
54541 else
54544 ac_ext=cpp
54545 ac_cpp='$CXXCPP $CPPFLAGS'
54546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54551 /* end confdefs.h. */
54552 #include <math.h>
54553 #ifdef HAVE_IEEEFP_H
54554 #include <ieeefp.h>
54555 #endif
54558 main ()
54560 fpclass(0);
54562 return 0;
54564 _ACEOF
54565 if ac_fn_cxx_try_compile "$LINENO"; then :
54566 glibcxx_cv_func_fpclass_use=yes
54567 else
54568 glibcxx_cv_func_fpclass_use=no
54570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54571 ac_ext=c
54572 ac_cpp='$CPP $CPPFLAGS'
54573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54582 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54584 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54585 for ac_func in fpclass
54586 do :
54587 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54588 if test "x$ac_cv_func_fpclass" = x""yes; then :
54589 cat >>confdefs.h <<_ACEOF
54590 #define HAVE_FPCLASS 1
54591 _ACEOF
54594 done
54596 else
54598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54599 $as_echo_n "checking for _fpclass declaration... " >&6; }
54600 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54601 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54602 $as_echo_n "(cached) " >&6
54603 else
54606 ac_ext=cpp
54607 ac_cpp='$CXXCPP $CPPFLAGS'
54608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54613 /* end confdefs.h. */
54614 #include <math.h>
54615 #ifdef HAVE_IEEEFP_H
54616 #include <ieeefp.h>
54617 #endif
54620 main ()
54622 _fpclass(0);
54624 return 0;
54626 _ACEOF
54627 if ac_fn_cxx_try_compile "$LINENO"; then :
54628 glibcxx_cv_func__fpclass_use=yes
54629 else
54630 glibcxx_cv_func__fpclass_use=no
54632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54633 ac_ext=c
54634 ac_cpp='$CPP $CPPFLAGS'
54635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54644 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54646 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54647 for ac_func in _fpclass
54648 do :
54649 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54650 if test "x$ac_cv_func__fpclass" = x""yes; then :
54651 cat >>confdefs.h <<_ACEOF
54652 #define HAVE__FPCLASS 1
54653 _ACEOF
54656 done
54665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54666 $as_echo_n "checking for qfpclass declaration... " >&6; }
54667 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54668 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54669 $as_echo_n "(cached) " >&6
54670 else
54673 ac_ext=cpp
54674 ac_cpp='$CXXCPP $CPPFLAGS'
54675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54680 /* end confdefs.h. */
54681 #include <math.h>
54682 #ifdef HAVE_IEEEFP_H
54683 #include <ieeefp.h>
54684 #endif
54687 main ()
54689 qfpclass(0);
54691 return 0;
54693 _ACEOF
54694 if ac_fn_cxx_try_compile "$LINENO"; then :
54695 glibcxx_cv_func_qfpclass_use=yes
54696 else
54697 glibcxx_cv_func_qfpclass_use=no
54699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54700 ac_ext=c
54701 ac_cpp='$CPP $CPPFLAGS'
54702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54711 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54713 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54714 for ac_func in qfpclass
54715 do :
54716 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54717 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54718 cat >>confdefs.h <<_ACEOF
54719 #define HAVE_QFPCLASS 1
54720 _ACEOF
54723 done
54725 else
54727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54728 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54729 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54730 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54731 $as_echo_n "(cached) " >&6
54732 else
54735 ac_ext=cpp
54736 ac_cpp='$CXXCPP $CPPFLAGS'
54737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54742 /* end confdefs.h. */
54743 #include <math.h>
54744 #ifdef HAVE_IEEEFP_H
54745 #include <ieeefp.h>
54746 #endif
54749 main ()
54751 _qfpclass(0);
54753 return 0;
54755 _ACEOF
54756 if ac_fn_cxx_try_compile "$LINENO"; then :
54757 glibcxx_cv_func__qfpclass_use=yes
54758 else
54759 glibcxx_cv_func__qfpclass_use=no
54761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54762 ac_ext=c
54763 ac_cpp='$CPP $CPPFLAGS'
54764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54773 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54775 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54776 for ac_func in _qfpclass
54777 do :
54778 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54779 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54780 cat >>confdefs.h <<_ACEOF
54781 #define HAVE__QFPCLASS 1
54782 _ACEOF
54785 done
54794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54795 $as_echo_n "checking for hypot declaration... " >&6; }
54796 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54797 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54798 $as_echo_n "(cached) " >&6
54799 else
54802 ac_ext=cpp
54803 ac_cpp='$CXXCPP $CPPFLAGS'
54804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54809 /* end confdefs.h. */
54810 #include <math.h>
54812 main ()
54814 hypot(0, 0);
54816 return 0;
54818 _ACEOF
54819 if ac_fn_cxx_try_compile "$LINENO"; then :
54820 glibcxx_cv_func_hypot_use=yes
54821 else
54822 glibcxx_cv_func_hypot_use=no
54824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54825 ac_ext=c
54826 ac_cpp='$CPP $CPPFLAGS'
54827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54836 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54838 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54839 for ac_func in hypot
54840 do :
54841 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54842 if test "x$ac_cv_func_hypot" = x""yes; then :
54843 cat >>confdefs.h <<_ACEOF
54844 #define HAVE_HYPOT 1
54845 _ACEOF
54848 done
54850 else
54852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54853 $as_echo_n "checking for _hypot declaration... " >&6; }
54854 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54855 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54856 $as_echo_n "(cached) " >&6
54857 else
54860 ac_ext=cpp
54861 ac_cpp='$CXXCPP $CPPFLAGS'
54862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54867 /* end confdefs.h. */
54868 #include <math.h>
54870 main ()
54872 _hypot(0, 0);
54874 return 0;
54876 _ACEOF
54877 if ac_fn_cxx_try_compile "$LINENO"; then :
54878 glibcxx_cv_func__hypot_use=yes
54879 else
54880 glibcxx_cv_func__hypot_use=no
54882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54883 ac_ext=c
54884 ac_cpp='$CPP $CPPFLAGS'
54885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54894 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54896 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54897 for ac_func in _hypot
54898 do :
54899 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54900 if test "x$ac_cv_func__hypot" = x""yes; then :
54901 cat >>confdefs.h <<_ACEOF
54902 #define HAVE__HYPOT 1
54903 _ACEOF
54906 done
54915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54916 $as_echo_n "checking for float trig functions... " >&6; }
54917 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54918 $as_echo_n "(cached) " >&6
54919 else
54922 ac_ext=cpp
54923 ac_cpp='$CXXCPP $CPPFLAGS'
54924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54929 /* end confdefs.h. */
54930 #include <math.h>
54932 main ()
54934 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54936 return 0;
54938 _ACEOF
54939 if ac_fn_cxx_try_compile "$LINENO"; then :
54940 glibcxx_cv_func_float_trig_use=yes
54941 else
54942 glibcxx_cv_func_float_trig_use=no
54944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54945 ac_ext=c
54946 ac_cpp='$CPP $CPPFLAGS'
54947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54954 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54955 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54956 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54957 do :
54958 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54959 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54960 eval as_val=\$$as_ac_var
54961 if test "x$as_val" = x""yes; then :
54962 cat >>confdefs.h <<_ACEOF
54963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54964 _ACEOF
54967 done
54969 else
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54971 $as_echo_n "checking for _float trig functions... " >&6; }
54972 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54973 $as_echo_n "(cached) " >&6
54974 else
54977 ac_ext=cpp
54978 ac_cpp='$CXXCPP $CPPFLAGS'
54979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54984 /* end confdefs.h. */
54985 #include <math.h>
54987 main ()
54989 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54991 return 0;
54993 _ACEOF
54994 if ac_fn_cxx_try_compile "$LINENO"; then :
54995 glibcxx_cv_func__float_trig_use=yes
54996 else
54997 glibcxx_cv_func__float_trig_use=no
54999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55000 ac_ext=c
55001 ac_cpp='$CPP $CPPFLAGS'
55002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55009 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55010 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55011 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55012 do :
55013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55015 eval as_val=\$$as_ac_var
55016 if test "x$as_val" = x""yes; then :
55017 cat >>confdefs.h <<_ACEOF
55018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55019 _ACEOF
55022 done
55031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55032 $as_echo_n "checking for float round functions... " >&6; }
55033 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55034 $as_echo_n "(cached) " >&6
55035 else
55038 ac_ext=cpp
55039 ac_cpp='$CXXCPP $CPPFLAGS'
55040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55045 /* end confdefs.h. */
55046 #include <math.h>
55048 main ()
55050 ceilf (0); floorf (0);
55052 return 0;
55054 _ACEOF
55055 if ac_fn_cxx_try_compile "$LINENO"; then :
55056 glibcxx_cv_func_float_round_use=yes
55057 else
55058 glibcxx_cv_func_float_round_use=no
55060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55061 ac_ext=c
55062 ac_cpp='$CPP $CPPFLAGS'
55063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55070 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55071 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55072 for ac_func in ceilf floorf
55073 do :
55074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55076 eval as_val=\$$as_ac_var
55077 if test "x$as_val" = x""yes; then :
55078 cat >>confdefs.h <<_ACEOF
55079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55080 _ACEOF
55083 done
55085 else
55086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55087 $as_echo_n "checking for _float round functions... " >&6; }
55088 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55089 $as_echo_n "(cached) " >&6
55090 else
55093 ac_ext=cpp
55094 ac_cpp='$CXXCPP $CPPFLAGS'
55095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55100 /* end confdefs.h. */
55101 #include <math.h>
55103 main ()
55105 _ceilf (0); _floorf (0);
55107 return 0;
55109 _ACEOF
55110 if ac_fn_cxx_try_compile "$LINENO"; then :
55111 glibcxx_cv_func__float_round_use=yes
55112 else
55113 glibcxx_cv_func__float_round_use=no
55115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55116 ac_ext=c
55117 ac_cpp='$CPP $CPPFLAGS'
55118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55125 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55126 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55127 for ac_func in _ceilf _floorf
55128 do :
55129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55131 eval as_val=\$$as_ac_var
55132 if test "x$as_val" = x""yes; then :
55133 cat >>confdefs.h <<_ACEOF
55134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55135 _ACEOF
55138 done
55148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55149 $as_echo_n "checking for expf declaration... " >&6; }
55150 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55151 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55152 $as_echo_n "(cached) " >&6
55153 else
55156 ac_ext=cpp
55157 ac_cpp='$CXXCPP $CPPFLAGS'
55158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55163 /* end confdefs.h. */
55164 #include <math.h>
55165 #ifdef HAVE_IEEEFP_H
55166 #include <ieeefp.h>
55167 #endif
55170 main ()
55172 expf(0);
55174 return 0;
55176 _ACEOF
55177 if ac_fn_cxx_try_compile "$LINENO"; then :
55178 glibcxx_cv_func_expf_use=yes
55179 else
55180 glibcxx_cv_func_expf_use=no
55182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55183 ac_ext=c
55184 ac_cpp='$CPP $CPPFLAGS'
55185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55194 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55196 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55197 for ac_func in expf
55198 do :
55199 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55200 if test "x$ac_cv_func_expf" = x""yes; then :
55201 cat >>confdefs.h <<_ACEOF
55202 #define HAVE_EXPF 1
55203 _ACEOF
55206 done
55208 else
55210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55211 $as_echo_n "checking for _expf declaration... " >&6; }
55212 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55213 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55214 $as_echo_n "(cached) " >&6
55215 else
55218 ac_ext=cpp
55219 ac_cpp='$CXXCPP $CPPFLAGS'
55220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55225 /* end confdefs.h. */
55226 #include <math.h>
55227 #ifdef HAVE_IEEEFP_H
55228 #include <ieeefp.h>
55229 #endif
55232 main ()
55234 _expf(0);
55236 return 0;
55238 _ACEOF
55239 if ac_fn_cxx_try_compile "$LINENO"; then :
55240 glibcxx_cv_func__expf_use=yes
55241 else
55242 glibcxx_cv_func__expf_use=no
55244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55245 ac_ext=c
55246 ac_cpp='$CPP $CPPFLAGS'
55247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55256 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55258 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55259 for ac_func in _expf
55260 do :
55261 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55262 if test "x$ac_cv_func__expf" = x""yes; then :
55263 cat >>confdefs.h <<_ACEOF
55264 #define HAVE__EXPF 1
55265 _ACEOF
55268 done
55277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55278 $as_echo_n "checking for isnanf declaration... " >&6; }
55279 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55280 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55281 $as_echo_n "(cached) " >&6
55282 else
55285 ac_ext=cpp
55286 ac_cpp='$CXXCPP $CPPFLAGS'
55287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55292 /* end confdefs.h. */
55293 #include <math.h>
55294 #ifdef HAVE_IEEEFP_H
55295 #include <ieeefp.h>
55296 #endif
55299 main ()
55301 isnanf(0);
55303 return 0;
55305 _ACEOF
55306 if ac_fn_cxx_try_compile "$LINENO"; then :
55307 glibcxx_cv_func_isnanf_use=yes
55308 else
55309 glibcxx_cv_func_isnanf_use=no
55311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55312 ac_ext=c
55313 ac_cpp='$CPP $CPPFLAGS'
55314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55323 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55325 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55326 for ac_func in isnanf
55327 do :
55328 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55329 if test "x$ac_cv_func_isnanf" = x""yes; then :
55330 cat >>confdefs.h <<_ACEOF
55331 #define HAVE_ISNANF 1
55332 _ACEOF
55335 done
55337 else
55339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55340 $as_echo_n "checking for _isnanf declaration... " >&6; }
55341 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55342 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55343 $as_echo_n "(cached) " >&6
55344 else
55347 ac_ext=cpp
55348 ac_cpp='$CXXCPP $CPPFLAGS'
55349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55354 /* end confdefs.h. */
55355 #include <math.h>
55356 #ifdef HAVE_IEEEFP_H
55357 #include <ieeefp.h>
55358 #endif
55361 main ()
55363 _isnanf(0);
55365 return 0;
55367 _ACEOF
55368 if ac_fn_cxx_try_compile "$LINENO"; then :
55369 glibcxx_cv_func__isnanf_use=yes
55370 else
55371 glibcxx_cv_func__isnanf_use=no
55373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55374 ac_ext=c
55375 ac_cpp='$CPP $CPPFLAGS'
55376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55385 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55387 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55388 for ac_func in _isnanf
55389 do :
55390 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55391 if test "x$ac_cv_func__isnanf" = x""yes; then :
55392 cat >>confdefs.h <<_ACEOF
55393 #define HAVE__ISNANF 1
55394 _ACEOF
55397 done
55406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55407 $as_echo_n "checking for isinff declaration... " >&6; }
55408 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55409 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55410 $as_echo_n "(cached) " >&6
55411 else
55414 ac_ext=cpp
55415 ac_cpp='$CXXCPP $CPPFLAGS'
55416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55421 /* end confdefs.h. */
55422 #include <math.h>
55423 #ifdef HAVE_IEEEFP_H
55424 #include <ieeefp.h>
55425 #endif
55428 main ()
55430 isinff(0);
55432 return 0;
55434 _ACEOF
55435 if ac_fn_cxx_try_compile "$LINENO"; then :
55436 glibcxx_cv_func_isinff_use=yes
55437 else
55438 glibcxx_cv_func_isinff_use=no
55440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55441 ac_ext=c
55442 ac_cpp='$CPP $CPPFLAGS'
55443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55452 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55454 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55455 for ac_func in isinff
55456 do :
55457 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55458 if test "x$ac_cv_func_isinff" = x""yes; then :
55459 cat >>confdefs.h <<_ACEOF
55460 #define HAVE_ISINFF 1
55461 _ACEOF
55464 done
55466 else
55468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55469 $as_echo_n "checking for _isinff declaration... " >&6; }
55470 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55471 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55472 $as_echo_n "(cached) " >&6
55473 else
55476 ac_ext=cpp
55477 ac_cpp='$CXXCPP $CPPFLAGS'
55478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55483 /* end confdefs.h. */
55484 #include <math.h>
55485 #ifdef HAVE_IEEEFP_H
55486 #include <ieeefp.h>
55487 #endif
55490 main ()
55492 _isinff(0);
55494 return 0;
55496 _ACEOF
55497 if ac_fn_cxx_try_compile "$LINENO"; then :
55498 glibcxx_cv_func__isinff_use=yes
55499 else
55500 glibcxx_cv_func__isinff_use=no
55502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55503 ac_ext=c
55504 ac_cpp='$CPP $CPPFLAGS'
55505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55514 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55516 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55517 for ac_func in _isinff
55518 do :
55519 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55520 if test "x$ac_cv_func__isinff" = x""yes; then :
55521 cat >>confdefs.h <<_ACEOF
55522 #define HAVE__ISINFF 1
55523 _ACEOF
55526 done
55535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55536 $as_echo_n "checking for atan2f declaration... " >&6; }
55537 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55538 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55539 $as_echo_n "(cached) " >&6
55540 else
55543 ac_ext=cpp
55544 ac_cpp='$CXXCPP $CPPFLAGS'
55545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55550 /* end confdefs.h. */
55551 #include <math.h>
55553 main ()
55555 atan2f(0, 0);
55557 return 0;
55559 _ACEOF
55560 if ac_fn_cxx_try_compile "$LINENO"; then :
55561 glibcxx_cv_func_atan2f_use=yes
55562 else
55563 glibcxx_cv_func_atan2f_use=no
55565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55566 ac_ext=c
55567 ac_cpp='$CPP $CPPFLAGS'
55568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55577 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55579 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55580 for ac_func in atan2f
55581 do :
55582 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55583 if test "x$ac_cv_func_atan2f" = x""yes; then :
55584 cat >>confdefs.h <<_ACEOF
55585 #define HAVE_ATAN2F 1
55586 _ACEOF
55589 done
55591 else
55593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55594 $as_echo_n "checking for _atan2f declaration... " >&6; }
55595 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55596 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55597 $as_echo_n "(cached) " >&6
55598 else
55601 ac_ext=cpp
55602 ac_cpp='$CXXCPP $CPPFLAGS'
55603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55608 /* end confdefs.h. */
55609 #include <math.h>
55611 main ()
55613 _atan2f(0, 0);
55615 return 0;
55617 _ACEOF
55618 if ac_fn_cxx_try_compile "$LINENO"; then :
55619 glibcxx_cv_func__atan2f_use=yes
55620 else
55621 glibcxx_cv_func__atan2f_use=no
55623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55624 ac_ext=c
55625 ac_cpp='$CPP $CPPFLAGS'
55626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55635 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55637 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55638 for ac_func in _atan2f
55639 do :
55640 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55641 if test "x$ac_cv_func__atan2f" = x""yes; then :
55642 cat >>confdefs.h <<_ACEOF
55643 #define HAVE__ATAN2F 1
55644 _ACEOF
55647 done
55656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55657 $as_echo_n "checking for fabsf declaration... " >&6; }
55658 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55659 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55660 $as_echo_n "(cached) " >&6
55661 else
55664 ac_ext=cpp
55665 ac_cpp='$CXXCPP $CPPFLAGS'
55666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55671 /* end confdefs.h. */
55672 #include <math.h>
55673 #ifdef HAVE_IEEEFP_H
55674 #include <ieeefp.h>
55675 #endif
55678 main ()
55680 fabsf(0);
55682 return 0;
55684 _ACEOF
55685 if ac_fn_cxx_try_compile "$LINENO"; then :
55686 glibcxx_cv_func_fabsf_use=yes
55687 else
55688 glibcxx_cv_func_fabsf_use=no
55690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55691 ac_ext=c
55692 ac_cpp='$CPP $CPPFLAGS'
55693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55702 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55704 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55705 for ac_func in fabsf
55706 do :
55707 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55708 if test "x$ac_cv_func_fabsf" = x""yes; then :
55709 cat >>confdefs.h <<_ACEOF
55710 #define HAVE_FABSF 1
55711 _ACEOF
55714 done
55716 else
55718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55719 $as_echo_n "checking for _fabsf declaration... " >&6; }
55720 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55721 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55722 $as_echo_n "(cached) " >&6
55723 else
55726 ac_ext=cpp
55727 ac_cpp='$CXXCPP $CPPFLAGS'
55728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55733 /* end confdefs.h. */
55734 #include <math.h>
55735 #ifdef HAVE_IEEEFP_H
55736 #include <ieeefp.h>
55737 #endif
55740 main ()
55742 _fabsf(0);
55744 return 0;
55746 _ACEOF
55747 if ac_fn_cxx_try_compile "$LINENO"; then :
55748 glibcxx_cv_func__fabsf_use=yes
55749 else
55750 glibcxx_cv_func__fabsf_use=no
55752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55753 ac_ext=c
55754 ac_cpp='$CPP $CPPFLAGS'
55755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55764 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55766 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55767 for ac_func in _fabsf
55768 do :
55769 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55770 if test "x$ac_cv_func__fabsf" = x""yes; then :
55771 cat >>confdefs.h <<_ACEOF
55772 #define HAVE__FABSF 1
55773 _ACEOF
55776 done
55785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55786 $as_echo_n "checking for fmodf declaration... " >&6; }
55787 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55788 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55789 $as_echo_n "(cached) " >&6
55790 else
55793 ac_ext=cpp
55794 ac_cpp='$CXXCPP $CPPFLAGS'
55795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55800 /* end confdefs.h. */
55801 #include <math.h>
55803 main ()
55805 fmodf(0, 0);
55807 return 0;
55809 _ACEOF
55810 if ac_fn_cxx_try_compile "$LINENO"; then :
55811 glibcxx_cv_func_fmodf_use=yes
55812 else
55813 glibcxx_cv_func_fmodf_use=no
55815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55816 ac_ext=c
55817 ac_cpp='$CPP $CPPFLAGS'
55818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55827 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55829 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55830 for ac_func in fmodf
55831 do :
55832 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55833 if test "x$ac_cv_func_fmodf" = x""yes; then :
55834 cat >>confdefs.h <<_ACEOF
55835 #define HAVE_FMODF 1
55836 _ACEOF
55839 done
55841 else
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55844 $as_echo_n "checking for _fmodf declaration... " >&6; }
55845 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55846 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55847 $as_echo_n "(cached) " >&6
55848 else
55851 ac_ext=cpp
55852 ac_cpp='$CXXCPP $CPPFLAGS'
55853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55858 /* end confdefs.h. */
55859 #include <math.h>
55861 main ()
55863 _fmodf(0, 0);
55865 return 0;
55867 _ACEOF
55868 if ac_fn_cxx_try_compile "$LINENO"; then :
55869 glibcxx_cv_func__fmodf_use=yes
55870 else
55871 glibcxx_cv_func__fmodf_use=no
55873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55874 ac_ext=c
55875 ac_cpp='$CPP $CPPFLAGS'
55876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55885 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55887 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55888 for ac_func in _fmodf
55889 do :
55890 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55891 if test "x$ac_cv_func__fmodf" = x""yes; then :
55892 cat >>confdefs.h <<_ACEOF
55893 #define HAVE__FMODF 1
55894 _ACEOF
55897 done
55906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55907 $as_echo_n "checking for frexpf declaration... " >&6; }
55908 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55909 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55910 $as_echo_n "(cached) " >&6
55911 else
55914 ac_ext=cpp
55915 ac_cpp='$CXXCPP $CPPFLAGS'
55916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55921 /* end confdefs.h. */
55922 #include <math.h>
55924 main ()
55926 frexpf(0, 0);
55928 return 0;
55930 _ACEOF
55931 if ac_fn_cxx_try_compile "$LINENO"; then :
55932 glibcxx_cv_func_frexpf_use=yes
55933 else
55934 glibcxx_cv_func_frexpf_use=no
55936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55937 ac_ext=c
55938 ac_cpp='$CPP $CPPFLAGS'
55939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55948 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55950 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55951 for ac_func in frexpf
55952 do :
55953 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55954 if test "x$ac_cv_func_frexpf" = x""yes; then :
55955 cat >>confdefs.h <<_ACEOF
55956 #define HAVE_FREXPF 1
55957 _ACEOF
55960 done
55962 else
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55965 $as_echo_n "checking for _frexpf declaration... " >&6; }
55966 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55967 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55968 $as_echo_n "(cached) " >&6
55969 else
55972 ac_ext=cpp
55973 ac_cpp='$CXXCPP $CPPFLAGS'
55974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55979 /* end confdefs.h. */
55980 #include <math.h>
55982 main ()
55984 _frexpf(0, 0);
55986 return 0;
55988 _ACEOF
55989 if ac_fn_cxx_try_compile "$LINENO"; then :
55990 glibcxx_cv_func__frexpf_use=yes
55991 else
55992 glibcxx_cv_func__frexpf_use=no
55994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55995 ac_ext=c
55996 ac_cpp='$CPP $CPPFLAGS'
55997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56006 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56008 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56009 for ac_func in _frexpf
56010 do :
56011 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56012 if test "x$ac_cv_func__frexpf" = x""yes; then :
56013 cat >>confdefs.h <<_ACEOF
56014 #define HAVE__FREXPF 1
56015 _ACEOF
56018 done
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56028 $as_echo_n "checking for hypotf declaration... " >&6; }
56029 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56030 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56031 $as_echo_n "(cached) " >&6
56032 else
56035 ac_ext=cpp
56036 ac_cpp='$CXXCPP $CPPFLAGS'
56037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56042 /* end confdefs.h. */
56043 #include <math.h>
56045 main ()
56047 hypotf(0, 0);
56049 return 0;
56051 _ACEOF
56052 if ac_fn_cxx_try_compile "$LINENO"; then :
56053 glibcxx_cv_func_hypotf_use=yes
56054 else
56055 glibcxx_cv_func_hypotf_use=no
56057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56058 ac_ext=c
56059 ac_cpp='$CPP $CPPFLAGS'
56060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56069 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56071 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56072 for ac_func in hypotf
56073 do :
56074 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56075 if test "x$ac_cv_func_hypotf" = x""yes; then :
56076 cat >>confdefs.h <<_ACEOF
56077 #define HAVE_HYPOTF 1
56078 _ACEOF
56081 done
56083 else
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56086 $as_echo_n "checking for _hypotf declaration... " >&6; }
56087 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56088 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56089 $as_echo_n "(cached) " >&6
56090 else
56093 ac_ext=cpp
56094 ac_cpp='$CXXCPP $CPPFLAGS'
56095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56100 /* end confdefs.h. */
56101 #include <math.h>
56103 main ()
56105 _hypotf(0, 0);
56107 return 0;
56109 _ACEOF
56110 if ac_fn_cxx_try_compile "$LINENO"; then :
56111 glibcxx_cv_func__hypotf_use=yes
56112 else
56113 glibcxx_cv_func__hypotf_use=no
56115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56116 ac_ext=c
56117 ac_cpp='$CPP $CPPFLAGS'
56118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56127 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56129 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56130 for ac_func in _hypotf
56131 do :
56132 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56133 if test "x$ac_cv_func__hypotf" = x""yes; then :
56134 cat >>confdefs.h <<_ACEOF
56135 #define HAVE__HYPOTF 1
56136 _ACEOF
56139 done
56148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56149 $as_echo_n "checking for ldexpf declaration... " >&6; }
56150 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56151 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56152 $as_echo_n "(cached) " >&6
56153 else
56156 ac_ext=cpp
56157 ac_cpp='$CXXCPP $CPPFLAGS'
56158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56163 /* end confdefs.h. */
56164 #include <math.h>
56166 main ()
56168 ldexpf(0, 0);
56170 return 0;
56172 _ACEOF
56173 if ac_fn_cxx_try_compile "$LINENO"; then :
56174 glibcxx_cv_func_ldexpf_use=yes
56175 else
56176 glibcxx_cv_func_ldexpf_use=no
56178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56179 ac_ext=c
56180 ac_cpp='$CPP $CPPFLAGS'
56181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56190 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56192 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56193 for ac_func in ldexpf
56194 do :
56195 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56196 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56197 cat >>confdefs.h <<_ACEOF
56198 #define HAVE_LDEXPF 1
56199 _ACEOF
56202 done
56204 else
56206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56207 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56208 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56209 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56210 $as_echo_n "(cached) " >&6
56211 else
56214 ac_ext=cpp
56215 ac_cpp='$CXXCPP $CPPFLAGS'
56216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56221 /* end confdefs.h. */
56222 #include <math.h>
56224 main ()
56226 _ldexpf(0, 0);
56228 return 0;
56230 _ACEOF
56231 if ac_fn_cxx_try_compile "$LINENO"; then :
56232 glibcxx_cv_func__ldexpf_use=yes
56233 else
56234 glibcxx_cv_func__ldexpf_use=no
56236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56237 ac_ext=c
56238 ac_cpp='$CPP $CPPFLAGS'
56239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56248 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56250 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56251 for ac_func in _ldexpf
56252 do :
56253 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56254 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56255 cat >>confdefs.h <<_ACEOF
56256 #define HAVE__LDEXPF 1
56257 _ACEOF
56260 done
56269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56270 $as_echo_n "checking for logf declaration... " >&6; }
56271 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56272 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56273 $as_echo_n "(cached) " >&6
56274 else
56277 ac_ext=cpp
56278 ac_cpp='$CXXCPP $CPPFLAGS'
56279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56284 /* end confdefs.h. */
56285 #include <math.h>
56286 #ifdef HAVE_IEEEFP_H
56287 #include <ieeefp.h>
56288 #endif
56291 main ()
56293 logf(0);
56295 return 0;
56297 _ACEOF
56298 if ac_fn_cxx_try_compile "$LINENO"; then :
56299 glibcxx_cv_func_logf_use=yes
56300 else
56301 glibcxx_cv_func_logf_use=no
56303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56304 ac_ext=c
56305 ac_cpp='$CPP $CPPFLAGS'
56306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56315 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56317 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56318 for ac_func in logf
56319 do :
56320 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56321 if test "x$ac_cv_func_logf" = x""yes; then :
56322 cat >>confdefs.h <<_ACEOF
56323 #define HAVE_LOGF 1
56324 _ACEOF
56327 done
56329 else
56331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56332 $as_echo_n "checking for _logf declaration... " >&6; }
56333 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56334 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56335 $as_echo_n "(cached) " >&6
56336 else
56339 ac_ext=cpp
56340 ac_cpp='$CXXCPP $CPPFLAGS'
56341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56346 /* end confdefs.h. */
56347 #include <math.h>
56348 #ifdef HAVE_IEEEFP_H
56349 #include <ieeefp.h>
56350 #endif
56353 main ()
56355 _logf(0);
56357 return 0;
56359 _ACEOF
56360 if ac_fn_cxx_try_compile "$LINENO"; then :
56361 glibcxx_cv_func__logf_use=yes
56362 else
56363 glibcxx_cv_func__logf_use=no
56365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56366 ac_ext=c
56367 ac_cpp='$CPP $CPPFLAGS'
56368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56377 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56379 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56380 for ac_func in _logf
56381 do :
56382 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56383 if test "x$ac_cv_func__logf" = x""yes; then :
56384 cat >>confdefs.h <<_ACEOF
56385 #define HAVE__LOGF 1
56386 _ACEOF
56389 done
56398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56399 $as_echo_n "checking for log10f declaration... " >&6; }
56400 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56401 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56402 $as_echo_n "(cached) " >&6
56403 else
56406 ac_ext=cpp
56407 ac_cpp='$CXXCPP $CPPFLAGS'
56408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56413 /* end confdefs.h. */
56414 #include <math.h>
56415 #ifdef HAVE_IEEEFP_H
56416 #include <ieeefp.h>
56417 #endif
56420 main ()
56422 log10f(0);
56424 return 0;
56426 _ACEOF
56427 if ac_fn_cxx_try_compile "$LINENO"; then :
56428 glibcxx_cv_func_log10f_use=yes
56429 else
56430 glibcxx_cv_func_log10f_use=no
56432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56433 ac_ext=c
56434 ac_cpp='$CPP $CPPFLAGS'
56435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56444 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56446 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56447 for ac_func in log10f
56448 do :
56449 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56450 if test "x$ac_cv_func_log10f" = x""yes; then :
56451 cat >>confdefs.h <<_ACEOF
56452 #define HAVE_LOG10F 1
56453 _ACEOF
56456 done
56458 else
56460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56461 $as_echo_n "checking for _log10f declaration... " >&6; }
56462 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56463 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56464 $as_echo_n "(cached) " >&6
56465 else
56468 ac_ext=cpp
56469 ac_cpp='$CXXCPP $CPPFLAGS'
56470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56475 /* end confdefs.h. */
56476 #include <math.h>
56477 #ifdef HAVE_IEEEFP_H
56478 #include <ieeefp.h>
56479 #endif
56482 main ()
56484 _log10f(0);
56486 return 0;
56488 _ACEOF
56489 if ac_fn_cxx_try_compile "$LINENO"; then :
56490 glibcxx_cv_func__log10f_use=yes
56491 else
56492 glibcxx_cv_func__log10f_use=no
56494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56495 ac_ext=c
56496 ac_cpp='$CPP $CPPFLAGS'
56497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56506 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56508 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56509 for ac_func in _log10f
56510 do :
56511 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56512 if test "x$ac_cv_func__log10f" = x""yes; then :
56513 cat >>confdefs.h <<_ACEOF
56514 #define HAVE__LOG10F 1
56515 _ACEOF
56518 done
56527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56528 $as_echo_n "checking for modff declaration... " >&6; }
56529 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56530 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56531 $as_echo_n "(cached) " >&6
56532 else
56535 ac_ext=cpp
56536 ac_cpp='$CXXCPP $CPPFLAGS'
56537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56542 /* end confdefs.h. */
56543 #include <math.h>
56545 main ()
56547 modff(0, 0);
56549 return 0;
56551 _ACEOF
56552 if ac_fn_cxx_try_compile "$LINENO"; then :
56553 glibcxx_cv_func_modff_use=yes
56554 else
56555 glibcxx_cv_func_modff_use=no
56557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56558 ac_ext=c
56559 ac_cpp='$CPP $CPPFLAGS'
56560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56569 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56571 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56572 for ac_func in modff
56573 do :
56574 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56575 if test "x$ac_cv_func_modff" = x""yes; then :
56576 cat >>confdefs.h <<_ACEOF
56577 #define HAVE_MODFF 1
56578 _ACEOF
56581 done
56583 else
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56586 $as_echo_n "checking for _modff declaration... " >&6; }
56587 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56588 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56589 $as_echo_n "(cached) " >&6
56590 else
56593 ac_ext=cpp
56594 ac_cpp='$CXXCPP $CPPFLAGS'
56595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56600 /* end confdefs.h. */
56601 #include <math.h>
56603 main ()
56605 _modff(0, 0);
56607 return 0;
56609 _ACEOF
56610 if ac_fn_cxx_try_compile "$LINENO"; then :
56611 glibcxx_cv_func__modff_use=yes
56612 else
56613 glibcxx_cv_func__modff_use=no
56615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56616 ac_ext=c
56617 ac_cpp='$CPP $CPPFLAGS'
56618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56627 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56629 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56630 for ac_func in _modff
56631 do :
56632 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56633 if test "x$ac_cv_func__modff" = x""yes; then :
56634 cat >>confdefs.h <<_ACEOF
56635 #define HAVE__MODFF 1
56636 _ACEOF
56639 done
56648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56649 $as_echo_n "checking for modf declaration... " >&6; }
56650 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56651 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56652 $as_echo_n "(cached) " >&6
56653 else
56656 ac_ext=cpp
56657 ac_cpp='$CXXCPP $CPPFLAGS'
56658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56663 /* end confdefs.h. */
56664 #include <math.h>
56666 main ()
56668 modf(0, 0);
56670 return 0;
56672 _ACEOF
56673 if ac_fn_cxx_try_compile "$LINENO"; then :
56674 glibcxx_cv_func_modf_use=yes
56675 else
56676 glibcxx_cv_func_modf_use=no
56678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56679 ac_ext=c
56680 ac_cpp='$CPP $CPPFLAGS'
56681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56690 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56692 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56693 for ac_func in modf
56694 do :
56695 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56696 if test "x$ac_cv_func_modf" = x""yes; then :
56697 cat >>confdefs.h <<_ACEOF
56698 #define HAVE_MODF 1
56699 _ACEOF
56702 done
56704 else
56706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56707 $as_echo_n "checking for _modf declaration... " >&6; }
56708 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56709 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56710 $as_echo_n "(cached) " >&6
56711 else
56714 ac_ext=cpp
56715 ac_cpp='$CXXCPP $CPPFLAGS'
56716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56721 /* end confdefs.h. */
56722 #include <math.h>
56724 main ()
56726 _modf(0, 0);
56728 return 0;
56730 _ACEOF
56731 if ac_fn_cxx_try_compile "$LINENO"; then :
56732 glibcxx_cv_func__modf_use=yes
56733 else
56734 glibcxx_cv_func__modf_use=no
56736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56737 ac_ext=c
56738 ac_cpp='$CPP $CPPFLAGS'
56739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56748 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56750 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56751 for ac_func in _modf
56752 do :
56753 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56754 if test "x$ac_cv_func__modf" = x""yes; then :
56755 cat >>confdefs.h <<_ACEOF
56756 #define HAVE__MODF 1
56757 _ACEOF
56760 done
56769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56770 $as_echo_n "checking for powf declaration... " >&6; }
56771 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56772 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56773 $as_echo_n "(cached) " >&6
56774 else
56777 ac_ext=cpp
56778 ac_cpp='$CXXCPP $CPPFLAGS'
56779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56784 /* end confdefs.h. */
56785 #include <math.h>
56787 main ()
56789 powf(0, 0);
56791 return 0;
56793 _ACEOF
56794 if ac_fn_cxx_try_compile "$LINENO"; then :
56795 glibcxx_cv_func_powf_use=yes
56796 else
56797 glibcxx_cv_func_powf_use=no
56799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56800 ac_ext=c
56801 ac_cpp='$CPP $CPPFLAGS'
56802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56811 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56813 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56814 for ac_func in powf
56815 do :
56816 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56817 if test "x$ac_cv_func_powf" = x""yes; then :
56818 cat >>confdefs.h <<_ACEOF
56819 #define HAVE_POWF 1
56820 _ACEOF
56823 done
56825 else
56827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56828 $as_echo_n "checking for _powf declaration... " >&6; }
56829 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56830 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56831 $as_echo_n "(cached) " >&6
56832 else
56835 ac_ext=cpp
56836 ac_cpp='$CXXCPP $CPPFLAGS'
56837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56842 /* end confdefs.h. */
56843 #include <math.h>
56845 main ()
56847 _powf(0, 0);
56849 return 0;
56851 _ACEOF
56852 if ac_fn_cxx_try_compile "$LINENO"; then :
56853 glibcxx_cv_func__powf_use=yes
56854 else
56855 glibcxx_cv_func__powf_use=no
56857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56858 ac_ext=c
56859 ac_cpp='$CPP $CPPFLAGS'
56860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56869 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56871 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56872 for ac_func in _powf
56873 do :
56874 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56875 if test "x$ac_cv_func__powf" = x""yes; then :
56876 cat >>confdefs.h <<_ACEOF
56877 #define HAVE__POWF 1
56878 _ACEOF
56881 done
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56891 $as_echo_n "checking for sqrtf declaration... " >&6; }
56892 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56893 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56894 $as_echo_n "(cached) " >&6
56895 else
56898 ac_ext=cpp
56899 ac_cpp='$CXXCPP $CPPFLAGS'
56900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56905 /* end confdefs.h. */
56906 #include <math.h>
56907 #ifdef HAVE_IEEEFP_H
56908 #include <ieeefp.h>
56909 #endif
56912 main ()
56914 sqrtf(0);
56916 return 0;
56918 _ACEOF
56919 if ac_fn_cxx_try_compile "$LINENO"; then :
56920 glibcxx_cv_func_sqrtf_use=yes
56921 else
56922 glibcxx_cv_func_sqrtf_use=no
56924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56925 ac_ext=c
56926 ac_cpp='$CPP $CPPFLAGS'
56927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56936 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56938 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56939 for ac_func in sqrtf
56940 do :
56941 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56942 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56943 cat >>confdefs.h <<_ACEOF
56944 #define HAVE_SQRTF 1
56945 _ACEOF
56948 done
56950 else
56952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56953 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56954 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56955 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56956 $as_echo_n "(cached) " >&6
56957 else
56960 ac_ext=cpp
56961 ac_cpp='$CXXCPP $CPPFLAGS'
56962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56967 /* end confdefs.h. */
56968 #include <math.h>
56969 #ifdef HAVE_IEEEFP_H
56970 #include <ieeefp.h>
56971 #endif
56974 main ()
56976 _sqrtf(0);
56978 return 0;
56980 _ACEOF
56981 if ac_fn_cxx_try_compile "$LINENO"; then :
56982 glibcxx_cv_func__sqrtf_use=yes
56983 else
56984 glibcxx_cv_func__sqrtf_use=no
56986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56987 ac_ext=c
56988 ac_cpp='$CPP $CPPFLAGS'
56989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56998 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57000 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57001 for ac_func in _sqrtf
57002 do :
57003 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57004 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57005 cat >>confdefs.h <<_ACEOF
57006 #define HAVE__SQRTF 1
57007 _ACEOF
57010 done
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57020 $as_echo_n "checking for sincosf declaration... " >&6; }
57021 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57022 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57023 $as_echo_n "(cached) " >&6
57024 else
57027 ac_ext=cpp
57028 ac_cpp='$CXXCPP $CPPFLAGS'
57029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57034 /* end confdefs.h. */
57035 #include <math.h>
57037 main ()
57039 sincosf(0, 0, 0);
57041 return 0;
57043 _ACEOF
57044 if ac_fn_cxx_try_compile "$LINENO"; then :
57045 glibcxx_cv_func_sincosf_use=yes
57046 else
57047 glibcxx_cv_func_sincosf_use=no
57049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57050 ac_ext=c
57051 ac_cpp='$CPP $CPPFLAGS'
57052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57061 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57063 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57064 for ac_func in sincosf
57065 do :
57066 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57067 if test "x$ac_cv_func_sincosf" = x""yes; then :
57068 cat >>confdefs.h <<_ACEOF
57069 #define HAVE_SINCOSF 1
57070 _ACEOF
57073 done
57075 else
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57078 $as_echo_n "checking for _sincosf declaration... " >&6; }
57079 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57080 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57081 $as_echo_n "(cached) " >&6
57082 else
57085 ac_ext=cpp
57086 ac_cpp='$CXXCPP $CPPFLAGS'
57087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57092 /* end confdefs.h. */
57093 #include <math.h>
57095 main ()
57097 _sincosf(0, 0, 0);
57099 return 0;
57101 _ACEOF
57102 if ac_fn_cxx_try_compile "$LINENO"; then :
57103 glibcxx_cv_func__sincosf_use=yes
57104 else
57105 glibcxx_cv_func__sincosf_use=no
57107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57108 ac_ext=c
57109 ac_cpp='$CPP $CPPFLAGS'
57110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57119 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57121 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57122 for ac_func in _sincosf
57123 do :
57124 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57125 if test "x$ac_cv_func__sincosf" = x""yes; then :
57126 cat >>confdefs.h <<_ACEOF
57127 #define HAVE__SINCOSF 1
57128 _ACEOF
57131 done
57140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57141 $as_echo_n "checking for finitef declaration... " >&6; }
57142 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57143 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57144 $as_echo_n "(cached) " >&6
57145 else
57148 ac_ext=cpp
57149 ac_cpp='$CXXCPP $CPPFLAGS'
57150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57155 /* end confdefs.h. */
57156 #include <math.h>
57157 #ifdef HAVE_IEEEFP_H
57158 #include <ieeefp.h>
57159 #endif
57162 main ()
57164 finitef(0);
57166 return 0;
57168 _ACEOF
57169 if ac_fn_cxx_try_compile "$LINENO"; then :
57170 glibcxx_cv_func_finitef_use=yes
57171 else
57172 glibcxx_cv_func_finitef_use=no
57174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57175 ac_ext=c
57176 ac_cpp='$CPP $CPPFLAGS'
57177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57186 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57188 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57189 for ac_func in finitef
57190 do :
57191 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57192 if test "x$ac_cv_func_finitef" = x""yes; then :
57193 cat >>confdefs.h <<_ACEOF
57194 #define HAVE_FINITEF 1
57195 _ACEOF
57198 done
57200 else
57202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57203 $as_echo_n "checking for _finitef declaration... " >&6; }
57204 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57205 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57206 $as_echo_n "(cached) " >&6
57207 else
57210 ac_ext=cpp
57211 ac_cpp='$CXXCPP $CPPFLAGS'
57212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57217 /* end confdefs.h. */
57218 #include <math.h>
57219 #ifdef HAVE_IEEEFP_H
57220 #include <ieeefp.h>
57221 #endif
57224 main ()
57226 _finitef(0);
57228 return 0;
57230 _ACEOF
57231 if ac_fn_cxx_try_compile "$LINENO"; then :
57232 glibcxx_cv_func__finitef_use=yes
57233 else
57234 glibcxx_cv_func__finitef_use=no
57236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57237 ac_ext=c
57238 ac_cpp='$CPP $CPPFLAGS'
57239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57248 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57250 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57251 for ac_func in _finitef
57252 do :
57253 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57254 if test "x$ac_cv_func__finitef" = x""yes; then :
57255 cat >>confdefs.h <<_ACEOF
57256 #define HAVE__FINITEF 1
57257 _ACEOF
57260 done
57269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57270 $as_echo_n "checking for long double trig functions... " >&6; }
57271 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57272 $as_echo_n "(cached) " >&6
57273 else
57276 ac_ext=cpp
57277 ac_cpp='$CXXCPP $CPPFLAGS'
57278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57283 /* end confdefs.h. */
57284 #include <math.h>
57286 main ()
57288 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57290 return 0;
57292 _ACEOF
57293 if ac_fn_cxx_try_compile "$LINENO"; then :
57294 glibcxx_cv_func_long_double_trig_use=yes
57295 else
57296 glibcxx_cv_func_long_double_trig_use=no
57298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57299 ac_ext=c
57300 ac_cpp='$CPP $CPPFLAGS'
57301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57308 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57309 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57310 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57311 do :
57312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57314 eval as_val=\$$as_ac_var
57315 if test "x$as_val" = x""yes; then :
57316 cat >>confdefs.h <<_ACEOF
57317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57318 _ACEOF
57321 done
57323 else
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57325 $as_echo_n "checking for _long double trig functions... " >&6; }
57326 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57327 $as_echo_n "(cached) " >&6
57328 else
57331 ac_ext=cpp
57332 ac_cpp='$CXXCPP $CPPFLAGS'
57333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57338 /* end confdefs.h. */
57339 #include <math.h>
57341 main ()
57343 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57345 return 0;
57347 _ACEOF
57348 if ac_fn_cxx_try_compile "$LINENO"; then :
57349 glibcxx_cv_func__long_double_trig_use=yes
57350 else
57351 glibcxx_cv_func__long_double_trig_use=no
57353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57354 ac_ext=c
57355 ac_cpp='$CPP $CPPFLAGS'
57356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57363 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57364 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57365 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57366 do :
57367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57369 eval as_val=\$$as_ac_var
57370 if test "x$as_val" = x""yes; then :
57371 cat >>confdefs.h <<_ACEOF
57372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57373 _ACEOF
57376 done
57385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57386 $as_echo_n "checking for long double round functions... " >&6; }
57387 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57388 $as_echo_n "(cached) " >&6
57389 else
57392 ac_ext=cpp
57393 ac_cpp='$CXXCPP $CPPFLAGS'
57394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57399 /* end confdefs.h. */
57400 #include <math.h>
57402 main ()
57404 ceill (0); floorl (0);
57406 return 0;
57408 _ACEOF
57409 if ac_fn_cxx_try_compile "$LINENO"; then :
57410 glibcxx_cv_func_long_double_round_use=yes
57411 else
57412 glibcxx_cv_func_long_double_round_use=no
57414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57415 ac_ext=c
57416 ac_cpp='$CPP $CPPFLAGS'
57417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57424 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57425 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57426 for ac_func in ceill floorl
57427 do :
57428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57430 eval as_val=\$$as_ac_var
57431 if test "x$as_val" = x""yes; then :
57432 cat >>confdefs.h <<_ACEOF
57433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57434 _ACEOF
57437 done
57439 else
57440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57441 $as_echo_n "checking for _long double round functions... " >&6; }
57442 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57443 $as_echo_n "(cached) " >&6
57444 else
57447 ac_ext=cpp
57448 ac_cpp='$CXXCPP $CPPFLAGS'
57449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57454 /* end confdefs.h. */
57455 #include <math.h>
57457 main ()
57459 _ceill (0); _floorl (0);
57461 return 0;
57463 _ACEOF
57464 if ac_fn_cxx_try_compile "$LINENO"; then :
57465 glibcxx_cv_func__long_double_round_use=yes
57466 else
57467 glibcxx_cv_func__long_double_round_use=no
57469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57470 ac_ext=c
57471 ac_cpp='$CPP $CPPFLAGS'
57472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57479 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57480 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57481 for ac_func in _ceill _floorl
57482 do :
57483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57485 eval as_val=\$$as_ac_var
57486 if test "x$as_val" = x""yes; then :
57487 cat >>confdefs.h <<_ACEOF
57488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57489 _ACEOF
57492 done
57502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57503 $as_echo_n "checking for isnanl declaration... " >&6; }
57504 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57505 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57506 $as_echo_n "(cached) " >&6
57507 else
57510 ac_ext=cpp
57511 ac_cpp='$CXXCPP $CPPFLAGS'
57512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57517 /* end confdefs.h. */
57518 #include <math.h>
57519 #ifdef HAVE_IEEEFP_H
57520 #include <ieeefp.h>
57521 #endif
57524 main ()
57526 isnanl(0);
57528 return 0;
57530 _ACEOF
57531 if ac_fn_cxx_try_compile "$LINENO"; then :
57532 glibcxx_cv_func_isnanl_use=yes
57533 else
57534 glibcxx_cv_func_isnanl_use=no
57536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57537 ac_ext=c
57538 ac_cpp='$CPP $CPPFLAGS'
57539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57548 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57550 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57551 for ac_func in isnanl
57552 do :
57553 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57554 if test "x$ac_cv_func_isnanl" = x""yes; then :
57555 cat >>confdefs.h <<_ACEOF
57556 #define HAVE_ISNANL 1
57557 _ACEOF
57560 done
57562 else
57564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57565 $as_echo_n "checking for _isnanl declaration... " >&6; }
57566 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57567 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57568 $as_echo_n "(cached) " >&6
57569 else
57572 ac_ext=cpp
57573 ac_cpp='$CXXCPP $CPPFLAGS'
57574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57579 /* end confdefs.h. */
57580 #include <math.h>
57581 #ifdef HAVE_IEEEFP_H
57582 #include <ieeefp.h>
57583 #endif
57586 main ()
57588 _isnanl(0);
57590 return 0;
57592 _ACEOF
57593 if ac_fn_cxx_try_compile "$LINENO"; then :
57594 glibcxx_cv_func__isnanl_use=yes
57595 else
57596 glibcxx_cv_func__isnanl_use=no
57598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57599 ac_ext=c
57600 ac_cpp='$CPP $CPPFLAGS'
57601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57610 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57612 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57613 for ac_func in _isnanl
57614 do :
57615 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57616 if test "x$ac_cv_func__isnanl" = x""yes; then :
57617 cat >>confdefs.h <<_ACEOF
57618 #define HAVE__ISNANL 1
57619 _ACEOF
57622 done
57631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57632 $as_echo_n "checking for isinfl declaration... " >&6; }
57633 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57634 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57635 $as_echo_n "(cached) " >&6
57636 else
57639 ac_ext=cpp
57640 ac_cpp='$CXXCPP $CPPFLAGS'
57641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57646 /* end confdefs.h. */
57647 #include <math.h>
57648 #ifdef HAVE_IEEEFP_H
57649 #include <ieeefp.h>
57650 #endif
57653 main ()
57655 isinfl(0);
57657 return 0;
57659 _ACEOF
57660 if ac_fn_cxx_try_compile "$LINENO"; then :
57661 glibcxx_cv_func_isinfl_use=yes
57662 else
57663 glibcxx_cv_func_isinfl_use=no
57665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57666 ac_ext=c
57667 ac_cpp='$CPP $CPPFLAGS'
57668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57677 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57679 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57680 for ac_func in isinfl
57681 do :
57682 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57683 if test "x$ac_cv_func_isinfl" = x""yes; then :
57684 cat >>confdefs.h <<_ACEOF
57685 #define HAVE_ISINFL 1
57686 _ACEOF
57689 done
57691 else
57693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57694 $as_echo_n "checking for _isinfl declaration... " >&6; }
57695 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57696 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57697 $as_echo_n "(cached) " >&6
57698 else
57701 ac_ext=cpp
57702 ac_cpp='$CXXCPP $CPPFLAGS'
57703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57708 /* end confdefs.h. */
57709 #include <math.h>
57710 #ifdef HAVE_IEEEFP_H
57711 #include <ieeefp.h>
57712 #endif
57715 main ()
57717 _isinfl(0);
57719 return 0;
57721 _ACEOF
57722 if ac_fn_cxx_try_compile "$LINENO"; then :
57723 glibcxx_cv_func__isinfl_use=yes
57724 else
57725 glibcxx_cv_func__isinfl_use=no
57727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57728 ac_ext=c
57729 ac_cpp='$CPP $CPPFLAGS'
57730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57739 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57741 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57742 for ac_func in _isinfl
57743 do :
57744 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57745 if test "x$ac_cv_func__isinfl" = x""yes; then :
57746 cat >>confdefs.h <<_ACEOF
57747 #define HAVE__ISINFL 1
57748 _ACEOF
57751 done
57760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57761 $as_echo_n "checking for atan2l declaration... " >&6; }
57762 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57763 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57764 $as_echo_n "(cached) " >&6
57765 else
57768 ac_ext=cpp
57769 ac_cpp='$CXXCPP $CPPFLAGS'
57770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57775 /* end confdefs.h. */
57776 #include <math.h>
57778 main ()
57780 atan2l(0, 0);
57782 return 0;
57784 _ACEOF
57785 if ac_fn_cxx_try_compile "$LINENO"; then :
57786 glibcxx_cv_func_atan2l_use=yes
57787 else
57788 glibcxx_cv_func_atan2l_use=no
57790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57791 ac_ext=c
57792 ac_cpp='$CPP $CPPFLAGS'
57793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57802 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57804 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57805 for ac_func in atan2l
57806 do :
57807 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57808 if test "x$ac_cv_func_atan2l" = x""yes; then :
57809 cat >>confdefs.h <<_ACEOF
57810 #define HAVE_ATAN2L 1
57811 _ACEOF
57814 done
57816 else
57818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57819 $as_echo_n "checking for _atan2l declaration... " >&6; }
57820 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57821 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57822 $as_echo_n "(cached) " >&6
57823 else
57826 ac_ext=cpp
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57833 /* end confdefs.h. */
57834 #include <math.h>
57836 main ()
57838 _atan2l(0, 0);
57840 return 0;
57842 _ACEOF
57843 if ac_fn_cxx_try_compile "$LINENO"; then :
57844 glibcxx_cv_func__atan2l_use=yes
57845 else
57846 glibcxx_cv_func__atan2l_use=no
57848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57849 ac_ext=c
57850 ac_cpp='$CPP $CPPFLAGS'
57851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57860 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57862 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57863 for ac_func in _atan2l
57864 do :
57865 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57866 if test "x$ac_cv_func__atan2l" = x""yes; then :
57867 cat >>confdefs.h <<_ACEOF
57868 #define HAVE__ATAN2L 1
57869 _ACEOF
57872 done
57881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57882 $as_echo_n "checking for expl declaration... " >&6; }
57883 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57884 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57885 $as_echo_n "(cached) " >&6
57886 else
57889 ac_ext=cpp
57890 ac_cpp='$CXXCPP $CPPFLAGS'
57891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57896 /* end confdefs.h. */
57897 #include <math.h>
57898 #ifdef HAVE_IEEEFP_H
57899 #include <ieeefp.h>
57900 #endif
57903 main ()
57905 expl(0);
57907 return 0;
57909 _ACEOF
57910 if ac_fn_cxx_try_compile "$LINENO"; then :
57911 glibcxx_cv_func_expl_use=yes
57912 else
57913 glibcxx_cv_func_expl_use=no
57915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57916 ac_ext=c
57917 ac_cpp='$CPP $CPPFLAGS'
57918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57927 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57929 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57930 for ac_func in expl
57931 do :
57932 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57933 if test "x$ac_cv_func_expl" = x""yes; then :
57934 cat >>confdefs.h <<_ACEOF
57935 #define HAVE_EXPL 1
57936 _ACEOF
57939 done
57941 else
57943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57944 $as_echo_n "checking for _expl declaration... " >&6; }
57945 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57946 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57947 $as_echo_n "(cached) " >&6
57948 else
57951 ac_ext=cpp
57952 ac_cpp='$CXXCPP $CPPFLAGS'
57953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57958 /* end confdefs.h. */
57959 #include <math.h>
57960 #ifdef HAVE_IEEEFP_H
57961 #include <ieeefp.h>
57962 #endif
57965 main ()
57967 _expl(0);
57969 return 0;
57971 _ACEOF
57972 if ac_fn_cxx_try_compile "$LINENO"; then :
57973 glibcxx_cv_func__expl_use=yes
57974 else
57975 glibcxx_cv_func__expl_use=no
57977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57978 ac_ext=c
57979 ac_cpp='$CPP $CPPFLAGS'
57980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57989 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57991 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57992 for ac_func in _expl
57993 do :
57994 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57995 if test "x$ac_cv_func__expl" = x""yes; then :
57996 cat >>confdefs.h <<_ACEOF
57997 #define HAVE__EXPL 1
57998 _ACEOF
58001 done
58010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58011 $as_echo_n "checking for fabsl declaration... " >&6; }
58012 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58013 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58014 $as_echo_n "(cached) " >&6
58015 else
58018 ac_ext=cpp
58019 ac_cpp='$CXXCPP $CPPFLAGS'
58020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58025 /* end confdefs.h. */
58026 #include <math.h>
58027 #ifdef HAVE_IEEEFP_H
58028 #include <ieeefp.h>
58029 #endif
58032 main ()
58034 fabsl(0);
58036 return 0;
58038 _ACEOF
58039 if ac_fn_cxx_try_compile "$LINENO"; then :
58040 glibcxx_cv_func_fabsl_use=yes
58041 else
58042 glibcxx_cv_func_fabsl_use=no
58044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58045 ac_ext=c
58046 ac_cpp='$CPP $CPPFLAGS'
58047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58056 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58058 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58059 for ac_func in fabsl
58060 do :
58061 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58062 if test "x$ac_cv_func_fabsl" = x""yes; then :
58063 cat >>confdefs.h <<_ACEOF
58064 #define HAVE_FABSL 1
58065 _ACEOF
58068 done
58070 else
58072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58073 $as_echo_n "checking for _fabsl declaration... " >&6; }
58074 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58075 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58076 $as_echo_n "(cached) " >&6
58077 else
58080 ac_ext=cpp
58081 ac_cpp='$CXXCPP $CPPFLAGS'
58082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58087 /* end confdefs.h. */
58088 #include <math.h>
58089 #ifdef HAVE_IEEEFP_H
58090 #include <ieeefp.h>
58091 #endif
58094 main ()
58096 _fabsl(0);
58098 return 0;
58100 _ACEOF
58101 if ac_fn_cxx_try_compile "$LINENO"; then :
58102 glibcxx_cv_func__fabsl_use=yes
58103 else
58104 glibcxx_cv_func__fabsl_use=no
58106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58107 ac_ext=c
58108 ac_cpp='$CPP $CPPFLAGS'
58109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58118 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58120 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58121 for ac_func in _fabsl
58122 do :
58123 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58124 if test "x$ac_cv_func__fabsl" = x""yes; then :
58125 cat >>confdefs.h <<_ACEOF
58126 #define HAVE__FABSL 1
58127 _ACEOF
58130 done
58139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58140 $as_echo_n "checking for fmodl declaration... " >&6; }
58141 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58142 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58143 $as_echo_n "(cached) " >&6
58144 else
58147 ac_ext=cpp
58148 ac_cpp='$CXXCPP $CPPFLAGS'
58149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58154 /* end confdefs.h. */
58155 #include <math.h>
58157 main ()
58159 fmodl(0, 0);
58161 return 0;
58163 _ACEOF
58164 if ac_fn_cxx_try_compile "$LINENO"; then :
58165 glibcxx_cv_func_fmodl_use=yes
58166 else
58167 glibcxx_cv_func_fmodl_use=no
58169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58170 ac_ext=c
58171 ac_cpp='$CPP $CPPFLAGS'
58172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58181 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58183 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58184 for ac_func in fmodl
58185 do :
58186 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58187 if test "x$ac_cv_func_fmodl" = x""yes; then :
58188 cat >>confdefs.h <<_ACEOF
58189 #define HAVE_FMODL 1
58190 _ACEOF
58193 done
58195 else
58197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58198 $as_echo_n "checking for _fmodl declaration... " >&6; }
58199 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58200 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58201 $as_echo_n "(cached) " >&6
58202 else
58205 ac_ext=cpp
58206 ac_cpp='$CXXCPP $CPPFLAGS'
58207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58212 /* end confdefs.h. */
58213 #include <math.h>
58215 main ()
58217 _fmodl(0, 0);
58219 return 0;
58221 _ACEOF
58222 if ac_fn_cxx_try_compile "$LINENO"; then :
58223 glibcxx_cv_func__fmodl_use=yes
58224 else
58225 glibcxx_cv_func__fmodl_use=no
58227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58228 ac_ext=c
58229 ac_cpp='$CPP $CPPFLAGS'
58230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58239 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58241 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58242 for ac_func in _fmodl
58243 do :
58244 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58245 if test "x$ac_cv_func__fmodl" = x""yes; then :
58246 cat >>confdefs.h <<_ACEOF
58247 #define HAVE__FMODL 1
58248 _ACEOF
58251 done
58260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58261 $as_echo_n "checking for frexpl declaration... " >&6; }
58262 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58263 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58264 $as_echo_n "(cached) " >&6
58265 else
58268 ac_ext=cpp
58269 ac_cpp='$CXXCPP $CPPFLAGS'
58270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58275 /* end confdefs.h. */
58276 #include <math.h>
58278 main ()
58280 frexpl(0, 0);
58282 return 0;
58284 _ACEOF
58285 if ac_fn_cxx_try_compile "$LINENO"; then :
58286 glibcxx_cv_func_frexpl_use=yes
58287 else
58288 glibcxx_cv_func_frexpl_use=no
58290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58291 ac_ext=c
58292 ac_cpp='$CPP $CPPFLAGS'
58293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58302 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58304 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58305 for ac_func in frexpl
58306 do :
58307 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58308 if test "x$ac_cv_func_frexpl" = x""yes; then :
58309 cat >>confdefs.h <<_ACEOF
58310 #define HAVE_FREXPL 1
58311 _ACEOF
58314 done
58316 else
58318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58319 $as_echo_n "checking for _frexpl declaration... " >&6; }
58320 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58321 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58322 $as_echo_n "(cached) " >&6
58323 else
58326 ac_ext=cpp
58327 ac_cpp='$CXXCPP $CPPFLAGS'
58328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58333 /* end confdefs.h. */
58334 #include <math.h>
58336 main ()
58338 _frexpl(0, 0);
58340 return 0;
58342 _ACEOF
58343 if ac_fn_cxx_try_compile "$LINENO"; then :
58344 glibcxx_cv_func__frexpl_use=yes
58345 else
58346 glibcxx_cv_func__frexpl_use=no
58348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58349 ac_ext=c
58350 ac_cpp='$CPP $CPPFLAGS'
58351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58360 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58362 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58363 for ac_func in _frexpl
58364 do :
58365 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58366 if test "x$ac_cv_func__frexpl" = x""yes; then :
58367 cat >>confdefs.h <<_ACEOF
58368 #define HAVE__FREXPL 1
58369 _ACEOF
58372 done
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58382 $as_echo_n "checking for hypotl declaration... " >&6; }
58383 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58384 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58385 $as_echo_n "(cached) " >&6
58386 else
58389 ac_ext=cpp
58390 ac_cpp='$CXXCPP $CPPFLAGS'
58391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58396 /* end confdefs.h. */
58397 #include <math.h>
58399 main ()
58401 hypotl(0, 0);
58403 return 0;
58405 _ACEOF
58406 if ac_fn_cxx_try_compile "$LINENO"; then :
58407 glibcxx_cv_func_hypotl_use=yes
58408 else
58409 glibcxx_cv_func_hypotl_use=no
58411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58423 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58425 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58426 for ac_func in hypotl
58427 do :
58428 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58429 if test "x$ac_cv_func_hypotl" = x""yes; then :
58430 cat >>confdefs.h <<_ACEOF
58431 #define HAVE_HYPOTL 1
58432 _ACEOF
58435 done
58437 else
58439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58440 $as_echo_n "checking for _hypotl declaration... " >&6; }
58441 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58442 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58443 $as_echo_n "(cached) " >&6
58444 else
58447 ac_ext=cpp
58448 ac_cpp='$CXXCPP $CPPFLAGS'
58449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58454 /* end confdefs.h. */
58455 #include <math.h>
58457 main ()
58459 _hypotl(0, 0);
58461 return 0;
58463 _ACEOF
58464 if ac_fn_cxx_try_compile "$LINENO"; then :
58465 glibcxx_cv_func__hypotl_use=yes
58466 else
58467 glibcxx_cv_func__hypotl_use=no
58469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58470 ac_ext=c
58471 ac_cpp='$CPP $CPPFLAGS'
58472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58481 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58483 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58484 for ac_func in _hypotl
58485 do :
58486 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58487 if test "x$ac_cv_func__hypotl" = x""yes; then :
58488 cat >>confdefs.h <<_ACEOF
58489 #define HAVE__HYPOTL 1
58490 _ACEOF
58493 done
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58503 $as_echo_n "checking for ldexpl declaration... " >&6; }
58504 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58505 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58506 $as_echo_n "(cached) " >&6
58507 else
58510 ac_ext=cpp
58511 ac_cpp='$CXXCPP $CPPFLAGS'
58512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58517 /* end confdefs.h. */
58518 #include <math.h>
58520 main ()
58522 ldexpl(0, 0);
58524 return 0;
58526 _ACEOF
58527 if ac_fn_cxx_try_compile "$LINENO"; then :
58528 glibcxx_cv_func_ldexpl_use=yes
58529 else
58530 glibcxx_cv_func_ldexpl_use=no
58532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58533 ac_ext=c
58534 ac_cpp='$CPP $CPPFLAGS'
58535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58544 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58546 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58547 for ac_func in ldexpl
58548 do :
58549 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58550 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58551 cat >>confdefs.h <<_ACEOF
58552 #define HAVE_LDEXPL 1
58553 _ACEOF
58556 done
58558 else
58560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58561 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58562 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58563 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58564 $as_echo_n "(cached) " >&6
58565 else
58568 ac_ext=cpp
58569 ac_cpp='$CXXCPP $CPPFLAGS'
58570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58575 /* end confdefs.h. */
58576 #include <math.h>
58578 main ()
58580 _ldexpl(0, 0);
58582 return 0;
58584 _ACEOF
58585 if ac_fn_cxx_try_compile "$LINENO"; then :
58586 glibcxx_cv_func__ldexpl_use=yes
58587 else
58588 glibcxx_cv_func__ldexpl_use=no
58590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58591 ac_ext=c
58592 ac_cpp='$CPP $CPPFLAGS'
58593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58602 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58604 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58605 for ac_func in _ldexpl
58606 do :
58607 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58608 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58609 cat >>confdefs.h <<_ACEOF
58610 #define HAVE__LDEXPL 1
58611 _ACEOF
58614 done
58623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58624 $as_echo_n "checking for logl declaration... " >&6; }
58625 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58626 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58627 $as_echo_n "(cached) " >&6
58628 else
58631 ac_ext=cpp
58632 ac_cpp='$CXXCPP $CPPFLAGS'
58633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58638 /* end confdefs.h. */
58639 #include <math.h>
58640 #ifdef HAVE_IEEEFP_H
58641 #include <ieeefp.h>
58642 #endif
58645 main ()
58647 logl(0);
58649 return 0;
58651 _ACEOF
58652 if ac_fn_cxx_try_compile "$LINENO"; then :
58653 glibcxx_cv_func_logl_use=yes
58654 else
58655 glibcxx_cv_func_logl_use=no
58657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58658 ac_ext=c
58659 ac_cpp='$CPP $CPPFLAGS'
58660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58669 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58671 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58672 for ac_func in logl
58673 do :
58674 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58675 if test "x$ac_cv_func_logl" = x""yes; then :
58676 cat >>confdefs.h <<_ACEOF
58677 #define HAVE_LOGL 1
58678 _ACEOF
58681 done
58683 else
58685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58686 $as_echo_n "checking for _logl declaration... " >&6; }
58687 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58688 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58689 $as_echo_n "(cached) " >&6
58690 else
58693 ac_ext=cpp
58694 ac_cpp='$CXXCPP $CPPFLAGS'
58695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58700 /* end confdefs.h. */
58701 #include <math.h>
58702 #ifdef HAVE_IEEEFP_H
58703 #include <ieeefp.h>
58704 #endif
58707 main ()
58709 _logl(0);
58711 return 0;
58713 _ACEOF
58714 if ac_fn_cxx_try_compile "$LINENO"; then :
58715 glibcxx_cv_func__logl_use=yes
58716 else
58717 glibcxx_cv_func__logl_use=no
58719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58720 ac_ext=c
58721 ac_cpp='$CPP $CPPFLAGS'
58722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58731 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58733 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58734 for ac_func in _logl
58735 do :
58736 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58737 if test "x$ac_cv_func__logl" = x""yes; then :
58738 cat >>confdefs.h <<_ACEOF
58739 #define HAVE__LOGL 1
58740 _ACEOF
58743 done
58752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58753 $as_echo_n "checking for log10l declaration... " >&6; }
58754 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58755 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58756 $as_echo_n "(cached) " >&6
58757 else
58760 ac_ext=cpp
58761 ac_cpp='$CXXCPP $CPPFLAGS'
58762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58767 /* end confdefs.h. */
58768 #include <math.h>
58769 #ifdef HAVE_IEEEFP_H
58770 #include <ieeefp.h>
58771 #endif
58774 main ()
58776 log10l(0);
58778 return 0;
58780 _ACEOF
58781 if ac_fn_cxx_try_compile "$LINENO"; then :
58782 glibcxx_cv_func_log10l_use=yes
58783 else
58784 glibcxx_cv_func_log10l_use=no
58786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58787 ac_ext=c
58788 ac_cpp='$CPP $CPPFLAGS'
58789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58798 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58800 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58801 for ac_func in log10l
58802 do :
58803 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58804 if test "x$ac_cv_func_log10l" = x""yes; then :
58805 cat >>confdefs.h <<_ACEOF
58806 #define HAVE_LOG10L 1
58807 _ACEOF
58810 done
58812 else
58814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58815 $as_echo_n "checking for _log10l declaration... " >&6; }
58816 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58817 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58818 $as_echo_n "(cached) " >&6
58819 else
58822 ac_ext=cpp
58823 ac_cpp='$CXXCPP $CPPFLAGS'
58824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58829 /* end confdefs.h. */
58830 #include <math.h>
58831 #ifdef HAVE_IEEEFP_H
58832 #include <ieeefp.h>
58833 #endif
58836 main ()
58838 _log10l(0);
58840 return 0;
58842 _ACEOF
58843 if ac_fn_cxx_try_compile "$LINENO"; then :
58844 glibcxx_cv_func__log10l_use=yes
58845 else
58846 glibcxx_cv_func__log10l_use=no
58848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58849 ac_ext=c
58850 ac_cpp='$CPP $CPPFLAGS'
58851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58860 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58862 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58863 for ac_func in _log10l
58864 do :
58865 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58866 if test "x$ac_cv_func__log10l" = x""yes; then :
58867 cat >>confdefs.h <<_ACEOF
58868 #define HAVE__LOG10L 1
58869 _ACEOF
58872 done
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58882 $as_echo_n "checking for modfl declaration... " >&6; }
58883 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58884 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58885 $as_echo_n "(cached) " >&6
58886 else
58889 ac_ext=cpp
58890 ac_cpp='$CXXCPP $CPPFLAGS'
58891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58896 /* end confdefs.h. */
58897 #include <math.h>
58899 main ()
58901 modfl(0, 0);
58903 return 0;
58905 _ACEOF
58906 if ac_fn_cxx_try_compile "$LINENO"; then :
58907 glibcxx_cv_func_modfl_use=yes
58908 else
58909 glibcxx_cv_func_modfl_use=no
58911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58912 ac_ext=c
58913 ac_cpp='$CPP $CPPFLAGS'
58914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58923 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58925 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58926 for ac_func in modfl
58927 do :
58928 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58929 if test "x$ac_cv_func_modfl" = x""yes; then :
58930 cat >>confdefs.h <<_ACEOF
58931 #define HAVE_MODFL 1
58932 _ACEOF
58935 done
58937 else
58939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58940 $as_echo_n "checking for _modfl declaration... " >&6; }
58941 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58942 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58943 $as_echo_n "(cached) " >&6
58944 else
58947 ac_ext=cpp
58948 ac_cpp='$CXXCPP $CPPFLAGS'
58949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58954 /* end confdefs.h. */
58955 #include <math.h>
58957 main ()
58959 _modfl(0, 0);
58961 return 0;
58963 _ACEOF
58964 if ac_fn_cxx_try_compile "$LINENO"; then :
58965 glibcxx_cv_func__modfl_use=yes
58966 else
58967 glibcxx_cv_func__modfl_use=no
58969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58970 ac_ext=c
58971 ac_cpp='$CPP $CPPFLAGS'
58972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58981 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58983 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58984 for ac_func in _modfl
58985 do :
58986 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58987 if test "x$ac_cv_func__modfl" = x""yes; then :
58988 cat >>confdefs.h <<_ACEOF
58989 #define HAVE__MODFL 1
58990 _ACEOF
58993 done
59002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59003 $as_echo_n "checking for powl declaration... " >&6; }
59004 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59005 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59006 $as_echo_n "(cached) " >&6
59007 else
59010 ac_ext=cpp
59011 ac_cpp='$CXXCPP $CPPFLAGS'
59012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59017 /* end confdefs.h. */
59018 #include <math.h>
59020 main ()
59022 powl(0, 0);
59024 return 0;
59026 _ACEOF
59027 if ac_fn_cxx_try_compile "$LINENO"; then :
59028 glibcxx_cv_func_powl_use=yes
59029 else
59030 glibcxx_cv_func_powl_use=no
59032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59033 ac_ext=c
59034 ac_cpp='$CPP $CPPFLAGS'
59035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59044 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59046 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59047 for ac_func in powl
59048 do :
59049 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59050 if test "x$ac_cv_func_powl" = x""yes; then :
59051 cat >>confdefs.h <<_ACEOF
59052 #define HAVE_POWL 1
59053 _ACEOF
59056 done
59058 else
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59061 $as_echo_n "checking for _powl declaration... " >&6; }
59062 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59063 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59064 $as_echo_n "(cached) " >&6
59065 else
59068 ac_ext=cpp
59069 ac_cpp='$CXXCPP $CPPFLAGS'
59070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59075 /* end confdefs.h. */
59076 #include <math.h>
59078 main ()
59080 _powl(0, 0);
59082 return 0;
59084 _ACEOF
59085 if ac_fn_cxx_try_compile "$LINENO"; then :
59086 glibcxx_cv_func__powl_use=yes
59087 else
59088 glibcxx_cv_func__powl_use=no
59090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59091 ac_ext=c
59092 ac_cpp='$CPP $CPPFLAGS'
59093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59102 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59104 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59105 for ac_func in _powl
59106 do :
59107 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59108 if test "x$ac_cv_func__powl" = x""yes; then :
59109 cat >>confdefs.h <<_ACEOF
59110 #define HAVE__POWL 1
59111 _ACEOF
59114 done
59123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59124 $as_echo_n "checking for sqrtl declaration... " >&6; }
59125 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59126 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59127 $as_echo_n "(cached) " >&6
59128 else
59131 ac_ext=cpp
59132 ac_cpp='$CXXCPP $CPPFLAGS'
59133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59138 /* end confdefs.h. */
59139 #include <math.h>
59140 #ifdef HAVE_IEEEFP_H
59141 #include <ieeefp.h>
59142 #endif
59145 main ()
59147 sqrtl(0);
59149 return 0;
59151 _ACEOF
59152 if ac_fn_cxx_try_compile "$LINENO"; then :
59153 glibcxx_cv_func_sqrtl_use=yes
59154 else
59155 glibcxx_cv_func_sqrtl_use=no
59157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59158 ac_ext=c
59159 ac_cpp='$CPP $CPPFLAGS'
59160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59169 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59171 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59172 for ac_func in sqrtl
59173 do :
59174 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59175 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59176 cat >>confdefs.h <<_ACEOF
59177 #define HAVE_SQRTL 1
59178 _ACEOF
59181 done
59183 else
59185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59186 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59187 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59188 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59189 $as_echo_n "(cached) " >&6
59190 else
59193 ac_ext=cpp
59194 ac_cpp='$CXXCPP $CPPFLAGS'
59195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59200 /* end confdefs.h. */
59201 #include <math.h>
59202 #ifdef HAVE_IEEEFP_H
59203 #include <ieeefp.h>
59204 #endif
59207 main ()
59209 _sqrtl(0);
59211 return 0;
59213 _ACEOF
59214 if ac_fn_cxx_try_compile "$LINENO"; then :
59215 glibcxx_cv_func__sqrtl_use=yes
59216 else
59217 glibcxx_cv_func__sqrtl_use=no
59219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59220 ac_ext=c
59221 ac_cpp='$CPP $CPPFLAGS'
59222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59231 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59233 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59234 for ac_func in _sqrtl
59235 do :
59236 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59237 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59238 cat >>confdefs.h <<_ACEOF
59239 #define HAVE__SQRTL 1
59240 _ACEOF
59243 done
59252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59253 $as_echo_n "checking for sincosl declaration... " >&6; }
59254 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59255 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59256 $as_echo_n "(cached) " >&6
59257 else
59260 ac_ext=cpp
59261 ac_cpp='$CXXCPP $CPPFLAGS'
59262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59267 /* end confdefs.h. */
59268 #include <math.h>
59270 main ()
59272 sincosl(0, 0, 0);
59274 return 0;
59276 _ACEOF
59277 if ac_fn_cxx_try_compile "$LINENO"; then :
59278 glibcxx_cv_func_sincosl_use=yes
59279 else
59280 glibcxx_cv_func_sincosl_use=no
59282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59283 ac_ext=c
59284 ac_cpp='$CPP $CPPFLAGS'
59285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59294 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59296 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59297 for ac_func in sincosl
59298 do :
59299 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59300 if test "x$ac_cv_func_sincosl" = x""yes; then :
59301 cat >>confdefs.h <<_ACEOF
59302 #define HAVE_SINCOSL 1
59303 _ACEOF
59306 done
59308 else
59310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59311 $as_echo_n "checking for _sincosl declaration... " >&6; }
59312 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59313 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59314 $as_echo_n "(cached) " >&6
59315 else
59318 ac_ext=cpp
59319 ac_cpp='$CXXCPP $CPPFLAGS'
59320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59325 /* end confdefs.h. */
59326 #include <math.h>
59328 main ()
59330 _sincosl(0, 0, 0);
59332 return 0;
59334 _ACEOF
59335 if ac_fn_cxx_try_compile "$LINENO"; then :
59336 glibcxx_cv_func__sincosl_use=yes
59337 else
59338 glibcxx_cv_func__sincosl_use=no
59340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59341 ac_ext=c
59342 ac_cpp='$CPP $CPPFLAGS'
59343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59352 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59354 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59355 for ac_func in _sincosl
59356 do :
59357 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59358 if test "x$ac_cv_func__sincosl" = x""yes; then :
59359 cat >>confdefs.h <<_ACEOF
59360 #define HAVE__SINCOSL 1
59361 _ACEOF
59364 done
59373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59374 $as_echo_n "checking for finitel declaration... " >&6; }
59375 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59376 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59377 $as_echo_n "(cached) " >&6
59378 else
59381 ac_ext=cpp
59382 ac_cpp='$CXXCPP $CPPFLAGS'
59383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59388 /* end confdefs.h. */
59389 #include <math.h>
59390 #ifdef HAVE_IEEEFP_H
59391 #include <ieeefp.h>
59392 #endif
59395 main ()
59397 finitel(0);
59399 return 0;
59401 _ACEOF
59402 if ac_fn_cxx_try_compile "$LINENO"; then :
59403 glibcxx_cv_func_finitel_use=yes
59404 else
59405 glibcxx_cv_func_finitel_use=no
59407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59408 ac_ext=c
59409 ac_cpp='$CPP $CPPFLAGS'
59410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59419 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59421 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59422 for ac_func in finitel
59423 do :
59424 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59425 if test "x$ac_cv_func_finitel" = x""yes; then :
59426 cat >>confdefs.h <<_ACEOF
59427 #define HAVE_FINITEL 1
59428 _ACEOF
59431 done
59433 else
59435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59436 $as_echo_n "checking for _finitel declaration... " >&6; }
59437 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59438 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59439 $as_echo_n "(cached) " >&6
59440 else
59443 ac_ext=cpp
59444 ac_cpp='$CXXCPP $CPPFLAGS'
59445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59450 /* end confdefs.h. */
59451 #include <math.h>
59452 #ifdef HAVE_IEEEFP_H
59453 #include <ieeefp.h>
59454 #endif
59457 main ()
59459 _finitel(0);
59461 return 0;
59463 _ACEOF
59464 if ac_fn_cxx_try_compile "$LINENO"; then :
59465 glibcxx_cv_func__finitel_use=yes
59466 else
59467 glibcxx_cv_func__finitel_use=no
59469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59470 ac_ext=c
59471 ac_cpp='$CPP $CPPFLAGS'
59472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59481 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59483 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59484 for ac_func in _finitel
59485 do :
59486 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59487 if test "x$ac_cv_func__finitel" = x""yes; then :
59488 cat >>confdefs.h <<_ACEOF
59489 #define HAVE__FINITEL 1
59490 _ACEOF
59493 done
59501 LIBS="$ac_save_LIBS"
59502 CXXFLAGS="$ac_save_CXXFLAGS"
59505 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59506 ac_save_CXXFLAGS="$CXXFLAGS"
59507 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59511 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59512 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59513 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59514 $as_echo_n "(cached) " >&6
59515 else
59518 ac_ext=cpp
59519 ac_cpp='$CXXCPP $CPPFLAGS'
59520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59525 /* end confdefs.h. */
59526 #include <stdlib.h>
59528 main ()
59530 at_quick_exit(0);
59532 return 0;
59534 _ACEOF
59535 if ac_fn_cxx_try_compile "$LINENO"; then :
59536 glibcxx_cv_func_at_quick_exit_use=yes
59537 else
59538 glibcxx_cv_func_at_quick_exit_use=no
59540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59541 ac_ext=c
59542 ac_cpp='$CPP $CPPFLAGS'
59543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59552 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59553 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59554 for ac_func in at_quick_exit
59555 do :
59556 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59557 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59558 cat >>confdefs.h <<_ACEOF
59559 #define HAVE_AT_QUICK_EXIT 1
59560 _ACEOF
59563 done
59568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59569 $as_echo_n "checking for quick_exit declaration... " >&6; }
59570 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59571 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59572 $as_echo_n "(cached) " >&6
59573 else
59576 ac_ext=cpp
59577 ac_cpp='$CXXCPP $CPPFLAGS'
59578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59583 /* end confdefs.h. */
59584 #include <stdlib.h>
59586 main ()
59588 quick_exit(0);
59590 return 0;
59592 _ACEOF
59593 if ac_fn_cxx_try_compile "$LINENO"; then :
59594 glibcxx_cv_func_quick_exit_use=yes
59595 else
59596 glibcxx_cv_func_quick_exit_use=no
59598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59599 ac_ext=c
59600 ac_cpp='$CPP $CPPFLAGS'
59601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59610 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59611 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59612 for ac_func in quick_exit
59613 do :
59614 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59615 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE_QUICK_EXIT 1
59618 _ACEOF
59621 done
59626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59627 $as_echo_n "checking for strtold declaration... " >&6; }
59628 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59629 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59630 $as_echo_n "(cached) " >&6
59631 else
59634 ac_ext=cpp
59635 ac_cpp='$CXXCPP $CPPFLAGS'
59636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641 /* end confdefs.h. */
59642 #include <stdlib.h>
59644 main ()
59646 strtold(0, 0);
59648 return 0;
59650 _ACEOF
59651 if ac_fn_cxx_try_compile "$LINENO"; then :
59652 glibcxx_cv_func_strtold_use=yes
59653 else
59654 glibcxx_cv_func_strtold_use=no
59656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59657 ac_ext=c
59658 ac_cpp='$CPP $CPPFLAGS'
59659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59668 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59669 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59670 for ac_func in strtold
59671 do :
59672 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59673 if test "x$ac_cv_func_strtold" = x""yes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE_STRTOLD 1
59676 _ACEOF
59679 done
59686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59687 $as_echo_n "checking for strtof declaration... " >&6; }
59688 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59689 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59690 $as_echo_n "(cached) " >&6
59691 else
59694 ac_ext=cpp
59695 ac_cpp='$CXXCPP $CPPFLAGS'
59696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59701 /* end confdefs.h. */
59702 #include <stdlib.h>
59704 main ()
59706 strtof(0, 0);
59708 return 0;
59710 _ACEOF
59711 if ac_fn_cxx_try_compile "$LINENO"; then :
59712 glibcxx_cv_func_strtof_use=yes
59713 else
59714 glibcxx_cv_func_strtof_use=no
59716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59717 ac_ext=c
59718 ac_cpp='$CPP $CPPFLAGS'
59719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59728 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59729 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59730 for ac_func in strtof
59731 do :
59732 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59733 if test "x$ac_cv_func_strtof" = x""yes; then :
59734 cat >>confdefs.h <<_ACEOF
59735 #define HAVE_STRTOF 1
59736 _ACEOF
59739 done
59746 CXXFLAGS="$ac_save_CXXFLAGS"
59748 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59752 # Check whether --enable-tls was given.
59753 if test "${enable_tls+set}" = set; then :
59754 enableval=$enable_tls;
59755 case "$enableval" in
59756 yes|no) ;;
59757 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59758 esac
59760 else
59761 enable_tls=yes
59765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59766 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59767 if test "${gcc_cv_have_tls+set}" = set; then :
59768 $as_echo_n "(cached) " >&6
59769 else
59771 if test "$cross_compiling" = yes; then :
59772 if test x$gcc_no_link = xyes; then
59773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59776 /* end confdefs.h. */
59777 __thread int a; int b; int main() { return a = b; }
59778 _ACEOF
59779 if ac_fn_c_try_link "$LINENO"; then :
59780 chktls_save_LDFLAGS="$LDFLAGS"
59781 case $host in
59782 *-*-linux*)
59783 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59785 esac
59786 chktls_save_CFLAGS="$CFLAGS"
59787 CFLAGS="-fPIC $CFLAGS"
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 int f() { return 0; }
59794 _ACEOF
59795 if ac_fn_c_try_link "$LINENO"; then :
59796 if test x$gcc_no_link = xyes; then
59797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59800 /* end confdefs.h. */
59801 __thread int a; int b; int f() { return a = b; }
59802 _ACEOF
59803 if ac_fn_c_try_link "$LINENO"; then :
59804 gcc_cv_have_tls=yes
59805 else
59806 gcc_cv_have_tls=no
59808 rm -f core conftest.err conftest.$ac_objext \
59809 conftest$ac_exeext conftest.$ac_ext
59810 else
59811 gcc_cv_have_tls=yes
59813 rm -f core conftest.err conftest.$ac_objext \
59814 conftest$ac_exeext conftest.$ac_ext
59815 CFLAGS="$chktls_save_CFLAGS"
59816 LDFLAGS="$chktls_save_LDFLAGS"
59817 else
59818 gcc_cv_have_tls=no
59820 rm -f core conftest.err conftest.$ac_objext \
59821 conftest$ac_exeext conftest.$ac_ext
59824 else
59825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h. */
59827 __thread int a; int b; int main() { return a = b; }
59828 _ACEOF
59829 if ac_fn_c_try_run "$LINENO"; then :
59830 chktls_save_LDFLAGS="$LDFLAGS"
59831 LDFLAGS="-static $LDFLAGS"
59832 if test x$gcc_no_link = xyes; then
59833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59836 /* end confdefs.h. */
59837 int main() { return 0; }
59838 _ACEOF
59839 if ac_fn_c_try_link "$LINENO"; then :
59840 if test "$cross_compiling" = yes; then :
59841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59843 as_fn_error "cannot run test program while cross compiling
59844 See \`config.log' for more details." "$LINENO" 5; }
59845 else
59846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59847 /* end confdefs.h. */
59848 __thread int a; int b; int main() { return a = b; }
59849 _ACEOF
59850 if ac_fn_c_try_run "$LINENO"; then :
59851 gcc_cv_have_tls=yes
59852 else
59853 gcc_cv_have_tls=no
59855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59856 conftest.$ac_objext conftest.beam conftest.$ac_ext
59859 else
59860 gcc_cv_have_tls=yes
59862 rm -f core conftest.err conftest.$ac_objext \
59863 conftest$ac_exeext conftest.$ac_ext
59864 LDFLAGS="$chktls_save_LDFLAGS"
59865 if test $gcc_cv_have_tls = yes; then
59866 chktls_save_CFLAGS="$CFLAGS"
59867 thread_CFLAGS=failed
59868 for flag in '' '-pthread' '-lpthread'; do
59869 CFLAGS="$flag $chktls_save_CFLAGS"
59870 if test x$gcc_no_link = xyes; then
59871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59874 /* end confdefs.h. */
59875 #include <pthread.h>
59876 void *g(void *d) { return NULL; }
59878 main ()
59880 pthread_t t; pthread_create(&t,NULL,g,NULL);
59882 return 0;
59884 _ACEOF
59885 if ac_fn_c_try_link "$LINENO"; then :
59886 thread_CFLAGS="$flag"
59888 rm -f core conftest.err conftest.$ac_objext \
59889 conftest$ac_exeext conftest.$ac_ext
59890 if test "X$thread_CFLAGS" != Xfailed; then
59891 break
59893 done
59894 CFLAGS="$chktls_save_CFLAGS"
59895 if test "X$thread_CFLAGS" != Xfailed; then
59896 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59897 if test "$cross_compiling" = yes; then :
59898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59900 as_fn_error "cannot run test program while cross compiling
59901 See \`config.log' for more details." "$LINENO" 5; }
59902 else
59903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59904 /* end confdefs.h. */
59905 #include <pthread.h>
59906 __thread int a;
59907 static int *volatile a_in_other_thread;
59908 static void *
59909 thread_func (void *arg)
59911 a_in_other_thread = &a;
59912 return (void *)0;
59915 main ()
59917 pthread_t thread;
59918 void *thread_retval;
59919 int *volatile a_in_main_thread;
59920 a_in_main_thread = &a;
59921 if (pthread_create (&thread, (pthread_attr_t *)0,
59922 thread_func, (void *)0))
59923 return 0;
59924 if (pthread_join (thread, &thread_retval))
59925 return 0;
59926 return (a_in_other_thread == a_in_main_thread);
59928 return 0;
59930 _ACEOF
59931 if ac_fn_c_try_run "$LINENO"; then :
59932 gcc_cv_have_tls=yes
59933 else
59934 gcc_cv_have_tls=no
59936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59937 conftest.$ac_objext conftest.beam conftest.$ac_ext
59940 CFLAGS="$chktls_save_CFLAGS"
59943 else
59944 gcc_cv_have_tls=no
59946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59947 conftest.$ac_objext conftest.beam conftest.$ac_ext
59951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59952 $as_echo "$gcc_cv_have_tls" >&6; }
59953 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59955 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59958 for ac_func in __cxa_thread_atexit_impl
59959 do :
59960 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59961 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59962 cat >>confdefs.h <<_ACEOF
59963 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59964 _ACEOF
59967 done
59969 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59970 do :
59971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59973 eval as_val=\$$as_ac_var
59974 if test "x$as_val" = x""yes; then :
59975 cat >>confdefs.h <<_ACEOF
59976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59977 _ACEOF
59980 done
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59988 $as_echo_n "checking for iconv... " >&6; }
59989 if test "${am_cv_func_iconv+set}" = set; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59993 am_cv_func_iconv="no, consider installing GNU libiconv"
59994 am_cv_lib_iconv=no
59995 am_save_CPPFLAGS="$CPPFLAGS"
59996 CPPFLAGS="$CPPFLAGS $INCICONV"
59997 if test x$gcc_no_link = xyes; then
59998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <stdlib.h>
60003 #include <iconv.h>
60005 main ()
60007 iconv_t cd = iconv_open("","");
60008 iconv(cd,NULL,NULL,NULL,NULL);
60009 iconv_close(cd);
60011 return 0;
60013 _ACEOF
60014 if ac_fn_c_try_link "$LINENO"; then :
60015 am_cv_func_iconv=yes
60017 rm -f core conftest.err conftest.$ac_objext \
60018 conftest$ac_exeext conftest.$ac_ext
60019 CPPFLAGS="$am_save_CPPFLAGS"
60021 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60022 for _libs in .libs _libs; do
60023 am_save_CPPFLAGS="$CPPFLAGS"
60024 am_save_LIBS="$LIBS"
60025 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60026 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60027 if test x$gcc_no_link = xyes; then
60028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60031 /* end confdefs.h. */
60032 #include <stdlib.h>
60033 #include <iconv.h>
60035 main ()
60037 iconv_t cd = iconv_open("","");
60038 iconv(cd,NULL,NULL,NULL,NULL);
60039 iconv_close(cd);
60041 return 0;
60043 _ACEOF
60044 if ac_fn_c_try_link "$LINENO"; then :
60045 INCICONV="-I../libiconv/include"
60046 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60047 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60048 am_cv_lib_iconv=yes
60049 am_cv_func_iconv=yes
60051 rm -f core conftest.err conftest.$ac_objext \
60052 conftest$ac_exeext conftest.$ac_ext
60053 CPPFLAGS="$am_save_CPPFLAGS"
60054 LIBS="$am_save_LIBS"
60055 if test "$am_cv_func_iconv" = "yes"; then
60056 break
60058 done
60061 if test "$am_cv_func_iconv" != yes; then
60062 am_save_CPPFLAGS="$CPPFLAGS"
60063 am_save_LIBS="$LIBS"
60064 CPPFLAGS="$LIBS $INCICONV"
60065 LIBS="$LIBS $LIBICONV"
60066 if test x$gcc_no_link = xyes; then
60067 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60070 /* end confdefs.h. */
60071 #include <stdlib.h>
60072 #include <iconv.h>
60074 main ()
60076 iconv_t cd = iconv_open("","");
60077 iconv(cd,NULL,NULL,NULL,NULL);
60078 iconv_close(cd);
60080 return 0;
60082 _ACEOF
60083 if ac_fn_c_try_link "$LINENO"; then :
60084 am_cv_lib_iconv=yes
60085 am_cv_func_iconv=yes
60087 rm -f core conftest.err conftest.$ac_objext \
60088 conftest$ac_exeext conftest.$ac_ext
60089 CPPFLAGS="$am_save_CPPFLAGS"
60090 LIBS="$am_save_LIBS"
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60095 $as_echo "$am_cv_func_iconv" >&6; }
60096 if test "$am_cv_func_iconv" = yes; then
60098 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60101 if test "$am_cv_lib_iconv" = yes; then
60103 for element in $INCICONV; do
60104 haveit=
60105 for x in $CPPFLAGS; do
60107 acl_save_prefix="$prefix"
60108 prefix="$acl_final_prefix"
60109 acl_save_exec_prefix="$exec_prefix"
60110 exec_prefix="$acl_final_exec_prefix"
60111 eval x=\"$x\"
60112 exec_prefix="$acl_save_exec_prefix"
60113 prefix="$acl_save_prefix"
60115 if test "X$x" = "X$element"; then
60116 haveit=yes
60117 break
60119 done
60120 if test -z "$haveit"; then
60121 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60123 done
60125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60126 $as_echo_n "checking how to link with libiconv... " >&6; }
60127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60128 $as_echo "$LIBICONV" >&6; }
60129 else
60130 LIBICONV=
60131 LTLIBICONV=
60136 if test "$am_cv_func_iconv" = yes; then
60137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60138 $as_echo_n "checking for iconv declaration... " >&6; }
60139 if test "${am_cv_proto_iconv+set}" = set; then :
60140 $as_echo_n "(cached) " >&6
60141 else
60143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60144 /* end confdefs.h. */
60146 #include <stdlib.h>
60147 #include <iconv.h>
60148 extern
60149 #ifdef __cplusplus
60151 #endif
60152 #if defined(__STDC__) || defined(__cplusplus)
60153 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60154 #else
60155 size_t iconv();
60156 #endif
60159 main ()
60163 return 0;
60165 _ACEOF
60166 if ac_fn_c_try_compile "$LINENO"; then :
60167 am_cv_proto_iconv_arg1=""
60168 else
60169 am_cv_proto_iconv_arg1="const"
60171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60172 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);"
60175 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60177 }$am_cv_proto_iconv" >&5
60178 $as_echo "${ac_t:-
60179 }$am_cv_proto_iconv" >&6; }
60181 cat >>confdefs.h <<_ACEOF
60182 #define ICONV_CONST $am_cv_proto_iconv_arg1
60183 _ACEOF
60188 *-mingw32*)
60190 # If we're not using GNU ld, then there's no point in even trying these
60191 # tests. Check for that first. We should have already tested for gld
60192 # by now (in libtool), but require it now just to be safe...
60193 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60194 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60198 # The name set by libtool depends on the version of libtool. Shame on us
60199 # for depending on an impl detail, but c'est la vie. Older versions used
60200 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60201 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60202 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60203 # set (hence we're using an older libtool), then set it.
60204 if test x${with_gnu_ld+set} != xset; then
60205 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60206 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60207 with_gnu_ld=no
60208 else
60209 with_gnu_ld=$ac_cv_prog_gnu_ld
60213 # Start by getting the version number. I think the libtool test already
60214 # does some of this, but throws away the result.
60215 glibcxx_ld_is_gold=no
60216 if test x"$with_gnu_ld" = x"yes"; then
60217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60218 $as_echo_n "checking for ld version... " >&6; }
60220 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60221 glibcxx_ld_is_gold=yes
60223 ldver=`$LD --version 2>/dev/null |
60224 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'`
60226 glibcxx_gnu_ld_version=`echo $ldver | \
60227 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60229 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60232 # Set --gc-sections.
60233 glibcxx_have_gc_sections=no
60234 if test "$glibcxx_ld_is_gold" = "yes"; then
60235 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60236 glibcxx_have_gc_sections=yes
60238 else
60239 glibcxx_gcsections_min_ld=21602
60240 if test x"$with_gnu_ld" = x"yes" &&
60241 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60242 glibcxx_have_gc_sections=yes
60245 if test "$glibcxx_have_gc_sections" = "yes"; then
60246 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60247 # NB: This flag only works reliably after 2.16.1. Configure tests
60248 # for this are difficult, so hard wire a value that should work.
60250 ac_test_CFLAGS="${CFLAGS+set}"
60251 ac_save_CFLAGS="$CFLAGS"
60252 CFLAGS='-Wl,--gc-sections'
60254 # Check for -Wl,--gc-sections
60255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60256 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60257 if test x$gcc_no_link = xyes; then
60258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60261 /* end confdefs.h. */
60262 int one(void) { return 1; }
60263 int two(void) { return 2; }
60266 main ()
60268 two();
60270 return 0;
60272 _ACEOF
60273 if ac_fn_c_try_link "$LINENO"; then :
60274 ac_gcsections=yes
60275 else
60276 ac_gcsections=no
60278 rm -f core conftest.err conftest.$ac_objext \
60279 conftest$ac_exeext conftest.$ac_ext
60280 if test "$ac_gcsections" = "yes"; then
60281 rm -f conftest.c
60282 touch conftest.c
60283 if $CC -c conftest.c; then
60284 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60285 grep "Warning: gc-sections option ignored" > /dev/null; then
60286 ac_gcsections=no
60289 rm -f conftest.c conftest.o conftest
60291 if test "$ac_gcsections" = "yes"; then
60292 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60295 $as_echo "$ac_gcsections" >&6; }
60297 if test "$ac_test_CFLAGS" = set; then
60298 CFLAGS="$ac_save_CFLAGS"
60299 else
60300 # this is the suspicious part
60301 CFLAGS=''
60305 # Set -z,relro.
60306 # Note this is only for shared objects.
60307 ac_ld_relro=no
60308 if test x"$with_gnu_ld" = x"yes"; then
60309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60310 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60311 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60312 if test -n "$cxx_z_relo"; then
60313 OPT_LDFLAGS="-Wl,-z,relro"
60314 ac_ld_relro=yes
60316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60317 $as_echo "$ac_ld_relro" >&6; }
60320 # Set linker optimization flags.
60321 if test x"$with_gnu_ld" = x"yes"; then
60322 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60329 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60330 ac_save_CXXFLAGS="$CXXFLAGS"
60331 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60334 $as_echo_n "checking for sin in -lm... " >&6; }
60335 if test "${ac_cv_lib_m_sin+set}" = set; then :
60336 $as_echo_n "(cached) " >&6
60337 else
60338 ac_check_lib_save_LIBS=$LIBS
60339 LIBS="-lm $LIBS"
60340 if test x$gcc_no_link = xyes; then
60341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60344 /* end confdefs.h. */
60346 /* Override any GCC internal prototype to avoid an error.
60347 Use char because int might match the return type of a GCC
60348 builtin and then its argument prototype would still apply. */
60349 #ifdef __cplusplus
60350 extern "C"
60351 #endif
60352 char sin ();
60354 main ()
60356 return sin ();
60358 return 0;
60360 _ACEOF
60361 if ac_fn_c_try_link "$LINENO"; then :
60362 ac_cv_lib_m_sin=yes
60363 else
60364 ac_cv_lib_m_sin=no
60366 rm -f core conftest.err conftest.$ac_objext \
60367 conftest$ac_exeext conftest.$ac_ext
60368 LIBS=$ac_check_lib_save_LIBS
60370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60371 $as_echo "$ac_cv_lib_m_sin" >&6; }
60372 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60373 libm="-lm"
60376 ac_save_LIBS="$LIBS"
60377 LIBS="$LIBS $libm"
60381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60382 $as_echo_n "checking for isinf declaration... " >&6; }
60383 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60384 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60385 $as_echo_n "(cached) " >&6
60386 else
60389 ac_ext=cpp
60390 ac_cpp='$CXXCPP $CPPFLAGS'
60391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60396 /* end confdefs.h. */
60397 #include <math.h>
60398 #ifdef HAVE_IEEEFP_H
60399 #include <ieeefp.h>
60400 #endif
60403 main ()
60405 isinf(0);
60407 return 0;
60409 _ACEOF
60410 if ac_fn_cxx_try_compile "$LINENO"; then :
60411 glibcxx_cv_func_isinf_use=yes
60412 else
60413 glibcxx_cv_func_isinf_use=no
60415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60416 ac_ext=c
60417 ac_cpp='$CPP $CPPFLAGS'
60418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60427 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60429 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60430 for ac_func in isinf
60431 do :
60432 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60433 if test "x$ac_cv_func_isinf" = x""yes; then :
60434 cat >>confdefs.h <<_ACEOF
60435 #define HAVE_ISINF 1
60436 _ACEOF
60439 done
60441 else
60443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60444 $as_echo_n "checking for _isinf declaration... " >&6; }
60445 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60446 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60447 $as_echo_n "(cached) " >&6
60448 else
60451 ac_ext=cpp
60452 ac_cpp='$CXXCPP $CPPFLAGS'
60453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60458 /* end confdefs.h. */
60459 #include <math.h>
60460 #ifdef HAVE_IEEEFP_H
60461 #include <ieeefp.h>
60462 #endif
60465 main ()
60467 _isinf(0);
60469 return 0;
60471 _ACEOF
60472 if ac_fn_cxx_try_compile "$LINENO"; then :
60473 glibcxx_cv_func__isinf_use=yes
60474 else
60475 glibcxx_cv_func__isinf_use=no
60477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60478 ac_ext=c
60479 ac_cpp='$CPP $CPPFLAGS'
60480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60489 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60491 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60492 for ac_func in _isinf
60493 do :
60494 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60495 if test "x$ac_cv_func__isinf" = x""yes; then :
60496 cat >>confdefs.h <<_ACEOF
60497 #define HAVE__ISINF 1
60498 _ACEOF
60501 done
60510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60511 $as_echo_n "checking for isnan declaration... " >&6; }
60512 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60513 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60514 $as_echo_n "(cached) " >&6
60515 else
60518 ac_ext=cpp
60519 ac_cpp='$CXXCPP $CPPFLAGS'
60520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60525 /* end confdefs.h. */
60526 #include <math.h>
60527 #ifdef HAVE_IEEEFP_H
60528 #include <ieeefp.h>
60529 #endif
60532 main ()
60534 isnan(0);
60536 return 0;
60538 _ACEOF
60539 if ac_fn_cxx_try_compile "$LINENO"; then :
60540 glibcxx_cv_func_isnan_use=yes
60541 else
60542 glibcxx_cv_func_isnan_use=no
60544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60545 ac_ext=c
60546 ac_cpp='$CPP $CPPFLAGS'
60547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60556 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60558 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60559 for ac_func in isnan
60560 do :
60561 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60562 if test "x$ac_cv_func_isnan" = x""yes; then :
60563 cat >>confdefs.h <<_ACEOF
60564 #define HAVE_ISNAN 1
60565 _ACEOF
60568 done
60570 else
60572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60573 $as_echo_n "checking for _isnan declaration... " >&6; }
60574 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60575 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60576 $as_echo_n "(cached) " >&6
60577 else
60580 ac_ext=cpp
60581 ac_cpp='$CXXCPP $CPPFLAGS'
60582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60587 /* end confdefs.h. */
60588 #include <math.h>
60589 #ifdef HAVE_IEEEFP_H
60590 #include <ieeefp.h>
60591 #endif
60594 main ()
60596 _isnan(0);
60598 return 0;
60600 _ACEOF
60601 if ac_fn_cxx_try_compile "$LINENO"; then :
60602 glibcxx_cv_func__isnan_use=yes
60603 else
60604 glibcxx_cv_func__isnan_use=no
60606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60607 ac_ext=c
60608 ac_cpp='$CPP $CPPFLAGS'
60609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60618 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60620 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60621 for ac_func in _isnan
60622 do :
60623 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60624 if test "x$ac_cv_func__isnan" = x""yes; then :
60625 cat >>confdefs.h <<_ACEOF
60626 #define HAVE__ISNAN 1
60627 _ACEOF
60630 done
60639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60640 $as_echo_n "checking for finite declaration... " >&6; }
60641 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60642 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60643 $as_echo_n "(cached) " >&6
60644 else
60647 ac_ext=cpp
60648 ac_cpp='$CXXCPP $CPPFLAGS'
60649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60654 /* end confdefs.h. */
60655 #include <math.h>
60656 #ifdef HAVE_IEEEFP_H
60657 #include <ieeefp.h>
60658 #endif
60661 main ()
60663 finite(0);
60665 return 0;
60667 _ACEOF
60668 if ac_fn_cxx_try_compile "$LINENO"; then :
60669 glibcxx_cv_func_finite_use=yes
60670 else
60671 glibcxx_cv_func_finite_use=no
60673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60674 ac_ext=c
60675 ac_cpp='$CPP $CPPFLAGS'
60676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60685 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60687 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60688 for ac_func in finite
60689 do :
60690 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60691 if test "x$ac_cv_func_finite" = x""yes; then :
60692 cat >>confdefs.h <<_ACEOF
60693 #define HAVE_FINITE 1
60694 _ACEOF
60697 done
60699 else
60701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60702 $as_echo_n "checking for _finite declaration... " >&6; }
60703 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60704 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60705 $as_echo_n "(cached) " >&6
60706 else
60709 ac_ext=cpp
60710 ac_cpp='$CXXCPP $CPPFLAGS'
60711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60716 /* end confdefs.h. */
60717 #include <math.h>
60718 #ifdef HAVE_IEEEFP_H
60719 #include <ieeefp.h>
60720 #endif
60723 main ()
60725 _finite(0);
60727 return 0;
60729 _ACEOF
60730 if ac_fn_cxx_try_compile "$LINENO"; then :
60731 glibcxx_cv_func__finite_use=yes
60732 else
60733 glibcxx_cv_func__finite_use=no
60735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60736 ac_ext=c
60737 ac_cpp='$CPP $CPPFLAGS'
60738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60747 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60749 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60750 for ac_func in _finite
60751 do :
60752 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60753 if test "x$ac_cv_func__finite" = x""yes; then :
60754 cat >>confdefs.h <<_ACEOF
60755 #define HAVE__FINITE 1
60756 _ACEOF
60759 done
60768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60769 $as_echo_n "checking for sincos declaration... " >&6; }
60770 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60771 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60772 $as_echo_n "(cached) " >&6
60773 else
60776 ac_ext=cpp
60777 ac_cpp='$CXXCPP $CPPFLAGS'
60778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60783 /* end confdefs.h. */
60784 #include <math.h>
60786 main ()
60788 sincos(0, 0, 0);
60790 return 0;
60792 _ACEOF
60793 if ac_fn_cxx_try_compile "$LINENO"; then :
60794 glibcxx_cv_func_sincos_use=yes
60795 else
60796 glibcxx_cv_func_sincos_use=no
60798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60799 ac_ext=c
60800 ac_cpp='$CPP $CPPFLAGS'
60801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60810 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60812 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60813 for ac_func in sincos
60814 do :
60815 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60816 if test "x$ac_cv_func_sincos" = x""yes; then :
60817 cat >>confdefs.h <<_ACEOF
60818 #define HAVE_SINCOS 1
60819 _ACEOF
60822 done
60824 else
60826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60827 $as_echo_n "checking for _sincos declaration... " >&6; }
60828 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60829 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60830 $as_echo_n "(cached) " >&6
60831 else
60834 ac_ext=cpp
60835 ac_cpp='$CXXCPP $CPPFLAGS'
60836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60841 /* end confdefs.h. */
60842 #include <math.h>
60844 main ()
60846 _sincos(0, 0, 0);
60848 return 0;
60850 _ACEOF
60851 if ac_fn_cxx_try_compile "$LINENO"; then :
60852 glibcxx_cv_func__sincos_use=yes
60853 else
60854 glibcxx_cv_func__sincos_use=no
60856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60857 ac_ext=c
60858 ac_cpp='$CPP $CPPFLAGS'
60859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60868 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60870 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60871 for ac_func in _sincos
60872 do :
60873 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60874 if test "x$ac_cv_func__sincos" = x""yes; then :
60875 cat >>confdefs.h <<_ACEOF
60876 #define HAVE__SINCOS 1
60877 _ACEOF
60880 done
60889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60890 $as_echo_n "checking for fpclass declaration... " >&6; }
60891 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60892 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60893 $as_echo_n "(cached) " >&6
60894 else
60897 ac_ext=cpp
60898 ac_cpp='$CXXCPP $CPPFLAGS'
60899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60904 /* end confdefs.h. */
60905 #include <math.h>
60906 #ifdef HAVE_IEEEFP_H
60907 #include <ieeefp.h>
60908 #endif
60911 main ()
60913 fpclass(0);
60915 return 0;
60917 _ACEOF
60918 if ac_fn_cxx_try_compile "$LINENO"; then :
60919 glibcxx_cv_func_fpclass_use=yes
60920 else
60921 glibcxx_cv_func_fpclass_use=no
60923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60924 ac_ext=c
60925 ac_cpp='$CPP $CPPFLAGS'
60926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60935 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60937 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60938 for ac_func in fpclass
60939 do :
60940 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60941 if test "x$ac_cv_func_fpclass" = x""yes; then :
60942 cat >>confdefs.h <<_ACEOF
60943 #define HAVE_FPCLASS 1
60944 _ACEOF
60947 done
60949 else
60951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60952 $as_echo_n "checking for _fpclass declaration... " >&6; }
60953 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60954 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60955 $as_echo_n "(cached) " >&6
60956 else
60959 ac_ext=cpp
60960 ac_cpp='$CXXCPP $CPPFLAGS'
60961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60966 /* end confdefs.h. */
60967 #include <math.h>
60968 #ifdef HAVE_IEEEFP_H
60969 #include <ieeefp.h>
60970 #endif
60973 main ()
60975 _fpclass(0);
60977 return 0;
60979 _ACEOF
60980 if ac_fn_cxx_try_compile "$LINENO"; then :
60981 glibcxx_cv_func__fpclass_use=yes
60982 else
60983 glibcxx_cv_func__fpclass_use=no
60985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60986 ac_ext=c
60987 ac_cpp='$CPP $CPPFLAGS'
60988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60997 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60999 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61000 for ac_func in _fpclass
61001 do :
61002 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61003 if test "x$ac_cv_func__fpclass" = x""yes; then :
61004 cat >>confdefs.h <<_ACEOF
61005 #define HAVE__FPCLASS 1
61006 _ACEOF
61009 done
61018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61019 $as_echo_n "checking for qfpclass declaration... " >&6; }
61020 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61021 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61022 $as_echo_n "(cached) " >&6
61023 else
61026 ac_ext=cpp
61027 ac_cpp='$CXXCPP $CPPFLAGS'
61028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61033 /* end confdefs.h. */
61034 #include <math.h>
61035 #ifdef HAVE_IEEEFP_H
61036 #include <ieeefp.h>
61037 #endif
61040 main ()
61042 qfpclass(0);
61044 return 0;
61046 _ACEOF
61047 if ac_fn_cxx_try_compile "$LINENO"; then :
61048 glibcxx_cv_func_qfpclass_use=yes
61049 else
61050 glibcxx_cv_func_qfpclass_use=no
61052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61053 ac_ext=c
61054 ac_cpp='$CPP $CPPFLAGS'
61055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61064 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61066 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61067 for ac_func in qfpclass
61068 do :
61069 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61070 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61071 cat >>confdefs.h <<_ACEOF
61072 #define HAVE_QFPCLASS 1
61073 _ACEOF
61076 done
61078 else
61080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61081 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61082 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61083 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61084 $as_echo_n "(cached) " >&6
61085 else
61088 ac_ext=cpp
61089 ac_cpp='$CXXCPP $CPPFLAGS'
61090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61095 /* end confdefs.h. */
61096 #include <math.h>
61097 #ifdef HAVE_IEEEFP_H
61098 #include <ieeefp.h>
61099 #endif
61102 main ()
61104 _qfpclass(0);
61106 return 0;
61108 _ACEOF
61109 if ac_fn_cxx_try_compile "$LINENO"; then :
61110 glibcxx_cv_func__qfpclass_use=yes
61111 else
61112 glibcxx_cv_func__qfpclass_use=no
61114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61115 ac_ext=c
61116 ac_cpp='$CPP $CPPFLAGS'
61117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61126 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61128 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61129 for ac_func in _qfpclass
61130 do :
61131 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61132 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61133 cat >>confdefs.h <<_ACEOF
61134 #define HAVE__QFPCLASS 1
61135 _ACEOF
61138 done
61147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61148 $as_echo_n "checking for hypot declaration... " >&6; }
61149 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61150 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61151 $as_echo_n "(cached) " >&6
61152 else
61155 ac_ext=cpp
61156 ac_cpp='$CXXCPP $CPPFLAGS'
61157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61162 /* end confdefs.h. */
61163 #include <math.h>
61165 main ()
61167 hypot(0, 0);
61169 return 0;
61171 _ACEOF
61172 if ac_fn_cxx_try_compile "$LINENO"; then :
61173 glibcxx_cv_func_hypot_use=yes
61174 else
61175 glibcxx_cv_func_hypot_use=no
61177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61178 ac_ext=c
61179 ac_cpp='$CPP $CPPFLAGS'
61180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61189 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61191 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61192 for ac_func in hypot
61193 do :
61194 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61195 if test "x$ac_cv_func_hypot" = x""yes; then :
61196 cat >>confdefs.h <<_ACEOF
61197 #define HAVE_HYPOT 1
61198 _ACEOF
61201 done
61203 else
61205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61206 $as_echo_n "checking for _hypot declaration... " >&6; }
61207 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61208 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61209 $as_echo_n "(cached) " >&6
61210 else
61213 ac_ext=cpp
61214 ac_cpp='$CXXCPP $CPPFLAGS'
61215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61220 /* end confdefs.h. */
61221 #include <math.h>
61223 main ()
61225 _hypot(0, 0);
61227 return 0;
61229 _ACEOF
61230 if ac_fn_cxx_try_compile "$LINENO"; then :
61231 glibcxx_cv_func__hypot_use=yes
61232 else
61233 glibcxx_cv_func__hypot_use=no
61235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61236 ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61247 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61249 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61250 for ac_func in _hypot
61251 do :
61252 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61253 if test "x$ac_cv_func__hypot" = x""yes; then :
61254 cat >>confdefs.h <<_ACEOF
61255 #define HAVE__HYPOT 1
61256 _ACEOF
61259 done
61268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61269 $as_echo_n "checking for float trig functions... " >&6; }
61270 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61271 $as_echo_n "(cached) " >&6
61272 else
61275 ac_ext=cpp
61276 ac_cpp='$CXXCPP $CPPFLAGS'
61277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61282 /* end confdefs.h. */
61283 #include <math.h>
61285 main ()
61287 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61289 return 0;
61291 _ACEOF
61292 if ac_fn_cxx_try_compile "$LINENO"; then :
61293 glibcxx_cv_func_float_trig_use=yes
61294 else
61295 glibcxx_cv_func_float_trig_use=no
61297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61298 ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61307 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61308 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61309 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61310 do :
61311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61313 eval as_val=\$$as_ac_var
61314 if test "x$as_val" = x""yes; then :
61315 cat >>confdefs.h <<_ACEOF
61316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61317 _ACEOF
61320 done
61322 else
61323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61324 $as_echo_n "checking for _float trig functions... " >&6; }
61325 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61326 $as_echo_n "(cached) " >&6
61327 else
61330 ac_ext=cpp
61331 ac_cpp='$CXXCPP $CPPFLAGS'
61332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61337 /* end confdefs.h. */
61338 #include <math.h>
61340 main ()
61342 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61344 return 0;
61346 _ACEOF
61347 if ac_fn_cxx_try_compile "$LINENO"; then :
61348 glibcxx_cv_func__float_trig_use=yes
61349 else
61350 glibcxx_cv_func__float_trig_use=no
61352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61353 ac_ext=c
61354 ac_cpp='$CPP $CPPFLAGS'
61355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61362 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61363 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61364 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61365 do :
61366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61368 eval as_val=\$$as_ac_var
61369 if test "x$as_val" = x""yes; then :
61370 cat >>confdefs.h <<_ACEOF
61371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61372 _ACEOF
61375 done
61384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61385 $as_echo_n "checking for float round functions... " >&6; }
61386 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61387 $as_echo_n "(cached) " >&6
61388 else
61391 ac_ext=cpp
61392 ac_cpp='$CXXCPP $CPPFLAGS'
61393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61398 /* end confdefs.h. */
61399 #include <math.h>
61401 main ()
61403 ceilf (0); floorf (0);
61405 return 0;
61407 _ACEOF
61408 if ac_fn_cxx_try_compile "$LINENO"; then :
61409 glibcxx_cv_func_float_round_use=yes
61410 else
61411 glibcxx_cv_func_float_round_use=no
61413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61414 ac_ext=c
61415 ac_cpp='$CPP $CPPFLAGS'
61416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61423 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61424 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61425 for ac_func in ceilf floorf
61426 do :
61427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61429 eval as_val=\$$as_ac_var
61430 if test "x$as_val" = x""yes; then :
61431 cat >>confdefs.h <<_ACEOF
61432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61433 _ACEOF
61436 done
61438 else
61439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61440 $as_echo_n "checking for _float round functions... " >&6; }
61441 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61442 $as_echo_n "(cached) " >&6
61443 else
61446 ac_ext=cpp
61447 ac_cpp='$CXXCPP $CPPFLAGS'
61448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61453 /* end confdefs.h. */
61454 #include <math.h>
61456 main ()
61458 _ceilf (0); _floorf (0);
61460 return 0;
61462 _ACEOF
61463 if ac_fn_cxx_try_compile "$LINENO"; then :
61464 glibcxx_cv_func__float_round_use=yes
61465 else
61466 glibcxx_cv_func__float_round_use=no
61468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61469 ac_ext=c
61470 ac_cpp='$CPP $CPPFLAGS'
61471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61478 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61479 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61480 for ac_func in _ceilf _floorf
61481 do :
61482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61484 eval as_val=\$$as_ac_var
61485 if test "x$as_val" = x""yes; then :
61486 cat >>confdefs.h <<_ACEOF
61487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61488 _ACEOF
61491 done
61501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61502 $as_echo_n "checking for expf declaration... " >&6; }
61503 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61504 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61505 $as_echo_n "(cached) " >&6
61506 else
61509 ac_ext=cpp
61510 ac_cpp='$CXXCPP $CPPFLAGS'
61511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61516 /* end confdefs.h. */
61517 #include <math.h>
61518 #ifdef HAVE_IEEEFP_H
61519 #include <ieeefp.h>
61520 #endif
61523 main ()
61525 expf(0);
61527 return 0;
61529 _ACEOF
61530 if ac_fn_cxx_try_compile "$LINENO"; then :
61531 glibcxx_cv_func_expf_use=yes
61532 else
61533 glibcxx_cv_func_expf_use=no
61535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61536 ac_ext=c
61537 ac_cpp='$CPP $CPPFLAGS'
61538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61547 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61549 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61550 for ac_func in expf
61551 do :
61552 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61553 if test "x$ac_cv_func_expf" = x""yes; then :
61554 cat >>confdefs.h <<_ACEOF
61555 #define HAVE_EXPF 1
61556 _ACEOF
61559 done
61561 else
61563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61564 $as_echo_n "checking for _expf declaration... " >&6; }
61565 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61566 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61567 $as_echo_n "(cached) " >&6
61568 else
61571 ac_ext=cpp
61572 ac_cpp='$CXXCPP $CPPFLAGS'
61573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61578 /* end confdefs.h. */
61579 #include <math.h>
61580 #ifdef HAVE_IEEEFP_H
61581 #include <ieeefp.h>
61582 #endif
61585 main ()
61587 _expf(0);
61589 return 0;
61591 _ACEOF
61592 if ac_fn_cxx_try_compile "$LINENO"; then :
61593 glibcxx_cv_func__expf_use=yes
61594 else
61595 glibcxx_cv_func__expf_use=no
61597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61598 ac_ext=c
61599 ac_cpp='$CPP $CPPFLAGS'
61600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61609 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61611 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61612 for ac_func in _expf
61613 do :
61614 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61615 if test "x$ac_cv_func__expf" = x""yes; then :
61616 cat >>confdefs.h <<_ACEOF
61617 #define HAVE__EXPF 1
61618 _ACEOF
61621 done
61630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61631 $as_echo_n "checking for isnanf declaration... " >&6; }
61632 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61633 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61634 $as_echo_n "(cached) " >&6
61635 else
61638 ac_ext=cpp
61639 ac_cpp='$CXXCPP $CPPFLAGS'
61640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61645 /* end confdefs.h. */
61646 #include <math.h>
61647 #ifdef HAVE_IEEEFP_H
61648 #include <ieeefp.h>
61649 #endif
61652 main ()
61654 isnanf(0);
61656 return 0;
61658 _ACEOF
61659 if ac_fn_cxx_try_compile "$LINENO"; then :
61660 glibcxx_cv_func_isnanf_use=yes
61661 else
61662 glibcxx_cv_func_isnanf_use=no
61664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61665 ac_ext=c
61666 ac_cpp='$CPP $CPPFLAGS'
61667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61676 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61678 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61679 for ac_func in isnanf
61680 do :
61681 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61682 if test "x$ac_cv_func_isnanf" = x""yes; then :
61683 cat >>confdefs.h <<_ACEOF
61684 #define HAVE_ISNANF 1
61685 _ACEOF
61688 done
61690 else
61692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61693 $as_echo_n "checking for _isnanf declaration... " >&6; }
61694 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61695 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61696 $as_echo_n "(cached) " >&6
61697 else
61700 ac_ext=cpp
61701 ac_cpp='$CXXCPP $CPPFLAGS'
61702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61707 /* end confdefs.h. */
61708 #include <math.h>
61709 #ifdef HAVE_IEEEFP_H
61710 #include <ieeefp.h>
61711 #endif
61714 main ()
61716 _isnanf(0);
61718 return 0;
61720 _ACEOF
61721 if ac_fn_cxx_try_compile "$LINENO"; then :
61722 glibcxx_cv_func__isnanf_use=yes
61723 else
61724 glibcxx_cv_func__isnanf_use=no
61726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61727 ac_ext=c
61728 ac_cpp='$CPP $CPPFLAGS'
61729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61738 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61740 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61741 for ac_func in _isnanf
61742 do :
61743 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61744 if test "x$ac_cv_func__isnanf" = x""yes; then :
61745 cat >>confdefs.h <<_ACEOF
61746 #define HAVE__ISNANF 1
61747 _ACEOF
61750 done
61759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61760 $as_echo_n "checking for isinff declaration... " >&6; }
61761 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61762 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61763 $as_echo_n "(cached) " >&6
61764 else
61767 ac_ext=cpp
61768 ac_cpp='$CXXCPP $CPPFLAGS'
61769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61774 /* end confdefs.h. */
61775 #include <math.h>
61776 #ifdef HAVE_IEEEFP_H
61777 #include <ieeefp.h>
61778 #endif
61781 main ()
61783 isinff(0);
61785 return 0;
61787 _ACEOF
61788 if ac_fn_cxx_try_compile "$LINENO"; then :
61789 glibcxx_cv_func_isinff_use=yes
61790 else
61791 glibcxx_cv_func_isinff_use=no
61793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61794 ac_ext=c
61795 ac_cpp='$CPP $CPPFLAGS'
61796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61805 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61807 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61808 for ac_func in isinff
61809 do :
61810 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61811 if test "x$ac_cv_func_isinff" = x""yes; then :
61812 cat >>confdefs.h <<_ACEOF
61813 #define HAVE_ISINFF 1
61814 _ACEOF
61817 done
61819 else
61821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61822 $as_echo_n "checking for _isinff declaration... " >&6; }
61823 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61824 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61825 $as_echo_n "(cached) " >&6
61826 else
61829 ac_ext=cpp
61830 ac_cpp='$CXXCPP $CPPFLAGS'
61831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61836 /* end confdefs.h. */
61837 #include <math.h>
61838 #ifdef HAVE_IEEEFP_H
61839 #include <ieeefp.h>
61840 #endif
61843 main ()
61845 _isinff(0);
61847 return 0;
61849 _ACEOF
61850 if ac_fn_cxx_try_compile "$LINENO"; then :
61851 glibcxx_cv_func__isinff_use=yes
61852 else
61853 glibcxx_cv_func__isinff_use=no
61855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61856 ac_ext=c
61857 ac_cpp='$CPP $CPPFLAGS'
61858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61867 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61869 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61870 for ac_func in _isinff
61871 do :
61872 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61873 if test "x$ac_cv_func__isinff" = x""yes; then :
61874 cat >>confdefs.h <<_ACEOF
61875 #define HAVE__ISINFF 1
61876 _ACEOF
61879 done
61888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61889 $as_echo_n "checking for atan2f declaration... " >&6; }
61890 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61891 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61892 $as_echo_n "(cached) " >&6
61893 else
61896 ac_ext=cpp
61897 ac_cpp='$CXXCPP $CPPFLAGS'
61898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61903 /* end confdefs.h. */
61904 #include <math.h>
61906 main ()
61908 atan2f(0, 0);
61910 return 0;
61912 _ACEOF
61913 if ac_fn_cxx_try_compile "$LINENO"; then :
61914 glibcxx_cv_func_atan2f_use=yes
61915 else
61916 glibcxx_cv_func_atan2f_use=no
61918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61919 ac_ext=c
61920 ac_cpp='$CPP $CPPFLAGS'
61921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61930 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61932 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61933 for ac_func in atan2f
61934 do :
61935 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61936 if test "x$ac_cv_func_atan2f" = x""yes; then :
61937 cat >>confdefs.h <<_ACEOF
61938 #define HAVE_ATAN2F 1
61939 _ACEOF
61942 done
61944 else
61946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61947 $as_echo_n "checking for _atan2f declaration... " >&6; }
61948 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61949 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61950 $as_echo_n "(cached) " >&6
61951 else
61954 ac_ext=cpp
61955 ac_cpp='$CXXCPP $CPPFLAGS'
61956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61961 /* end confdefs.h. */
61962 #include <math.h>
61964 main ()
61966 _atan2f(0, 0);
61968 return 0;
61970 _ACEOF
61971 if ac_fn_cxx_try_compile "$LINENO"; then :
61972 glibcxx_cv_func__atan2f_use=yes
61973 else
61974 glibcxx_cv_func__atan2f_use=no
61976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61977 ac_ext=c
61978 ac_cpp='$CPP $CPPFLAGS'
61979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61988 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61990 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61991 for ac_func in _atan2f
61992 do :
61993 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61994 if test "x$ac_cv_func__atan2f" = x""yes; then :
61995 cat >>confdefs.h <<_ACEOF
61996 #define HAVE__ATAN2F 1
61997 _ACEOF
62000 done
62009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62010 $as_echo_n "checking for fabsf declaration... " >&6; }
62011 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62012 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62013 $as_echo_n "(cached) " >&6
62014 else
62017 ac_ext=cpp
62018 ac_cpp='$CXXCPP $CPPFLAGS'
62019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62024 /* end confdefs.h. */
62025 #include <math.h>
62026 #ifdef HAVE_IEEEFP_H
62027 #include <ieeefp.h>
62028 #endif
62031 main ()
62033 fabsf(0);
62035 return 0;
62037 _ACEOF
62038 if ac_fn_cxx_try_compile "$LINENO"; then :
62039 glibcxx_cv_func_fabsf_use=yes
62040 else
62041 glibcxx_cv_func_fabsf_use=no
62043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62044 ac_ext=c
62045 ac_cpp='$CPP $CPPFLAGS'
62046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62055 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62057 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62058 for ac_func in fabsf
62059 do :
62060 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62061 if test "x$ac_cv_func_fabsf" = x""yes; then :
62062 cat >>confdefs.h <<_ACEOF
62063 #define HAVE_FABSF 1
62064 _ACEOF
62067 done
62069 else
62071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62072 $as_echo_n "checking for _fabsf declaration... " >&6; }
62073 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62074 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62075 $as_echo_n "(cached) " >&6
62076 else
62079 ac_ext=cpp
62080 ac_cpp='$CXXCPP $CPPFLAGS'
62081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62086 /* end confdefs.h. */
62087 #include <math.h>
62088 #ifdef HAVE_IEEEFP_H
62089 #include <ieeefp.h>
62090 #endif
62093 main ()
62095 _fabsf(0);
62097 return 0;
62099 _ACEOF
62100 if ac_fn_cxx_try_compile "$LINENO"; then :
62101 glibcxx_cv_func__fabsf_use=yes
62102 else
62103 glibcxx_cv_func__fabsf_use=no
62105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62106 ac_ext=c
62107 ac_cpp='$CPP $CPPFLAGS'
62108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62117 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62119 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62120 for ac_func in _fabsf
62121 do :
62122 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62123 if test "x$ac_cv_func__fabsf" = x""yes; then :
62124 cat >>confdefs.h <<_ACEOF
62125 #define HAVE__FABSF 1
62126 _ACEOF
62129 done
62138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62139 $as_echo_n "checking for fmodf declaration... " >&6; }
62140 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62141 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62142 $as_echo_n "(cached) " >&6
62143 else
62146 ac_ext=cpp
62147 ac_cpp='$CXXCPP $CPPFLAGS'
62148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62153 /* end confdefs.h. */
62154 #include <math.h>
62156 main ()
62158 fmodf(0, 0);
62160 return 0;
62162 _ACEOF
62163 if ac_fn_cxx_try_compile "$LINENO"; then :
62164 glibcxx_cv_func_fmodf_use=yes
62165 else
62166 glibcxx_cv_func_fmodf_use=no
62168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62169 ac_ext=c
62170 ac_cpp='$CPP $CPPFLAGS'
62171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62180 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62182 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62183 for ac_func in fmodf
62184 do :
62185 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62186 if test "x$ac_cv_func_fmodf" = x""yes; then :
62187 cat >>confdefs.h <<_ACEOF
62188 #define HAVE_FMODF 1
62189 _ACEOF
62192 done
62194 else
62196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62197 $as_echo_n "checking for _fmodf declaration... " >&6; }
62198 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62199 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62200 $as_echo_n "(cached) " >&6
62201 else
62204 ac_ext=cpp
62205 ac_cpp='$CXXCPP $CPPFLAGS'
62206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62211 /* end confdefs.h. */
62212 #include <math.h>
62214 main ()
62216 _fmodf(0, 0);
62218 return 0;
62220 _ACEOF
62221 if ac_fn_cxx_try_compile "$LINENO"; then :
62222 glibcxx_cv_func__fmodf_use=yes
62223 else
62224 glibcxx_cv_func__fmodf_use=no
62226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62227 ac_ext=c
62228 ac_cpp='$CPP $CPPFLAGS'
62229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62238 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62240 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62241 for ac_func in _fmodf
62242 do :
62243 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62244 if test "x$ac_cv_func__fmodf" = x""yes; then :
62245 cat >>confdefs.h <<_ACEOF
62246 #define HAVE__FMODF 1
62247 _ACEOF
62250 done
62259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62260 $as_echo_n "checking for frexpf declaration... " >&6; }
62261 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62262 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62263 $as_echo_n "(cached) " >&6
62264 else
62267 ac_ext=cpp
62268 ac_cpp='$CXXCPP $CPPFLAGS'
62269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62274 /* end confdefs.h. */
62275 #include <math.h>
62277 main ()
62279 frexpf(0, 0);
62281 return 0;
62283 _ACEOF
62284 if ac_fn_cxx_try_compile "$LINENO"; then :
62285 glibcxx_cv_func_frexpf_use=yes
62286 else
62287 glibcxx_cv_func_frexpf_use=no
62289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62290 ac_ext=c
62291 ac_cpp='$CPP $CPPFLAGS'
62292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62301 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62303 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62304 for ac_func in frexpf
62305 do :
62306 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62307 if test "x$ac_cv_func_frexpf" = x""yes; then :
62308 cat >>confdefs.h <<_ACEOF
62309 #define HAVE_FREXPF 1
62310 _ACEOF
62313 done
62315 else
62317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62318 $as_echo_n "checking for _frexpf declaration... " >&6; }
62319 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62320 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62321 $as_echo_n "(cached) " >&6
62322 else
62325 ac_ext=cpp
62326 ac_cpp='$CXXCPP $CPPFLAGS'
62327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62332 /* end confdefs.h. */
62333 #include <math.h>
62335 main ()
62337 _frexpf(0, 0);
62339 return 0;
62341 _ACEOF
62342 if ac_fn_cxx_try_compile "$LINENO"; then :
62343 glibcxx_cv_func__frexpf_use=yes
62344 else
62345 glibcxx_cv_func__frexpf_use=no
62347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62348 ac_ext=c
62349 ac_cpp='$CPP $CPPFLAGS'
62350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62359 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62361 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62362 for ac_func in _frexpf
62363 do :
62364 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62365 if test "x$ac_cv_func__frexpf" = x""yes; then :
62366 cat >>confdefs.h <<_ACEOF
62367 #define HAVE__FREXPF 1
62368 _ACEOF
62371 done
62380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62381 $as_echo_n "checking for hypotf declaration... " >&6; }
62382 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62383 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62384 $as_echo_n "(cached) " >&6
62385 else
62388 ac_ext=cpp
62389 ac_cpp='$CXXCPP $CPPFLAGS'
62390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62395 /* end confdefs.h. */
62396 #include <math.h>
62398 main ()
62400 hypotf(0, 0);
62402 return 0;
62404 _ACEOF
62405 if ac_fn_cxx_try_compile "$LINENO"; then :
62406 glibcxx_cv_func_hypotf_use=yes
62407 else
62408 glibcxx_cv_func_hypotf_use=no
62410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62411 ac_ext=c
62412 ac_cpp='$CPP $CPPFLAGS'
62413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62422 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62424 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62425 for ac_func in hypotf
62426 do :
62427 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62428 if test "x$ac_cv_func_hypotf" = x""yes; then :
62429 cat >>confdefs.h <<_ACEOF
62430 #define HAVE_HYPOTF 1
62431 _ACEOF
62434 done
62436 else
62438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62439 $as_echo_n "checking for _hypotf declaration... " >&6; }
62440 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62441 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62442 $as_echo_n "(cached) " >&6
62443 else
62446 ac_ext=cpp
62447 ac_cpp='$CXXCPP $CPPFLAGS'
62448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62453 /* end confdefs.h. */
62454 #include <math.h>
62456 main ()
62458 _hypotf(0, 0);
62460 return 0;
62462 _ACEOF
62463 if ac_fn_cxx_try_compile "$LINENO"; then :
62464 glibcxx_cv_func__hypotf_use=yes
62465 else
62466 glibcxx_cv_func__hypotf_use=no
62468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62469 ac_ext=c
62470 ac_cpp='$CPP $CPPFLAGS'
62471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62480 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62482 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62483 for ac_func in _hypotf
62484 do :
62485 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62486 if test "x$ac_cv_func__hypotf" = x""yes; then :
62487 cat >>confdefs.h <<_ACEOF
62488 #define HAVE__HYPOTF 1
62489 _ACEOF
62492 done
62501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62502 $as_echo_n "checking for ldexpf declaration... " >&6; }
62503 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62504 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62505 $as_echo_n "(cached) " >&6
62506 else
62509 ac_ext=cpp
62510 ac_cpp='$CXXCPP $CPPFLAGS'
62511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62516 /* end confdefs.h. */
62517 #include <math.h>
62519 main ()
62521 ldexpf(0, 0);
62523 return 0;
62525 _ACEOF
62526 if ac_fn_cxx_try_compile "$LINENO"; then :
62527 glibcxx_cv_func_ldexpf_use=yes
62528 else
62529 glibcxx_cv_func_ldexpf_use=no
62531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62532 ac_ext=c
62533 ac_cpp='$CPP $CPPFLAGS'
62534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62543 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62545 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62546 for ac_func in ldexpf
62547 do :
62548 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62549 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62550 cat >>confdefs.h <<_ACEOF
62551 #define HAVE_LDEXPF 1
62552 _ACEOF
62555 done
62557 else
62559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62560 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62561 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62562 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62563 $as_echo_n "(cached) " >&6
62564 else
62567 ac_ext=cpp
62568 ac_cpp='$CXXCPP $CPPFLAGS'
62569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62574 /* end confdefs.h. */
62575 #include <math.h>
62577 main ()
62579 _ldexpf(0, 0);
62581 return 0;
62583 _ACEOF
62584 if ac_fn_cxx_try_compile "$LINENO"; then :
62585 glibcxx_cv_func__ldexpf_use=yes
62586 else
62587 glibcxx_cv_func__ldexpf_use=no
62589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62590 ac_ext=c
62591 ac_cpp='$CPP $CPPFLAGS'
62592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62601 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62603 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62604 for ac_func in _ldexpf
62605 do :
62606 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62607 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62608 cat >>confdefs.h <<_ACEOF
62609 #define HAVE__LDEXPF 1
62610 _ACEOF
62613 done
62622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62623 $as_echo_n "checking for logf declaration... " >&6; }
62624 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62625 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62626 $as_echo_n "(cached) " >&6
62627 else
62630 ac_ext=cpp
62631 ac_cpp='$CXXCPP $CPPFLAGS'
62632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62637 /* end confdefs.h. */
62638 #include <math.h>
62639 #ifdef HAVE_IEEEFP_H
62640 #include <ieeefp.h>
62641 #endif
62644 main ()
62646 logf(0);
62648 return 0;
62650 _ACEOF
62651 if ac_fn_cxx_try_compile "$LINENO"; then :
62652 glibcxx_cv_func_logf_use=yes
62653 else
62654 glibcxx_cv_func_logf_use=no
62656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62657 ac_ext=c
62658 ac_cpp='$CPP $CPPFLAGS'
62659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62668 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62670 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62671 for ac_func in logf
62672 do :
62673 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62674 if test "x$ac_cv_func_logf" = x""yes; then :
62675 cat >>confdefs.h <<_ACEOF
62676 #define HAVE_LOGF 1
62677 _ACEOF
62680 done
62682 else
62684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62685 $as_echo_n "checking for _logf declaration... " >&6; }
62686 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62687 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62688 $as_echo_n "(cached) " >&6
62689 else
62692 ac_ext=cpp
62693 ac_cpp='$CXXCPP $CPPFLAGS'
62694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62699 /* end confdefs.h. */
62700 #include <math.h>
62701 #ifdef HAVE_IEEEFP_H
62702 #include <ieeefp.h>
62703 #endif
62706 main ()
62708 _logf(0);
62710 return 0;
62712 _ACEOF
62713 if ac_fn_cxx_try_compile "$LINENO"; then :
62714 glibcxx_cv_func__logf_use=yes
62715 else
62716 glibcxx_cv_func__logf_use=no
62718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62719 ac_ext=c
62720 ac_cpp='$CPP $CPPFLAGS'
62721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62730 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62732 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62733 for ac_func in _logf
62734 do :
62735 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62736 if test "x$ac_cv_func__logf" = x""yes; then :
62737 cat >>confdefs.h <<_ACEOF
62738 #define HAVE__LOGF 1
62739 _ACEOF
62742 done
62751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62752 $as_echo_n "checking for log10f declaration... " >&6; }
62753 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62754 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62755 $as_echo_n "(cached) " >&6
62756 else
62759 ac_ext=cpp
62760 ac_cpp='$CXXCPP $CPPFLAGS'
62761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62766 /* end confdefs.h. */
62767 #include <math.h>
62768 #ifdef HAVE_IEEEFP_H
62769 #include <ieeefp.h>
62770 #endif
62773 main ()
62775 log10f(0);
62777 return 0;
62779 _ACEOF
62780 if ac_fn_cxx_try_compile "$LINENO"; then :
62781 glibcxx_cv_func_log10f_use=yes
62782 else
62783 glibcxx_cv_func_log10f_use=no
62785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62786 ac_ext=c
62787 ac_cpp='$CPP $CPPFLAGS'
62788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62797 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62799 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62800 for ac_func in log10f
62801 do :
62802 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62803 if test "x$ac_cv_func_log10f" = x""yes; then :
62804 cat >>confdefs.h <<_ACEOF
62805 #define HAVE_LOG10F 1
62806 _ACEOF
62809 done
62811 else
62813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62814 $as_echo_n "checking for _log10f declaration... " >&6; }
62815 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62816 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62817 $as_echo_n "(cached) " >&6
62818 else
62821 ac_ext=cpp
62822 ac_cpp='$CXXCPP $CPPFLAGS'
62823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62828 /* end confdefs.h. */
62829 #include <math.h>
62830 #ifdef HAVE_IEEEFP_H
62831 #include <ieeefp.h>
62832 #endif
62835 main ()
62837 _log10f(0);
62839 return 0;
62841 _ACEOF
62842 if ac_fn_cxx_try_compile "$LINENO"; then :
62843 glibcxx_cv_func__log10f_use=yes
62844 else
62845 glibcxx_cv_func__log10f_use=no
62847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62848 ac_ext=c
62849 ac_cpp='$CPP $CPPFLAGS'
62850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62859 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62861 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62862 for ac_func in _log10f
62863 do :
62864 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62865 if test "x$ac_cv_func__log10f" = x""yes; then :
62866 cat >>confdefs.h <<_ACEOF
62867 #define HAVE__LOG10F 1
62868 _ACEOF
62871 done
62880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62881 $as_echo_n "checking for modff declaration... " >&6; }
62882 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62883 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62884 $as_echo_n "(cached) " >&6
62885 else
62888 ac_ext=cpp
62889 ac_cpp='$CXXCPP $CPPFLAGS'
62890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62895 /* end confdefs.h. */
62896 #include <math.h>
62898 main ()
62900 modff(0, 0);
62902 return 0;
62904 _ACEOF
62905 if ac_fn_cxx_try_compile "$LINENO"; then :
62906 glibcxx_cv_func_modff_use=yes
62907 else
62908 glibcxx_cv_func_modff_use=no
62910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62911 ac_ext=c
62912 ac_cpp='$CPP $CPPFLAGS'
62913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62922 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62924 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62925 for ac_func in modff
62926 do :
62927 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62928 if test "x$ac_cv_func_modff" = x""yes; then :
62929 cat >>confdefs.h <<_ACEOF
62930 #define HAVE_MODFF 1
62931 _ACEOF
62934 done
62936 else
62938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62939 $as_echo_n "checking for _modff declaration... " >&6; }
62940 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62941 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62942 $as_echo_n "(cached) " >&6
62943 else
62946 ac_ext=cpp
62947 ac_cpp='$CXXCPP $CPPFLAGS'
62948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62953 /* end confdefs.h. */
62954 #include <math.h>
62956 main ()
62958 _modff(0, 0);
62960 return 0;
62962 _ACEOF
62963 if ac_fn_cxx_try_compile "$LINENO"; then :
62964 glibcxx_cv_func__modff_use=yes
62965 else
62966 glibcxx_cv_func__modff_use=no
62968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62969 ac_ext=c
62970 ac_cpp='$CPP $CPPFLAGS'
62971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62980 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62982 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62983 for ac_func in _modff
62984 do :
62985 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62986 if test "x$ac_cv_func__modff" = x""yes; then :
62987 cat >>confdefs.h <<_ACEOF
62988 #define HAVE__MODFF 1
62989 _ACEOF
62992 done
63001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63002 $as_echo_n "checking for modf declaration... " >&6; }
63003 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63004 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63005 $as_echo_n "(cached) " >&6
63006 else
63009 ac_ext=cpp
63010 ac_cpp='$CXXCPP $CPPFLAGS'
63011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63016 /* end confdefs.h. */
63017 #include <math.h>
63019 main ()
63021 modf(0, 0);
63023 return 0;
63025 _ACEOF
63026 if ac_fn_cxx_try_compile "$LINENO"; then :
63027 glibcxx_cv_func_modf_use=yes
63028 else
63029 glibcxx_cv_func_modf_use=no
63031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63032 ac_ext=c
63033 ac_cpp='$CPP $CPPFLAGS'
63034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63043 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63045 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63046 for ac_func in modf
63047 do :
63048 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63049 if test "x$ac_cv_func_modf" = x""yes; then :
63050 cat >>confdefs.h <<_ACEOF
63051 #define HAVE_MODF 1
63052 _ACEOF
63055 done
63057 else
63059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63060 $as_echo_n "checking for _modf declaration... " >&6; }
63061 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63062 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63063 $as_echo_n "(cached) " >&6
63064 else
63067 ac_ext=cpp
63068 ac_cpp='$CXXCPP $CPPFLAGS'
63069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63074 /* end confdefs.h. */
63075 #include <math.h>
63077 main ()
63079 _modf(0, 0);
63081 return 0;
63083 _ACEOF
63084 if ac_fn_cxx_try_compile "$LINENO"; then :
63085 glibcxx_cv_func__modf_use=yes
63086 else
63087 glibcxx_cv_func__modf_use=no
63089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63090 ac_ext=c
63091 ac_cpp='$CPP $CPPFLAGS'
63092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63101 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63103 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63104 for ac_func in _modf
63105 do :
63106 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63107 if test "x$ac_cv_func__modf" = x""yes; then :
63108 cat >>confdefs.h <<_ACEOF
63109 #define HAVE__MODF 1
63110 _ACEOF
63113 done
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63123 $as_echo_n "checking for powf declaration... " >&6; }
63124 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63125 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63126 $as_echo_n "(cached) " >&6
63127 else
63130 ac_ext=cpp
63131 ac_cpp='$CXXCPP $CPPFLAGS'
63132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63137 /* end confdefs.h. */
63138 #include <math.h>
63140 main ()
63142 powf(0, 0);
63144 return 0;
63146 _ACEOF
63147 if ac_fn_cxx_try_compile "$LINENO"; then :
63148 glibcxx_cv_func_powf_use=yes
63149 else
63150 glibcxx_cv_func_powf_use=no
63152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63153 ac_ext=c
63154 ac_cpp='$CPP $CPPFLAGS'
63155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63164 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63166 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63167 for ac_func in powf
63168 do :
63169 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63170 if test "x$ac_cv_func_powf" = x""yes; then :
63171 cat >>confdefs.h <<_ACEOF
63172 #define HAVE_POWF 1
63173 _ACEOF
63176 done
63178 else
63180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63181 $as_echo_n "checking for _powf declaration... " >&6; }
63182 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63183 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63184 $as_echo_n "(cached) " >&6
63185 else
63188 ac_ext=cpp
63189 ac_cpp='$CXXCPP $CPPFLAGS'
63190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63195 /* end confdefs.h. */
63196 #include <math.h>
63198 main ()
63200 _powf(0, 0);
63202 return 0;
63204 _ACEOF
63205 if ac_fn_cxx_try_compile "$LINENO"; then :
63206 glibcxx_cv_func__powf_use=yes
63207 else
63208 glibcxx_cv_func__powf_use=no
63210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63211 ac_ext=c
63212 ac_cpp='$CPP $CPPFLAGS'
63213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63222 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63224 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63225 for ac_func in _powf
63226 do :
63227 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63228 if test "x$ac_cv_func__powf" = x""yes; then :
63229 cat >>confdefs.h <<_ACEOF
63230 #define HAVE__POWF 1
63231 _ACEOF
63234 done
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63244 $as_echo_n "checking for sqrtf declaration... " >&6; }
63245 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63246 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63247 $as_echo_n "(cached) " >&6
63248 else
63251 ac_ext=cpp
63252 ac_cpp='$CXXCPP $CPPFLAGS'
63253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63258 /* end confdefs.h. */
63259 #include <math.h>
63260 #ifdef HAVE_IEEEFP_H
63261 #include <ieeefp.h>
63262 #endif
63265 main ()
63267 sqrtf(0);
63269 return 0;
63271 _ACEOF
63272 if ac_fn_cxx_try_compile "$LINENO"; then :
63273 glibcxx_cv_func_sqrtf_use=yes
63274 else
63275 glibcxx_cv_func_sqrtf_use=no
63277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63278 ac_ext=c
63279 ac_cpp='$CPP $CPPFLAGS'
63280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63289 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63291 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63292 for ac_func in sqrtf
63293 do :
63294 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63295 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63296 cat >>confdefs.h <<_ACEOF
63297 #define HAVE_SQRTF 1
63298 _ACEOF
63301 done
63303 else
63305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63306 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63307 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63308 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63309 $as_echo_n "(cached) " >&6
63310 else
63313 ac_ext=cpp
63314 ac_cpp='$CXXCPP $CPPFLAGS'
63315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63320 /* end confdefs.h. */
63321 #include <math.h>
63322 #ifdef HAVE_IEEEFP_H
63323 #include <ieeefp.h>
63324 #endif
63327 main ()
63329 _sqrtf(0);
63331 return 0;
63333 _ACEOF
63334 if ac_fn_cxx_try_compile "$LINENO"; then :
63335 glibcxx_cv_func__sqrtf_use=yes
63336 else
63337 glibcxx_cv_func__sqrtf_use=no
63339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63340 ac_ext=c
63341 ac_cpp='$CPP $CPPFLAGS'
63342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63351 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63353 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63354 for ac_func in _sqrtf
63355 do :
63356 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63357 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63358 cat >>confdefs.h <<_ACEOF
63359 #define HAVE__SQRTF 1
63360 _ACEOF
63363 done
63372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63373 $as_echo_n "checking for sincosf declaration... " >&6; }
63374 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63375 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63376 $as_echo_n "(cached) " >&6
63377 else
63380 ac_ext=cpp
63381 ac_cpp='$CXXCPP $CPPFLAGS'
63382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63387 /* end confdefs.h. */
63388 #include <math.h>
63390 main ()
63392 sincosf(0, 0, 0);
63394 return 0;
63396 _ACEOF
63397 if ac_fn_cxx_try_compile "$LINENO"; then :
63398 glibcxx_cv_func_sincosf_use=yes
63399 else
63400 glibcxx_cv_func_sincosf_use=no
63402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63403 ac_ext=c
63404 ac_cpp='$CPP $CPPFLAGS'
63405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63414 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63416 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63417 for ac_func in sincosf
63418 do :
63419 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63420 if test "x$ac_cv_func_sincosf" = x""yes; then :
63421 cat >>confdefs.h <<_ACEOF
63422 #define HAVE_SINCOSF 1
63423 _ACEOF
63426 done
63428 else
63430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63431 $as_echo_n "checking for _sincosf declaration... " >&6; }
63432 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63433 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63434 $as_echo_n "(cached) " >&6
63435 else
63438 ac_ext=cpp
63439 ac_cpp='$CXXCPP $CPPFLAGS'
63440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63445 /* end confdefs.h. */
63446 #include <math.h>
63448 main ()
63450 _sincosf(0, 0, 0);
63452 return 0;
63454 _ACEOF
63455 if ac_fn_cxx_try_compile "$LINENO"; then :
63456 glibcxx_cv_func__sincosf_use=yes
63457 else
63458 glibcxx_cv_func__sincosf_use=no
63460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63461 ac_ext=c
63462 ac_cpp='$CPP $CPPFLAGS'
63463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63472 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63474 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63475 for ac_func in _sincosf
63476 do :
63477 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63478 if test "x$ac_cv_func__sincosf" = x""yes; then :
63479 cat >>confdefs.h <<_ACEOF
63480 #define HAVE__SINCOSF 1
63481 _ACEOF
63484 done
63493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63494 $as_echo_n "checking for finitef declaration... " >&6; }
63495 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63496 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63497 $as_echo_n "(cached) " >&6
63498 else
63501 ac_ext=cpp
63502 ac_cpp='$CXXCPP $CPPFLAGS'
63503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63508 /* end confdefs.h. */
63509 #include <math.h>
63510 #ifdef HAVE_IEEEFP_H
63511 #include <ieeefp.h>
63512 #endif
63515 main ()
63517 finitef(0);
63519 return 0;
63521 _ACEOF
63522 if ac_fn_cxx_try_compile "$LINENO"; then :
63523 glibcxx_cv_func_finitef_use=yes
63524 else
63525 glibcxx_cv_func_finitef_use=no
63527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63528 ac_ext=c
63529 ac_cpp='$CPP $CPPFLAGS'
63530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63539 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63541 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63542 for ac_func in finitef
63543 do :
63544 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63545 if test "x$ac_cv_func_finitef" = x""yes; then :
63546 cat >>confdefs.h <<_ACEOF
63547 #define HAVE_FINITEF 1
63548 _ACEOF
63551 done
63553 else
63555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63556 $as_echo_n "checking for _finitef declaration... " >&6; }
63557 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63558 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63559 $as_echo_n "(cached) " >&6
63560 else
63563 ac_ext=cpp
63564 ac_cpp='$CXXCPP $CPPFLAGS'
63565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63570 /* end confdefs.h. */
63571 #include <math.h>
63572 #ifdef HAVE_IEEEFP_H
63573 #include <ieeefp.h>
63574 #endif
63577 main ()
63579 _finitef(0);
63581 return 0;
63583 _ACEOF
63584 if ac_fn_cxx_try_compile "$LINENO"; then :
63585 glibcxx_cv_func__finitef_use=yes
63586 else
63587 glibcxx_cv_func__finitef_use=no
63589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63590 ac_ext=c
63591 ac_cpp='$CPP $CPPFLAGS'
63592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63601 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63603 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63604 for ac_func in _finitef
63605 do :
63606 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63607 if test "x$ac_cv_func__finitef" = x""yes; then :
63608 cat >>confdefs.h <<_ACEOF
63609 #define HAVE__FINITEF 1
63610 _ACEOF
63613 done
63622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63623 $as_echo_n "checking for long double trig functions... " >&6; }
63624 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63625 $as_echo_n "(cached) " >&6
63626 else
63629 ac_ext=cpp
63630 ac_cpp='$CXXCPP $CPPFLAGS'
63631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63636 /* end confdefs.h. */
63637 #include <math.h>
63639 main ()
63641 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63643 return 0;
63645 _ACEOF
63646 if ac_fn_cxx_try_compile "$LINENO"; then :
63647 glibcxx_cv_func_long_double_trig_use=yes
63648 else
63649 glibcxx_cv_func_long_double_trig_use=no
63651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63652 ac_ext=c
63653 ac_cpp='$CPP $CPPFLAGS'
63654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63661 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63662 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63663 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63664 do :
63665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63667 eval as_val=\$$as_ac_var
63668 if test "x$as_val" = x""yes; then :
63669 cat >>confdefs.h <<_ACEOF
63670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63671 _ACEOF
63674 done
63676 else
63677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63678 $as_echo_n "checking for _long double trig functions... " >&6; }
63679 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63680 $as_echo_n "(cached) " >&6
63681 else
63684 ac_ext=cpp
63685 ac_cpp='$CXXCPP $CPPFLAGS'
63686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63691 /* end confdefs.h. */
63692 #include <math.h>
63694 main ()
63696 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63698 return 0;
63700 _ACEOF
63701 if ac_fn_cxx_try_compile "$LINENO"; then :
63702 glibcxx_cv_func__long_double_trig_use=yes
63703 else
63704 glibcxx_cv_func__long_double_trig_use=no
63706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63707 ac_ext=c
63708 ac_cpp='$CPP $CPPFLAGS'
63709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63716 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63717 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63718 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63719 do :
63720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63722 eval as_val=\$$as_ac_var
63723 if test "x$as_val" = x""yes; then :
63724 cat >>confdefs.h <<_ACEOF
63725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63726 _ACEOF
63729 done
63738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63739 $as_echo_n "checking for long double round functions... " >&6; }
63740 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63741 $as_echo_n "(cached) " >&6
63742 else
63745 ac_ext=cpp
63746 ac_cpp='$CXXCPP $CPPFLAGS'
63747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63752 /* end confdefs.h. */
63753 #include <math.h>
63755 main ()
63757 ceill (0); floorl (0);
63759 return 0;
63761 _ACEOF
63762 if ac_fn_cxx_try_compile "$LINENO"; then :
63763 glibcxx_cv_func_long_double_round_use=yes
63764 else
63765 glibcxx_cv_func_long_double_round_use=no
63767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63768 ac_ext=c
63769 ac_cpp='$CPP $CPPFLAGS'
63770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63777 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63778 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63779 for ac_func in ceill floorl
63780 do :
63781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63783 eval as_val=\$$as_ac_var
63784 if test "x$as_val" = x""yes; then :
63785 cat >>confdefs.h <<_ACEOF
63786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63787 _ACEOF
63790 done
63792 else
63793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63794 $as_echo_n "checking for _long double round functions... " >&6; }
63795 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63796 $as_echo_n "(cached) " >&6
63797 else
63800 ac_ext=cpp
63801 ac_cpp='$CXXCPP $CPPFLAGS'
63802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63807 /* end confdefs.h. */
63808 #include <math.h>
63810 main ()
63812 _ceill (0); _floorl (0);
63814 return 0;
63816 _ACEOF
63817 if ac_fn_cxx_try_compile "$LINENO"; then :
63818 glibcxx_cv_func__long_double_round_use=yes
63819 else
63820 glibcxx_cv_func__long_double_round_use=no
63822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63823 ac_ext=c
63824 ac_cpp='$CPP $CPPFLAGS'
63825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63832 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63833 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63834 for ac_func in _ceill _floorl
63835 do :
63836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63838 eval as_val=\$$as_ac_var
63839 if test "x$as_val" = x""yes; then :
63840 cat >>confdefs.h <<_ACEOF
63841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63842 _ACEOF
63845 done
63855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63856 $as_echo_n "checking for isnanl declaration... " >&6; }
63857 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63858 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63859 $as_echo_n "(cached) " >&6
63860 else
63863 ac_ext=cpp
63864 ac_cpp='$CXXCPP $CPPFLAGS'
63865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63870 /* end confdefs.h. */
63871 #include <math.h>
63872 #ifdef HAVE_IEEEFP_H
63873 #include <ieeefp.h>
63874 #endif
63877 main ()
63879 isnanl(0);
63881 return 0;
63883 _ACEOF
63884 if ac_fn_cxx_try_compile "$LINENO"; then :
63885 glibcxx_cv_func_isnanl_use=yes
63886 else
63887 glibcxx_cv_func_isnanl_use=no
63889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63890 ac_ext=c
63891 ac_cpp='$CPP $CPPFLAGS'
63892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63901 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63903 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63904 for ac_func in isnanl
63905 do :
63906 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63907 if test "x$ac_cv_func_isnanl" = x""yes; then :
63908 cat >>confdefs.h <<_ACEOF
63909 #define HAVE_ISNANL 1
63910 _ACEOF
63913 done
63915 else
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63918 $as_echo_n "checking for _isnanl declaration... " >&6; }
63919 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63920 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63921 $as_echo_n "(cached) " >&6
63922 else
63925 ac_ext=cpp
63926 ac_cpp='$CXXCPP $CPPFLAGS'
63927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63932 /* end confdefs.h. */
63933 #include <math.h>
63934 #ifdef HAVE_IEEEFP_H
63935 #include <ieeefp.h>
63936 #endif
63939 main ()
63941 _isnanl(0);
63943 return 0;
63945 _ACEOF
63946 if ac_fn_cxx_try_compile "$LINENO"; then :
63947 glibcxx_cv_func__isnanl_use=yes
63948 else
63949 glibcxx_cv_func__isnanl_use=no
63951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63952 ac_ext=c
63953 ac_cpp='$CPP $CPPFLAGS'
63954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63963 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63965 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63966 for ac_func in _isnanl
63967 do :
63968 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63969 if test "x$ac_cv_func__isnanl" = x""yes; then :
63970 cat >>confdefs.h <<_ACEOF
63971 #define HAVE__ISNANL 1
63972 _ACEOF
63975 done
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63985 $as_echo_n "checking for isinfl declaration... " >&6; }
63986 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63987 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63988 $as_echo_n "(cached) " >&6
63989 else
63992 ac_ext=cpp
63993 ac_cpp='$CXXCPP $CPPFLAGS'
63994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63999 /* end confdefs.h. */
64000 #include <math.h>
64001 #ifdef HAVE_IEEEFP_H
64002 #include <ieeefp.h>
64003 #endif
64006 main ()
64008 isinfl(0);
64010 return 0;
64012 _ACEOF
64013 if ac_fn_cxx_try_compile "$LINENO"; then :
64014 glibcxx_cv_func_isinfl_use=yes
64015 else
64016 glibcxx_cv_func_isinfl_use=no
64018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64019 ac_ext=c
64020 ac_cpp='$CPP $CPPFLAGS'
64021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64030 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64032 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64033 for ac_func in isinfl
64034 do :
64035 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64036 if test "x$ac_cv_func_isinfl" = x""yes; then :
64037 cat >>confdefs.h <<_ACEOF
64038 #define HAVE_ISINFL 1
64039 _ACEOF
64042 done
64044 else
64046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64047 $as_echo_n "checking for _isinfl declaration... " >&6; }
64048 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64049 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64050 $as_echo_n "(cached) " >&6
64051 else
64054 ac_ext=cpp
64055 ac_cpp='$CXXCPP $CPPFLAGS'
64056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64061 /* end confdefs.h. */
64062 #include <math.h>
64063 #ifdef HAVE_IEEEFP_H
64064 #include <ieeefp.h>
64065 #endif
64068 main ()
64070 _isinfl(0);
64072 return 0;
64074 _ACEOF
64075 if ac_fn_cxx_try_compile "$LINENO"; then :
64076 glibcxx_cv_func__isinfl_use=yes
64077 else
64078 glibcxx_cv_func__isinfl_use=no
64080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64081 ac_ext=c
64082 ac_cpp='$CPP $CPPFLAGS'
64083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64092 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64094 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64095 for ac_func in _isinfl
64096 do :
64097 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64098 if test "x$ac_cv_func__isinfl" = x""yes; then :
64099 cat >>confdefs.h <<_ACEOF
64100 #define HAVE__ISINFL 1
64101 _ACEOF
64104 done
64113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64114 $as_echo_n "checking for atan2l declaration... " >&6; }
64115 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64116 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64117 $as_echo_n "(cached) " >&6
64118 else
64121 ac_ext=cpp
64122 ac_cpp='$CXXCPP $CPPFLAGS'
64123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64128 /* end confdefs.h. */
64129 #include <math.h>
64131 main ()
64133 atan2l(0, 0);
64135 return 0;
64137 _ACEOF
64138 if ac_fn_cxx_try_compile "$LINENO"; then :
64139 glibcxx_cv_func_atan2l_use=yes
64140 else
64141 glibcxx_cv_func_atan2l_use=no
64143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64144 ac_ext=c
64145 ac_cpp='$CPP $CPPFLAGS'
64146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64155 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64157 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64158 for ac_func in atan2l
64159 do :
64160 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64161 if test "x$ac_cv_func_atan2l" = x""yes; then :
64162 cat >>confdefs.h <<_ACEOF
64163 #define HAVE_ATAN2L 1
64164 _ACEOF
64167 done
64169 else
64171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64172 $as_echo_n "checking for _atan2l declaration... " >&6; }
64173 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64174 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64175 $as_echo_n "(cached) " >&6
64176 else
64179 ac_ext=cpp
64180 ac_cpp='$CXXCPP $CPPFLAGS'
64181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64186 /* end confdefs.h. */
64187 #include <math.h>
64189 main ()
64191 _atan2l(0, 0);
64193 return 0;
64195 _ACEOF
64196 if ac_fn_cxx_try_compile "$LINENO"; then :
64197 glibcxx_cv_func__atan2l_use=yes
64198 else
64199 glibcxx_cv_func__atan2l_use=no
64201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64202 ac_ext=c
64203 ac_cpp='$CPP $CPPFLAGS'
64204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64213 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64215 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64216 for ac_func in _atan2l
64217 do :
64218 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64219 if test "x$ac_cv_func__atan2l" = x""yes; then :
64220 cat >>confdefs.h <<_ACEOF
64221 #define HAVE__ATAN2L 1
64222 _ACEOF
64225 done
64234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64235 $as_echo_n "checking for expl declaration... " >&6; }
64236 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64237 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64238 $as_echo_n "(cached) " >&6
64239 else
64242 ac_ext=cpp
64243 ac_cpp='$CXXCPP $CPPFLAGS'
64244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64249 /* end confdefs.h. */
64250 #include <math.h>
64251 #ifdef HAVE_IEEEFP_H
64252 #include <ieeefp.h>
64253 #endif
64256 main ()
64258 expl(0);
64260 return 0;
64262 _ACEOF
64263 if ac_fn_cxx_try_compile "$LINENO"; then :
64264 glibcxx_cv_func_expl_use=yes
64265 else
64266 glibcxx_cv_func_expl_use=no
64268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64269 ac_ext=c
64270 ac_cpp='$CPP $CPPFLAGS'
64271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64280 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64282 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64283 for ac_func in expl
64284 do :
64285 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64286 if test "x$ac_cv_func_expl" = x""yes; then :
64287 cat >>confdefs.h <<_ACEOF
64288 #define HAVE_EXPL 1
64289 _ACEOF
64292 done
64294 else
64296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64297 $as_echo_n "checking for _expl declaration... " >&6; }
64298 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64299 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64300 $as_echo_n "(cached) " >&6
64301 else
64304 ac_ext=cpp
64305 ac_cpp='$CXXCPP $CPPFLAGS'
64306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64311 /* end confdefs.h. */
64312 #include <math.h>
64313 #ifdef HAVE_IEEEFP_H
64314 #include <ieeefp.h>
64315 #endif
64318 main ()
64320 _expl(0);
64322 return 0;
64324 _ACEOF
64325 if ac_fn_cxx_try_compile "$LINENO"; then :
64326 glibcxx_cv_func__expl_use=yes
64327 else
64328 glibcxx_cv_func__expl_use=no
64330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64331 ac_ext=c
64332 ac_cpp='$CPP $CPPFLAGS'
64333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64342 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64344 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64345 for ac_func in _expl
64346 do :
64347 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64348 if test "x$ac_cv_func__expl" = x""yes; then :
64349 cat >>confdefs.h <<_ACEOF
64350 #define HAVE__EXPL 1
64351 _ACEOF
64354 done
64363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64364 $as_echo_n "checking for fabsl declaration... " >&6; }
64365 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64366 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64367 $as_echo_n "(cached) " >&6
64368 else
64371 ac_ext=cpp
64372 ac_cpp='$CXXCPP $CPPFLAGS'
64373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64378 /* end confdefs.h. */
64379 #include <math.h>
64380 #ifdef HAVE_IEEEFP_H
64381 #include <ieeefp.h>
64382 #endif
64385 main ()
64387 fabsl(0);
64389 return 0;
64391 _ACEOF
64392 if ac_fn_cxx_try_compile "$LINENO"; then :
64393 glibcxx_cv_func_fabsl_use=yes
64394 else
64395 glibcxx_cv_func_fabsl_use=no
64397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64398 ac_ext=c
64399 ac_cpp='$CPP $CPPFLAGS'
64400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64409 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64411 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64412 for ac_func in fabsl
64413 do :
64414 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64415 if test "x$ac_cv_func_fabsl" = x""yes; then :
64416 cat >>confdefs.h <<_ACEOF
64417 #define HAVE_FABSL 1
64418 _ACEOF
64421 done
64423 else
64425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64426 $as_echo_n "checking for _fabsl declaration... " >&6; }
64427 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64428 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64429 $as_echo_n "(cached) " >&6
64430 else
64433 ac_ext=cpp
64434 ac_cpp='$CXXCPP $CPPFLAGS'
64435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64440 /* end confdefs.h. */
64441 #include <math.h>
64442 #ifdef HAVE_IEEEFP_H
64443 #include <ieeefp.h>
64444 #endif
64447 main ()
64449 _fabsl(0);
64451 return 0;
64453 _ACEOF
64454 if ac_fn_cxx_try_compile "$LINENO"; then :
64455 glibcxx_cv_func__fabsl_use=yes
64456 else
64457 glibcxx_cv_func__fabsl_use=no
64459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64460 ac_ext=c
64461 ac_cpp='$CPP $CPPFLAGS'
64462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64471 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64473 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64474 for ac_func in _fabsl
64475 do :
64476 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64477 if test "x$ac_cv_func__fabsl" = x""yes; then :
64478 cat >>confdefs.h <<_ACEOF
64479 #define HAVE__FABSL 1
64480 _ACEOF
64483 done
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64493 $as_echo_n "checking for fmodl declaration... " >&6; }
64494 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64495 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64496 $as_echo_n "(cached) " >&6
64497 else
64500 ac_ext=cpp
64501 ac_cpp='$CXXCPP $CPPFLAGS'
64502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64507 /* end confdefs.h. */
64508 #include <math.h>
64510 main ()
64512 fmodl(0, 0);
64514 return 0;
64516 _ACEOF
64517 if ac_fn_cxx_try_compile "$LINENO"; then :
64518 glibcxx_cv_func_fmodl_use=yes
64519 else
64520 glibcxx_cv_func_fmodl_use=no
64522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64523 ac_ext=c
64524 ac_cpp='$CPP $CPPFLAGS'
64525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64534 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64536 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64537 for ac_func in fmodl
64538 do :
64539 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64540 if test "x$ac_cv_func_fmodl" = x""yes; then :
64541 cat >>confdefs.h <<_ACEOF
64542 #define HAVE_FMODL 1
64543 _ACEOF
64546 done
64548 else
64550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64551 $as_echo_n "checking for _fmodl declaration... " >&6; }
64552 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64553 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64554 $as_echo_n "(cached) " >&6
64555 else
64558 ac_ext=cpp
64559 ac_cpp='$CXXCPP $CPPFLAGS'
64560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64565 /* end confdefs.h. */
64566 #include <math.h>
64568 main ()
64570 _fmodl(0, 0);
64572 return 0;
64574 _ACEOF
64575 if ac_fn_cxx_try_compile "$LINENO"; then :
64576 glibcxx_cv_func__fmodl_use=yes
64577 else
64578 glibcxx_cv_func__fmodl_use=no
64580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64581 ac_ext=c
64582 ac_cpp='$CPP $CPPFLAGS'
64583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64592 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64594 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64595 for ac_func in _fmodl
64596 do :
64597 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64598 if test "x$ac_cv_func__fmodl" = x""yes; then :
64599 cat >>confdefs.h <<_ACEOF
64600 #define HAVE__FMODL 1
64601 _ACEOF
64604 done
64613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64614 $as_echo_n "checking for frexpl declaration... " >&6; }
64615 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64616 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64617 $as_echo_n "(cached) " >&6
64618 else
64621 ac_ext=cpp
64622 ac_cpp='$CXXCPP $CPPFLAGS'
64623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64628 /* end confdefs.h. */
64629 #include <math.h>
64631 main ()
64633 frexpl(0, 0);
64635 return 0;
64637 _ACEOF
64638 if ac_fn_cxx_try_compile "$LINENO"; then :
64639 glibcxx_cv_func_frexpl_use=yes
64640 else
64641 glibcxx_cv_func_frexpl_use=no
64643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64644 ac_ext=c
64645 ac_cpp='$CPP $CPPFLAGS'
64646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64655 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64657 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64658 for ac_func in frexpl
64659 do :
64660 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64661 if test "x$ac_cv_func_frexpl" = x""yes; then :
64662 cat >>confdefs.h <<_ACEOF
64663 #define HAVE_FREXPL 1
64664 _ACEOF
64667 done
64669 else
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64672 $as_echo_n "checking for _frexpl declaration... " >&6; }
64673 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64674 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64675 $as_echo_n "(cached) " >&6
64676 else
64679 ac_ext=cpp
64680 ac_cpp='$CXXCPP $CPPFLAGS'
64681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64686 /* end confdefs.h. */
64687 #include <math.h>
64689 main ()
64691 _frexpl(0, 0);
64693 return 0;
64695 _ACEOF
64696 if ac_fn_cxx_try_compile "$LINENO"; then :
64697 glibcxx_cv_func__frexpl_use=yes
64698 else
64699 glibcxx_cv_func__frexpl_use=no
64701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64702 ac_ext=c
64703 ac_cpp='$CPP $CPPFLAGS'
64704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64713 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64715 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64716 for ac_func in _frexpl
64717 do :
64718 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64719 if test "x$ac_cv_func__frexpl" = x""yes; then :
64720 cat >>confdefs.h <<_ACEOF
64721 #define HAVE__FREXPL 1
64722 _ACEOF
64725 done
64734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64735 $as_echo_n "checking for hypotl declaration... " >&6; }
64736 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64737 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64738 $as_echo_n "(cached) " >&6
64739 else
64742 ac_ext=cpp
64743 ac_cpp='$CXXCPP $CPPFLAGS'
64744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64749 /* end confdefs.h. */
64750 #include <math.h>
64752 main ()
64754 hypotl(0, 0);
64756 return 0;
64758 _ACEOF
64759 if ac_fn_cxx_try_compile "$LINENO"; then :
64760 glibcxx_cv_func_hypotl_use=yes
64761 else
64762 glibcxx_cv_func_hypotl_use=no
64764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64765 ac_ext=c
64766 ac_cpp='$CPP $CPPFLAGS'
64767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64776 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64778 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64779 for ac_func in hypotl
64780 do :
64781 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64782 if test "x$ac_cv_func_hypotl" = x""yes; then :
64783 cat >>confdefs.h <<_ACEOF
64784 #define HAVE_HYPOTL 1
64785 _ACEOF
64788 done
64790 else
64792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64793 $as_echo_n "checking for _hypotl declaration... " >&6; }
64794 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64795 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64796 $as_echo_n "(cached) " >&6
64797 else
64800 ac_ext=cpp
64801 ac_cpp='$CXXCPP $CPPFLAGS'
64802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64807 /* end confdefs.h. */
64808 #include <math.h>
64810 main ()
64812 _hypotl(0, 0);
64814 return 0;
64816 _ACEOF
64817 if ac_fn_cxx_try_compile "$LINENO"; then :
64818 glibcxx_cv_func__hypotl_use=yes
64819 else
64820 glibcxx_cv_func__hypotl_use=no
64822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64823 ac_ext=c
64824 ac_cpp='$CPP $CPPFLAGS'
64825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64834 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64836 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64837 for ac_func in _hypotl
64838 do :
64839 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64840 if test "x$ac_cv_func__hypotl" = x""yes; then :
64841 cat >>confdefs.h <<_ACEOF
64842 #define HAVE__HYPOTL 1
64843 _ACEOF
64846 done
64855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64856 $as_echo_n "checking for ldexpl declaration... " >&6; }
64857 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64858 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64859 $as_echo_n "(cached) " >&6
64860 else
64863 ac_ext=cpp
64864 ac_cpp='$CXXCPP $CPPFLAGS'
64865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64870 /* end confdefs.h. */
64871 #include <math.h>
64873 main ()
64875 ldexpl(0, 0);
64877 return 0;
64879 _ACEOF
64880 if ac_fn_cxx_try_compile "$LINENO"; then :
64881 glibcxx_cv_func_ldexpl_use=yes
64882 else
64883 glibcxx_cv_func_ldexpl_use=no
64885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64886 ac_ext=c
64887 ac_cpp='$CPP $CPPFLAGS'
64888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64897 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64899 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64900 for ac_func in ldexpl
64901 do :
64902 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64903 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64904 cat >>confdefs.h <<_ACEOF
64905 #define HAVE_LDEXPL 1
64906 _ACEOF
64909 done
64911 else
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64914 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64915 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64916 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64917 $as_echo_n "(cached) " >&6
64918 else
64921 ac_ext=cpp
64922 ac_cpp='$CXXCPP $CPPFLAGS'
64923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64928 /* end confdefs.h. */
64929 #include <math.h>
64931 main ()
64933 _ldexpl(0, 0);
64935 return 0;
64937 _ACEOF
64938 if ac_fn_cxx_try_compile "$LINENO"; then :
64939 glibcxx_cv_func__ldexpl_use=yes
64940 else
64941 glibcxx_cv_func__ldexpl_use=no
64943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64944 ac_ext=c
64945 ac_cpp='$CPP $CPPFLAGS'
64946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64955 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64957 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64958 for ac_func in _ldexpl
64959 do :
64960 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64961 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64962 cat >>confdefs.h <<_ACEOF
64963 #define HAVE__LDEXPL 1
64964 _ACEOF
64967 done
64976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64977 $as_echo_n "checking for logl declaration... " >&6; }
64978 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64979 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64980 $as_echo_n "(cached) " >&6
64981 else
64984 ac_ext=cpp
64985 ac_cpp='$CXXCPP $CPPFLAGS'
64986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64991 /* end confdefs.h. */
64992 #include <math.h>
64993 #ifdef HAVE_IEEEFP_H
64994 #include <ieeefp.h>
64995 #endif
64998 main ()
65000 logl(0);
65002 return 0;
65004 _ACEOF
65005 if ac_fn_cxx_try_compile "$LINENO"; then :
65006 glibcxx_cv_func_logl_use=yes
65007 else
65008 glibcxx_cv_func_logl_use=no
65010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65011 ac_ext=c
65012 ac_cpp='$CPP $CPPFLAGS'
65013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65022 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65024 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65025 for ac_func in logl
65026 do :
65027 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65028 if test "x$ac_cv_func_logl" = x""yes; then :
65029 cat >>confdefs.h <<_ACEOF
65030 #define HAVE_LOGL 1
65031 _ACEOF
65034 done
65036 else
65038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65039 $as_echo_n "checking for _logl declaration... " >&6; }
65040 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65041 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65042 $as_echo_n "(cached) " >&6
65043 else
65046 ac_ext=cpp
65047 ac_cpp='$CXXCPP $CPPFLAGS'
65048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65053 /* end confdefs.h. */
65054 #include <math.h>
65055 #ifdef HAVE_IEEEFP_H
65056 #include <ieeefp.h>
65057 #endif
65060 main ()
65062 _logl(0);
65064 return 0;
65066 _ACEOF
65067 if ac_fn_cxx_try_compile "$LINENO"; then :
65068 glibcxx_cv_func__logl_use=yes
65069 else
65070 glibcxx_cv_func__logl_use=no
65072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65073 ac_ext=c
65074 ac_cpp='$CPP $CPPFLAGS'
65075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65084 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65086 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65087 for ac_func in _logl
65088 do :
65089 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65090 if test "x$ac_cv_func__logl" = x""yes; then :
65091 cat >>confdefs.h <<_ACEOF
65092 #define HAVE__LOGL 1
65093 _ACEOF
65096 done
65105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65106 $as_echo_n "checking for log10l declaration... " >&6; }
65107 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65108 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65109 $as_echo_n "(cached) " >&6
65110 else
65113 ac_ext=cpp
65114 ac_cpp='$CXXCPP $CPPFLAGS'
65115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65120 /* end confdefs.h. */
65121 #include <math.h>
65122 #ifdef HAVE_IEEEFP_H
65123 #include <ieeefp.h>
65124 #endif
65127 main ()
65129 log10l(0);
65131 return 0;
65133 _ACEOF
65134 if ac_fn_cxx_try_compile "$LINENO"; then :
65135 glibcxx_cv_func_log10l_use=yes
65136 else
65137 glibcxx_cv_func_log10l_use=no
65139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65140 ac_ext=c
65141 ac_cpp='$CPP $CPPFLAGS'
65142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65151 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65153 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65154 for ac_func in log10l
65155 do :
65156 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65157 if test "x$ac_cv_func_log10l" = x""yes; then :
65158 cat >>confdefs.h <<_ACEOF
65159 #define HAVE_LOG10L 1
65160 _ACEOF
65163 done
65165 else
65167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65168 $as_echo_n "checking for _log10l declaration... " >&6; }
65169 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65170 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65171 $as_echo_n "(cached) " >&6
65172 else
65175 ac_ext=cpp
65176 ac_cpp='$CXXCPP $CPPFLAGS'
65177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65182 /* end confdefs.h. */
65183 #include <math.h>
65184 #ifdef HAVE_IEEEFP_H
65185 #include <ieeefp.h>
65186 #endif
65189 main ()
65191 _log10l(0);
65193 return 0;
65195 _ACEOF
65196 if ac_fn_cxx_try_compile "$LINENO"; then :
65197 glibcxx_cv_func__log10l_use=yes
65198 else
65199 glibcxx_cv_func__log10l_use=no
65201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65202 ac_ext=c
65203 ac_cpp='$CPP $CPPFLAGS'
65204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65213 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65215 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65216 for ac_func in _log10l
65217 do :
65218 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65219 if test "x$ac_cv_func__log10l" = x""yes; then :
65220 cat >>confdefs.h <<_ACEOF
65221 #define HAVE__LOG10L 1
65222 _ACEOF
65225 done
65234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65235 $as_echo_n "checking for modfl declaration... " >&6; }
65236 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65237 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65238 $as_echo_n "(cached) " >&6
65239 else
65242 ac_ext=cpp
65243 ac_cpp='$CXXCPP $CPPFLAGS'
65244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65249 /* end confdefs.h. */
65250 #include <math.h>
65252 main ()
65254 modfl(0, 0);
65256 return 0;
65258 _ACEOF
65259 if ac_fn_cxx_try_compile "$LINENO"; then :
65260 glibcxx_cv_func_modfl_use=yes
65261 else
65262 glibcxx_cv_func_modfl_use=no
65264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65265 ac_ext=c
65266 ac_cpp='$CPP $CPPFLAGS'
65267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65276 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65278 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65279 for ac_func in modfl
65280 do :
65281 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65282 if test "x$ac_cv_func_modfl" = x""yes; then :
65283 cat >>confdefs.h <<_ACEOF
65284 #define HAVE_MODFL 1
65285 _ACEOF
65288 done
65290 else
65292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65293 $as_echo_n "checking for _modfl declaration... " >&6; }
65294 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65295 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65296 $as_echo_n "(cached) " >&6
65297 else
65300 ac_ext=cpp
65301 ac_cpp='$CXXCPP $CPPFLAGS'
65302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307 /* end confdefs.h. */
65308 #include <math.h>
65310 main ()
65312 _modfl(0, 0);
65314 return 0;
65316 _ACEOF
65317 if ac_fn_cxx_try_compile "$LINENO"; then :
65318 glibcxx_cv_func__modfl_use=yes
65319 else
65320 glibcxx_cv_func__modfl_use=no
65322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65323 ac_ext=c
65324 ac_cpp='$CPP $CPPFLAGS'
65325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65334 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65336 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65337 for ac_func in _modfl
65338 do :
65339 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65340 if test "x$ac_cv_func__modfl" = x""yes; then :
65341 cat >>confdefs.h <<_ACEOF
65342 #define HAVE__MODFL 1
65343 _ACEOF
65346 done
65355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65356 $as_echo_n "checking for powl declaration... " >&6; }
65357 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65358 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65359 $as_echo_n "(cached) " >&6
65360 else
65363 ac_ext=cpp
65364 ac_cpp='$CXXCPP $CPPFLAGS'
65365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65370 /* end confdefs.h. */
65371 #include <math.h>
65373 main ()
65375 powl(0, 0);
65377 return 0;
65379 _ACEOF
65380 if ac_fn_cxx_try_compile "$LINENO"; then :
65381 glibcxx_cv_func_powl_use=yes
65382 else
65383 glibcxx_cv_func_powl_use=no
65385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65386 ac_ext=c
65387 ac_cpp='$CPP $CPPFLAGS'
65388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65397 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65399 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65400 for ac_func in powl
65401 do :
65402 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65403 if test "x$ac_cv_func_powl" = x""yes; then :
65404 cat >>confdefs.h <<_ACEOF
65405 #define HAVE_POWL 1
65406 _ACEOF
65409 done
65411 else
65413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65414 $as_echo_n "checking for _powl declaration... " >&6; }
65415 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65416 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65417 $as_echo_n "(cached) " >&6
65418 else
65421 ac_ext=cpp
65422 ac_cpp='$CXXCPP $CPPFLAGS'
65423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65428 /* end confdefs.h. */
65429 #include <math.h>
65431 main ()
65433 _powl(0, 0);
65435 return 0;
65437 _ACEOF
65438 if ac_fn_cxx_try_compile "$LINENO"; then :
65439 glibcxx_cv_func__powl_use=yes
65440 else
65441 glibcxx_cv_func__powl_use=no
65443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65444 ac_ext=c
65445 ac_cpp='$CPP $CPPFLAGS'
65446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65455 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65457 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65458 for ac_func in _powl
65459 do :
65460 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65461 if test "x$ac_cv_func__powl" = x""yes; then :
65462 cat >>confdefs.h <<_ACEOF
65463 #define HAVE__POWL 1
65464 _ACEOF
65467 done
65476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65477 $as_echo_n "checking for sqrtl declaration... " >&6; }
65478 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65479 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65480 $as_echo_n "(cached) " >&6
65481 else
65484 ac_ext=cpp
65485 ac_cpp='$CXXCPP $CPPFLAGS'
65486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65491 /* end confdefs.h. */
65492 #include <math.h>
65493 #ifdef HAVE_IEEEFP_H
65494 #include <ieeefp.h>
65495 #endif
65498 main ()
65500 sqrtl(0);
65502 return 0;
65504 _ACEOF
65505 if ac_fn_cxx_try_compile "$LINENO"; then :
65506 glibcxx_cv_func_sqrtl_use=yes
65507 else
65508 glibcxx_cv_func_sqrtl_use=no
65510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65511 ac_ext=c
65512 ac_cpp='$CPP $CPPFLAGS'
65513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65522 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65524 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65525 for ac_func in sqrtl
65526 do :
65527 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65528 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65529 cat >>confdefs.h <<_ACEOF
65530 #define HAVE_SQRTL 1
65531 _ACEOF
65534 done
65536 else
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65539 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65540 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65541 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65542 $as_echo_n "(cached) " >&6
65543 else
65546 ac_ext=cpp
65547 ac_cpp='$CXXCPP $CPPFLAGS'
65548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65553 /* end confdefs.h. */
65554 #include <math.h>
65555 #ifdef HAVE_IEEEFP_H
65556 #include <ieeefp.h>
65557 #endif
65560 main ()
65562 _sqrtl(0);
65564 return 0;
65566 _ACEOF
65567 if ac_fn_cxx_try_compile "$LINENO"; then :
65568 glibcxx_cv_func__sqrtl_use=yes
65569 else
65570 glibcxx_cv_func__sqrtl_use=no
65572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65573 ac_ext=c
65574 ac_cpp='$CPP $CPPFLAGS'
65575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65584 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65586 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65587 for ac_func in _sqrtl
65588 do :
65589 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65590 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65591 cat >>confdefs.h <<_ACEOF
65592 #define HAVE__SQRTL 1
65593 _ACEOF
65596 done
65605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65606 $as_echo_n "checking for sincosl declaration... " >&6; }
65607 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65608 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65609 $as_echo_n "(cached) " >&6
65610 else
65613 ac_ext=cpp
65614 ac_cpp='$CXXCPP $CPPFLAGS'
65615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65620 /* end confdefs.h. */
65621 #include <math.h>
65623 main ()
65625 sincosl(0, 0, 0);
65627 return 0;
65629 _ACEOF
65630 if ac_fn_cxx_try_compile "$LINENO"; then :
65631 glibcxx_cv_func_sincosl_use=yes
65632 else
65633 glibcxx_cv_func_sincosl_use=no
65635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65636 ac_ext=c
65637 ac_cpp='$CPP $CPPFLAGS'
65638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65647 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65649 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65650 for ac_func in sincosl
65651 do :
65652 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65653 if test "x$ac_cv_func_sincosl" = x""yes; then :
65654 cat >>confdefs.h <<_ACEOF
65655 #define HAVE_SINCOSL 1
65656 _ACEOF
65659 done
65661 else
65663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65664 $as_echo_n "checking for _sincosl declaration... " >&6; }
65665 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65666 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65667 $as_echo_n "(cached) " >&6
65668 else
65671 ac_ext=cpp
65672 ac_cpp='$CXXCPP $CPPFLAGS'
65673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65678 /* end confdefs.h. */
65679 #include <math.h>
65681 main ()
65683 _sincosl(0, 0, 0);
65685 return 0;
65687 _ACEOF
65688 if ac_fn_cxx_try_compile "$LINENO"; then :
65689 glibcxx_cv_func__sincosl_use=yes
65690 else
65691 glibcxx_cv_func__sincosl_use=no
65693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65694 ac_ext=c
65695 ac_cpp='$CPP $CPPFLAGS'
65696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65705 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65707 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65708 for ac_func in _sincosl
65709 do :
65710 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65711 if test "x$ac_cv_func__sincosl" = x""yes; then :
65712 cat >>confdefs.h <<_ACEOF
65713 #define HAVE__SINCOSL 1
65714 _ACEOF
65717 done
65726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65727 $as_echo_n "checking for finitel declaration... " >&6; }
65728 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65729 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65730 $as_echo_n "(cached) " >&6
65731 else
65734 ac_ext=cpp
65735 ac_cpp='$CXXCPP $CPPFLAGS'
65736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65741 /* end confdefs.h. */
65742 #include <math.h>
65743 #ifdef HAVE_IEEEFP_H
65744 #include <ieeefp.h>
65745 #endif
65748 main ()
65750 finitel(0);
65752 return 0;
65754 _ACEOF
65755 if ac_fn_cxx_try_compile "$LINENO"; then :
65756 glibcxx_cv_func_finitel_use=yes
65757 else
65758 glibcxx_cv_func_finitel_use=no
65760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65761 ac_ext=c
65762 ac_cpp='$CPP $CPPFLAGS'
65763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65772 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65774 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65775 for ac_func in finitel
65776 do :
65777 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65778 if test "x$ac_cv_func_finitel" = x""yes; then :
65779 cat >>confdefs.h <<_ACEOF
65780 #define HAVE_FINITEL 1
65781 _ACEOF
65784 done
65786 else
65788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65789 $as_echo_n "checking for _finitel declaration... " >&6; }
65790 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65791 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65792 $as_echo_n "(cached) " >&6
65793 else
65796 ac_ext=cpp
65797 ac_cpp='$CXXCPP $CPPFLAGS'
65798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65803 /* end confdefs.h. */
65804 #include <math.h>
65805 #ifdef HAVE_IEEEFP_H
65806 #include <ieeefp.h>
65807 #endif
65810 main ()
65812 _finitel(0);
65814 return 0;
65816 _ACEOF
65817 if ac_fn_cxx_try_compile "$LINENO"; then :
65818 glibcxx_cv_func__finitel_use=yes
65819 else
65820 glibcxx_cv_func__finitel_use=no
65822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65823 ac_ext=c
65824 ac_cpp='$CPP $CPPFLAGS'
65825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65834 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65836 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65837 for ac_func in _finitel
65838 do :
65839 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65840 if test "x$ac_cv_func__finitel" = x""yes; then :
65841 cat >>confdefs.h <<_ACEOF
65842 #define HAVE__FINITEL 1
65843 _ACEOF
65846 done
65854 LIBS="$ac_save_LIBS"
65855 CXXFLAGS="$ac_save_CXXFLAGS"
65858 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65859 ac_save_CXXFLAGS="$CXXFLAGS"
65860 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65864 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65865 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65866 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65867 $as_echo_n "(cached) " >&6
65868 else
65871 ac_ext=cpp
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65878 /* end confdefs.h. */
65879 #include <stdlib.h>
65881 main ()
65883 at_quick_exit(0);
65885 return 0;
65887 _ACEOF
65888 if ac_fn_cxx_try_compile "$LINENO"; then :
65889 glibcxx_cv_func_at_quick_exit_use=yes
65890 else
65891 glibcxx_cv_func_at_quick_exit_use=no
65893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65894 ac_ext=c
65895 ac_cpp='$CPP $CPPFLAGS'
65896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65905 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65906 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65907 for ac_func in at_quick_exit
65908 do :
65909 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65910 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65911 cat >>confdefs.h <<_ACEOF
65912 #define HAVE_AT_QUICK_EXIT 1
65913 _ACEOF
65916 done
65921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65922 $as_echo_n "checking for quick_exit declaration... " >&6; }
65923 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65924 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65925 $as_echo_n "(cached) " >&6
65926 else
65929 ac_ext=cpp
65930 ac_cpp='$CXXCPP $CPPFLAGS'
65931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65936 /* end confdefs.h. */
65937 #include <stdlib.h>
65939 main ()
65941 quick_exit(0);
65943 return 0;
65945 _ACEOF
65946 if ac_fn_cxx_try_compile "$LINENO"; then :
65947 glibcxx_cv_func_quick_exit_use=yes
65948 else
65949 glibcxx_cv_func_quick_exit_use=no
65951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65952 ac_ext=c
65953 ac_cpp='$CPP $CPPFLAGS'
65954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65963 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65964 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65965 for ac_func in quick_exit
65966 do :
65967 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65968 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65969 cat >>confdefs.h <<_ACEOF
65970 #define HAVE_QUICK_EXIT 1
65971 _ACEOF
65974 done
65979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65980 $as_echo_n "checking for strtold declaration... " >&6; }
65981 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65982 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65983 $as_echo_n "(cached) " >&6
65984 else
65987 ac_ext=cpp
65988 ac_cpp='$CXXCPP $CPPFLAGS'
65989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65994 /* end confdefs.h. */
65995 #include <stdlib.h>
65997 main ()
65999 strtold(0, 0);
66001 return 0;
66003 _ACEOF
66004 if ac_fn_cxx_try_compile "$LINENO"; then :
66005 glibcxx_cv_func_strtold_use=yes
66006 else
66007 glibcxx_cv_func_strtold_use=no
66009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66010 ac_ext=c
66011 ac_cpp='$CPP $CPPFLAGS'
66012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66021 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66022 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66023 for ac_func in strtold
66024 do :
66025 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66026 if test "x$ac_cv_func_strtold" = x""yes; then :
66027 cat >>confdefs.h <<_ACEOF
66028 #define HAVE_STRTOLD 1
66029 _ACEOF
66032 done
66039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66040 $as_echo_n "checking for strtof declaration... " >&6; }
66041 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66042 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66043 $as_echo_n "(cached) " >&6
66044 else
66047 ac_ext=cpp
66048 ac_cpp='$CXXCPP $CPPFLAGS'
66049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66054 /* end confdefs.h. */
66055 #include <stdlib.h>
66057 main ()
66059 strtof(0, 0);
66061 return 0;
66063 _ACEOF
66064 if ac_fn_cxx_try_compile "$LINENO"; then :
66065 glibcxx_cv_func_strtof_use=yes
66066 else
66067 glibcxx_cv_func_strtof_use=no
66069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66070 ac_ext=c
66071 ac_cpp='$CPP $CPPFLAGS'
66072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66081 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66082 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66083 for ac_func in strtof
66084 do :
66085 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66086 if test "x$ac_cv_func_strtof" = x""yes; then :
66087 cat >>confdefs.h <<_ACEOF
66088 #define HAVE_STRTOF 1
66089 _ACEOF
66092 done
66099 CXXFLAGS="$ac_save_CXXFLAGS"
66102 *-netbsd*)
66103 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66106 # If we're not using GNU ld, then there's no point in even trying these
66107 # tests. Check for that first. We should have already tested for gld
66108 # by now (in libtool), but require it now just to be safe...
66109 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66110 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66114 # The name set by libtool depends on the version of libtool. Shame on us
66115 # for depending on an impl detail, but c'est la vie. Older versions used
66116 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66117 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66118 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66119 # set (hence we're using an older libtool), then set it.
66120 if test x${with_gnu_ld+set} != xset; then
66121 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66122 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66123 with_gnu_ld=no
66124 else
66125 with_gnu_ld=$ac_cv_prog_gnu_ld
66129 # Start by getting the version number. I think the libtool test already
66130 # does some of this, but throws away the result.
66131 glibcxx_ld_is_gold=no
66132 if test x"$with_gnu_ld" = x"yes"; then
66133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66134 $as_echo_n "checking for ld version... " >&6; }
66136 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66137 glibcxx_ld_is_gold=yes
66139 ldver=`$LD --version 2>/dev/null |
66140 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'`
66142 glibcxx_gnu_ld_version=`echo $ldver | \
66143 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66145 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66148 # Set --gc-sections.
66149 glibcxx_have_gc_sections=no
66150 if test "$glibcxx_ld_is_gold" = "yes"; then
66151 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66152 glibcxx_have_gc_sections=yes
66154 else
66155 glibcxx_gcsections_min_ld=21602
66156 if test x"$with_gnu_ld" = x"yes" &&
66157 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66158 glibcxx_have_gc_sections=yes
66161 if test "$glibcxx_have_gc_sections" = "yes"; then
66162 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66163 # NB: This flag only works reliably after 2.16.1. Configure tests
66164 # for this are difficult, so hard wire a value that should work.
66166 ac_test_CFLAGS="${CFLAGS+set}"
66167 ac_save_CFLAGS="$CFLAGS"
66168 CFLAGS='-Wl,--gc-sections'
66170 # Check for -Wl,--gc-sections
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66172 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66173 if test x$gcc_no_link = xyes; then
66174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66177 /* end confdefs.h. */
66178 int one(void) { return 1; }
66179 int two(void) { return 2; }
66182 main ()
66184 two();
66186 return 0;
66188 _ACEOF
66189 if ac_fn_c_try_link "$LINENO"; then :
66190 ac_gcsections=yes
66191 else
66192 ac_gcsections=no
66194 rm -f core conftest.err conftest.$ac_objext \
66195 conftest$ac_exeext conftest.$ac_ext
66196 if test "$ac_gcsections" = "yes"; then
66197 rm -f conftest.c
66198 touch conftest.c
66199 if $CC -c conftest.c; then
66200 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66201 grep "Warning: gc-sections option ignored" > /dev/null; then
66202 ac_gcsections=no
66205 rm -f conftest.c conftest.o conftest
66207 if test "$ac_gcsections" = "yes"; then
66208 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66211 $as_echo "$ac_gcsections" >&6; }
66213 if test "$ac_test_CFLAGS" = set; then
66214 CFLAGS="$ac_save_CFLAGS"
66215 else
66216 # this is the suspicious part
66217 CFLAGS=''
66221 # Set -z,relro.
66222 # Note this is only for shared objects.
66223 ac_ld_relro=no
66224 if test x"$with_gnu_ld" = x"yes"; then
66225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66226 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66227 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66228 if test -n "$cxx_z_relo"; then
66229 OPT_LDFLAGS="-Wl,-z,relro"
66230 ac_ld_relro=yes
66232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66233 $as_echo "$ac_ld_relro" >&6; }
66236 # Set linker optimization flags.
66237 if test x"$with_gnu_ld" = x"yes"; then
66238 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66244 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66246 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66248 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66250 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66252 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66254 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66256 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66258 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66260 if test x"long_double_math_on_this_cpu" = x"yes"; then
66261 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66263 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66265 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66269 *-qnx6.1* | *-qnx6.2*)
66270 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66273 # If we're not using GNU ld, then there's no point in even trying these
66274 # tests. Check for that first. We should have already tested for gld
66275 # by now (in libtool), but require it now just to be safe...
66276 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66277 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66281 # The name set by libtool depends on the version of libtool. Shame on us
66282 # for depending on an impl detail, but c'est la vie. Older versions used
66283 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66284 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66285 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66286 # set (hence we're using an older libtool), then set it.
66287 if test x${with_gnu_ld+set} != xset; then
66288 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66289 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66290 with_gnu_ld=no
66291 else
66292 with_gnu_ld=$ac_cv_prog_gnu_ld
66296 # Start by getting the version number. I think the libtool test already
66297 # does some of this, but throws away the result.
66298 glibcxx_ld_is_gold=no
66299 if test x"$with_gnu_ld" = x"yes"; then
66300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66301 $as_echo_n "checking for ld version... " >&6; }
66303 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66304 glibcxx_ld_is_gold=yes
66306 ldver=`$LD --version 2>/dev/null |
66307 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'`
66309 glibcxx_gnu_ld_version=`echo $ldver | \
66310 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66312 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66315 # Set --gc-sections.
66316 glibcxx_have_gc_sections=no
66317 if test "$glibcxx_ld_is_gold" = "yes"; then
66318 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66319 glibcxx_have_gc_sections=yes
66321 else
66322 glibcxx_gcsections_min_ld=21602
66323 if test x"$with_gnu_ld" = x"yes" &&
66324 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66325 glibcxx_have_gc_sections=yes
66328 if test "$glibcxx_have_gc_sections" = "yes"; then
66329 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66330 # NB: This flag only works reliably after 2.16.1. Configure tests
66331 # for this are difficult, so hard wire a value that should work.
66333 ac_test_CFLAGS="${CFLAGS+set}"
66334 ac_save_CFLAGS="$CFLAGS"
66335 CFLAGS='-Wl,--gc-sections'
66337 # Check for -Wl,--gc-sections
66338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66339 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66340 if test x$gcc_no_link = xyes; then
66341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66344 /* end confdefs.h. */
66345 int one(void) { return 1; }
66346 int two(void) { return 2; }
66349 main ()
66351 two();
66353 return 0;
66355 _ACEOF
66356 if ac_fn_c_try_link "$LINENO"; then :
66357 ac_gcsections=yes
66358 else
66359 ac_gcsections=no
66361 rm -f core conftest.err conftest.$ac_objext \
66362 conftest$ac_exeext conftest.$ac_ext
66363 if test "$ac_gcsections" = "yes"; then
66364 rm -f conftest.c
66365 touch conftest.c
66366 if $CC -c conftest.c; then
66367 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66368 grep "Warning: gc-sections option ignored" > /dev/null; then
66369 ac_gcsections=no
66372 rm -f conftest.c conftest.o conftest
66374 if test "$ac_gcsections" = "yes"; then
66375 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66378 $as_echo "$ac_gcsections" >&6; }
66380 if test "$ac_test_CFLAGS" = set; then
66381 CFLAGS="$ac_save_CFLAGS"
66382 else
66383 # this is the suspicious part
66384 CFLAGS=''
66388 # Set -z,relro.
66389 # Note this is only for shared objects.
66390 ac_ld_relro=no
66391 if test x"$with_gnu_ld" = x"yes"; then
66392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66393 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66394 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66395 if test -n "$cxx_z_relo"; then
66396 OPT_LDFLAGS="-Wl,-z,relro"
66397 ac_ld_relro=yes
66399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66400 $as_echo "$ac_ld_relro" >&6; }
66403 # Set linker optimization flags.
66404 if test x"$with_gnu_ld" = x"yes"; then
66405 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66411 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66413 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66415 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66417 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66419 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66421 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66423 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66425 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66427 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66429 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66431 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66433 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66436 *-rtems*)
66438 # All these tests are for C++; save the language and the compiler flags.
66439 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66440 # found in GLIBCXX_CONFIGURE.
66442 ac_ext=cpp
66443 ac_cpp='$CXXCPP $CPPFLAGS'
66444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66448 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66449 ac_save_CXXFLAGS="$CXXFLAGS"
66451 # Check for maintainer-mode bits.
66452 if test x"$USE_MAINTAINER_MODE" = xno; then
66453 WERROR=''
66454 else
66455 WERROR='-Werror'
66458 # Check for -ffunction-sections -fdata-sections
66459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66460 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66461 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66463 /* end confdefs.h. */
66464 int foo; void bar() { };
66466 main ()
66470 return 0;
66472 _ACEOF
66473 if ac_fn_cxx_try_compile "$LINENO"; then :
66474 ac_fdsections=yes
66475 else
66476 ac_fdsections=no
66478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66479 if test "$ac_test_CXXFLAGS" = set; then
66480 CXXFLAGS="$ac_save_CXXFLAGS"
66481 else
66482 # this is the suspicious part
66483 CXXFLAGS=''
66485 if test x"$ac_fdsections" = x"yes"; then
66486 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66489 $as_echo "$ac_fdsections" >&6; }
66491 ac_ext=c
66492 ac_cpp='$CPP $CPPFLAGS'
66493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66501 # If we're not using GNU ld, then there's no point in even trying these
66502 # tests. Check for that first. We should have already tested for gld
66503 # by now (in libtool), but require it now just to be safe...
66504 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66505 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66509 # The name set by libtool depends on the version of libtool. Shame on us
66510 # for depending on an impl detail, but c'est la vie. Older versions used
66511 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66512 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66513 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66514 # set (hence we're using an older libtool), then set it.
66515 if test x${with_gnu_ld+set} != xset; then
66516 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66517 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66518 with_gnu_ld=no
66519 else
66520 with_gnu_ld=$ac_cv_prog_gnu_ld
66524 # Start by getting the version number. I think the libtool test already
66525 # does some of this, but throws away the result.
66526 glibcxx_ld_is_gold=no
66527 if test x"$with_gnu_ld" = x"yes"; then
66528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66529 $as_echo_n "checking for ld version... " >&6; }
66531 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66532 glibcxx_ld_is_gold=yes
66534 ldver=`$LD --version 2>/dev/null |
66535 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'`
66537 glibcxx_gnu_ld_version=`echo $ldver | \
66538 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66540 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66543 # Set --gc-sections.
66544 glibcxx_have_gc_sections=no
66545 if test "$glibcxx_ld_is_gold" = "yes"; then
66546 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66547 glibcxx_have_gc_sections=yes
66549 else
66550 glibcxx_gcsections_min_ld=21602
66551 if test x"$with_gnu_ld" = x"yes" &&
66552 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66553 glibcxx_have_gc_sections=yes
66556 if test "$glibcxx_have_gc_sections" = "yes"; then
66557 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66558 # NB: This flag only works reliably after 2.16.1. Configure tests
66559 # for this are difficult, so hard wire a value that should work.
66561 ac_test_CFLAGS="${CFLAGS+set}"
66562 ac_save_CFLAGS="$CFLAGS"
66563 CFLAGS='-Wl,--gc-sections'
66565 # Check for -Wl,--gc-sections
66566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66567 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66568 if test x$gcc_no_link = xyes; then
66569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66572 /* end confdefs.h. */
66573 int one(void) { return 1; }
66574 int two(void) { return 2; }
66577 main ()
66579 two();
66581 return 0;
66583 _ACEOF
66584 if ac_fn_c_try_link "$LINENO"; then :
66585 ac_gcsections=yes
66586 else
66587 ac_gcsections=no
66589 rm -f core conftest.err conftest.$ac_objext \
66590 conftest$ac_exeext conftest.$ac_ext
66591 if test "$ac_gcsections" = "yes"; then
66592 rm -f conftest.c
66593 touch conftest.c
66594 if $CC -c conftest.c; then
66595 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66596 grep "Warning: gc-sections option ignored" > /dev/null; then
66597 ac_gcsections=no
66600 rm -f conftest.c conftest.o conftest
66602 if test "$ac_gcsections" = "yes"; then
66603 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66606 $as_echo "$ac_gcsections" >&6; }
66608 if test "$ac_test_CFLAGS" = set; then
66609 CFLAGS="$ac_save_CFLAGS"
66610 else
66611 # this is the suspicious part
66612 CFLAGS=''
66616 # Set -z,relro.
66617 # Note this is only for shared objects.
66618 ac_ld_relro=no
66619 if test x"$with_gnu_ld" = x"yes"; then
66620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66621 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66622 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66623 if test -n "$cxx_z_relo"; then
66624 OPT_LDFLAGS="-Wl,-z,relro"
66625 ac_ld_relro=yes
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66628 $as_echo "$ac_ld_relro" >&6; }
66631 # Set linker optimization flags.
66632 if test x"$with_gnu_ld" = x"yes"; then
66633 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66640 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66641 ac_save_CXXFLAGS="$CXXFLAGS"
66642 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66645 $as_echo_n "checking for sin in -lm... " >&6; }
66646 if test "${ac_cv_lib_m_sin+set}" = set; then :
66647 $as_echo_n "(cached) " >&6
66648 else
66649 ac_check_lib_save_LIBS=$LIBS
66650 LIBS="-lm $LIBS"
66651 if test x$gcc_no_link = xyes; then
66652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66655 /* end confdefs.h. */
66657 /* Override any GCC internal prototype to avoid an error.
66658 Use char because int might match the return type of a GCC
66659 builtin and then its argument prototype would still apply. */
66660 #ifdef __cplusplus
66661 extern "C"
66662 #endif
66663 char sin ();
66665 main ()
66667 return sin ();
66669 return 0;
66671 _ACEOF
66672 if ac_fn_c_try_link "$LINENO"; then :
66673 ac_cv_lib_m_sin=yes
66674 else
66675 ac_cv_lib_m_sin=no
66677 rm -f core conftest.err conftest.$ac_objext \
66678 conftest$ac_exeext conftest.$ac_ext
66679 LIBS=$ac_check_lib_save_LIBS
66681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66682 $as_echo "$ac_cv_lib_m_sin" >&6; }
66683 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66684 libm="-lm"
66687 ac_save_LIBS="$LIBS"
66688 LIBS="$LIBS $libm"
66692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66693 $as_echo_n "checking for isinf declaration... " >&6; }
66694 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66695 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66696 $as_echo_n "(cached) " >&6
66697 else
66700 ac_ext=cpp
66701 ac_cpp='$CXXCPP $CPPFLAGS'
66702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66707 /* end confdefs.h. */
66708 #include <math.h>
66709 #ifdef HAVE_IEEEFP_H
66710 #include <ieeefp.h>
66711 #endif
66714 main ()
66716 isinf(0);
66718 return 0;
66720 _ACEOF
66721 if ac_fn_cxx_try_compile "$LINENO"; then :
66722 glibcxx_cv_func_isinf_use=yes
66723 else
66724 glibcxx_cv_func_isinf_use=no
66726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66727 ac_ext=c
66728 ac_cpp='$CPP $CPPFLAGS'
66729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66738 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66740 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66741 for ac_func in isinf
66742 do :
66743 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66744 if test "x$ac_cv_func_isinf" = x""yes; then :
66745 cat >>confdefs.h <<_ACEOF
66746 #define HAVE_ISINF 1
66747 _ACEOF
66750 done
66752 else
66754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66755 $as_echo_n "checking for _isinf declaration... " >&6; }
66756 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66757 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66758 $as_echo_n "(cached) " >&6
66759 else
66762 ac_ext=cpp
66763 ac_cpp='$CXXCPP $CPPFLAGS'
66764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66769 /* end confdefs.h. */
66770 #include <math.h>
66771 #ifdef HAVE_IEEEFP_H
66772 #include <ieeefp.h>
66773 #endif
66776 main ()
66778 _isinf(0);
66780 return 0;
66782 _ACEOF
66783 if ac_fn_cxx_try_compile "$LINENO"; then :
66784 glibcxx_cv_func__isinf_use=yes
66785 else
66786 glibcxx_cv_func__isinf_use=no
66788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66789 ac_ext=c
66790 ac_cpp='$CPP $CPPFLAGS'
66791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66800 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66802 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66803 for ac_func in _isinf
66804 do :
66805 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66806 if test "x$ac_cv_func__isinf" = x""yes; then :
66807 cat >>confdefs.h <<_ACEOF
66808 #define HAVE__ISINF 1
66809 _ACEOF
66812 done
66821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66822 $as_echo_n "checking for isnan declaration... " >&6; }
66823 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66824 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66825 $as_echo_n "(cached) " >&6
66826 else
66829 ac_ext=cpp
66830 ac_cpp='$CXXCPP $CPPFLAGS'
66831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66836 /* end confdefs.h. */
66837 #include <math.h>
66838 #ifdef HAVE_IEEEFP_H
66839 #include <ieeefp.h>
66840 #endif
66843 main ()
66845 isnan(0);
66847 return 0;
66849 _ACEOF
66850 if ac_fn_cxx_try_compile "$LINENO"; then :
66851 glibcxx_cv_func_isnan_use=yes
66852 else
66853 glibcxx_cv_func_isnan_use=no
66855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66856 ac_ext=c
66857 ac_cpp='$CPP $CPPFLAGS'
66858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66867 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66869 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66870 for ac_func in isnan
66871 do :
66872 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66873 if test "x$ac_cv_func_isnan" = x""yes; then :
66874 cat >>confdefs.h <<_ACEOF
66875 #define HAVE_ISNAN 1
66876 _ACEOF
66879 done
66881 else
66883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66884 $as_echo_n "checking for _isnan declaration... " >&6; }
66885 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66886 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66887 $as_echo_n "(cached) " >&6
66888 else
66891 ac_ext=cpp
66892 ac_cpp='$CXXCPP $CPPFLAGS'
66893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66898 /* end confdefs.h. */
66899 #include <math.h>
66900 #ifdef HAVE_IEEEFP_H
66901 #include <ieeefp.h>
66902 #endif
66905 main ()
66907 _isnan(0);
66909 return 0;
66911 _ACEOF
66912 if ac_fn_cxx_try_compile "$LINENO"; then :
66913 glibcxx_cv_func__isnan_use=yes
66914 else
66915 glibcxx_cv_func__isnan_use=no
66917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66918 ac_ext=c
66919 ac_cpp='$CPP $CPPFLAGS'
66920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66929 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66931 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66932 for ac_func in _isnan
66933 do :
66934 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66935 if test "x$ac_cv_func__isnan" = x""yes; then :
66936 cat >>confdefs.h <<_ACEOF
66937 #define HAVE__ISNAN 1
66938 _ACEOF
66941 done
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66951 $as_echo_n "checking for finite declaration... " >&6; }
66952 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66953 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66954 $as_echo_n "(cached) " >&6
66955 else
66958 ac_ext=cpp
66959 ac_cpp='$CXXCPP $CPPFLAGS'
66960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66965 /* end confdefs.h. */
66966 #include <math.h>
66967 #ifdef HAVE_IEEEFP_H
66968 #include <ieeefp.h>
66969 #endif
66972 main ()
66974 finite(0);
66976 return 0;
66978 _ACEOF
66979 if ac_fn_cxx_try_compile "$LINENO"; then :
66980 glibcxx_cv_func_finite_use=yes
66981 else
66982 glibcxx_cv_func_finite_use=no
66984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66985 ac_ext=c
66986 ac_cpp='$CPP $CPPFLAGS'
66987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66996 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66998 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66999 for ac_func in finite
67000 do :
67001 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67002 if test "x$ac_cv_func_finite" = x""yes; then :
67003 cat >>confdefs.h <<_ACEOF
67004 #define HAVE_FINITE 1
67005 _ACEOF
67008 done
67010 else
67012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67013 $as_echo_n "checking for _finite declaration... " >&6; }
67014 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67015 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67016 $as_echo_n "(cached) " >&6
67017 else
67020 ac_ext=cpp
67021 ac_cpp='$CXXCPP $CPPFLAGS'
67022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67027 /* end confdefs.h. */
67028 #include <math.h>
67029 #ifdef HAVE_IEEEFP_H
67030 #include <ieeefp.h>
67031 #endif
67034 main ()
67036 _finite(0);
67038 return 0;
67040 _ACEOF
67041 if ac_fn_cxx_try_compile "$LINENO"; then :
67042 glibcxx_cv_func__finite_use=yes
67043 else
67044 glibcxx_cv_func__finite_use=no
67046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67047 ac_ext=c
67048 ac_cpp='$CPP $CPPFLAGS'
67049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67058 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67060 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67061 for ac_func in _finite
67062 do :
67063 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67064 if test "x$ac_cv_func__finite" = x""yes; then :
67065 cat >>confdefs.h <<_ACEOF
67066 #define HAVE__FINITE 1
67067 _ACEOF
67070 done
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67080 $as_echo_n "checking for sincos declaration... " >&6; }
67081 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67082 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67083 $as_echo_n "(cached) " >&6
67084 else
67087 ac_ext=cpp
67088 ac_cpp='$CXXCPP $CPPFLAGS'
67089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67094 /* end confdefs.h. */
67095 #include <math.h>
67097 main ()
67099 sincos(0, 0, 0);
67101 return 0;
67103 _ACEOF
67104 if ac_fn_cxx_try_compile "$LINENO"; then :
67105 glibcxx_cv_func_sincos_use=yes
67106 else
67107 glibcxx_cv_func_sincos_use=no
67109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67110 ac_ext=c
67111 ac_cpp='$CPP $CPPFLAGS'
67112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67121 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67123 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67124 for ac_func in sincos
67125 do :
67126 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67127 if test "x$ac_cv_func_sincos" = x""yes; then :
67128 cat >>confdefs.h <<_ACEOF
67129 #define HAVE_SINCOS 1
67130 _ACEOF
67133 done
67135 else
67137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67138 $as_echo_n "checking for _sincos declaration... " >&6; }
67139 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67140 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67141 $as_echo_n "(cached) " >&6
67142 else
67145 ac_ext=cpp
67146 ac_cpp='$CXXCPP $CPPFLAGS'
67147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67152 /* end confdefs.h. */
67153 #include <math.h>
67155 main ()
67157 _sincos(0, 0, 0);
67159 return 0;
67161 _ACEOF
67162 if ac_fn_cxx_try_compile "$LINENO"; then :
67163 glibcxx_cv_func__sincos_use=yes
67164 else
67165 glibcxx_cv_func__sincos_use=no
67167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67168 ac_ext=c
67169 ac_cpp='$CPP $CPPFLAGS'
67170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67179 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67181 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67182 for ac_func in _sincos
67183 do :
67184 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67185 if test "x$ac_cv_func__sincos" = x""yes; then :
67186 cat >>confdefs.h <<_ACEOF
67187 #define HAVE__SINCOS 1
67188 _ACEOF
67191 done
67200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67201 $as_echo_n "checking for fpclass declaration... " >&6; }
67202 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67203 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67204 $as_echo_n "(cached) " >&6
67205 else
67208 ac_ext=cpp
67209 ac_cpp='$CXXCPP $CPPFLAGS'
67210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67215 /* end confdefs.h. */
67216 #include <math.h>
67217 #ifdef HAVE_IEEEFP_H
67218 #include <ieeefp.h>
67219 #endif
67222 main ()
67224 fpclass(0);
67226 return 0;
67228 _ACEOF
67229 if ac_fn_cxx_try_compile "$LINENO"; then :
67230 glibcxx_cv_func_fpclass_use=yes
67231 else
67232 glibcxx_cv_func_fpclass_use=no
67234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67235 ac_ext=c
67236 ac_cpp='$CPP $CPPFLAGS'
67237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67246 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67248 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67249 for ac_func in fpclass
67250 do :
67251 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67252 if test "x$ac_cv_func_fpclass" = x""yes; then :
67253 cat >>confdefs.h <<_ACEOF
67254 #define HAVE_FPCLASS 1
67255 _ACEOF
67258 done
67260 else
67262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67263 $as_echo_n "checking for _fpclass declaration... " >&6; }
67264 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67265 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67266 $as_echo_n "(cached) " >&6
67267 else
67270 ac_ext=cpp
67271 ac_cpp='$CXXCPP $CPPFLAGS'
67272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67277 /* end confdefs.h. */
67278 #include <math.h>
67279 #ifdef HAVE_IEEEFP_H
67280 #include <ieeefp.h>
67281 #endif
67284 main ()
67286 _fpclass(0);
67288 return 0;
67290 _ACEOF
67291 if ac_fn_cxx_try_compile "$LINENO"; then :
67292 glibcxx_cv_func__fpclass_use=yes
67293 else
67294 glibcxx_cv_func__fpclass_use=no
67296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67297 ac_ext=c
67298 ac_cpp='$CPP $CPPFLAGS'
67299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67308 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67310 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67311 for ac_func in _fpclass
67312 do :
67313 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67314 if test "x$ac_cv_func__fpclass" = x""yes; then :
67315 cat >>confdefs.h <<_ACEOF
67316 #define HAVE__FPCLASS 1
67317 _ACEOF
67320 done
67329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67330 $as_echo_n "checking for qfpclass declaration... " >&6; }
67331 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67332 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67333 $as_echo_n "(cached) " >&6
67334 else
67337 ac_ext=cpp
67338 ac_cpp='$CXXCPP $CPPFLAGS'
67339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67344 /* end confdefs.h. */
67345 #include <math.h>
67346 #ifdef HAVE_IEEEFP_H
67347 #include <ieeefp.h>
67348 #endif
67351 main ()
67353 qfpclass(0);
67355 return 0;
67357 _ACEOF
67358 if ac_fn_cxx_try_compile "$LINENO"; then :
67359 glibcxx_cv_func_qfpclass_use=yes
67360 else
67361 glibcxx_cv_func_qfpclass_use=no
67363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67364 ac_ext=c
67365 ac_cpp='$CPP $CPPFLAGS'
67366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67375 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67377 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67378 for ac_func in qfpclass
67379 do :
67380 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67381 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67382 cat >>confdefs.h <<_ACEOF
67383 #define HAVE_QFPCLASS 1
67384 _ACEOF
67387 done
67389 else
67391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67392 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67393 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67394 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67395 $as_echo_n "(cached) " >&6
67396 else
67399 ac_ext=cpp
67400 ac_cpp='$CXXCPP $CPPFLAGS'
67401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67406 /* end confdefs.h. */
67407 #include <math.h>
67408 #ifdef HAVE_IEEEFP_H
67409 #include <ieeefp.h>
67410 #endif
67413 main ()
67415 _qfpclass(0);
67417 return 0;
67419 _ACEOF
67420 if ac_fn_cxx_try_compile "$LINENO"; then :
67421 glibcxx_cv_func__qfpclass_use=yes
67422 else
67423 glibcxx_cv_func__qfpclass_use=no
67425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67426 ac_ext=c
67427 ac_cpp='$CPP $CPPFLAGS'
67428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67437 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67439 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67440 for ac_func in _qfpclass
67441 do :
67442 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67443 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67444 cat >>confdefs.h <<_ACEOF
67445 #define HAVE__QFPCLASS 1
67446 _ACEOF
67449 done
67458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67459 $as_echo_n "checking for hypot declaration... " >&6; }
67460 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67461 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67462 $as_echo_n "(cached) " >&6
67463 else
67466 ac_ext=cpp
67467 ac_cpp='$CXXCPP $CPPFLAGS'
67468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67473 /* end confdefs.h. */
67474 #include <math.h>
67476 main ()
67478 hypot(0, 0);
67480 return 0;
67482 _ACEOF
67483 if ac_fn_cxx_try_compile "$LINENO"; then :
67484 glibcxx_cv_func_hypot_use=yes
67485 else
67486 glibcxx_cv_func_hypot_use=no
67488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67489 ac_ext=c
67490 ac_cpp='$CPP $CPPFLAGS'
67491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67500 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67502 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67503 for ac_func in hypot
67504 do :
67505 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67506 if test "x$ac_cv_func_hypot" = x""yes; then :
67507 cat >>confdefs.h <<_ACEOF
67508 #define HAVE_HYPOT 1
67509 _ACEOF
67512 done
67514 else
67516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67517 $as_echo_n "checking for _hypot declaration... " >&6; }
67518 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67519 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67520 $as_echo_n "(cached) " >&6
67521 else
67524 ac_ext=cpp
67525 ac_cpp='$CXXCPP $CPPFLAGS'
67526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67531 /* end confdefs.h. */
67532 #include <math.h>
67534 main ()
67536 _hypot(0, 0);
67538 return 0;
67540 _ACEOF
67541 if ac_fn_cxx_try_compile "$LINENO"; then :
67542 glibcxx_cv_func__hypot_use=yes
67543 else
67544 glibcxx_cv_func__hypot_use=no
67546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67547 ac_ext=c
67548 ac_cpp='$CPP $CPPFLAGS'
67549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67558 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67560 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67561 for ac_func in _hypot
67562 do :
67563 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67564 if test "x$ac_cv_func__hypot" = x""yes; then :
67565 cat >>confdefs.h <<_ACEOF
67566 #define HAVE__HYPOT 1
67567 _ACEOF
67570 done
67579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67580 $as_echo_n "checking for float trig functions... " >&6; }
67581 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67582 $as_echo_n "(cached) " >&6
67583 else
67586 ac_ext=cpp
67587 ac_cpp='$CXXCPP $CPPFLAGS'
67588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67593 /* end confdefs.h. */
67594 #include <math.h>
67596 main ()
67598 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67600 return 0;
67602 _ACEOF
67603 if ac_fn_cxx_try_compile "$LINENO"; then :
67604 glibcxx_cv_func_float_trig_use=yes
67605 else
67606 glibcxx_cv_func_float_trig_use=no
67608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67609 ac_ext=c
67610 ac_cpp='$CPP $CPPFLAGS'
67611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67618 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67619 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67620 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67621 do :
67622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67624 eval as_val=\$$as_ac_var
67625 if test "x$as_val" = x""yes; then :
67626 cat >>confdefs.h <<_ACEOF
67627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67628 _ACEOF
67631 done
67633 else
67634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67635 $as_echo_n "checking for _float trig functions... " >&6; }
67636 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67637 $as_echo_n "(cached) " >&6
67638 else
67641 ac_ext=cpp
67642 ac_cpp='$CXXCPP $CPPFLAGS'
67643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67648 /* end confdefs.h. */
67649 #include <math.h>
67651 main ()
67653 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67655 return 0;
67657 _ACEOF
67658 if ac_fn_cxx_try_compile "$LINENO"; then :
67659 glibcxx_cv_func__float_trig_use=yes
67660 else
67661 glibcxx_cv_func__float_trig_use=no
67663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67664 ac_ext=c
67665 ac_cpp='$CPP $CPPFLAGS'
67666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67673 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67674 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67675 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67676 do :
67677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67679 eval as_val=\$$as_ac_var
67680 if test "x$as_val" = x""yes; then :
67681 cat >>confdefs.h <<_ACEOF
67682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67683 _ACEOF
67686 done
67695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67696 $as_echo_n "checking for float round functions... " >&6; }
67697 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67698 $as_echo_n "(cached) " >&6
67699 else
67702 ac_ext=cpp
67703 ac_cpp='$CXXCPP $CPPFLAGS'
67704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67709 /* end confdefs.h. */
67710 #include <math.h>
67712 main ()
67714 ceilf (0); floorf (0);
67716 return 0;
67718 _ACEOF
67719 if ac_fn_cxx_try_compile "$LINENO"; then :
67720 glibcxx_cv_func_float_round_use=yes
67721 else
67722 glibcxx_cv_func_float_round_use=no
67724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67725 ac_ext=c
67726 ac_cpp='$CPP $CPPFLAGS'
67727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67734 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67735 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67736 for ac_func in ceilf floorf
67737 do :
67738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67740 eval as_val=\$$as_ac_var
67741 if test "x$as_val" = x""yes; then :
67742 cat >>confdefs.h <<_ACEOF
67743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67744 _ACEOF
67747 done
67749 else
67750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67751 $as_echo_n "checking for _float round functions... " >&6; }
67752 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67753 $as_echo_n "(cached) " >&6
67754 else
67757 ac_ext=cpp
67758 ac_cpp='$CXXCPP $CPPFLAGS'
67759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67764 /* end confdefs.h. */
67765 #include <math.h>
67767 main ()
67769 _ceilf (0); _floorf (0);
67771 return 0;
67773 _ACEOF
67774 if ac_fn_cxx_try_compile "$LINENO"; then :
67775 glibcxx_cv_func__float_round_use=yes
67776 else
67777 glibcxx_cv_func__float_round_use=no
67779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67780 ac_ext=c
67781 ac_cpp='$CPP $CPPFLAGS'
67782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67789 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67790 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67791 for ac_func in _ceilf _floorf
67792 do :
67793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67795 eval as_val=\$$as_ac_var
67796 if test "x$as_val" = x""yes; then :
67797 cat >>confdefs.h <<_ACEOF
67798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67799 _ACEOF
67802 done
67812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67813 $as_echo_n "checking for expf declaration... " >&6; }
67814 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67815 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67816 $as_echo_n "(cached) " >&6
67817 else
67820 ac_ext=cpp
67821 ac_cpp='$CXXCPP $CPPFLAGS'
67822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67827 /* end confdefs.h. */
67828 #include <math.h>
67829 #ifdef HAVE_IEEEFP_H
67830 #include <ieeefp.h>
67831 #endif
67834 main ()
67836 expf(0);
67838 return 0;
67840 _ACEOF
67841 if ac_fn_cxx_try_compile "$LINENO"; then :
67842 glibcxx_cv_func_expf_use=yes
67843 else
67844 glibcxx_cv_func_expf_use=no
67846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67847 ac_ext=c
67848 ac_cpp='$CPP $CPPFLAGS'
67849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67858 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67860 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67861 for ac_func in expf
67862 do :
67863 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67864 if test "x$ac_cv_func_expf" = x""yes; then :
67865 cat >>confdefs.h <<_ACEOF
67866 #define HAVE_EXPF 1
67867 _ACEOF
67870 done
67872 else
67874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67875 $as_echo_n "checking for _expf declaration... " >&6; }
67876 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67877 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67878 $as_echo_n "(cached) " >&6
67879 else
67882 ac_ext=cpp
67883 ac_cpp='$CXXCPP $CPPFLAGS'
67884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67889 /* end confdefs.h. */
67890 #include <math.h>
67891 #ifdef HAVE_IEEEFP_H
67892 #include <ieeefp.h>
67893 #endif
67896 main ()
67898 _expf(0);
67900 return 0;
67902 _ACEOF
67903 if ac_fn_cxx_try_compile "$LINENO"; then :
67904 glibcxx_cv_func__expf_use=yes
67905 else
67906 glibcxx_cv_func__expf_use=no
67908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67909 ac_ext=c
67910 ac_cpp='$CPP $CPPFLAGS'
67911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67920 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67922 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67923 for ac_func in _expf
67924 do :
67925 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67926 if test "x$ac_cv_func__expf" = x""yes; then :
67927 cat >>confdefs.h <<_ACEOF
67928 #define HAVE__EXPF 1
67929 _ACEOF
67932 done
67941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67942 $as_echo_n "checking for isnanf declaration... " >&6; }
67943 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67944 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67945 $as_echo_n "(cached) " >&6
67946 else
67949 ac_ext=cpp
67950 ac_cpp='$CXXCPP $CPPFLAGS'
67951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67956 /* end confdefs.h. */
67957 #include <math.h>
67958 #ifdef HAVE_IEEEFP_H
67959 #include <ieeefp.h>
67960 #endif
67963 main ()
67965 isnanf(0);
67967 return 0;
67969 _ACEOF
67970 if ac_fn_cxx_try_compile "$LINENO"; then :
67971 glibcxx_cv_func_isnanf_use=yes
67972 else
67973 glibcxx_cv_func_isnanf_use=no
67975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67976 ac_ext=c
67977 ac_cpp='$CPP $CPPFLAGS'
67978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67987 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67989 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67990 for ac_func in isnanf
67991 do :
67992 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67993 if test "x$ac_cv_func_isnanf" = x""yes; then :
67994 cat >>confdefs.h <<_ACEOF
67995 #define HAVE_ISNANF 1
67996 _ACEOF
67999 done
68001 else
68003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68004 $as_echo_n "checking for _isnanf declaration... " >&6; }
68005 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68006 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68007 $as_echo_n "(cached) " >&6
68008 else
68011 ac_ext=cpp
68012 ac_cpp='$CXXCPP $CPPFLAGS'
68013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68018 /* end confdefs.h. */
68019 #include <math.h>
68020 #ifdef HAVE_IEEEFP_H
68021 #include <ieeefp.h>
68022 #endif
68025 main ()
68027 _isnanf(0);
68029 return 0;
68031 _ACEOF
68032 if ac_fn_cxx_try_compile "$LINENO"; then :
68033 glibcxx_cv_func__isnanf_use=yes
68034 else
68035 glibcxx_cv_func__isnanf_use=no
68037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68038 ac_ext=c
68039 ac_cpp='$CPP $CPPFLAGS'
68040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68049 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68051 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68052 for ac_func in _isnanf
68053 do :
68054 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68055 if test "x$ac_cv_func__isnanf" = x""yes; then :
68056 cat >>confdefs.h <<_ACEOF
68057 #define HAVE__ISNANF 1
68058 _ACEOF
68061 done
68070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68071 $as_echo_n "checking for isinff declaration... " >&6; }
68072 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68073 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68074 $as_echo_n "(cached) " >&6
68075 else
68078 ac_ext=cpp
68079 ac_cpp='$CXXCPP $CPPFLAGS'
68080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68085 /* end confdefs.h. */
68086 #include <math.h>
68087 #ifdef HAVE_IEEEFP_H
68088 #include <ieeefp.h>
68089 #endif
68092 main ()
68094 isinff(0);
68096 return 0;
68098 _ACEOF
68099 if ac_fn_cxx_try_compile "$LINENO"; then :
68100 glibcxx_cv_func_isinff_use=yes
68101 else
68102 glibcxx_cv_func_isinff_use=no
68104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68105 ac_ext=c
68106 ac_cpp='$CPP $CPPFLAGS'
68107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68116 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68118 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68119 for ac_func in isinff
68120 do :
68121 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68122 if test "x$ac_cv_func_isinff" = x""yes; then :
68123 cat >>confdefs.h <<_ACEOF
68124 #define HAVE_ISINFF 1
68125 _ACEOF
68128 done
68130 else
68132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68133 $as_echo_n "checking for _isinff declaration... " >&6; }
68134 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68135 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68136 $as_echo_n "(cached) " >&6
68137 else
68140 ac_ext=cpp
68141 ac_cpp='$CXXCPP $CPPFLAGS'
68142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68147 /* end confdefs.h. */
68148 #include <math.h>
68149 #ifdef HAVE_IEEEFP_H
68150 #include <ieeefp.h>
68151 #endif
68154 main ()
68156 _isinff(0);
68158 return 0;
68160 _ACEOF
68161 if ac_fn_cxx_try_compile "$LINENO"; then :
68162 glibcxx_cv_func__isinff_use=yes
68163 else
68164 glibcxx_cv_func__isinff_use=no
68166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68167 ac_ext=c
68168 ac_cpp='$CPP $CPPFLAGS'
68169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68178 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68180 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68181 for ac_func in _isinff
68182 do :
68183 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68184 if test "x$ac_cv_func__isinff" = x""yes; then :
68185 cat >>confdefs.h <<_ACEOF
68186 #define HAVE__ISINFF 1
68187 _ACEOF
68190 done
68199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68200 $as_echo_n "checking for atan2f declaration... " >&6; }
68201 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68202 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68203 $as_echo_n "(cached) " >&6
68204 else
68207 ac_ext=cpp
68208 ac_cpp='$CXXCPP $CPPFLAGS'
68209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68214 /* end confdefs.h. */
68215 #include <math.h>
68217 main ()
68219 atan2f(0, 0);
68221 return 0;
68223 _ACEOF
68224 if ac_fn_cxx_try_compile "$LINENO"; then :
68225 glibcxx_cv_func_atan2f_use=yes
68226 else
68227 glibcxx_cv_func_atan2f_use=no
68229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68230 ac_ext=c
68231 ac_cpp='$CPP $CPPFLAGS'
68232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68241 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68243 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68244 for ac_func in atan2f
68245 do :
68246 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68247 if test "x$ac_cv_func_atan2f" = x""yes; then :
68248 cat >>confdefs.h <<_ACEOF
68249 #define HAVE_ATAN2F 1
68250 _ACEOF
68253 done
68255 else
68257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68258 $as_echo_n "checking for _atan2f declaration... " >&6; }
68259 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68260 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68261 $as_echo_n "(cached) " >&6
68262 else
68265 ac_ext=cpp
68266 ac_cpp='$CXXCPP $CPPFLAGS'
68267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68272 /* end confdefs.h. */
68273 #include <math.h>
68275 main ()
68277 _atan2f(0, 0);
68279 return 0;
68281 _ACEOF
68282 if ac_fn_cxx_try_compile "$LINENO"; then :
68283 glibcxx_cv_func__atan2f_use=yes
68284 else
68285 glibcxx_cv_func__atan2f_use=no
68287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68288 ac_ext=c
68289 ac_cpp='$CPP $CPPFLAGS'
68290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68299 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68301 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68302 for ac_func in _atan2f
68303 do :
68304 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68305 if test "x$ac_cv_func__atan2f" = x""yes; then :
68306 cat >>confdefs.h <<_ACEOF
68307 #define HAVE__ATAN2F 1
68308 _ACEOF
68311 done
68320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68321 $as_echo_n "checking for fabsf declaration... " >&6; }
68322 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68323 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68324 $as_echo_n "(cached) " >&6
68325 else
68328 ac_ext=cpp
68329 ac_cpp='$CXXCPP $CPPFLAGS'
68330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68335 /* end confdefs.h. */
68336 #include <math.h>
68337 #ifdef HAVE_IEEEFP_H
68338 #include <ieeefp.h>
68339 #endif
68342 main ()
68344 fabsf(0);
68346 return 0;
68348 _ACEOF
68349 if ac_fn_cxx_try_compile "$LINENO"; then :
68350 glibcxx_cv_func_fabsf_use=yes
68351 else
68352 glibcxx_cv_func_fabsf_use=no
68354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68355 ac_ext=c
68356 ac_cpp='$CPP $CPPFLAGS'
68357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68366 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68368 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68369 for ac_func in fabsf
68370 do :
68371 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68372 if test "x$ac_cv_func_fabsf" = x""yes; then :
68373 cat >>confdefs.h <<_ACEOF
68374 #define HAVE_FABSF 1
68375 _ACEOF
68378 done
68380 else
68382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68383 $as_echo_n "checking for _fabsf declaration... " >&6; }
68384 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68385 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68386 $as_echo_n "(cached) " >&6
68387 else
68390 ac_ext=cpp
68391 ac_cpp='$CXXCPP $CPPFLAGS'
68392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68397 /* end confdefs.h. */
68398 #include <math.h>
68399 #ifdef HAVE_IEEEFP_H
68400 #include <ieeefp.h>
68401 #endif
68404 main ()
68406 _fabsf(0);
68408 return 0;
68410 _ACEOF
68411 if ac_fn_cxx_try_compile "$LINENO"; then :
68412 glibcxx_cv_func__fabsf_use=yes
68413 else
68414 glibcxx_cv_func__fabsf_use=no
68416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68417 ac_ext=c
68418 ac_cpp='$CPP $CPPFLAGS'
68419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68428 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68430 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68431 for ac_func in _fabsf
68432 do :
68433 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68434 if test "x$ac_cv_func__fabsf" = x""yes; then :
68435 cat >>confdefs.h <<_ACEOF
68436 #define HAVE__FABSF 1
68437 _ACEOF
68440 done
68449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68450 $as_echo_n "checking for fmodf declaration... " >&6; }
68451 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68452 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68453 $as_echo_n "(cached) " >&6
68454 else
68457 ac_ext=cpp
68458 ac_cpp='$CXXCPP $CPPFLAGS'
68459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68464 /* end confdefs.h. */
68465 #include <math.h>
68467 main ()
68469 fmodf(0, 0);
68471 return 0;
68473 _ACEOF
68474 if ac_fn_cxx_try_compile "$LINENO"; then :
68475 glibcxx_cv_func_fmodf_use=yes
68476 else
68477 glibcxx_cv_func_fmodf_use=no
68479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480 ac_ext=c
68481 ac_cpp='$CPP $CPPFLAGS'
68482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68491 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68493 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68494 for ac_func in fmodf
68495 do :
68496 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68497 if test "x$ac_cv_func_fmodf" = x""yes; then :
68498 cat >>confdefs.h <<_ACEOF
68499 #define HAVE_FMODF 1
68500 _ACEOF
68503 done
68505 else
68507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68508 $as_echo_n "checking for _fmodf declaration... " >&6; }
68509 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68510 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68511 $as_echo_n "(cached) " >&6
68512 else
68515 ac_ext=cpp
68516 ac_cpp='$CXXCPP $CPPFLAGS'
68517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68522 /* end confdefs.h. */
68523 #include <math.h>
68525 main ()
68527 _fmodf(0, 0);
68529 return 0;
68531 _ACEOF
68532 if ac_fn_cxx_try_compile "$LINENO"; then :
68533 glibcxx_cv_func__fmodf_use=yes
68534 else
68535 glibcxx_cv_func__fmodf_use=no
68537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68538 ac_ext=c
68539 ac_cpp='$CPP $CPPFLAGS'
68540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68549 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68551 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68552 for ac_func in _fmodf
68553 do :
68554 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68555 if test "x$ac_cv_func__fmodf" = x""yes; then :
68556 cat >>confdefs.h <<_ACEOF
68557 #define HAVE__FMODF 1
68558 _ACEOF
68561 done
68570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68571 $as_echo_n "checking for frexpf declaration... " >&6; }
68572 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68573 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68574 $as_echo_n "(cached) " >&6
68575 else
68578 ac_ext=cpp
68579 ac_cpp='$CXXCPP $CPPFLAGS'
68580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68585 /* end confdefs.h. */
68586 #include <math.h>
68588 main ()
68590 frexpf(0, 0);
68592 return 0;
68594 _ACEOF
68595 if ac_fn_cxx_try_compile "$LINENO"; then :
68596 glibcxx_cv_func_frexpf_use=yes
68597 else
68598 glibcxx_cv_func_frexpf_use=no
68600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68601 ac_ext=c
68602 ac_cpp='$CPP $CPPFLAGS'
68603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68612 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68614 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68615 for ac_func in frexpf
68616 do :
68617 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68618 if test "x$ac_cv_func_frexpf" = x""yes; then :
68619 cat >>confdefs.h <<_ACEOF
68620 #define HAVE_FREXPF 1
68621 _ACEOF
68624 done
68626 else
68628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68629 $as_echo_n "checking for _frexpf declaration... " >&6; }
68630 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68631 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68632 $as_echo_n "(cached) " >&6
68633 else
68636 ac_ext=cpp
68637 ac_cpp='$CXXCPP $CPPFLAGS'
68638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68643 /* end confdefs.h. */
68644 #include <math.h>
68646 main ()
68648 _frexpf(0, 0);
68650 return 0;
68652 _ACEOF
68653 if ac_fn_cxx_try_compile "$LINENO"; then :
68654 glibcxx_cv_func__frexpf_use=yes
68655 else
68656 glibcxx_cv_func__frexpf_use=no
68658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68659 ac_ext=c
68660 ac_cpp='$CPP $CPPFLAGS'
68661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68670 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68672 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68673 for ac_func in _frexpf
68674 do :
68675 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68676 if test "x$ac_cv_func__frexpf" = x""yes; then :
68677 cat >>confdefs.h <<_ACEOF
68678 #define HAVE__FREXPF 1
68679 _ACEOF
68682 done
68691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68692 $as_echo_n "checking for hypotf declaration... " >&6; }
68693 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68694 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68695 $as_echo_n "(cached) " >&6
68696 else
68699 ac_ext=cpp
68700 ac_cpp='$CXXCPP $CPPFLAGS'
68701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68706 /* end confdefs.h. */
68707 #include <math.h>
68709 main ()
68711 hypotf(0, 0);
68713 return 0;
68715 _ACEOF
68716 if ac_fn_cxx_try_compile "$LINENO"; then :
68717 glibcxx_cv_func_hypotf_use=yes
68718 else
68719 glibcxx_cv_func_hypotf_use=no
68721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68722 ac_ext=c
68723 ac_cpp='$CPP $CPPFLAGS'
68724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68733 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68735 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68736 for ac_func in hypotf
68737 do :
68738 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68739 if test "x$ac_cv_func_hypotf" = x""yes; then :
68740 cat >>confdefs.h <<_ACEOF
68741 #define HAVE_HYPOTF 1
68742 _ACEOF
68745 done
68747 else
68749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68750 $as_echo_n "checking for _hypotf declaration... " >&6; }
68751 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68752 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68753 $as_echo_n "(cached) " >&6
68754 else
68757 ac_ext=cpp
68758 ac_cpp='$CXXCPP $CPPFLAGS'
68759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68764 /* end confdefs.h. */
68765 #include <math.h>
68767 main ()
68769 _hypotf(0, 0);
68771 return 0;
68773 _ACEOF
68774 if ac_fn_cxx_try_compile "$LINENO"; then :
68775 glibcxx_cv_func__hypotf_use=yes
68776 else
68777 glibcxx_cv_func__hypotf_use=no
68779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68780 ac_ext=c
68781 ac_cpp='$CPP $CPPFLAGS'
68782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68791 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68793 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68794 for ac_func in _hypotf
68795 do :
68796 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68797 if test "x$ac_cv_func__hypotf" = x""yes; then :
68798 cat >>confdefs.h <<_ACEOF
68799 #define HAVE__HYPOTF 1
68800 _ACEOF
68803 done
68812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68813 $as_echo_n "checking for ldexpf declaration... " >&6; }
68814 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68815 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68816 $as_echo_n "(cached) " >&6
68817 else
68820 ac_ext=cpp
68821 ac_cpp='$CXXCPP $CPPFLAGS'
68822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68827 /* end confdefs.h. */
68828 #include <math.h>
68830 main ()
68832 ldexpf(0, 0);
68834 return 0;
68836 _ACEOF
68837 if ac_fn_cxx_try_compile "$LINENO"; then :
68838 glibcxx_cv_func_ldexpf_use=yes
68839 else
68840 glibcxx_cv_func_ldexpf_use=no
68842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68843 ac_ext=c
68844 ac_cpp='$CPP $CPPFLAGS'
68845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68854 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68856 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68857 for ac_func in ldexpf
68858 do :
68859 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68860 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68861 cat >>confdefs.h <<_ACEOF
68862 #define HAVE_LDEXPF 1
68863 _ACEOF
68866 done
68868 else
68870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68871 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68872 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68873 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68874 $as_echo_n "(cached) " >&6
68875 else
68878 ac_ext=cpp
68879 ac_cpp='$CXXCPP $CPPFLAGS'
68880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68885 /* end confdefs.h. */
68886 #include <math.h>
68888 main ()
68890 _ldexpf(0, 0);
68892 return 0;
68894 _ACEOF
68895 if ac_fn_cxx_try_compile "$LINENO"; then :
68896 glibcxx_cv_func__ldexpf_use=yes
68897 else
68898 glibcxx_cv_func__ldexpf_use=no
68900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68901 ac_ext=c
68902 ac_cpp='$CPP $CPPFLAGS'
68903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68912 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68914 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68915 for ac_func in _ldexpf
68916 do :
68917 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68918 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68919 cat >>confdefs.h <<_ACEOF
68920 #define HAVE__LDEXPF 1
68921 _ACEOF
68924 done
68933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68934 $as_echo_n "checking for logf declaration... " >&6; }
68935 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68936 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68937 $as_echo_n "(cached) " >&6
68938 else
68941 ac_ext=cpp
68942 ac_cpp='$CXXCPP $CPPFLAGS'
68943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68948 /* end confdefs.h. */
68949 #include <math.h>
68950 #ifdef HAVE_IEEEFP_H
68951 #include <ieeefp.h>
68952 #endif
68955 main ()
68957 logf(0);
68959 return 0;
68961 _ACEOF
68962 if ac_fn_cxx_try_compile "$LINENO"; then :
68963 glibcxx_cv_func_logf_use=yes
68964 else
68965 glibcxx_cv_func_logf_use=no
68967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68968 ac_ext=c
68969 ac_cpp='$CPP $CPPFLAGS'
68970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68979 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68981 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68982 for ac_func in logf
68983 do :
68984 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68985 if test "x$ac_cv_func_logf" = x""yes; then :
68986 cat >>confdefs.h <<_ACEOF
68987 #define HAVE_LOGF 1
68988 _ACEOF
68991 done
68993 else
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68996 $as_echo_n "checking for _logf declaration... " >&6; }
68997 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68998 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68999 $as_echo_n "(cached) " >&6
69000 else
69003 ac_ext=cpp
69004 ac_cpp='$CXXCPP $CPPFLAGS'
69005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69010 /* end confdefs.h. */
69011 #include <math.h>
69012 #ifdef HAVE_IEEEFP_H
69013 #include <ieeefp.h>
69014 #endif
69017 main ()
69019 _logf(0);
69021 return 0;
69023 _ACEOF
69024 if ac_fn_cxx_try_compile "$LINENO"; then :
69025 glibcxx_cv_func__logf_use=yes
69026 else
69027 glibcxx_cv_func__logf_use=no
69029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69030 ac_ext=c
69031 ac_cpp='$CPP $CPPFLAGS'
69032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69041 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69043 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69044 for ac_func in _logf
69045 do :
69046 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69047 if test "x$ac_cv_func__logf" = x""yes; then :
69048 cat >>confdefs.h <<_ACEOF
69049 #define HAVE__LOGF 1
69050 _ACEOF
69053 done
69062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69063 $as_echo_n "checking for log10f declaration... " >&6; }
69064 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69065 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69066 $as_echo_n "(cached) " >&6
69067 else
69070 ac_ext=cpp
69071 ac_cpp='$CXXCPP $CPPFLAGS'
69072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69077 /* end confdefs.h. */
69078 #include <math.h>
69079 #ifdef HAVE_IEEEFP_H
69080 #include <ieeefp.h>
69081 #endif
69084 main ()
69086 log10f(0);
69088 return 0;
69090 _ACEOF
69091 if ac_fn_cxx_try_compile "$LINENO"; then :
69092 glibcxx_cv_func_log10f_use=yes
69093 else
69094 glibcxx_cv_func_log10f_use=no
69096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69097 ac_ext=c
69098 ac_cpp='$CPP $CPPFLAGS'
69099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69108 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69110 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69111 for ac_func in log10f
69112 do :
69113 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69114 if test "x$ac_cv_func_log10f" = x""yes; then :
69115 cat >>confdefs.h <<_ACEOF
69116 #define HAVE_LOG10F 1
69117 _ACEOF
69120 done
69122 else
69124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69125 $as_echo_n "checking for _log10f declaration... " >&6; }
69126 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69127 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69128 $as_echo_n "(cached) " >&6
69129 else
69132 ac_ext=cpp
69133 ac_cpp='$CXXCPP $CPPFLAGS'
69134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69139 /* end confdefs.h. */
69140 #include <math.h>
69141 #ifdef HAVE_IEEEFP_H
69142 #include <ieeefp.h>
69143 #endif
69146 main ()
69148 _log10f(0);
69150 return 0;
69152 _ACEOF
69153 if ac_fn_cxx_try_compile "$LINENO"; then :
69154 glibcxx_cv_func__log10f_use=yes
69155 else
69156 glibcxx_cv_func__log10f_use=no
69158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69159 ac_ext=c
69160 ac_cpp='$CPP $CPPFLAGS'
69161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69170 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69172 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69173 for ac_func in _log10f
69174 do :
69175 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69176 if test "x$ac_cv_func__log10f" = x""yes; then :
69177 cat >>confdefs.h <<_ACEOF
69178 #define HAVE__LOG10F 1
69179 _ACEOF
69182 done
69191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69192 $as_echo_n "checking for modff declaration... " >&6; }
69193 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69194 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69195 $as_echo_n "(cached) " >&6
69196 else
69199 ac_ext=cpp
69200 ac_cpp='$CXXCPP $CPPFLAGS'
69201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69206 /* end confdefs.h. */
69207 #include <math.h>
69209 main ()
69211 modff(0, 0);
69213 return 0;
69215 _ACEOF
69216 if ac_fn_cxx_try_compile "$LINENO"; then :
69217 glibcxx_cv_func_modff_use=yes
69218 else
69219 glibcxx_cv_func_modff_use=no
69221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69222 ac_ext=c
69223 ac_cpp='$CPP $CPPFLAGS'
69224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69233 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69235 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69236 for ac_func in modff
69237 do :
69238 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69239 if test "x$ac_cv_func_modff" = x""yes; then :
69240 cat >>confdefs.h <<_ACEOF
69241 #define HAVE_MODFF 1
69242 _ACEOF
69245 done
69247 else
69249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69250 $as_echo_n "checking for _modff declaration... " >&6; }
69251 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69252 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69253 $as_echo_n "(cached) " >&6
69254 else
69257 ac_ext=cpp
69258 ac_cpp='$CXXCPP $CPPFLAGS'
69259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69264 /* end confdefs.h. */
69265 #include <math.h>
69267 main ()
69269 _modff(0, 0);
69271 return 0;
69273 _ACEOF
69274 if ac_fn_cxx_try_compile "$LINENO"; then :
69275 glibcxx_cv_func__modff_use=yes
69276 else
69277 glibcxx_cv_func__modff_use=no
69279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69280 ac_ext=c
69281 ac_cpp='$CPP $CPPFLAGS'
69282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69291 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69293 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69294 for ac_func in _modff
69295 do :
69296 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69297 if test "x$ac_cv_func__modff" = x""yes; then :
69298 cat >>confdefs.h <<_ACEOF
69299 #define HAVE__MODFF 1
69300 _ACEOF
69303 done
69312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69313 $as_echo_n "checking for modf declaration... " >&6; }
69314 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69315 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69316 $as_echo_n "(cached) " >&6
69317 else
69320 ac_ext=cpp
69321 ac_cpp='$CXXCPP $CPPFLAGS'
69322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69327 /* end confdefs.h. */
69328 #include <math.h>
69330 main ()
69332 modf(0, 0);
69334 return 0;
69336 _ACEOF
69337 if ac_fn_cxx_try_compile "$LINENO"; then :
69338 glibcxx_cv_func_modf_use=yes
69339 else
69340 glibcxx_cv_func_modf_use=no
69342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69343 ac_ext=c
69344 ac_cpp='$CPP $CPPFLAGS'
69345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69354 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69356 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69357 for ac_func in modf
69358 do :
69359 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69360 if test "x$ac_cv_func_modf" = x""yes; then :
69361 cat >>confdefs.h <<_ACEOF
69362 #define HAVE_MODF 1
69363 _ACEOF
69366 done
69368 else
69370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69371 $as_echo_n "checking for _modf declaration... " >&6; }
69372 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69373 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69374 $as_echo_n "(cached) " >&6
69375 else
69378 ac_ext=cpp
69379 ac_cpp='$CXXCPP $CPPFLAGS'
69380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69385 /* end confdefs.h. */
69386 #include <math.h>
69388 main ()
69390 _modf(0, 0);
69392 return 0;
69394 _ACEOF
69395 if ac_fn_cxx_try_compile "$LINENO"; then :
69396 glibcxx_cv_func__modf_use=yes
69397 else
69398 glibcxx_cv_func__modf_use=no
69400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69401 ac_ext=c
69402 ac_cpp='$CPP $CPPFLAGS'
69403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69412 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69414 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69415 for ac_func in _modf
69416 do :
69417 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69418 if test "x$ac_cv_func__modf" = x""yes; then :
69419 cat >>confdefs.h <<_ACEOF
69420 #define HAVE__MODF 1
69421 _ACEOF
69424 done
69433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69434 $as_echo_n "checking for powf declaration... " >&6; }
69435 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69436 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69437 $as_echo_n "(cached) " >&6
69438 else
69441 ac_ext=cpp
69442 ac_cpp='$CXXCPP $CPPFLAGS'
69443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69448 /* end confdefs.h. */
69449 #include <math.h>
69451 main ()
69453 powf(0, 0);
69455 return 0;
69457 _ACEOF
69458 if ac_fn_cxx_try_compile "$LINENO"; then :
69459 glibcxx_cv_func_powf_use=yes
69460 else
69461 glibcxx_cv_func_powf_use=no
69463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69464 ac_ext=c
69465 ac_cpp='$CPP $CPPFLAGS'
69466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69475 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69477 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69478 for ac_func in powf
69479 do :
69480 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69481 if test "x$ac_cv_func_powf" = x""yes; then :
69482 cat >>confdefs.h <<_ACEOF
69483 #define HAVE_POWF 1
69484 _ACEOF
69487 done
69489 else
69491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69492 $as_echo_n "checking for _powf declaration... " >&6; }
69493 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69494 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69495 $as_echo_n "(cached) " >&6
69496 else
69499 ac_ext=cpp
69500 ac_cpp='$CXXCPP $CPPFLAGS'
69501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69506 /* end confdefs.h. */
69507 #include <math.h>
69509 main ()
69511 _powf(0, 0);
69513 return 0;
69515 _ACEOF
69516 if ac_fn_cxx_try_compile "$LINENO"; then :
69517 glibcxx_cv_func__powf_use=yes
69518 else
69519 glibcxx_cv_func__powf_use=no
69521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69522 ac_ext=c
69523 ac_cpp='$CPP $CPPFLAGS'
69524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69533 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69535 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69536 for ac_func in _powf
69537 do :
69538 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69539 if test "x$ac_cv_func__powf" = x""yes; then :
69540 cat >>confdefs.h <<_ACEOF
69541 #define HAVE__POWF 1
69542 _ACEOF
69545 done
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69555 $as_echo_n "checking for sqrtf declaration... " >&6; }
69556 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69557 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69558 $as_echo_n "(cached) " >&6
69559 else
69562 ac_ext=cpp
69563 ac_cpp='$CXXCPP $CPPFLAGS'
69564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69569 /* end confdefs.h. */
69570 #include <math.h>
69571 #ifdef HAVE_IEEEFP_H
69572 #include <ieeefp.h>
69573 #endif
69576 main ()
69578 sqrtf(0);
69580 return 0;
69582 _ACEOF
69583 if ac_fn_cxx_try_compile "$LINENO"; then :
69584 glibcxx_cv_func_sqrtf_use=yes
69585 else
69586 glibcxx_cv_func_sqrtf_use=no
69588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69589 ac_ext=c
69590 ac_cpp='$CPP $CPPFLAGS'
69591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69600 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69602 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69603 for ac_func in sqrtf
69604 do :
69605 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69606 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69607 cat >>confdefs.h <<_ACEOF
69608 #define HAVE_SQRTF 1
69609 _ACEOF
69612 done
69614 else
69616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69617 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69618 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69619 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69620 $as_echo_n "(cached) " >&6
69621 else
69624 ac_ext=cpp
69625 ac_cpp='$CXXCPP $CPPFLAGS'
69626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69631 /* end confdefs.h. */
69632 #include <math.h>
69633 #ifdef HAVE_IEEEFP_H
69634 #include <ieeefp.h>
69635 #endif
69638 main ()
69640 _sqrtf(0);
69642 return 0;
69644 _ACEOF
69645 if ac_fn_cxx_try_compile "$LINENO"; then :
69646 glibcxx_cv_func__sqrtf_use=yes
69647 else
69648 glibcxx_cv_func__sqrtf_use=no
69650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69651 ac_ext=c
69652 ac_cpp='$CPP $CPPFLAGS'
69653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69662 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69664 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69665 for ac_func in _sqrtf
69666 do :
69667 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69668 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69669 cat >>confdefs.h <<_ACEOF
69670 #define HAVE__SQRTF 1
69671 _ACEOF
69674 done
69683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69684 $as_echo_n "checking for sincosf declaration... " >&6; }
69685 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69686 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69687 $as_echo_n "(cached) " >&6
69688 else
69691 ac_ext=cpp
69692 ac_cpp='$CXXCPP $CPPFLAGS'
69693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69698 /* end confdefs.h. */
69699 #include <math.h>
69701 main ()
69703 sincosf(0, 0, 0);
69705 return 0;
69707 _ACEOF
69708 if ac_fn_cxx_try_compile "$LINENO"; then :
69709 glibcxx_cv_func_sincosf_use=yes
69710 else
69711 glibcxx_cv_func_sincosf_use=no
69713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69714 ac_ext=c
69715 ac_cpp='$CPP $CPPFLAGS'
69716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69725 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69727 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69728 for ac_func in sincosf
69729 do :
69730 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69731 if test "x$ac_cv_func_sincosf" = x""yes; then :
69732 cat >>confdefs.h <<_ACEOF
69733 #define HAVE_SINCOSF 1
69734 _ACEOF
69737 done
69739 else
69741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69742 $as_echo_n "checking for _sincosf declaration... " >&6; }
69743 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69744 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69745 $as_echo_n "(cached) " >&6
69746 else
69749 ac_ext=cpp
69750 ac_cpp='$CXXCPP $CPPFLAGS'
69751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69756 /* end confdefs.h. */
69757 #include <math.h>
69759 main ()
69761 _sincosf(0, 0, 0);
69763 return 0;
69765 _ACEOF
69766 if ac_fn_cxx_try_compile "$LINENO"; then :
69767 glibcxx_cv_func__sincosf_use=yes
69768 else
69769 glibcxx_cv_func__sincosf_use=no
69771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69772 ac_ext=c
69773 ac_cpp='$CPP $CPPFLAGS'
69774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69783 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69785 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69786 for ac_func in _sincosf
69787 do :
69788 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69789 if test "x$ac_cv_func__sincosf" = x""yes; then :
69790 cat >>confdefs.h <<_ACEOF
69791 #define HAVE__SINCOSF 1
69792 _ACEOF
69795 done
69804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69805 $as_echo_n "checking for finitef declaration... " >&6; }
69806 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69807 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69808 $as_echo_n "(cached) " >&6
69809 else
69812 ac_ext=cpp
69813 ac_cpp='$CXXCPP $CPPFLAGS'
69814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69819 /* end confdefs.h. */
69820 #include <math.h>
69821 #ifdef HAVE_IEEEFP_H
69822 #include <ieeefp.h>
69823 #endif
69826 main ()
69828 finitef(0);
69830 return 0;
69832 _ACEOF
69833 if ac_fn_cxx_try_compile "$LINENO"; then :
69834 glibcxx_cv_func_finitef_use=yes
69835 else
69836 glibcxx_cv_func_finitef_use=no
69838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69839 ac_ext=c
69840 ac_cpp='$CPP $CPPFLAGS'
69841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69850 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69852 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69853 for ac_func in finitef
69854 do :
69855 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69856 if test "x$ac_cv_func_finitef" = x""yes; then :
69857 cat >>confdefs.h <<_ACEOF
69858 #define HAVE_FINITEF 1
69859 _ACEOF
69862 done
69864 else
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69867 $as_echo_n "checking for _finitef declaration... " >&6; }
69868 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69869 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69870 $as_echo_n "(cached) " >&6
69871 else
69874 ac_ext=cpp
69875 ac_cpp='$CXXCPP $CPPFLAGS'
69876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69881 /* end confdefs.h. */
69882 #include <math.h>
69883 #ifdef HAVE_IEEEFP_H
69884 #include <ieeefp.h>
69885 #endif
69888 main ()
69890 _finitef(0);
69892 return 0;
69894 _ACEOF
69895 if ac_fn_cxx_try_compile "$LINENO"; then :
69896 glibcxx_cv_func__finitef_use=yes
69897 else
69898 glibcxx_cv_func__finitef_use=no
69900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69901 ac_ext=c
69902 ac_cpp='$CPP $CPPFLAGS'
69903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69912 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69914 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69915 for ac_func in _finitef
69916 do :
69917 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69918 if test "x$ac_cv_func__finitef" = x""yes; then :
69919 cat >>confdefs.h <<_ACEOF
69920 #define HAVE__FINITEF 1
69921 _ACEOF
69924 done
69933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69934 $as_echo_n "checking for long double trig functions... " >&6; }
69935 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69936 $as_echo_n "(cached) " >&6
69937 else
69940 ac_ext=cpp
69941 ac_cpp='$CXXCPP $CPPFLAGS'
69942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69947 /* end confdefs.h. */
69948 #include <math.h>
69950 main ()
69952 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69954 return 0;
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958 glibcxx_cv_func_long_double_trig_use=yes
69959 else
69960 glibcxx_cv_func_long_double_trig_use=no
69962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69963 ac_ext=c
69964 ac_cpp='$CPP $CPPFLAGS'
69965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69972 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69973 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69974 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69975 do :
69976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69978 eval as_val=\$$as_ac_var
69979 if test "x$as_val" = x""yes; then :
69980 cat >>confdefs.h <<_ACEOF
69981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69982 _ACEOF
69985 done
69987 else
69988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69989 $as_echo_n "checking for _long double trig functions... " >&6; }
69990 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69991 $as_echo_n "(cached) " >&6
69992 else
69995 ac_ext=cpp
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70002 /* end confdefs.h. */
70003 #include <math.h>
70005 main ()
70007 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70009 return 0;
70011 _ACEOF
70012 if ac_fn_cxx_try_compile "$LINENO"; then :
70013 glibcxx_cv_func__long_double_trig_use=yes
70014 else
70015 glibcxx_cv_func__long_double_trig_use=no
70017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70018 ac_ext=c
70019 ac_cpp='$CPP $CPPFLAGS'
70020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70027 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70028 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70029 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70030 do :
70031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70033 eval as_val=\$$as_ac_var
70034 if test "x$as_val" = x""yes; then :
70035 cat >>confdefs.h <<_ACEOF
70036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70037 _ACEOF
70040 done
70049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70050 $as_echo_n "checking for long double round functions... " >&6; }
70051 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70052 $as_echo_n "(cached) " >&6
70053 else
70056 ac_ext=cpp
70057 ac_cpp='$CXXCPP $CPPFLAGS'
70058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70063 /* end confdefs.h. */
70064 #include <math.h>
70066 main ()
70068 ceill (0); floorl (0);
70070 return 0;
70072 _ACEOF
70073 if ac_fn_cxx_try_compile "$LINENO"; then :
70074 glibcxx_cv_func_long_double_round_use=yes
70075 else
70076 glibcxx_cv_func_long_double_round_use=no
70078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70079 ac_ext=c
70080 ac_cpp='$CPP $CPPFLAGS'
70081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70088 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70089 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70090 for ac_func in ceill floorl
70091 do :
70092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70094 eval as_val=\$$as_ac_var
70095 if test "x$as_val" = x""yes; then :
70096 cat >>confdefs.h <<_ACEOF
70097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70098 _ACEOF
70101 done
70103 else
70104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70105 $as_echo_n "checking for _long double round functions... " >&6; }
70106 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70107 $as_echo_n "(cached) " >&6
70108 else
70111 ac_ext=cpp
70112 ac_cpp='$CXXCPP $CPPFLAGS'
70113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70118 /* end confdefs.h. */
70119 #include <math.h>
70121 main ()
70123 _ceill (0); _floorl (0);
70125 return 0;
70127 _ACEOF
70128 if ac_fn_cxx_try_compile "$LINENO"; then :
70129 glibcxx_cv_func__long_double_round_use=yes
70130 else
70131 glibcxx_cv_func__long_double_round_use=no
70133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70134 ac_ext=c
70135 ac_cpp='$CPP $CPPFLAGS'
70136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70143 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70144 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70145 for ac_func in _ceill _floorl
70146 do :
70147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70149 eval as_val=\$$as_ac_var
70150 if test "x$as_val" = x""yes; then :
70151 cat >>confdefs.h <<_ACEOF
70152 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70153 _ACEOF
70156 done
70166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70167 $as_echo_n "checking for isnanl declaration... " >&6; }
70168 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70169 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70170 $as_echo_n "(cached) " >&6
70171 else
70174 ac_ext=cpp
70175 ac_cpp='$CXXCPP $CPPFLAGS'
70176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70181 /* end confdefs.h. */
70182 #include <math.h>
70183 #ifdef HAVE_IEEEFP_H
70184 #include <ieeefp.h>
70185 #endif
70188 main ()
70190 isnanl(0);
70192 return 0;
70194 _ACEOF
70195 if ac_fn_cxx_try_compile "$LINENO"; then :
70196 glibcxx_cv_func_isnanl_use=yes
70197 else
70198 glibcxx_cv_func_isnanl_use=no
70200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70201 ac_ext=c
70202 ac_cpp='$CPP $CPPFLAGS'
70203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70212 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70214 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70215 for ac_func in isnanl
70216 do :
70217 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70218 if test "x$ac_cv_func_isnanl" = x""yes; then :
70219 cat >>confdefs.h <<_ACEOF
70220 #define HAVE_ISNANL 1
70221 _ACEOF
70224 done
70226 else
70228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70229 $as_echo_n "checking for _isnanl declaration... " >&6; }
70230 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70231 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70232 $as_echo_n "(cached) " >&6
70233 else
70236 ac_ext=cpp
70237 ac_cpp='$CXXCPP $CPPFLAGS'
70238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70243 /* end confdefs.h. */
70244 #include <math.h>
70245 #ifdef HAVE_IEEEFP_H
70246 #include <ieeefp.h>
70247 #endif
70250 main ()
70252 _isnanl(0);
70254 return 0;
70256 _ACEOF
70257 if ac_fn_cxx_try_compile "$LINENO"; then :
70258 glibcxx_cv_func__isnanl_use=yes
70259 else
70260 glibcxx_cv_func__isnanl_use=no
70262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70263 ac_ext=c
70264 ac_cpp='$CPP $CPPFLAGS'
70265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70274 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70276 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70277 for ac_func in _isnanl
70278 do :
70279 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70280 if test "x$ac_cv_func__isnanl" = x""yes; then :
70281 cat >>confdefs.h <<_ACEOF
70282 #define HAVE__ISNANL 1
70283 _ACEOF
70286 done
70295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70296 $as_echo_n "checking for isinfl declaration... " >&6; }
70297 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70298 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70299 $as_echo_n "(cached) " >&6
70300 else
70303 ac_ext=cpp
70304 ac_cpp='$CXXCPP $CPPFLAGS'
70305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70310 /* end confdefs.h. */
70311 #include <math.h>
70312 #ifdef HAVE_IEEEFP_H
70313 #include <ieeefp.h>
70314 #endif
70317 main ()
70319 isinfl(0);
70321 return 0;
70323 _ACEOF
70324 if ac_fn_cxx_try_compile "$LINENO"; then :
70325 glibcxx_cv_func_isinfl_use=yes
70326 else
70327 glibcxx_cv_func_isinfl_use=no
70329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70330 ac_ext=c
70331 ac_cpp='$CPP $CPPFLAGS'
70332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70341 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70343 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70344 for ac_func in isinfl
70345 do :
70346 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70347 if test "x$ac_cv_func_isinfl" = x""yes; then :
70348 cat >>confdefs.h <<_ACEOF
70349 #define HAVE_ISINFL 1
70350 _ACEOF
70353 done
70355 else
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70358 $as_echo_n "checking for _isinfl declaration... " >&6; }
70359 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70360 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70361 $as_echo_n "(cached) " >&6
70362 else
70365 ac_ext=cpp
70366 ac_cpp='$CXXCPP $CPPFLAGS'
70367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70372 /* end confdefs.h. */
70373 #include <math.h>
70374 #ifdef HAVE_IEEEFP_H
70375 #include <ieeefp.h>
70376 #endif
70379 main ()
70381 _isinfl(0);
70383 return 0;
70385 _ACEOF
70386 if ac_fn_cxx_try_compile "$LINENO"; then :
70387 glibcxx_cv_func__isinfl_use=yes
70388 else
70389 glibcxx_cv_func__isinfl_use=no
70391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70392 ac_ext=c
70393 ac_cpp='$CPP $CPPFLAGS'
70394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70403 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70405 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70406 for ac_func in _isinfl
70407 do :
70408 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70409 if test "x$ac_cv_func__isinfl" = x""yes; then :
70410 cat >>confdefs.h <<_ACEOF
70411 #define HAVE__ISINFL 1
70412 _ACEOF
70415 done
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70425 $as_echo_n "checking for atan2l declaration... " >&6; }
70426 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70427 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70428 $as_echo_n "(cached) " >&6
70429 else
70432 ac_ext=cpp
70433 ac_cpp='$CXXCPP $CPPFLAGS'
70434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70439 /* end confdefs.h. */
70440 #include <math.h>
70442 main ()
70444 atan2l(0, 0);
70446 return 0;
70448 _ACEOF
70449 if ac_fn_cxx_try_compile "$LINENO"; then :
70450 glibcxx_cv_func_atan2l_use=yes
70451 else
70452 glibcxx_cv_func_atan2l_use=no
70454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70455 ac_ext=c
70456 ac_cpp='$CPP $CPPFLAGS'
70457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70466 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70468 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70469 for ac_func in atan2l
70470 do :
70471 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70472 if test "x$ac_cv_func_atan2l" = x""yes; then :
70473 cat >>confdefs.h <<_ACEOF
70474 #define HAVE_ATAN2L 1
70475 _ACEOF
70478 done
70480 else
70482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70483 $as_echo_n "checking for _atan2l declaration... " >&6; }
70484 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70485 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70486 $as_echo_n "(cached) " >&6
70487 else
70490 ac_ext=cpp
70491 ac_cpp='$CXXCPP $CPPFLAGS'
70492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70497 /* end confdefs.h. */
70498 #include <math.h>
70500 main ()
70502 _atan2l(0, 0);
70504 return 0;
70506 _ACEOF
70507 if ac_fn_cxx_try_compile "$LINENO"; then :
70508 glibcxx_cv_func__atan2l_use=yes
70509 else
70510 glibcxx_cv_func__atan2l_use=no
70512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70513 ac_ext=c
70514 ac_cpp='$CPP $CPPFLAGS'
70515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70524 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70526 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70527 for ac_func in _atan2l
70528 do :
70529 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70530 if test "x$ac_cv_func__atan2l" = x""yes; then :
70531 cat >>confdefs.h <<_ACEOF
70532 #define HAVE__ATAN2L 1
70533 _ACEOF
70536 done
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70546 $as_echo_n "checking for expl declaration... " >&6; }
70547 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70548 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70549 $as_echo_n "(cached) " >&6
70550 else
70553 ac_ext=cpp
70554 ac_cpp='$CXXCPP $CPPFLAGS'
70555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70560 /* end confdefs.h. */
70561 #include <math.h>
70562 #ifdef HAVE_IEEEFP_H
70563 #include <ieeefp.h>
70564 #endif
70567 main ()
70569 expl(0);
70571 return 0;
70573 _ACEOF
70574 if ac_fn_cxx_try_compile "$LINENO"; then :
70575 glibcxx_cv_func_expl_use=yes
70576 else
70577 glibcxx_cv_func_expl_use=no
70579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70580 ac_ext=c
70581 ac_cpp='$CPP $CPPFLAGS'
70582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70591 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70593 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70594 for ac_func in expl
70595 do :
70596 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70597 if test "x$ac_cv_func_expl" = x""yes; then :
70598 cat >>confdefs.h <<_ACEOF
70599 #define HAVE_EXPL 1
70600 _ACEOF
70603 done
70605 else
70607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70608 $as_echo_n "checking for _expl declaration... " >&6; }
70609 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70610 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70611 $as_echo_n "(cached) " >&6
70612 else
70615 ac_ext=cpp
70616 ac_cpp='$CXXCPP $CPPFLAGS'
70617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70622 /* end confdefs.h. */
70623 #include <math.h>
70624 #ifdef HAVE_IEEEFP_H
70625 #include <ieeefp.h>
70626 #endif
70629 main ()
70631 _expl(0);
70633 return 0;
70635 _ACEOF
70636 if ac_fn_cxx_try_compile "$LINENO"; then :
70637 glibcxx_cv_func__expl_use=yes
70638 else
70639 glibcxx_cv_func__expl_use=no
70641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70642 ac_ext=c
70643 ac_cpp='$CPP $CPPFLAGS'
70644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70653 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70655 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70656 for ac_func in _expl
70657 do :
70658 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70659 if test "x$ac_cv_func__expl" = x""yes; then :
70660 cat >>confdefs.h <<_ACEOF
70661 #define HAVE__EXPL 1
70662 _ACEOF
70665 done
70674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70675 $as_echo_n "checking for fabsl declaration... " >&6; }
70676 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70677 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70678 $as_echo_n "(cached) " >&6
70679 else
70682 ac_ext=cpp
70683 ac_cpp='$CXXCPP $CPPFLAGS'
70684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70689 /* end confdefs.h. */
70690 #include <math.h>
70691 #ifdef HAVE_IEEEFP_H
70692 #include <ieeefp.h>
70693 #endif
70696 main ()
70698 fabsl(0);
70700 return 0;
70702 _ACEOF
70703 if ac_fn_cxx_try_compile "$LINENO"; then :
70704 glibcxx_cv_func_fabsl_use=yes
70705 else
70706 glibcxx_cv_func_fabsl_use=no
70708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70709 ac_ext=c
70710 ac_cpp='$CPP $CPPFLAGS'
70711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70720 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70722 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70723 for ac_func in fabsl
70724 do :
70725 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70726 if test "x$ac_cv_func_fabsl" = x""yes; then :
70727 cat >>confdefs.h <<_ACEOF
70728 #define HAVE_FABSL 1
70729 _ACEOF
70732 done
70734 else
70736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70737 $as_echo_n "checking for _fabsl declaration... " >&6; }
70738 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70739 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70740 $as_echo_n "(cached) " >&6
70741 else
70744 ac_ext=cpp
70745 ac_cpp='$CXXCPP $CPPFLAGS'
70746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70751 /* end confdefs.h. */
70752 #include <math.h>
70753 #ifdef HAVE_IEEEFP_H
70754 #include <ieeefp.h>
70755 #endif
70758 main ()
70760 _fabsl(0);
70762 return 0;
70764 _ACEOF
70765 if ac_fn_cxx_try_compile "$LINENO"; then :
70766 glibcxx_cv_func__fabsl_use=yes
70767 else
70768 glibcxx_cv_func__fabsl_use=no
70770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70771 ac_ext=c
70772 ac_cpp='$CPP $CPPFLAGS'
70773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70782 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70784 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70785 for ac_func in _fabsl
70786 do :
70787 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70788 if test "x$ac_cv_func__fabsl" = x""yes; then :
70789 cat >>confdefs.h <<_ACEOF
70790 #define HAVE__FABSL 1
70791 _ACEOF
70794 done
70803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70804 $as_echo_n "checking for fmodl declaration... " >&6; }
70805 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70806 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70807 $as_echo_n "(cached) " >&6
70808 else
70811 ac_ext=cpp
70812 ac_cpp='$CXXCPP $CPPFLAGS'
70813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70818 /* end confdefs.h. */
70819 #include <math.h>
70821 main ()
70823 fmodl(0, 0);
70825 return 0;
70827 _ACEOF
70828 if ac_fn_cxx_try_compile "$LINENO"; then :
70829 glibcxx_cv_func_fmodl_use=yes
70830 else
70831 glibcxx_cv_func_fmodl_use=no
70833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70834 ac_ext=c
70835 ac_cpp='$CPP $CPPFLAGS'
70836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70845 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70847 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70848 for ac_func in fmodl
70849 do :
70850 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70851 if test "x$ac_cv_func_fmodl" = x""yes; then :
70852 cat >>confdefs.h <<_ACEOF
70853 #define HAVE_FMODL 1
70854 _ACEOF
70857 done
70859 else
70861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70862 $as_echo_n "checking for _fmodl declaration... " >&6; }
70863 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70864 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70865 $as_echo_n "(cached) " >&6
70866 else
70869 ac_ext=cpp
70870 ac_cpp='$CXXCPP $CPPFLAGS'
70871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70876 /* end confdefs.h. */
70877 #include <math.h>
70879 main ()
70881 _fmodl(0, 0);
70883 return 0;
70885 _ACEOF
70886 if ac_fn_cxx_try_compile "$LINENO"; then :
70887 glibcxx_cv_func__fmodl_use=yes
70888 else
70889 glibcxx_cv_func__fmodl_use=no
70891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70892 ac_ext=c
70893 ac_cpp='$CPP $CPPFLAGS'
70894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70903 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70905 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70906 for ac_func in _fmodl
70907 do :
70908 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70909 if test "x$ac_cv_func__fmodl" = x""yes; then :
70910 cat >>confdefs.h <<_ACEOF
70911 #define HAVE__FMODL 1
70912 _ACEOF
70915 done
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70925 $as_echo_n "checking for frexpl declaration... " >&6; }
70926 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70927 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70928 $as_echo_n "(cached) " >&6
70929 else
70932 ac_ext=cpp
70933 ac_cpp='$CXXCPP $CPPFLAGS'
70934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70939 /* end confdefs.h. */
70940 #include <math.h>
70942 main ()
70944 frexpl(0, 0);
70946 return 0;
70948 _ACEOF
70949 if ac_fn_cxx_try_compile "$LINENO"; then :
70950 glibcxx_cv_func_frexpl_use=yes
70951 else
70952 glibcxx_cv_func_frexpl_use=no
70954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70955 ac_ext=c
70956 ac_cpp='$CPP $CPPFLAGS'
70957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70966 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70968 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70969 for ac_func in frexpl
70970 do :
70971 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70972 if test "x$ac_cv_func_frexpl" = x""yes; then :
70973 cat >>confdefs.h <<_ACEOF
70974 #define HAVE_FREXPL 1
70975 _ACEOF
70978 done
70980 else
70982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70983 $as_echo_n "checking for _frexpl declaration... " >&6; }
70984 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70985 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70986 $as_echo_n "(cached) " >&6
70987 else
70990 ac_ext=cpp
70991 ac_cpp='$CXXCPP $CPPFLAGS'
70992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70997 /* end confdefs.h. */
70998 #include <math.h>
71000 main ()
71002 _frexpl(0, 0);
71004 return 0;
71006 _ACEOF
71007 if ac_fn_cxx_try_compile "$LINENO"; then :
71008 glibcxx_cv_func__frexpl_use=yes
71009 else
71010 glibcxx_cv_func__frexpl_use=no
71012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71013 ac_ext=c
71014 ac_cpp='$CPP $CPPFLAGS'
71015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71024 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71026 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71027 for ac_func in _frexpl
71028 do :
71029 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71030 if test "x$ac_cv_func__frexpl" = x""yes; then :
71031 cat >>confdefs.h <<_ACEOF
71032 #define HAVE__FREXPL 1
71033 _ACEOF
71036 done
71045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71046 $as_echo_n "checking for hypotl declaration... " >&6; }
71047 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71048 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71049 $as_echo_n "(cached) " >&6
71050 else
71053 ac_ext=cpp
71054 ac_cpp='$CXXCPP $CPPFLAGS'
71055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71060 /* end confdefs.h. */
71061 #include <math.h>
71063 main ()
71065 hypotl(0, 0);
71067 return 0;
71069 _ACEOF
71070 if ac_fn_cxx_try_compile "$LINENO"; then :
71071 glibcxx_cv_func_hypotl_use=yes
71072 else
71073 glibcxx_cv_func_hypotl_use=no
71075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71076 ac_ext=c
71077 ac_cpp='$CPP $CPPFLAGS'
71078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71087 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71089 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71090 for ac_func in hypotl
71091 do :
71092 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71093 if test "x$ac_cv_func_hypotl" = x""yes; then :
71094 cat >>confdefs.h <<_ACEOF
71095 #define HAVE_HYPOTL 1
71096 _ACEOF
71099 done
71101 else
71103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71104 $as_echo_n "checking for _hypotl declaration... " >&6; }
71105 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71106 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71107 $as_echo_n "(cached) " >&6
71108 else
71111 ac_ext=cpp
71112 ac_cpp='$CXXCPP $CPPFLAGS'
71113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71118 /* end confdefs.h. */
71119 #include <math.h>
71121 main ()
71123 _hypotl(0, 0);
71125 return 0;
71127 _ACEOF
71128 if ac_fn_cxx_try_compile "$LINENO"; then :
71129 glibcxx_cv_func__hypotl_use=yes
71130 else
71131 glibcxx_cv_func__hypotl_use=no
71133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71134 ac_ext=c
71135 ac_cpp='$CPP $CPPFLAGS'
71136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71145 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71147 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71148 for ac_func in _hypotl
71149 do :
71150 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71151 if test "x$ac_cv_func__hypotl" = x""yes; then :
71152 cat >>confdefs.h <<_ACEOF
71153 #define HAVE__HYPOTL 1
71154 _ACEOF
71157 done
71166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71167 $as_echo_n "checking for ldexpl declaration... " >&6; }
71168 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71169 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71170 $as_echo_n "(cached) " >&6
71171 else
71174 ac_ext=cpp
71175 ac_cpp='$CXXCPP $CPPFLAGS'
71176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71181 /* end confdefs.h. */
71182 #include <math.h>
71184 main ()
71186 ldexpl(0, 0);
71188 return 0;
71190 _ACEOF
71191 if ac_fn_cxx_try_compile "$LINENO"; then :
71192 glibcxx_cv_func_ldexpl_use=yes
71193 else
71194 glibcxx_cv_func_ldexpl_use=no
71196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71197 ac_ext=c
71198 ac_cpp='$CPP $CPPFLAGS'
71199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71208 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71210 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71211 for ac_func in ldexpl
71212 do :
71213 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71214 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71215 cat >>confdefs.h <<_ACEOF
71216 #define HAVE_LDEXPL 1
71217 _ACEOF
71220 done
71222 else
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71225 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71226 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71227 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71228 $as_echo_n "(cached) " >&6
71229 else
71232 ac_ext=cpp
71233 ac_cpp='$CXXCPP $CPPFLAGS'
71234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71239 /* end confdefs.h. */
71240 #include <math.h>
71242 main ()
71244 _ldexpl(0, 0);
71246 return 0;
71248 _ACEOF
71249 if ac_fn_cxx_try_compile "$LINENO"; then :
71250 glibcxx_cv_func__ldexpl_use=yes
71251 else
71252 glibcxx_cv_func__ldexpl_use=no
71254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71255 ac_ext=c
71256 ac_cpp='$CPP $CPPFLAGS'
71257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71266 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71268 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71269 for ac_func in _ldexpl
71270 do :
71271 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71272 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71273 cat >>confdefs.h <<_ACEOF
71274 #define HAVE__LDEXPL 1
71275 _ACEOF
71278 done
71287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71288 $as_echo_n "checking for logl declaration... " >&6; }
71289 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71290 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71291 $as_echo_n "(cached) " >&6
71292 else
71295 ac_ext=cpp
71296 ac_cpp='$CXXCPP $CPPFLAGS'
71297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71302 /* end confdefs.h. */
71303 #include <math.h>
71304 #ifdef HAVE_IEEEFP_H
71305 #include <ieeefp.h>
71306 #endif
71309 main ()
71311 logl(0);
71313 return 0;
71315 _ACEOF
71316 if ac_fn_cxx_try_compile "$LINENO"; then :
71317 glibcxx_cv_func_logl_use=yes
71318 else
71319 glibcxx_cv_func_logl_use=no
71321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71322 ac_ext=c
71323 ac_cpp='$CPP $CPPFLAGS'
71324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71333 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71335 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71336 for ac_func in logl
71337 do :
71338 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71339 if test "x$ac_cv_func_logl" = x""yes; then :
71340 cat >>confdefs.h <<_ACEOF
71341 #define HAVE_LOGL 1
71342 _ACEOF
71345 done
71347 else
71349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71350 $as_echo_n "checking for _logl declaration... " >&6; }
71351 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71352 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71353 $as_echo_n "(cached) " >&6
71354 else
71357 ac_ext=cpp
71358 ac_cpp='$CXXCPP $CPPFLAGS'
71359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71364 /* end confdefs.h. */
71365 #include <math.h>
71366 #ifdef HAVE_IEEEFP_H
71367 #include <ieeefp.h>
71368 #endif
71371 main ()
71373 _logl(0);
71375 return 0;
71377 _ACEOF
71378 if ac_fn_cxx_try_compile "$LINENO"; then :
71379 glibcxx_cv_func__logl_use=yes
71380 else
71381 glibcxx_cv_func__logl_use=no
71383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71384 ac_ext=c
71385 ac_cpp='$CPP $CPPFLAGS'
71386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71395 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71397 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71398 for ac_func in _logl
71399 do :
71400 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71401 if test "x$ac_cv_func__logl" = x""yes; then :
71402 cat >>confdefs.h <<_ACEOF
71403 #define HAVE__LOGL 1
71404 _ACEOF
71407 done
71416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71417 $as_echo_n "checking for log10l declaration... " >&6; }
71418 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71419 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71420 $as_echo_n "(cached) " >&6
71421 else
71424 ac_ext=cpp
71425 ac_cpp='$CXXCPP $CPPFLAGS'
71426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71431 /* end confdefs.h. */
71432 #include <math.h>
71433 #ifdef HAVE_IEEEFP_H
71434 #include <ieeefp.h>
71435 #endif
71438 main ()
71440 log10l(0);
71442 return 0;
71444 _ACEOF
71445 if ac_fn_cxx_try_compile "$LINENO"; then :
71446 glibcxx_cv_func_log10l_use=yes
71447 else
71448 glibcxx_cv_func_log10l_use=no
71450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71451 ac_ext=c
71452 ac_cpp='$CPP $CPPFLAGS'
71453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71462 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71464 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71465 for ac_func in log10l
71466 do :
71467 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71468 if test "x$ac_cv_func_log10l" = x""yes; then :
71469 cat >>confdefs.h <<_ACEOF
71470 #define HAVE_LOG10L 1
71471 _ACEOF
71474 done
71476 else
71478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71479 $as_echo_n "checking for _log10l declaration... " >&6; }
71480 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71481 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71482 $as_echo_n "(cached) " >&6
71483 else
71486 ac_ext=cpp
71487 ac_cpp='$CXXCPP $CPPFLAGS'
71488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71493 /* end confdefs.h. */
71494 #include <math.h>
71495 #ifdef HAVE_IEEEFP_H
71496 #include <ieeefp.h>
71497 #endif
71500 main ()
71502 _log10l(0);
71504 return 0;
71506 _ACEOF
71507 if ac_fn_cxx_try_compile "$LINENO"; then :
71508 glibcxx_cv_func__log10l_use=yes
71509 else
71510 glibcxx_cv_func__log10l_use=no
71512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71513 ac_ext=c
71514 ac_cpp='$CPP $CPPFLAGS'
71515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71524 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71526 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71527 for ac_func in _log10l
71528 do :
71529 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71530 if test "x$ac_cv_func__log10l" = x""yes; then :
71531 cat >>confdefs.h <<_ACEOF
71532 #define HAVE__LOG10L 1
71533 _ACEOF
71536 done
71545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71546 $as_echo_n "checking for modfl declaration... " >&6; }
71547 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71548 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71549 $as_echo_n "(cached) " >&6
71550 else
71553 ac_ext=cpp
71554 ac_cpp='$CXXCPP $CPPFLAGS'
71555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71560 /* end confdefs.h. */
71561 #include <math.h>
71563 main ()
71565 modfl(0, 0);
71567 return 0;
71569 _ACEOF
71570 if ac_fn_cxx_try_compile "$LINENO"; then :
71571 glibcxx_cv_func_modfl_use=yes
71572 else
71573 glibcxx_cv_func_modfl_use=no
71575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71576 ac_ext=c
71577 ac_cpp='$CPP $CPPFLAGS'
71578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71587 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71589 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71590 for ac_func in modfl
71591 do :
71592 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71593 if test "x$ac_cv_func_modfl" = x""yes; then :
71594 cat >>confdefs.h <<_ACEOF
71595 #define HAVE_MODFL 1
71596 _ACEOF
71599 done
71601 else
71603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71604 $as_echo_n "checking for _modfl declaration... " >&6; }
71605 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71606 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71607 $as_echo_n "(cached) " >&6
71608 else
71611 ac_ext=cpp
71612 ac_cpp='$CXXCPP $CPPFLAGS'
71613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71618 /* end confdefs.h. */
71619 #include <math.h>
71621 main ()
71623 _modfl(0, 0);
71625 return 0;
71627 _ACEOF
71628 if ac_fn_cxx_try_compile "$LINENO"; then :
71629 glibcxx_cv_func__modfl_use=yes
71630 else
71631 glibcxx_cv_func__modfl_use=no
71633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71634 ac_ext=c
71635 ac_cpp='$CPP $CPPFLAGS'
71636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71645 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71647 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71648 for ac_func in _modfl
71649 do :
71650 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71651 if test "x$ac_cv_func__modfl" = x""yes; then :
71652 cat >>confdefs.h <<_ACEOF
71653 #define HAVE__MODFL 1
71654 _ACEOF
71657 done
71666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71667 $as_echo_n "checking for powl declaration... " >&6; }
71668 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71669 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71670 $as_echo_n "(cached) " >&6
71671 else
71674 ac_ext=cpp
71675 ac_cpp='$CXXCPP $CPPFLAGS'
71676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71681 /* end confdefs.h. */
71682 #include <math.h>
71684 main ()
71686 powl(0, 0);
71688 return 0;
71690 _ACEOF
71691 if ac_fn_cxx_try_compile "$LINENO"; then :
71692 glibcxx_cv_func_powl_use=yes
71693 else
71694 glibcxx_cv_func_powl_use=no
71696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71697 ac_ext=c
71698 ac_cpp='$CPP $CPPFLAGS'
71699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71708 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71710 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71711 for ac_func in powl
71712 do :
71713 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71714 if test "x$ac_cv_func_powl" = x""yes; then :
71715 cat >>confdefs.h <<_ACEOF
71716 #define HAVE_POWL 1
71717 _ACEOF
71720 done
71722 else
71724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71725 $as_echo_n "checking for _powl declaration... " >&6; }
71726 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71727 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71728 $as_echo_n "(cached) " >&6
71729 else
71732 ac_ext=cpp
71733 ac_cpp='$CXXCPP $CPPFLAGS'
71734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71739 /* end confdefs.h. */
71740 #include <math.h>
71742 main ()
71744 _powl(0, 0);
71746 return 0;
71748 _ACEOF
71749 if ac_fn_cxx_try_compile "$LINENO"; then :
71750 glibcxx_cv_func__powl_use=yes
71751 else
71752 glibcxx_cv_func__powl_use=no
71754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71755 ac_ext=c
71756 ac_cpp='$CPP $CPPFLAGS'
71757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71766 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71768 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71769 for ac_func in _powl
71770 do :
71771 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71772 if test "x$ac_cv_func__powl" = x""yes; then :
71773 cat >>confdefs.h <<_ACEOF
71774 #define HAVE__POWL 1
71775 _ACEOF
71778 done
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71788 $as_echo_n "checking for sqrtl declaration... " >&6; }
71789 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71790 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71791 $as_echo_n "(cached) " >&6
71792 else
71795 ac_ext=cpp
71796 ac_cpp='$CXXCPP $CPPFLAGS'
71797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71802 /* end confdefs.h. */
71803 #include <math.h>
71804 #ifdef HAVE_IEEEFP_H
71805 #include <ieeefp.h>
71806 #endif
71809 main ()
71811 sqrtl(0);
71813 return 0;
71815 _ACEOF
71816 if ac_fn_cxx_try_compile "$LINENO"; then :
71817 glibcxx_cv_func_sqrtl_use=yes
71818 else
71819 glibcxx_cv_func_sqrtl_use=no
71821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71822 ac_ext=c
71823 ac_cpp='$CPP $CPPFLAGS'
71824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71833 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71835 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71836 for ac_func in sqrtl
71837 do :
71838 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71839 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71840 cat >>confdefs.h <<_ACEOF
71841 #define HAVE_SQRTL 1
71842 _ACEOF
71845 done
71847 else
71849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71850 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71851 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71852 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71853 $as_echo_n "(cached) " >&6
71854 else
71857 ac_ext=cpp
71858 ac_cpp='$CXXCPP $CPPFLAGS'
71859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71864 /* end confdefs.h. */
71865 #include <math.h>
71866 #ifdef HAVE_IEEEFP_H
71867 #include <ieeefp.h>
71868 #endif
71871 main ()
71873 _sqrtl(0);
71875 return 0;
71877 _ACEOF
71878 if ac_fn_cxx_try_compile "$LINENO"; then :
71879 glibcxx_cv_func__sqrtl_use=yes
71880 else
71881 glibcxx_cv_func__sqrtl_use=no
71883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71884 ac_ext=c
71885 ac_cpp='$CPP $CPPFLAGS'
71886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71895 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71897 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71898 for ac_func in _sqrtl
71899 do :
71900 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71901 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71902 cat >>confdefs.h <<_ACEOF
71903 #define HAVE__SQRTL 1
71904 _ACEOF
71907 done
71916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71917 $as_echo_n "checking for sincosl declaration... " >&6; }
71918 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71919 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71920 $as_echo_n "(cached) " >&6
71921 else
71924 ac_ext=cpp
71925 ac_cpp='$CXXCPP $CPPFLAGS'
71926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71931 /* end confdefs.h. */
71932 #include <math.h>
71934 main ()
71936 sincosl(0, 0, 0);
71938 return 0;
71940 _ACEOF
71941 if ac_fn_cxx_try_compile "$LINENO"; then :
71942 glibcxx_cv_func_sincosl_use=yes
71943 else
71944 glibcxx_cv_func_sincosl_use=no
71946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71947 ac_ext=c
71948 ac_cpp='$CPP $CPPFLAGS'
71949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71958 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71960 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71961 for ac_func in sincosl
71962 do :
71963 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71964 if test "x$ac_cv_func_sincosl" = x""yes; then :
71965 cat >>confdefs.h <<_ACEOF
71966 #define HAVE_SINCOSL 1
71967 _ACEOF
71970 done
71972 else
71974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71975 $as_echo_n "checking for _sincosl declaration... " >&6; }
71976 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71977 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71978 $as_echo_n "(cached) " >&6
71979 else
71982 ac_ext=cpp
71983 ac_cpp='$CXXCPP $CPPFLAGS'
71984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71989 /* end confdefs.h. */
71990 #include <math.h>
71992 main ()
71994 _sincosl(0, 0, 0);
71996 return 0;
71998 _ACEOF
71999 if ac_fn_cxx_try_compile "$LINENO"; then :
72000 glibcxx_cv_func__sincosl_use=yes
72001 else
72002 glibcxx_cv_func__sincosl_use=no
72004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72005 ac_ext=c
72006 ac_cpp='$CPP $CPPFLAGS'
72007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72016 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72018 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72019 for ac_func in _sincosl
72020 do :
72021 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72022 if test "x$ac_cv_func__sincosl" = x""yes; then :
72023 cat >>confdefs.h <<_ACEOF
72024 #define HAVE__SINCOSL 1
72025 _ACEOF
72028 done
72037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72038 $as_echo_n "checking for finitel declaration... " >&6; }
72039 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72040 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72041 $as_echo_n "(cached) " >&6
72042 else
72045 ac_ext=cpp
72046 ac_cpp='$CXXCPP $CPPFLAGS'
72047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72052 /* end confdefs.h. */
72053 #include <math.h>
72054 #ifdef HAVE_IEEEFP_H
72055 #include <ieeefp.h>
72056 #endif
72059 main ()
72061 finitel(0);
72063 return 0;
72065 _ACEOF
72066 if ac_fn_cxx_try_compile "$LINENO"; then :
72067 glibcxx_cv_func_finitel_use=yes
72068 else
72069 glibcxx_cv_func_finitel_use=no
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72083 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72085 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72086 for ac_func in finitel
72087 do :
72088 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72089 if test "x$ac_cv_func_finitel" = x""yes; then :
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE_FINITEL 1
72092 _ACEOF
72095 done
72097 else
72099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72100 $as_echo_n "checking for _finitel declaration... " >&6; }
72101 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72102 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72103 $as_echo_n "(cached) " >&6
72104 else
72107 ac_ext=cpp
72108 ac_cpp='$CXXCPP $CPPFLAGS'
72109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72114 /* end confdefs.h. */
72115 #include <math.h>
72116 #ifdef HAVE_IEEEFP_H
72117 #include <ieeefp.h>
72118 #endif
72121 main ()
72123 _finitel(0);
72125 return 0;
72127 _ACEOF
72128 if ac_fn_cxx_try_compile "$LINENO"; then :
72129 glibcxx_cv_func__finitel_use=yes
72130 else
72131 glibcxx_cv_func__finitel_use=no
72133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72134 ac_ext=c
72135 ac_cpp='$CPP $CPPFLAGS'
72136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72145 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72147 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72148 for ac_func in _finitel
72149 do :
72150 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72151 if test "x$ac_cv_func__finitel" = x""yes; then :
72152 cat >>confdefs.h <<_ACEOF
72153 #define HAVE__FINITEL 1
72154 _ACEOF
72157 done
72165 LIBS="$ac_save_LIBS"
72166 CXXFLAGS="$ac_save_CXXFLAGS"
72169 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72170 ac_save_CXXFLAGS="$CXXFLAGS"
72171 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72175 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72176 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72177 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72178 $as_echo_n "(cached) " >&6
72179 else
72182 ac_ext=cpp
72183 ac_cpp='$CXXCPP $CPPFLAGS'
72184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72189 /* end confdefs.h. */
72190 #include <stdlib.h>
72192 main ()
72194 at_quick_exit(0);
72196 return 0;
72198 _ACEOF
72199 if ac_fn_cxx_try_compile "$LINENO"; then :
72200 glibcxx_cv_func_at_quick_exit_use=yes
72201 else
72202 glibcxx_cv_func_at_quick_exit_use=no
72204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72205 ac_ext=c
72206 ac_cpp='$CPP $CPPFLAGS'
72207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72216 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72217 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72218 for ac_func in at_quick_exit
72219 do :
72220 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72221 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72222 cat >>confdefs.h <<_ACEOF
72223 #define HAVE_AT_QUICK_EXIT 1
72224 _ACEOF
72227 done
72232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72233 $as_echo_n "checking for quick_exit declaration... " >&6; }
72234 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72235 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72236 $as_echo_n "(cached) " >&6
72237 else
72240 ac_ext=cpp
72241 ac_cpp='$CXXCPP $CPPFLAGS'
72242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72247 /* end confdefs.h. */
72248 #include <stdlib.h>
72250 main ()
72252 quick_exit(0);
72254 return 0;
72256 _ACEOF
72257 if ac_fn_cxx_try_compile "$LINENO"; then :
72258 glibcxx_cv_func_quick_exit_use=yes
72259 else
72260 glibcxx_cv_func_quick_exit_use=no
72262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72263 ac_ext=c
72264 ac_cpp='$CPP $CPPFLAGS'
72265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72274 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72275 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72276 for ac_func in quick_exit
72277 do :
72278 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72279 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72280 cat >>confdefs.h <<_ACEOF
72281 #define HAVE_QUICK_EXIT 1
72282 _ACEOF
72285 done
72290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72291 $as_echo_n "checking for strtold declaration... " >&6; }
72292 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72293 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72294 $as_echo_n "(cached) " >&6
72295 else
72298 ac_ext=cpp
72299 ac_cpp='$CXXCPP $CPPFLAGS'
72300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72305 /* end confdefs.h. */
72306 #include <stdlib.h>
72308 main ()
72310 strtold(0, 0);
72312 return 0;
72314 _ACEOF
72315 if ac_fn_cxx_try_compile "$LINENO"; then :
72316 glibcxx_cv_func_strtold_use=yes
72317 else
72318 glibcxx_cv_func_strtold_use=no
72320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72321 ac_ext=c
72322 ac_cpp='$CPP $CPPFLAGS'
72323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72332 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72333 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72334 for ac_func in strtold
72335 do :
72336 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72337 if test "x$ac_cv_func_strtold" = x""yes; then :
72338 cat >>confdefs.h <<_ACEOF
72339 #define HAVE_STRTOLD 1
72340 _ACEOF
72343 done
72350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72351 $as_echo_n "checking for strtof declaration... " >&6; }
72352 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72353 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72354 $as_echo_n "(cached) " >&6
72355 else
72358 ac_ext=cpp
72359 ac_cpp='$CXXCPP $CPPFLAGS'
72360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72365 /* end confdefs.h. */
72366 #include <stdlib.h>
72368 main ()
72370 strtof(0, 0);
72372 return 0;
72374 _ACEOF
72375 if ac_fn_cxx_try_compile "$LINENO"; then :
72376 glibcxx_cv_func_strtof_use=yes
72377 else
72378 glibcxx_cv_func_strtof_use=no
72380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72381 ac_ext=c
72382 ac_cpp='$CPP $CPPFLAGS'
72383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72392 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72393 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72394 for ac_func in strtof
72395 do :
72396 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72397 if test "x$ac_cv_func_strtof" = x""yes; then :
72398 cat >>confdefs.h <<_ACEOF
72399 #define HAVE_STRTOF 1
72400 _ACEOF
72403 done
72410 CXXFLAGS="$ac_save_CXXFLAGS"
72413 *-tpf)
72414 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72415 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72417 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72419 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72421 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72423 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72425 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72427 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72429 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72431 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72433 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72435 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72437 if test x"long_double_math_on_this_cpu" = x"yes"; then
72438 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72440 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72442 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72444 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72448 *-*vms*)
72449 # Check for available headers.
72450 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72452 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72453 ac_save_CXXFLAGS="$CXXFLAGS"
72454 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72457 $as_echo_n "checking for sin in -lm... " >&6; }
72458 if test "${ac_cv_lib_m_sin+set}" = set; then :
72459 $as_echo_n "(cached) " >&6
72460 else
72461 ac_check_lib_save_LIBS=$LIBS
72462 LIBS="-lm $LIBS"
72463 if test x$gcc_no_link = xyes; then
72464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72467 /* end confdefs.h. */
72469 /* Override any GCC internal prototype to avoid an error.
72470 Use char because int might match the return type of a GCC
72471 builtin and then its argument prototype would still apply. */
72472 #ifdef __cplusplus
72473 extern "C"
72474 #endif
72475 char sin ();
72477 main ()
72479 return sin ();
72481 return 0;
72483 _ACEOF
72484 if ac_fn_c_try_link "$LINENO"; then :
72485 ac_cv_lib_m_sin=yes
72486 else
72487 ac_cv_lib_m_sin=no
72489 rm -f core conftest.err conftest.$ac_objext \
72490 conftest$ac_exeext conftest.$ac_ext
72491 LIBS=$ac_check_lib_save_LIBS
72493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72494 $as_echo "$ac_cv_lib_m_sin" >&6; }
72495 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72496 libm="-lm"
72499 ac_save_LIBS="$LIBS"
72500 LIBS="$LIBS $libm"
72504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72505 $as_echo_n "checking for isinf declaration... " >&6; }
72506 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72507 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72508 $as_echo_n "(cached) " >&6
72509 else
72512 ac_ext=cpp
72513 ac_cpp='$CXXCPP $CPPFLAGS'
72514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72519 /* end confdefs.h. */
72520 #include <math.h>
72521 #ifdef HAVE_IEEEFP_H
72522 #include <ieeefp.h>
72523 #endif
72526 main ()
72528 isinf(0);
72530 return 0;
72532 _ACEOF
72533 if ac_fn_cxx_try_compile "$LINENO"; then :
72534 glibcxx_cv_func_isinf_use=yes
72535 else
72536 glibcxx_cv_func_isinf_use=no
72538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72539 ac_ext=c
72540 ac_cpp='$CPP $CPPFLAGS'
72541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72550 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72552 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72553 for ac_func in isinf
72554 do :
72555 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72556 if test "x$ac_cv_func_isinf" = x""yes; then :
72557 cat >>confdefs.h <<_ACEOF
72558 #define HAVE_ISINF 1
72559 _ACEOF
72562 done
72564 else
72566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72567 $as_echo_n "checking for _isinf declaration... " >&6; }
72568 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72569 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72570 $as_echo_n "(cached) " >&6
72571 else
72574 ac_ext=cpp
72575 ac_cpp='$CXXCPP $CPPFLAGS'
72576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72581 /* end confdefs.h. */
72582 #include <math.h>
72583 #ifdef HAVE_IEEEFP_H
72584 #include <ieeefp.h>
72585 #endif
72588 main ()
72590 _isinf(0);
72592 return 0;
72594 _ACEOF
72595 if ac_fn_cxx_try_compile "$LINENO"; then :
72596 glibcxx_cv_func__isinf_use=yes
72597 else
72598 glibcxx_cv_func__isinf_use=no
72600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72601 ac_ext=c
72602 ac_cpp='$CPP $CPPFLAGS'
72603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72612 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72614 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72615 for ac_func in _isinf
72616 do :
72617 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72618 if test "x$ac_cv_func__isinf" = x""yes; then :
72619 cat >>confdefs.h <<_ACEOF
72620 #define HAVE__ISINF 1
72621 _ACEOF
72624 done
72633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72634 $as_echo_n "checking for isnan declaration... " >&6; }
72635 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72636 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72637 $as_echo_n "(cached) " >&6
72638 else
72641 ac_ext=cpp
72642 ac_cpp='$CXXCPP $CPPFLAGS'
72643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72648 /* end confdefs.h. */
72649 #include <math.h>
72650 #ifdef HAVE_IEEEFP_H
72651 #include <ieeefp.h>
72652 #endif
72655 main ()
72657 isnan(0);
72659 return 0;
72661 _ACEOF
72662 if ac_fn_cxx_try_compile "$LINENO"; then :
72663 glibcxx_cv_func_isnan_use=yes
72664 else
72665 glibcxx_cv_func_isnan_use=no
72667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72668 ac_ext=c
72669 ac_cpp='$CPP $CPPFLAGS'
72670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72679 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72681 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72682 for ac_func in isnan
72683 do :
72684 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72685 if test "x$ac_cv_func_isnan" = x""yes; then :
72686 cat >>confdefs.h <<_ACEOF
72687 #define HAVE_ISNAN 1
72688 _ACEOF
72691 done
72693 else
72695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72696 $as_echo_n "checking for _isnan declaration... " >&6; }
72697 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72698 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72699 $as_echo_n "(cached) " >&6
72700 else
72703 ac_ext=cpp
72704 ac_cpp='$CXXCPP $CPPFLAGS'
72705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72710 /* end confdefs.h. */
72711 #include <math.h>
72712 #ifdef HAVE_IEEEFP_H
72713 #include <ieeefp.h>
72714 #endif
72717 main ()
72719 _isnan(0);
72721 return 0;
72723 _ACEOF
72724 if ac_fn_cxx_try_compile "$LINENO"; then :
72725 glibcxx_cv_func__isnan_use=yes
72726 else
72727 glibcxx_cv_func__isnan_use=no
72729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72730 ac_ext=c
72731 ac_cpp='$CPP $CPPFLAGS'
72732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72741 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72743 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72744 for ac_func in _isnan
72745 do :
72746 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72747 if test "x$ac_cv_func__isnan" = x""yes; then :
72748 cat >>confdefs.h <<_ACEOF
72749 #define HAVE__ISNAN 1
72750 _ACEOF
72753 done
72762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72763 $as_echo_n "checking for finite declaration... " >&6; }
72764 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72765 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72766 $as_echo_n "(cached) " >&6
72767 else
72770 ac_ext=cpp
72771 ac_cpp='$CXXCPP $CPPFLAGS'
72772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72777 /* end confdefs.h. */
72778 #include <math.h>
72779 #ifdef HAVE_IEEEFP_H
72780 #include <ieeefp.h>
72781 #endif
72784 main ()
72786 finite(0);
72788 return 0;
72790 _ACEOF
72791 if ac_fn_cxx_try_compile "$LINENO"; then :
72792 glibcxx_cv_func_finite_use=yes
72793 else
72794 glibcxx_cv_func_finite_use=no
72796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72797 ac_ext=c
72798 ac_cpp='$CPP $CPPFLAGS'
72799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72808 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72810 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72811 for ac_func in finite
72812 do :
72813 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72814 if test "x$ac_cv_func_finite" = x""yes; then :
72815 cat >>confdefs.h <<_ACEOF
72816 #define HAVE_FINITE 1
72817 _ACEOF
72820 done
72822 else
72824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72825 $as_echo_n "checking for _finite declaration... " >&6; }
72826 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72827 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72828 $as_echo_n "(cached) " >&6
72829 else
72832 ac_ext=cpp
72833 ac_cpp='$CXXCPP $CPPFLAGS'
72834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72839 /* end confdefs.h. */
72840 #include <math.h>
72841 #ifdef HAVE_IEEEFP_H
72842 #include <ieeefp.h>
72843 #endif
72846 main ()
72848 _finite(0);
72850 return 0;
72852 _ACEOF
72853 if ac_fn_cxx_try_compile "$LINENO"; then :
72854 glibcxx_cv_func__finite_use=yes
72855 else
72856 glibcxx_cv_func__finite_use=no
72858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72859 ac_ext=c
72860 ac_cpp='$CPP $CPPFLAGS'
72861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72870 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72872 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72873 for ac_func in _finite
72874 do :
72875 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72876 if test "x$ac_cv_func__finite" = x""yes; then :
72877 cat >>confdefs.h <<_ACEOF
72878 #define HAVE__FINITE 1
72879 _ACEOF
72882 done
72891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72892 $as_echo_n "checking for sincos declaration... " >&6; }
72893 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72894 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72895 $as_echo_n "(cached) " >&6
72896 else
72899 ac_ext=cpp
72900 ac_cpp='$CXXCPP $CPPFLAGS'
72901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72906 /* end confdefs.h. */
72907 #include <math.h>
72909 main ()
72911 sincos(0, 0, 0);
72913 return 0;
72915 _ACEOF
72916 if ac_fn_cxx_try_compile "$LINENO"; then :
72917 glibcxx_cv_func_sincos_use=yes
72918 else
72919 glibcxx_cv_func_sincos_use=no
72921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72922 ac_ext=c
72923 ac_cpp='$CPP $CPPFLAGS'
72924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72933 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72935 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72936 for ac_func in sincos
72937 do :
72938 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72939 if test "x$ac_cv_func_sincos" = x""yes; then :
72940 cat >>confdefs.h <<_ACEOF
72941 #define HAVE_SINCOS 1
72942 _ACEOF
72945 done
72947 else
72949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72950 $as_echo_n "checking for _sincos declaration... " >&6; }
72951 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72952 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72953 $as_echo_n "(cached) " >&6
72954 else
72957 ac_ext=cpp
72958 ac_cpp='$CXXCPP $CPPFLAGS'
72959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72964 /* end confdefs.h. */
72965 #include <math.h>
72967 main ()
72969 _sincos(0, 0, 0);
72971 return 0;
72973 _ACEOF
72974 if ac_fn_cxx_try_compile "$LINENO"; then :
72975 glibcxx_cv_func__sincos_use=yes
72976 else
72977 glibcxx_cv_func__sincos_use=no
72979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72980 ac_ext=c
72981 ac_cpp='$CPP $CPPFLAGS'
72982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72991 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72993 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72994 for ac_func in _sincos
72995 do :
72996 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72997 if test "x$ac_cv_func__sincos" = x""yes; then :
72998 cat >>confdefs.h <<_ACEOF
72999 #define HAVE__SINCOS 1
73000 _ACEOF
73003 done
73012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73013 $as_echo_n "checking for fpclass declaration... " >&6; }
73014 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73015 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73016 $as_echo_n "(cached) " >&6
73017 else
73020 ac_ext=cpp
73021 ac_cpp='$CXXCPP $CPPFLAGS'
73022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73027 /* end confdefs.h. */
73028 #include <math.h>
73029 #ifdef HAVE_IEEEFP_H
73030 #include <ieeefp.h>
73031 #endif
73034 main ()
73036 fpclass(0);
73038 return 0;
73040 _ACEOF
73041 if ac_fn_cxx_try_compile "$LINENO"; then :
73042 glibcxx_cv_func_fpclass_use=yes
73043 else
73044 glibcxx_cv_func_fpclass_use=no
73046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73047 ac_ext=c
73048 ac_cpp='$CPP $CPPFLAGS'
73049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73058 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73060 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73061 for ac_func in fpclass
73062 do :
73063 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73064 if test "x$ac_cv_func_fpclass" = x""yes; then :
73065 cat >>confdefs.h <<_ACEOF
73066 #define HAVE_FPCLASS 1
73067 _ACEOF
73070 done
73072 else
73074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73075 $as_echo_n "checking for _fpclass declaration... " >&6; }
73076 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73077 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73078 $as_echo_n "(cached) " >&6
73079 else
73082 ac_ext=cpp
73083 ac_cpp='$CXXCPP $CPPFLAGS'
73084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73089 /* end confdefs.h. */
73090 #include <math.h>
73091 #ifdef HAVE_IEEEFP_H
73092 #include <ieeefp.h>
73093 #endif
73096 main ()
73098 _fpclass(0);
73100 return 0;
73102 _ACEOF
73103 if ac_fn_cxx_try_compile "$LINENO"; then :
73104 glibcxx_cv_func__fpclass_use=yes
73105 else
73106 glibcxx_cv_func__fpclass_use=no
73108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73109 ac_ext=c
73110 ac_cpp='$CPP $CPPFLAGS'
73111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73120 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73122 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73123 for ac_func in _fpclass
73124 do :
73125 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73126 if test "x$ac_cv_func__fpclass" = x""yes; then :
73127 cat >>confdefs.h <<_ACEOF
73128 #define HAVE__FPCLASS 1
73129 _ACEOF
73132 done
73141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73142 $as_echo_n "checking for qfpclass declaration... " >&6; }
73143 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73144 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73145 $as_echo_n "(cached) " >&6
73146 else
73149 ac_ext=cpp
73150 ac_cpp='$CXXCPP $CPPFLAGS'
73151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73156 /* end confdefs.h. */
73157 #include <math.h>
73158 #ifdef HAVE_IEEEFP_H
73159 #include <ieeefp.h>
73160 #endif
73163 main ()
73165 qfpclass(0);
73167 return 0;
73169 _ACEOF
73170 if ac_fn_cxx_try_compile "$LINENO"; then :
73171 glibcxx_cv_func_qfpclass_use=yes
73172 else
73173 glibcxx_cv_func_qfpclass_use=no
73175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73176 ac_ext=c
73177 ac_cpp='$CPP $CPPFLAGS'
73178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73187 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73189 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73190 for ac_func in qfpclass
73191 do :
73192 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73193 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73194 cat >>confdefs.h <<_ACEOF
73195 #define HAVE_QFPCLASS 1
73196 _ACEOF
73199 done
73201 else
73203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73204 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73205 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73206 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73207 $as_echo_n "(cached) " >&6
73208 else
73211 ac_ext=cpp
73212 ac_cpp='$CXXCPP $CPPFLAGS'
73213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73218 /* end confdefs.h. */
73219 #include <math.h>
73220 #ifdef HAVE_IEEEFP_H
73221 #include <ieeefp.h>
73222 #endif
73225 main ()
73227 _qfpclass(0);
73229 return 0;
73231 _ACEOF
73232 if ac_fn_cxx_try_compile "$LINENO"; then :
73233 glibcxx_cv_func__qfpclass_use=yes
73234 else
73235 glibcxx_cv_func__qfpclass_use=no
73237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73238 ac_ext=c
73239 ac_cpp='$CPP $CPPFLAGS'
73240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73249 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73251 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73252 for ac_func in _qfpclass
73253 do :
73254 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73255 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73256 cat >>confdefs.h <<_ACEOF
73257 #define HAVE__QFPCLASS 1
73258 _ACEOF
73261 done
73270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73271 $as_echo_n "checking for hypot declaration... " >&6; }
73272 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73273 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73274 $as_echo_n "(cached) " >&6
73275 else
73278 ac_ext=cpp
73279 ac_cpp='$CXXCPP $CPPFLAGS'
73280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73285 /* end confdefs.h. */
73286 #include <math.h>
73288 main ()
73290 hypot(0, 0);
73292 return 0;
73294 _ACEOF
73295 if ac_fn_cxx_try_compile "$LINENO"; then :
73296 glibcxx_cv_func_hypot_use=yes
73297 else
73298 glibcxx_cv_func_hypot_use=no
73300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73301 ac_ext=c
73302 ac_cpp='$CPP $CPPFLAGS'
73303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73312 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73314 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73315 for ac_func in hypot
73316 do :
73317 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73318 if test "x$ac_cv_func_hypot" = x""yes; then :
73319 cat >>confdefs.h <<_ACEOF
73320 #define HAVE_HYPOT 1
73321 _ACEOF
73324 done
73326 else
73328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73329 $as_echo_n "checking for _hypot declaration... " >&6; }
73330 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73331 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73332 $as_echo_n "(cached) " >&6
73333 else
73336 ac_ext=cpp
73337 ac_cpp='$CXXCPP $CPPFLAGS'
73338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73343 /* end confdefs.h. */
73344 #include <math.h>
73346 main ()
73348 _hypot(0, 0);
73350 return 0;
73352 _ACEOF
73353 if ac_fn_cxx_try_compile "$LINENO"; then :
73354 glibcxx_cv_func__hypot_use=yes
73355 else
73356 glibcxx_cv_func__hypot_use=no
73358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73359 ac_ext=c
73360 ac_cpp='$CPP $CPPFLAGS'
73361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73370 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73372 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73373 for ac_func in _hypot
73374 do :
73375 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73376 if test "x$ac_cv_func__hypot" = x""yes; then :
73377 cat >>confdefs.h <<_ACEOF
73378 #define HAVE__HYPOT 1
73379 _ACEOF
73382 done
73391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73392 $as_echo_n "checking for float trig functions... " >&6; }
73393 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73394 $as_echo_n "(cached) " >&6
73395 else
73398 ac_ext=cpp
73399 ac_cpp='$CXXCPP $CPPFLAGS'
73400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73405 /* end confdefs.h. */
73406 #include <math.h>
73408 main ()
73410 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73412 return 0;
73414 _ACEOF
73415 if ac_fn_cxx_try_compile "$LINENO"; then :
73416 glibcxx_cv_func_float_trig_use=yes
73417 else
73418 glibcxx_cv_func_float_trig_use=no
73420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73421 ac_ext=c
73422 ac_cpp='$CPP $CPPFLAGS'
73423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73430 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73431 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73432 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73433 do :
73434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73436 eval as_val=\$$as_ac_var
73437 if test "x$as_val" = x""yes; then :
73438 cat >>confdefs.h <<_ACEOF
73439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73440 _ACEOF
73443 done
73445 else
73446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73447 $as_echo_n "checking for _float trig functions... " >&6; }
73448 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73449 $as_echo_n "(cached) " >&6
73450 else
73453 ac_ext=cpp
73454 ac_cpp='$CXXCPP $CPPFLAGS'
73455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73460 /* end confdefs.h. */
73461 #include <math.h>
73463 main ()
73465 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73467 return 0;
73469 _ACEOF
73470 if ac_fn_cxx_try_compile "$LINENO"; then :
73471 glibcxx_cv_func__float_trig_use=yes
73472 else
73473 glibcxx_cv_func__float_trig_use=no
73475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73476 ac_ext=c
73477 ac_cpp='$CPP $CPPFLAGS'
73478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73485 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73486 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73487 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73488 do :
73489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73491 eval as_val=\$$as_ac_var
73492 if test "x$as_val" = x""yes; then :
73493 cat >>confdefs.h <<_ACEOF
73494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73495 _ACEOF
73498 done
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73508 $as_echo_n "checking for float round functions... " >&6; }
73509 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73510 $as_echo_n "(cached) " >&6
73511 else
73514 ac_ext=cpp
73515 ac_cpp='$CXXCPP $CPPFLAGS'
73516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73521 /* end confdefs.h. */
73522 #include <math.h>
73524 main ()
73526 ceilf (0); floorf (0);
73528 return 0;
73530 _ACEOF
73531 if ac_fn_cxx_try_compile "$LINENO"; then :
73532 glibcxx_cv_func_float_round_use=yes
73533 else
73534 glibcxx_cv_func_float_round_use=no
73536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73537 ac_ext=c
73538 ac_cpp='$CPP $CPPFLAGS'
73539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73546 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73547 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73548 for ac_func in ceilf floorf
73549 do :
73550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73552 eval as_val=\$$as_ac_var
73553 if test "x$as_val" = x""yes; then :
73554 cat >>confdefs.h <<_ACEOF
73555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73556 _ACEOF
73559 done
73561 else
73562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73563 $as_echo_n "checking for _float round functions... " >&6; }
73564 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73565 $as_echo_n "(cached) " >&6
73566 else
73569 ac_ext=cpp
73570 ac_cpp='$CXXCPP $CPPFLAGS'
73571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73576 /* end confdefs.h. */
73577 #include <math.h>
73579 main ()
73581 _ceilf (0); _floorf (0);
73583 return 0;
73585 _ACEOF
73586 if ac_fn_cxx_try_compile "$LINENO"; then :
73587 glibcxx_cv_func__float_round_use=yes
73588 else
73589 glibcxx_cv_func__float_round_use=no
73591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73592 ac_ext=c
73593 ac_cpp='$CPP $CPPFLAGS'
73594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73601 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73602 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73603 for ac_func in _ceilf _floorf
73604 do :
73605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73607 eval as_val=\$$as_ac_var
73608 if test "x$as_val" = x""yes; then :
73609 cat >>confdefs.h <<_ACEOF
73610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73611 _ACEOF
73614 done
73624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73625 $as_echo_n "checking for expf declaration... " >&6; }
73626 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73627 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73628 $as_echo_n "(cached) " >&6
73629 else
73632 ac_ext=cpp
73633 ac_cpp='$CXXCPP $CPPFLAGS'
73634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73639 /* end confdefs.h. */
73640 #include <math.h>
73641 #ifdef HAVE_IEEEFP_H
73642 #include <ieeefp.h>
73643 #endif
73646 main ()
73648 expf(0);
73650 return 0;
73652 _ACEOF
73653 if ac_fn_cxx_try_compile "$LINENO"; then :
73654 glibcxx_cv_func_expf_use=yes
73655 else
73656 glibcxx_cv_func_expf_use=no
73658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73659 ac_ext=c
73660 ac_cpp='$CPP $CPPFLAGS'
73661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73670 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73672 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73673 for ac_func in expf
73674 do :
73675 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73676 if test "x$ac_cv_func_expf" = x""yes; then :
73677 cat >>confdefs.h <<_ACEOF
73678 #define HAVE_EXPF 1
73679 _ACEOF
73682 done
73684 else
73686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73687 $as_echo_n "checking for _expf declaration... " >&6; }
73688 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73689 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73690 $as_echo_n "(cached) " >&6
73691 else
73694 ac_ext=cpp
73695 ac_cpp='$CXXCPP $CPPFLAGS'
73696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73701 /* end confdefs.h. */
73702 #include <math.h>
73703 #ifdef HAVE_IEEEFP_H
73704 #include <ieeefp.h>
73705 #endif
73708 main ()
73710 _expf(0);
73712 return 0;
73714 _ACEOF
73715 if ac_fn_cxx_try_compile "$LINENO"; then :
73716 glibcxx_cv_func__expf_use=yes
73717 else
73718 glibcxx_cv_func__expf_use=no
73720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73721 ac_ext=c
73722 ac_cpp='$CPP $CPPFLAGS'
73723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73732 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73734 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73735 for ac_func in _expf
73736 do :
73737 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73738 if test "x$ac_cv_func__expf" = x""yes; then :
73739 cat >>confdefs.h <<_ACEOF
73740 #define HAVE__EXPF 1
73741 _ACEOF
73744 done
73753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73754 $as_echo_n "checking for isnanf declaration... " >&6; }
73755 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73756 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73757 $as_echo_n "(cached) " >&6
73758 else
73761 ac_ext=cpp
73762 ac_cpp='$CXXCPP $CPPFLAGS'
73763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73768 /* end confdefs.h. */
73769 #include <math.h>
73770 #ifdef HAVE_IEEEFP_H
73771 #include <ieeefp.h>
73772 #endif
73775 main ()
73777 isnanf(0);
73779 return 0;
73781 _ACEOF
73782 if ac_fn_cxx_try_compile "$LINENO"; then :
73783 glibcxx_cv_func_isnanf_use=yes
73784 else
73785 glibcxx_cv_func_isnanf_use=no
73787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73788 ac_ext=c
73789 ac_cpp='$CPP $CPPFLAGS'
73790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73799 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73801 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73802 for ac_func in isnanf
73803 do :
73804 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73805 if test "x$ac_cv_func_isnanf" = x""yes; then :
73806 cat >>confdefs.h <<_ACEOF
73807 #define HAVE_ISNANF 1
73808 _ACEOF
73811 done
73813 else
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73816 $as_echo_n "checking for _isnanf declaration... " >&6; }
73817 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73818 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73819 $as_echo_n "(cached) " >&6
73820 else
73823 ac_ext=cpp
73824 ac_cpp='$CXXCPP $CPPFLAGS'
73825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73830 /* end confdefs.h. */
73831 #include <math.h>
73832 #ifdef HAVE_IEEEFP_H
73833 #include <ieeefp.h>
73834 #endif
73837 main ()
73839 _isnanf(0);
73841 return 0;
73843 _ACEOF
73844 if ac_fn_cxx_try_compile "$LINENO"; then :
73845 glibcxx_cv_func__isnanf_use=yes
73846 else
73847 glibcxx_cv_func__isnanf_use=no
73849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73850 ac_ext=c
73851 ac_cpp='$CPP $CPPFLAGS'
73852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73861 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73863 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73864 for ac_func in _isnanf
73865 do :
73866 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73867 if test "x$ac_cv_func__isnanf" = x""yes; then :
73868 cat >>confdefs.h <<_ACEOF
73869 #define HAVE__ISNANF 1
73870 _ACEOF
73873 done
73882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73883 $as_echo_n "checking for isinff declaration... " >&6; }
73884 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73885 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73886 $as_echo_n "(cached) " >&6
73887 else
73890 ac_ext=cpp
73891 ac_cpp='$CXXCPP $CPPFLAGS'
73892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73897 /* end confdefs.h. */
73898 #include <math.h>
73899 #ifdef HAVE_IEEEFP_H
73900 #include <ieeefp.h>
73901 #endif
73904 main ()
73906 isinff(0);
73908 return 0;
73910 _ACEOF
73911 if ac_fn_cxx_try_compile "$LINENO"; then :
73912 glibcxx_cv_func_isinff_use=yes
73913 else
73914 glibcxx_cv_func_isinff_use=no
73916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73917 ac_ext=c
73918 ac_cpp='$CPP $CPPFLAGS'
73919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73928 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73930 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73931 for ac_func in isinff
73932 do :
73933 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73934 if test "x$ac_cv_func_isinff" = x""yes; then :
73935 cat >>confdefs.h <<_ACEOF
73936 #define HAVE_ISINFF 1
73937 _ACEOF
73940 done
73942 else
73944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73945 $as_echo_n "checking for _isinff declaration... " >&6; }
73946 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73947 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73948 $as_echo_n "(cached) " >&6
73949 else
73952 ac_ext=cpp
73953 ac_cpp='$CXXCPP $CPPFLAGS'
73954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73959 /* end confdefs.h. */
73960 #include <math.h>
73961 #ifdef HAVE_IEEEFP_H
73962 #include <ieeefp.h>
73963 #endif
73966 main ()
73968 _isinff(0);
73970 return 0;
73972 _ACEOF
73973 if ac_fn_cxx_try_compile "$LINENO"; then :
73974 glibcxx_cv_func__isinff_use=yes
73975 else
73976 glibcxx_cv_func__isinff_use=no
73978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73979 ac_ext=c
73980 ac_cpp='$CPP $CPPFLAGS'
73981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73990 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73992 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73993 for ac_func in _isinff
73994 do :
73995 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73996 if test "x$ac_cv_func__isinff" = x""yes; then :
73997 cat >>confdefs.h <<_ACEOF
73998 #define HAVE__ISINFF 1
73999 _ACEOF
74002 done
74011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74012 $as_echo_n "checking for atan2f declaration... " >&6; }
74013 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74014 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74015 $as_echo_n "(cached) " >&6
74016 else
74019 ac_ext=cpp
74020 ac_cpp='$CXXCPP $CPPFLAGS'
74021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74026 /* end confdefs.h. */
74027 #include <math.h>
74029 main ()
74031 atan2f(0, 0);
74033 return 0;
74035 _ACEOF
74036 if ac_fn_cxx_try_compile "$LINENO"; then :
74037 glibcxx_cv_func_atan2f_use=yes
74038 else
74039 glibcxx_cv_func_atan2f_use=no
74041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74042 ac_ext=c
74043 ac_cpp='$CPP $CPPFLAGS'
74044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74053 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74055 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74056 for ac_func in atan2f
74057 do :
74058 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74059 if test "x$ac_cv_func_atan2f" = x""yes; then :
74060 cat >>confdefs.h <<_ACEOF
74061 #define HAVE_ATAN2F 1
74062 _ACEOF
74065 done
74067 else
74069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74070 $as_echo_n "checking for _atan2f declaration... " >&6; }
74071 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74072 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74073 $as_echo_n "(cached) " >&6
74074 else
74077 ac_ext=cpp
74078 ac_cpp='$CXXCPP $CPPFLAGS'
74079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74084 /* end confdefs.h. */
74085 #include <math.h>
74087 main ()
74089 _atan2f(0, 0);
74091 return 0;
74093 _ACEOF
74094 if ac_fn_cxx_try_compile "$LINENO"; then :
74095 glibcxx_cv_func__atan2f_use=yes
74096 else
74097 glibcxx_cv_func__atan2f_use=no
74099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74100 ac_ext=c
74101 ac_cpp='$CPP $CPPFLAGS'
74102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74111 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74113 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74114 for ac_func in _atan2f
74115 do :
74116 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74117 if test "x$ac_cv_func__atan2f" = x""yes; then :
74118 cat >>confdefs.h <<_ACEOF
74119 #define HAVE__ATAN2F 1
74120 _ACEOF
74123 done
74132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74133 $as_echo_n "checking for fabsf declaration... " >&6; }
74134 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74135 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74136 $as_echo_n "(cached) " >&6
74137 else
74140 ac_ext=cpp
74141 ac_cpp='$CXXCPP $CPPFLAGS'
74142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74147 /* end confdefs.h. */
74148 #include <math.h>
74149 #ifdef HAVE_IEEEFP_H
74150 #include <ieeefp.h>
74151 #endif
74154 main ()
74156 fabsf(0);
74158 return 0;
74160 _ACEOF
74161 if ac_fn_cxx_try_compile "$LINENO"; then :
74162 glibcxx_cv_func_fabsf_use=yes
74163 else
74164 glibcxx_cv_func_fabsf_use=no
74166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74167 ac_ext=c
74168 ac_cpp='$CPP $CPPFLAGS'
74169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74178 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74180 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74181 for ac_func in fabsf
74182 do :
74183 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74184 if test "x$ac_cv_func_fabsf" = x""yes; then :
74185 cat >>confdefs.h <<_ACEOF
74186 #define HAVE_FABSF 1
74187 _ACEOF
74190 done
74192 else
74194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74195 $as_echo_n "checking for _fabsf declaration... " >&6; }
74196 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74197 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74198 $as_echo_n "(cached) " >&6
74199 else
74202 ac_ext=cpp
74203 ac_cpp='$CXXCPP $CPPFLAGS'
74204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74209 /* end confdefs.h. */
74210 #include <math.h>
74211 #ifdef HAVE_IEEEFP_H
74212 #include <ieeefp.h>
74213 #endif
74216 main ()
74218 _fabsf(0);
74220 return 0;
74222 _ACEOF
74223 if ac_fn_cxx_try_compile "$LINENO"; then :
74224 glibcxx_cv_func__fabsf_use=yes
74225 else
74226 glibcxx_cv_func__fabsf_use=no
74228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74229 ac_ext=c
74230 ac_cpp='$CPP $CPPFLAGS'
74231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74240 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74242 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74243 for ac_func in _fabsf
74244 do :
74245 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74246 if test "x$ac_cv_func__fabsf" = x""yes; then :
74247 cat >>confdefs.h <<_ACEOF
74248 #define HAVE__FABSF 1
74249 _ACEOF
74252 done
74261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74262 $as_echo_n "checking for fmodf declaration... " >&6; }
74263 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74264 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74265 $as_echo_n "(cached) " >&6
74266 else
74269 ac_ext=cpp
74270 ac_cpp='$CXXCPP $CPPFLAGS'
74271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74276 /* end confdefs.h. */
74277 #include <math.h>
74279 main ()
74281 fmodf(0, 0);
74283 return 0;
74285 _ACEOF
74286 if ac_fn_cxx_try_compile "$LINENO"; then :
74287 glibcxx_cv_func_fmodf_use=yes
74288 else
74289 glibcxx_cv_func_fmodf_use=no
74291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74292 ac_ext=c
74293 ac_cpp='$CPP $CPPFLAGS'
74294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74303 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74305 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74306 for ac_func in fmodf
74307 do :
74308 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74309 if test "x$ac_cv_func_fmodf" = x""yes; then :
74310 cat >>confdefs.h <<_ACEOF
74311 #define HAVE_FMODF 1
74312 _ACEOF
74315 done
74317 else
74319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74320 $as_echo_n "checking for _fmodf declaration... " >&6; }
74321 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74322 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74323 $as_echo_n "(cached) " >&6
74324 else
74327 ac_ext=cpp
74328 ac_cpp='$CXXCPP $CPPFLAGS'
74329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74334 /* end confdefs.h. */
74335 #include <math.h>
74337 main ()
74339 _fmodf(0, 0);
74341 return 0;
74343 _ACEOF
74344 if ac_fn_cxx_try_compile "$LINENO"; then :
74345 glibcxx_cv_func__fmodf_use=yes
74346 else
74347 glibcxx_cv_func__fmodf_use=no
74349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74350 ac_ext=c
74351 ac_cpp='$CPP $CPPFLAGS'
74352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74361 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74363 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74364 for ac_func in _fmodf
74365 do :
74366 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74367 if test "x$ac_cv_func__fmodf" = x""yes; then :
74368 cat >>confdefs.h <<_ACEOF
74369 #define HAVE__FMODF 1
74370 _ACEOF
74373 done
74382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74383 $as_echo_n "checking for frexpf declaration... " >&6; }
74384 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74385 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74386 $as_echo_n "(cached) " >&6
74387 else
74390 ac_ext=cpp
74391 ac_cpp='$CXXCPP $CPPFLAGS'
74392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74397 /* end confdefs.h. */
74398 #include <math.h>
74400 main ()
74402 frexpf(0, 0);
74404 return 0;
74406 _ACEOF
74407 if ac_fn_cxx_try_compile "$LINENO"; then :
74408 glibcxx_cv_func_frexpf_use=yes
74409 else
74410 glibcxx_cv_func_frexpf_use=no
74412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74413 ac_ext=c
74414 ac_cpp='$CPP $CPPFLAGS'
74415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74424 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74426 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74427 for ac_func in frexpf
74428 do :
74429 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74430 if test "x$ac_cv_func_frexpf" = x""yes; then :
74431 cat >>confdefs.h <<_ACEOF
74432 #define HAVE_FREXPF 1
74433 _ACEOF
74436 done
74438 else
74440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74441 $as_echo_n "checking for _frexpf declaration... " >&6; }
74442 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74443 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74444 $as_echo_n "(cached) " >&6
74445 else
74448 ac_ext=cpp
74449 ac_cpp='$CXXCPP $CPPFLAGS'
74450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74455 /* end confdefs.h. */
74456 #include <math.h>
74458 main ()
74460 _frexpf(0, 0);
74462 return 0;
74464 _ACEOF
74465 if ac_fn_cxx_try_compile "$LINENO"; then :
74466 glibcxx_cv_func__frexpf_use=yes
74467 else
74468 glibcxx_cv_func__frexpf_use=no
74470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74471 ac_ext=c
74472 ac_cpp='$CPP $CPPFLAGS'
74473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74482 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74484 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74485 for ac_func in _frexpf
74486 do :
74487 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74488 if test "x$ac_cv_func__frexpf" = x""yes; then :
74489 cat >>confdefs.h <<_ACEOF
74490 #define HAVE__FREXPF 1
74491 _ACEOF
74494 done
74503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74504 $as_echo_n "checking for hypotf declaration... " >&6; }
74505 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74506 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74507 $as_echo_n "(cached) " >&6
74508 else
74511 ac_ext=cpp
74512 ac_cpp='$CXXCPP $CPPFLAGS'
74513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74518 /* end confdefs.h. */
74519 #include <math.h>
74521 main ()
74523 hypotf(0, 0);
74525 return 0;
74527 _ACEOF
74528 if ac_fn_cxx_try_compile "$LINENO"; then :
74529 glibcxx_cv_func_hypotf_use=yes
74530 else
74531 glibcxx_cv_func_hypotf_use=no
74533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74534 ac_ext=c
74535 ac_cpp='$CPP $CPPFLAGS'
74536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74545 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74547 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74548 for ac_func in hypotf
74549 do :
74550 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74551 if test "x$ac_cv_func_hypotf" = x""yes; then :
74552 cat >>confdefs.h <<_ACEOF
74553 #define HAVE_HYPOTF 1
74554 _ACEOF
74557 done
74559 else
74561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74562 $as_echo_n "checking for _hypotf declaration... " >&6; }
74563 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74564 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74565 $as_echo_n "(cached) " >&6
74566 else
74569 ac_ext=cpp
74570 ac_cpp='$CXXCPP $CPPFLAGS'
74571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74576 /* end confdefs.h. */
74577 #include <math.h>
74579 main ()
74581 _hypotf(0, 0);
74583 return 0;
74585 _ACEOF
74586 if ac_fn_cxx_try_compile "$LINENO"; then :
74587 glibcxx_cv_func__hypotf_use=yes
74588 else
74589 glibcxx_cv_func__hypotf_use=no
74591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74592 ac_ext=c
74593 ac_cpp='$CPP $CPPFLAGS'
74594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74603 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74605 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74606 for ac_func in _hypotf
74607 do :
74608 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74609 if test "x$ac_cv_func__hypotf" = x""yes; then :
74610 cat >>confdefs.h <<_ACEOF
74611 #define HAVE__HYPOTF 1
74612 _ACEOF
74615 done
74624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74625 $as_echo_n "checking for ldexpf declaration... " >&6; }
74626 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74627 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74628 $as_echo_n "(cached) " >&6
74629 else
74632 ac_ext=cpp
74633 ac_cpp='$CXXCPP $CPPFLAGS'
74634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74639 /* end confdefs.h. */
74640 #include <math.h>
74642 main ()
74644 ldexpf(0, 0);
74646 return 0;
74648 _ACEOF
74649 if ac_fn_cxx_try_compile "$LINENO"; then :
74650 glibcxx_cv_func_ldexpf_use=yes
74651 else
74652 glibcxx_cv_func_ldexpf_use=no
74654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74655 ac_ext=c
74656 ac_cpp='$CPP $CPPFLAGS'
74657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74666 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74668 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74669 for ac_func in ldexpf
74670 do :
74671 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74672 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74673 cat >>confdefs.h <<_ACEOF
74674 #define HAVE_LDEXPF 1
74675 _ACEOF
74678 done
74680 else
74682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74683 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74684 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74685 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74686 $as_echo_n "(cached) " >&6
74687 else
74690 ac_ext=cpp
74691 ac_cpp='$CXXCPP $CPPFLAGS'
74692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74697 /* end confdefs.h. */
74698 #include <math.h>
74700 main ()
74702 _ldexpf(0, 0);
74704 return 0;
74706 _ACEOF
74707 if ac_fn_cxx_try_compile "$LINENO"; then :
74708 glibcxx_cv_func__ldexpf_use=yes
74709 else
74710 glibcxx_cv_func__ldexpf_use=no
74712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74713 ac_ext=c
74714 ac_cpp='$CPP $CPPFLAGS'
74715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74724 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74726 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74727 for ac_func in _ldexpf
74728 do :
74729 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74730 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74731 cat >>confdefs.h <<_ACEOF
74732 #define HAVE__LDEXPF 1
74733 _ACEOF
74736 done
74745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74746 $as_echo_n "checking for logf declaration... " >&6; }
74747 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74748 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74749 $as_echo_n "(cached) " >&6
74750 else
74753 ac_ext=cpp
74754 ac_cpp='$CXXCPP $CPPFLAGS'
74755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74760 /* end confdefs.h. */
74761 #include <math.h>
74762 #ifdef HAVE_IEEEFP_H
74763 #include <ieeefp.h>
74764 #endif
74767 main ()
74769 logf(0);
74771 return 0;
74773 _ACEOF
74774 if ac_fn_cxx_try_compile "$LINENO"; then :
74775 glibcxx_cv_func_logf_use=yes
74776 else
74777 glibcxx_cv_func_logf_use=no
74779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74780 ac_ext=c
74781 ac_cpp='$CPP $CPPFLAGS'
74782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74791 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74793 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74794 for ac_func in logf
74795 do :
74796 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74797 if test "x$ac_cv_func_logf" = x""yes; then :
74798 cat >>confdefs.h <<_ACEOF
74799 #define HAVE_LOGF 1
74800 _ACEOF
74803 done
74805 else
74807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74808 $as_echo_n "checking for _logf declaration... " >&6; }
74809 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74810 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74811 $as_echo_n "(cached) " >&6
74812 else
74815 ac_ext=cpp
74816 ac_cpp='$CXXCPP $CPPFLAGS'
74817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74822 /* end confdefs.h. */
74823 #include <math.h>
74824 #ifdef HAVE_IEEEFP_H
74825 #include <ieeefp.h>
74826 #endif
74829 main ()
74831 _logf(0);
74833 return 0;
74835 _ACEOF
74836 if ac_fn_cxx_try_compile "$LINENO"; then :
74837 glibcxx_cv_func__logf_use=yes
74838 else
74839 glibcxx_cv_func__logf_use=no
74841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74842 ac_ext=c
74843 ac_cpp='$CPP $CPPFLAGS'
74844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74853 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74855 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74856 for ac_func in _logf
74857 do :
74858 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74859 if test "x$ac_cv_func__logf" = x""yes; then :
74860 cat >>confdefs.h <<_ACEOF
74861 #define HAVE__LOGF 1
74862 _ACEOF
74865 done
74874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74875 $as_echo_n "checking for log10f declaration... " >&6; }
74876 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74877 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74878 $as_echo_n "(cached) " >&6
74879 else
74882 ac_ext=cpp
74883 ac_cpp='$CXXCPP $CPPFLAGS'
74884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74889 /* end confdefs.h. */
74890 #include <math.h>
74891 #ifdef HAVE_IEEEFP_H
74892 #include <ieeefp.h>
74893 #endif
74896 main ()
74898 log10f(0);
74900 return 0;
74902 _ACEOF
74903 if ac_fn_cxx_try_compile "$LINENO"; then :
74904 glibcxx_cv_func_log10f_use=yes
74905 else
74906 glibcxx_cv_func_log10f_use=no
74908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74909 ac_ext=c
74910 ac_cpp='$CPP $CPPFLAGS'
74911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74920 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74922 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74923 for ac_func in log10f
74924 do :
74925 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74926 if test "x$ac_cv_func_log10f" = x""yes; then :
74927 cat >>confdefs.h <<_ACEOF
74928 #define HAVE_LOG10F 1
74929 _ACEOF
74932 done
74934 else
74936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74937 $as_echo_n "checking for _log10f declaration... " >&6; }
74938 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74939 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74940 $as_echo_n "(cached) " >&6
74941 else
74944 ac_ext=cpp
74945 ac_cpp='$CXXCPP $CPPFLAGS'
74946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74951 /* end confdefs.h. */
74952 #include <math.h>
74953 #ifdef HAVE_IEEEFP_H
74954 #include <ieeefp.h>
74955 #endif
74958 main ()
74960 _log10f(0);
74962 return 0;
74964 _ACEOF
74965 if ac_fn_cxx_try_compile "$LINENO"; then :
74966 glibcxx_cv_func__log10f_use=yes
74967 else
74968 glibcxx_cv_func__log10f_use=no
74970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74971 ac_ext=c
74972 ac_cpp='$CPP $CPPFLAGS'
74973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74982 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74984 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74985 for ac_func in _log10f
74986 do :
74987 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74988 if test "x$ac_cv_func__log10f" = x""yes; then :
74989 cat >>confdefs.h <<_ACEOF
74990 #define HAVE__LOG10F 1
74991 _ACEOF
74994 done
75003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75004 $as_echo_n "checking for modff declaration... " >&6; }
75005 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75006 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75007 $as_echo_n "(cached) " >&6
75008 else
75011 ac_ext=cpp
75012 ac_cpp='$CXXCPP $CPPFLAGS'
75013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75018 /* end confdefs.h. */
75019 #include <math.h>
75021 main ()
75023 modff(0, 0);
75025 return 0;
75027 _ACEOF
75028 if ac_fn_cxx_try_compile "$LINENO"; then :
75029 glibcxx_cv_func_modff_use=yes
75030 else
75031 glibcxx_cv_func_modff_use=no
75033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75034 ac_ext=c
75035 ac_cpp='$CPP $CPPFLAGS'
75036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75045 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75047 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75048 for ac_func in modff
75049 do :
75050 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75051 if test "x$ac_cv_func_modff" = x""yes; then :
75052 cat >>confdefs.h <<_ACEOF
75053 #define HAVE_MODFF 1
75054 _ACEOF
75057 done
75059 else
75061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75062 $as_echo_n "checking for _modff declaration... " >&6; }
75063 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75064 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75065 $as_echo_n "(cached) " >&6
75066 else
75069 ac_ext=cpp
75070 ac_cpp='$CXXCPP $CPPFLAGS'
75071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75076 /* end confdefs.h. */
75077 #include <math.h>
75079 main ()
75081 _modff(0, 0);
75083 return 0;
75085 _ACEOF
75086 if ac_fn_cxx_try_compile "$LINENO"; then :
75087 glibcxx_cv_func__modff_use=yes
75088 else
75089 glibcxx_cv_func__modff_use=no
75091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75092 ac_ext=c
75093 ac_cpp='$CPP $CPPFLAGS'
75094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75103 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75105 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75106 for ac_func in _modff
75107 do :
75108 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75109 if test "x$ac_cv_func__modff" = x""yes; then :
75110 cat >>confdefs.h <<_ACEOF
75111 #define HAVE__MODFF 1
75112 _ACEOF
75115 done
75124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75125 $as_echo_n "checking for modf declaration... " >&6; }
75126 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75127 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75128 $as_echo_n "(cached) " >&6
75129 else
75132 ac_ext=cpp
75133 ac_cpp='$CXXCPP $CPPFLAGS'
75134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75139 /* end confdefs.h. */
75140 #include <math.h>
75142 main ()
75144 modf(0, 0);
75146 return 0;
75148 _ACEOF
75149 if ac_fn_cxx_try_compile "$LINENO"; then :
75150 glibcxx_cv_func_modf_use=yes
75151 else
75152 glibcxx_cv_func_modf_use=no
75154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75155 ac_ext=c
75156 ac_cpp='$CPP $CPPFLAGS'
75157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75166 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75168 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75169 for ac_func in modf
75170 do :
75171 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75172 if test "x$ac_cv_func_modf" = x""yes; then :
75173 cat >>confdefs.h <<_ACEOF
75174 #define HAVE_MODF 1
75175 _ACEOF
75178 done
75180 else
75182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75183 $as_echo_n "checking for _modf declaration... " >&6; }
75184 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75185 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75186 $as_echo_n "(cached) " >&6
75187 else
75190 ac_ext=cpp
75191 ac_cpp='$CXXCPP $CPPFLAGS'
75192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75197 /* end confdefs.h. */
75198 #include <math.h>
75200 main ()
75202 _modf(0, 0);
75204 return 0;
75206 _ACEOF
75207 if ac_fn_cxx_try_compile "$LINENO"; then :
75208 glibcxx_cv_func__modf_use=yes
75209 else
75210 glibcxx_cv_func__modf_use=no
75212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75213 ac_ext=c
75214 ac_cpp='$CPP $CPPFLAGS'
75215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75224 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75226 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75227 for ac_func in _modf
75228 do :
75229 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75230 if test "x$ac_cv_func__modf" = x""yes; then :
75231 cat >>confdefs.h <<_ACEOF
75232 #define HAVE__MODF 1
75233 _ACEOF
75236 done
75245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75246 $as_echo_n "checking for powf declaration... " >&6; }
75247 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75248 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75249 $as_echo_n "(cached) " >&6
75250 else
75253 ac_ext=cpp
75254 ac_cpp='$CXXCPP $CPPFLAGS'
75255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75260 /* end confdefs.h. */
75261 #include <math.h>
75263 main ()
75265 powf(0, 0);
75267 return 0;
75269 _ACEOF
75270 if ac_fn_cxx_try_compile "$LINENO"; then :
75271 glibcxx_cv_func_powf_use=yes
75272 else
75273 glibcxx_cv_func_powf_use=no
75275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75276 ac_ext=c
75277 ac_cpp='$CPP $CPPFLAGS'
75278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75287 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75289 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75290 for ac_func in powf
75291 do :
75292 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75293 if test "x$ac_cv_func_powf" = x""yes; then :
75294 cat >>confdefs.h <<_ACEOF
75295 #define HAVE_POWF 1
75296 _ACEOF
75299 done
75301 else
75303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75304 $as_echo_n "checking for _powf declaration... " >&6; }
75305 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75306 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75307 $as_echo_n "(cached) " >&6
75308 else
75311 ac_ext=cpp
75312 ac_cpp='$CXXCPP $CPPFLAGS'
75313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75318 /* end confdefs.h. */
75319 #include <math.h>
75321 main ()
75323 _powf(0, 0);
75325 return 0;
75327 _ACEOF
75328 if ac_fn_cxx_try_compile "$LINENO"; then :
75329 glibcxx_cv_func__powf_use=yes
75330 else
75331 glibcxx_cv_func__powf_use=no
75333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75334 ac_ext=c
75335 ac_cpp='$CPP $CPPFLAGS'
75336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75345 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75347 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75348 for ac_func in _powf
75349 do :
75350 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75351 if test "x$ac_cv_func__powf" = x""yes; then :
75352 cat >>confdefs.h <<_ACEOF
75353 #define HAVE__POWF 1
75354 _ACEOF
75357 done
75366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75367 $as_echo_n "checking for sqrtf declaration... " >&6; }
75368 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75369 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75370 $as_echo_n "(cached) " >&6
75371 else
75374 ac_ext=cpp
75375 ac_cpp='$CXXCPP $CPPFLAGS'
75376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75381 /* end confdefs.h. */
75382 #include <math.h>
75383 #ifdef HAVE_IEEEFP_H
75384 #include <ieeefp.h>
75385 #endif
75388 main ()
75390 sqrtf(0);
75392 return 0;
75394 _ACEOF
75395 if ac_fn_cxx_try_compile "$LINENO"; then :
75396 glibcxx_cv_func_sqrtf_use=yes
75397 else
75398 glibcxx_cv_func_sqrtf_use=no
75400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75401 ac_ext=c
75402 ac_cpp='$CPP $CPPFLAGS'
75403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75412 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75414 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75415 for ac_func in sqrtf
75416 do :
75417 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75418 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75419 cat >>confdefs.h <<_ACEOF
75420 #define HAVE_SQRTF 1
75421 _ACEOF
75424 done
75426 else
75428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75429 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75430 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75431 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75432 $as_echo_n "(cached) " >&6
75433 else
75436 ac_ext=cpp
75437 ac_cpp='$CXXCPP $CPPFLAGS'
75438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75443 /* end confdefs.h. */
75444 #include <math.h>
75445 #ifdef HAVE_IEEEFP_H
75446 #include <ieeefp.h>
75447 #endif
75450 main ()
75452 _sqrtf(0);
75454 return 0;
75456 _ACEOF
75457 if ac_fn_cxx_try_compile "$LINENO"; then :
75458 glibcxx_cv_func__sqrtf_use=yes
75459 else
75460 glibcxx_cv_func__sqrtf_use=no
75462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75463 ac_ext=c
75464 ac_cpp='$CPP $CPPFLAGS'
75465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75474 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75476 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75477 for ac_func in _sqrtf
75478 do :
75479 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75480 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75481 cat >>confdefs.h <<_ACEOF
75482 #define HAVE__SQRTF 1
75483 _ACEOF
75486 done
75495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75496 $as_echo_n "checking for sincosf declaration... " >&6; }
75497 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75498 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75499 $as_echo_n "(cached) " >&6
75500 else
75503 ac_ext=cpp
75504 ac_cpp='$CXXCPP $CPPFLAGS'
75505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75510 /* end confdefs.h. */
75511 #include <math.h>
75513 main ()
75515 sincosf(0, 0, 0);
75517 return 0;
75519 _ACEOF
75520 if ac_fn_cxx_try_compile "$LINENO"; then :
75521 glibcxx_cv_func_sincosf_use=yes
75522 else
75523 glibcxx_cv_func_sincosf_use=no
75525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75526 ac_ext=c
75527 ac_cpp='$CPP $CPPFLAGS'
75528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75537 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75539 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75540 for ac_func in sincosf
75541 do :
75542 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75543 if test "x$ac_cv_func_sincosf" = x""yes; then :
75544 cat >>confdefs.h <<_ACEOF
75545 #define HAVE_SINCOSF 1
75546 _ACEOF
75549 done
75551 else
75553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75554 $as_echo_n "checking for _sincosf declaration... " >&6; }
75555 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75556 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75557 $as_echo_n "(cached) " >&6
75558 else
75561 ac_ext=cpp
75562 ac_cpp='$CXXCPP $CPPFLAGS'
75563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75568 /* end confdefs.h. */
75569 #include <math.h>
75571 main ()
75573 _sincosf(0, 0, 0);
75575 return 0;
75577 _ACEOF
75578 if ac_fn_cxx_try_compile "$LINENO"; then :
75579 glibcxx_cv_func__sincosf_use=yes
75580 else
75581 glibcxx_cv_func__sincosf_use=no
75583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75584 ac_ext=c
75585 ac_cpp='$CPP $CPPFLAGS'
75586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75595 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75597 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75598 for ac_func in _sincosf
75599 do :
75600 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75601 if test "x$ac_cv_func__sincosf" = x""yes; then :
75602 cat >>confdefs.h <<_ACEOF
75603 #define HAVE__SINCOSF 1
75604 _ACEOF
75607 done
75616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75617 $as_echo_n "checking for finitef declaration... " >&6; }
75618 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75619 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75620 $as_echo_n "(cached) " >&6
75621 else
75624 ac_ext=cpp
75625 ac_cpp='$CXXCPP $CPPFLAGS'
75626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75631 /* end confdefs.h. */
75632 #include <math.h>
75633 #ifdef HAVE_IEEEFP_H
75634 #include <ieeefp.h>
75635 #endif
75638 main ()
75640 finitef(0);
75642 return 0;
75644 _ACEOF
75645 if ac_fn_cxx_try_compile "$LINENO"; then :
75646 glibcxx_cv_func_finitef_use=yes
75647 else
75648 glibcxx_cv_func_finitef_use=no
75650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75651 ac_ext=c
75652 ac_cpp='$CPP $CPPFLAGS'
75653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75662 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75664 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75665 for ac_func in finitef
75666 do :
75667 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75668 if test "x$ac_cv_func_finitef" = x""yes; then :
75669 cat >>confdefs.h <<_ACEOF
75670 #define HAVE_FINITEF 1
75671 _ACEOF
75674 done
75676 else
75678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75679 $as_echo_n "checking for _finitef declaration... " >&6; }
75680 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75681 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75682 $as_echo_n "(cached) " >&6
75683 else
75686 ac_ext=cpp
75687 ac_cpp='$CXXCPP $CPPFLAGS'
75688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75693 /* end confdefs.h. */
75694 #include <math.h>
75695 #ifdef HAVE_IEEEFP_H
75696 #include <ieeefp.h>
75697 #endif
75700 main ()
75702 _finitef(0);
75704 return 0;
75706 _ACEOF
75707 if ac_fn_cxx_try_compile "$LINENO"; then :
75708 glibcxx_cv_func__finitef_use=yes
75709 else
75710 glibcxx_cv_func__finitef_use=no
75712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75713 ac_ext=c
75714 ac_cpp='$CPP $CPPFLAGS'
75715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75724 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75726 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75727 for ac_func in _finitef
75728 do :
75729 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75730 if test "x$ac_cv_func__finitef" = x""yes; then :
75731 cat >>confdefs.h <<_ACEOF
75732 #define HAVE__FINITEF 1
75733 _ACEOF
75736 done
75745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75746 $as_echo_n "checking for long double trig functions... " >&6; }
75747 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75748 $as_echo_n "(cached) " >&6
75749 else
75752 ac_ext=cpp
75753 ac_cpp='$CXXCPP $CPPFLAGS'
75754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75759 /* end confdefs.h. */
75760 #include <math.h>
75762 main ()
75764 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75766 return 0;
75768 _ACEOF
75769 if ac_fn_cxx_try_compile "$LINENO"; then :
75770 glibcxx_cv_func_long_double_trig_use=yes
75771 else
75772 glibcxx_cv_func_long_double_trig_use=no
75774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75775 ac_ext=c
75776 ac_cpp='$CPP $CPPFLAGS'
75777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75784 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75785 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75786 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75787 do :
75788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75790 eval as_val=\$$as_ac_var
75791 if test "x$as_val" = x""yes; then :
75792 cat >>confdefs.h <<_ACEOF
75793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75794 _ACEOF
75797 done
75799 else
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75801 $as_echo_n "checking for _long double trig functions... " >&6; }
75802 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75803 $as_echo_n "(cached) " >&6
75804 else
75807 ac_ext=cpp
75808 ac_cpp='$CXXCPP $CPPFLAGS'
75809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75814 /* end confdefs.h. */
75815 #include <math.h>
75817 main ()
75819 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75821 return 0;
75823 _ACEOF
75824 if ac_fn_cxx_try_compile "$LINENO"; then :
75825 glibcxx_cv_func__long_double_trig_use=yes
75826 else
75827 glibcxx_cv_func__long_double_trig_use=no
75829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75830 ac_ext=c
75831 ac_cpp='$CPP $CPPFLAGS'
75832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75839 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75840 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75841 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75842 do :
75843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75845 eval as_val=\$$as_ac_var
75846 if test "x$as_val" = x""yes; then :
75847 cat >>confdefs.h <<_ACEOF
75848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75849 _ACEOF
75852 done
75861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75862 $as_echo_n "checking for long double round functions... " >&6; }
75863 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75864 $as_echo_n "(cached) " >&6
75865 else
75868 ac_ext=cpp
75869 ac_cpp='$CXXCPP $CPPFLAGS'
75870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75875 /* end confdefs.h. */
75876 #include <math.h>
75878 main ()
75880 ceill (0); floorl (0);
75882 return 0;
75884 _ACEOF
75885 if ac_fn_cxx_try_compile "$LINENO"; then :
75886 glibcxx_cv_func_long_double_round_use=yes
75887 else
75888 glibcxx_cv_func_long_double_round_use=no
75890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75891 ac_ext=c
75892 ac_cpp='$CPP $CPPFLAGS'
75893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75900 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75901 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75902 for ac_func in ceill floorl
75903 do :
75904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75906 eval as_val=\$$as_ac_var
75907 if test "x$as_val" = x""yes; then :
75908 cat >>confdefs.h <<_ACEOF
75909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75910 _ACEOF
75913 done
75915 else
75916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75917 $as_echo_n "checking for _long double round functions... " >&6; }
75918 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75919 $as_echo_n "(cached) " >&6
75920 else
75923 ac_ext=cpp
75924 ac_cpp='$CXXCPP $CPPFLAGS'
75925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75930 /* end confdefs.h. */
75931 #include <math.h>
75933 main ()
75935 _ceill (0); _floorl (0);
75937 return 0;
75939 _ACEOF
75940 if ac_fn_cxx_try_compile "$LINENO"; then :
75941 glibcxx_cv_func__long_double_round_use=yes
75942 else
75943 glibcxx_cv_func__long_double_round_use=no
75945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75946 ac_ext=c
75947 ac_cpp='$CPP $CPPFLAGS'
75948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75955 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75956 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75957 for ac_func in _ceill _floorl
75958 do :
75959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75961 eval as_val=\$$as_ac_var
75962 if test "x$as_val" = x""yes; then :
75963 cat >>confdefs.h <<_ACEOF
75964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75965 _ACEOF
75968 done
75978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75979 $as_echo_n "checking for isnanl declaration... " >&6; }
75980 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75981 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75982 $as_echo_n "(cached) " >&6
75983 else
75986 ac_ext=cpp
75987 ac_cpp='$CXXCPP $CPPFLAGS'
75988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75993 /* end confdefs.h. */
75994 #include <math.h>
75995 #ifdef HAVE_IEEEFP_H
75996 #include <ieeefp.h>
75997 #endif
76000 main ()
76002 isnanl(0);
76004 return 0;
76006 _ACEOF
76007 if ac_fn_cxx_try_compile "$LINENO"; then :
76008 glibcxx_cv_func_isnanl_use=yes
76009 else
76010 glibcxx_cv_func_isnanl_use=no
76012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76013 ac_ext=c
76014 ac_cpp='$CPP $CPPFLAGS'
76015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76024 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76026 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76027 for ac_func in isnanl
76028 do :
76029 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76030 if test "x$ac_cv_func_isnanl" = x""yes; then :
76031 cat >>confdefs.h <<_ACEOF
76032 #define HAVE_ISNANL 1
76033 _ACEOF
76036 done
76038 else
76040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76041 $as_echo_n "checking for _isnanl declaration... " >&6; }
76042 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76043 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76044 $as_echo_n "(cached) " >&6
76045 else
76048 ac_ext=cpp
76049 ac_cpp='$CXXCPP $CPPFLAGS'
76050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76055 /* end confdefs.h. */
76056 #include <math.h>
76057 #ifdef HAVE_IEEEFP_H
76058 #include <ieeefp.h>
76059 #endif
76062 main ()
76064 _isnanl(0);
76066 return 0;
76068 _ACEOF
76069 if ac_fn_cxx_try_compile "$LINENO"; then :
76070 glibcxx_cv_func__isnanl_use=yes
76071 else
76072 glibcxx_cv_func__isnanl_use=no
76074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76075 ac_ext=c
76076 ac_cpp='$CPP $CPPFLAGS'
76077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76086 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76088 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76089 for ac_func in _isnanl
76090 do :
76091 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76092 if test "x$ac_cv_func__isnanl" = x""yes; then :
76093 cat >>confdefs.h <<_ACEOF
76094 #define HAVE__ISNANL 1
76095 _ACEOF
76098 done
76107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76108 $as_echo_n "checking for isinfl declaration... " >&6; }
76109 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76110 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76111 $as_echo_n "(cached) " >&6
76112 else
76115 ac_ext=cpp
76116 ac_cpp='$CXXCPP $CPPFLAGS'
76117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76122 /* end confdefs.h. */
76123 #include <math.h>
76124 #ifdef HAVE_IEEEFP_H
76125 #include <ieeefp.h>
76126 #endif
76129 main ()
76131 isinfl(0);
76133 return 0;
76135 _ACEOF
76136 if ac_fn_cxx_try_compile "$LINENO"; then :
76137 glibcxx_cv_func_isinfl_use=yes
76138 else
76139 glibcxx_cv_func_isinfl_use=no
76141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76142 ac_ext=c
76143 ac_cpp='$CPP $CPPFLAGS'
76144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76153 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76155 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76156 for ac_func in isinfl
76157 do :
76158 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76159 if test "x$ac_cv_func_isinfl" = x""yes; then :
76160 cat >>confdefs.h <<_ACEOF
76161 #define HAVE_ISINFL 1
76162 _ACEOF
76165 done
76167 else
76169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76170 $as_echo_n "checking for _isinfl declaration... " >&6; }
76171 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76172 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76173 $as_echo_n "(cached) " >&6
76174 else
76177 ac_ext=cpp
76178 ac_cpp='$CXXCPP $CPPFLAGS'
76179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76184 /* end confdefs.h. */
76185 #include <math.h>
76186 #ifdef HAVE_IEEEFP_H
76187 #include <ieeefp.h>
76188 #endif
76191 main ()
76193 _isinfl(0);
76195 return 0;
76197 _ACEOF
76198 if ac_fn_cxx_try_compile "$LINENO"; then :
76199 glibcxx_cv_func__isinfl_use=yes
76200 else
76201 glibcxx_cv_func__isinfl_use=no
76203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76204 ac_ext=c
76205 ac_cpp='$CPP $CPPFLAGS'
76206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76215 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76217 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76218 for ac_func in _isinfl
76219 do :
76220 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76221 if test "x$ac_cv_func__isinfl" = x""yes; then :
76222 cat >>confdefs.h <<_ACEOF
76223 #define HAVE__ISINFL 1
76224 _ACEOF
76227 done
76236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76237 $as_echo_n "checking for atan2l declaration... " >&6; }
76238 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76239 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76240 $as_echo_n "(cached) " >&6
76241 else
76244 ac_ext=cpp
76245 ac_cpp='$CXXCPP $CPPFLAGS'
76246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76251 /* end confdefs.h. */
76252 #include <math.h>
76254 main ()
76256 atan2l(0, 0);
76258 return 0;
76260 _ACEOF
76261 if ac_fn_cxx_try_compile "$LINENO"; then :
76262 glibcxx_cv_func_atan2l_use=yes
76263 else
76264 glibcxx_cv_func_atan2l_use=no
76266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76267 ac_ext=c
76268 ac_cpp='$CPP $CPPFLAGS'
76269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76278 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76280 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76281 for ac_func in atan2l
76282 do :
76283 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76284 if test "x$ac_cv_func_atan2l" = x""yes; then :
76285 cat >>confdefs.h <<_ACEOF
76286 #define HAVE_ATAN2L 1
76287 _ACEOF
76290 done
76292 else
76294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76295 $as_echo_n "checking for _atan2l declaration... " >&6; }
76296 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76297 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76298 $as_echo_n "(cached) " >&6
76299 else
76302 ac_ext=cpp
76303 ac_cpp='$CXXCPP $CPPFLAGS'
76304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76309 /* end confdefs.h. */
76310 #include <math.h>
76312 main ()
76314 _atan2l(0, 0);
76316 return 0;
76318 _ACEOF
76319 if ac_fn_cxx_try_compile "$LINENO"; then :
76320 glibcxx_cv_func__atan2l_use=yes
76321 else
76322 glibcxx_cv_func__atan2l_use=no
76324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76325 ac_ext=c
76326 ac_cpp='$CPP $CPPFLAGS'
76327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76336 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76338 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76339 for ac_func in _atan2l
76340 do :
76341 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76342 if test "x$ac_cv_func__atan2l" = x""yes; then :
76343 cat >>confdefs.h <<_ACEOF
76344 #define HAVE__ATAN2L 1
76345 _ACEOF
76348 done
76357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76358 $as_echo_n "checking for expl declaration... " >&6; }
76359 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76360 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76361 $as_echo_n "(cached) " >&6
76362 else
76365 ac_ext=cpp
76366 ac_cpp='$CXXCPP $CPPFLAGS'
76367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76372 /* end confdefs.h. */
76373 #include <math.h>
76374 #ifdef HAVE_IEEEFP_H
76375 #include <ieeefp.h>
76376 #endif
76379 main ()
76381 expl(0);
76383 return 0;
76385 _ACEOF
76386 if ac_fn_cxx_try_compile "$LINENO"; then :
76387 glibcxx_cv_func_expl_use=yes
76388 else
76389 glibcxx_cv_func_expl_use=no
76391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76392 ac_ext=c
76393 ac_cpp='$CPP $CPPFLAGS'
76394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76403 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76405 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76406 for ac_func in expl
76407 do :
76408 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76409 if test "x$ac_cv_func_expl" = x""yes; then :
76410 cat >>confdefs.h <<_ACEOF
76411 #define HAVE_EXPL 1
76412 _ACEOF
76415 done
76417 else
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76420 $as_echo_n "checking for _expl declaration... " >&6; }
76421 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76422 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76423 $as_echo_n "(cached) " >&6
76424 else
76427 ac_ext=cpp
76428 ac_cpp='$CXXCPP $CPPFLAGS'
76429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76434 /* end confdefs.h. */
76435 #include <math.h>
76436 #ifdef HAVE_IEEEFP_H
76437 #include <ieeefp.h>
76438 #endif
76441 main ()
76443 _expl(0);
76445 return 0;
76447 _ACEOF
76448 if ac_fn_cxx_try_compile "$LINENO"; then :
76449 glibcxx_cv_func__expl_use=yes
76450 else
76451 glibcxx_cv_func__expl_use=no
76453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76454 ac_ext=c
76455 ac_cpp='$CPP $CPPFLAGS'
76456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76465 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76467 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76468 for ac_func in _expl
76469 do :
76470 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76471 if test "x$ac_cv_func__expl" = x""yes; then :
76472 cat >>confdefs.h <<_ACEOF
76473 #define HAVE__EXPL 1
76474 _ACEOF
76477 done
76486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76487 $as_echo_n "checking for fabsl declaration... " >&6; }
76488 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76489 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76490 $as_echo_n "(cached) " >&6
76491 else
76494 ac_ext=cpp
76495 ac_cpp='$CXXCPP $CPPFLAGS'
76496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76501 /* end confdefs.h. */
76502 #include <math.h>
76503 #ifdef HAVE_IEEEFP_H
76504 #include <ieeefp.h>
76505 #endif
76508 main ()
76510 fabsl(0);
76512 return 0;
76514 _ACEOF
76515 if ac_fn_cxx_try_compile "$LINENO"; then :
76516 glibcxx_cv_func_fabsl_use=yes
76517 else
76518 glibcxx_cv_func_fabsl_use=no
76520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76521 ac_ext=c
76522 ac_cpp='$CPP $CPPFLAGS'
76523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76532 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76534 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76535 for ac_func in fabsl
76536 do :
76537 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76538 if test "x$ac_cv_func_fabsl" = x""yes; then :
76539 cat >>confdefs.h <<_ACEOF
76540 #define HAVE_FABSL 1
76541 _ACEOF
76544 done
76546 else
76548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76549 $as_echo_n "checking for _fabsl declaration... " >&6; }
76550 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76551 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76552 $as_echo_n "(cached) " >&6
76553 else
76556 ac_ext=cpp
76557 ac_cpp='$CXXCPP $CPPFLAGS'
76558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76563 /* end confdefs.h. */
76564 #include <math.h>
76565 #ifdef HAVE_IEEEFP_H
76566 #include <ieeefp.h>
76567 #endif
76570 main ()
76572 _fabsl(0);
76574 return 0;
76576 _ACEOF
76577 if ac_fn_cxx_try_compile "$LINENO"; then :
76578 glibcxx_cv_func__fabsl_use=yes
76579 else
76580 glibcxx_cv_func__fabsl_use=no
76582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76583 ac_ext=c
76584 ac_cpp='$CPP $CPPFLAGS'
76585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76594 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76596 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76597 for ac_func in _fabsl
76598 do :
76599 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76600 if test "x$ac_cv_func__fabsl" = x""yes; then :
76601 cat >>confdefs.h <<_ACEOF
76602 #define HAVE__FABSL 1
76603 _ACEOF
76606 done
76615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76616 $as_echo_n "checking for fmodl declaration... " >&6; }
76617 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76618 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76619 $as_echo_n "(cached) " >&6
76620 else
76623 ac_ext=cpp
76624 ac_cpp='$CXXCPP $CPPFLAGS'
76625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76630 /* end confdefs.h. */
76631 #include <math.h>
76633 main ()
76635 fmodl(0, 0);
76637 return 0;
76639 _ACEOF
76640 if ac_fn_cxx_try_compile "$LINENO"; then :
76641 glibcxx_cv_func_fmodl_use=yes
76642 else
76643 glibcxx_cv_func_fmodl_use=no
76645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76646 ac_ext=c
76647 ac_cpp='$CPP $CPPFLAGS'
76648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76657 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76659 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76660 for ac_func in fmodl
76661 do :
76662 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76663 if test "x$ac_cv_func_fmodl" = x""yes; then :
76664 cat >>confdefs.h <<_ACEOF
76665 #define HAVE_FMODL 1
76666 _ACEOF
76669 done
76671 else
76673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76674 $as_echo_n "checking for _fmodl declaration... " >&6; }
76675 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76676 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76677 $as_echo_n "(cached) " >&6
76678 else
76681 ac_ext=cpp
76682 ac_cpp='$CXXCPP $CPPFLAGS'
76683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76688 /* end confdefs.h. */
76689 #include <math.h>
76691 main ()
76693 _fmodl(0, 0);
76695 return 0;
76697 _ACEOF
76698 if ac_fn_cxx_try_compile "$LINENO"; then :
76699 glibcxx_cv_func__fmodl_use=yes
76700 else
76701 glibcxx_cv_func__fmodl_use=no
76703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76704 ac_ext=c
76705 ac_cpp='$CPP $CPPFLAGS'
76706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76715 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76717 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76718 for ac_func in _fmodl
76719 do :
76720 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76721 if test "x$ac_cv_func__fmodl" = x""yes; then :
76722 cat >>confdefs.h <<_ACEOF
76723 #define HAVE__FMODL 1
76724 _ACEOF
76727 done
76736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76737 $as_echo_n "checking for frexpl declaration... " >&6; }
76738 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76739 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76740 $as_echo_n "(cached) " >&6
76741 else
76744 ac_ext=cpp
76745 ac_cpp='$CXXCPP $CPPFLAGS'
76746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76751 /* end confdefs.h. */
76752 #include <math.h>
76754 main ()
76756 frexpl(0, 0);
76758 return 0;
76760 _ACEOF
76761 if ac_fn_cxx_try_compile "$LINENO"; then :
76762 glibcxx_cv_func_frexpl_use=yes
76763 else
76764 glibcxx_cv_func_frexpl_use=no
76766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76767 ac_ext=c
76768 ac_cpp='$CPP $CPPFLAGS'
76769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76778 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76780 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76781 for ac_func in frexpl
76782 do :
76783 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76784 if test "x$ac_cv_func_frexpl" = x""yes; then :
76785 cat >>confdefs.h <<_ACEOF
76786 #define HAVE_FREXPL 1
76787 _ACEOF
76790 done
76792 else
76794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76795 $as_echo_n "checking for _frexpl declaration... " >&6; }
76796 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76797 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76798 $as_echo_n "(cached) " >&6
76799 else
76802 ac_ext=cpp
76803 ac_cpp='$CXXCPP $CPPFLAGS'
76804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76809 /* end confdefs.h. */
76810 #include <math.h>
76812 main ()
76814 _frexpl(0, 0);
76816 return 0;
76818 _ACEOF
76819 if ac_fn_cxx_try_compile "$LINENO"; then :
76820 glibcxx_cv_func__frexpl_use=yes
76821 else
76822 glibcxx_cv_func__frexpl_use=no
76824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76825 ac_ext=c
76826 ac_cpp='$CPP $CPPFLAGS'
76827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76836 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76838 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76839 for ac_func in _frexpl
76840 do :
76841 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76842 if test "x$ac_cv_func__frexpl" = x""yes; then :
76843 cat >>confdefs.h <<_ACEOF
76844 #define HAVE__FREXPL 1
76845 _ACEOF
76848 done
76857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76858 $as_echo_n "checking for hypotl declaration... " >&6; }
76859 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76860 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76861 $as_echo_n "(cached) " >&6
76862 else
76865 ac_ext=cpp
76866 ac_cpp='$CXXCPP $CPPFLAGS'
76867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76872 /* end confdefs.h. */
76873 #include <math.h>
76875 main ()
76877 hypotl(0, 0);
76879 return 0;
76881 _ACEOF
76882 if ac_fn_cxx_try_compile "$LINENO"; then :
76883 glibcxx_cv_func_hypotl_use=yes
76884 else
76885 glibcxx_cv_func_hypotl_use=no
76887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76888 ac_ext=c
76889 ac_cpp='$CPP $CPPFLAGS'
76890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76899 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76901 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76902 for ac_func in hypotl
76903 do :
76904 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76905 if test "x$ac_cv_func_hypotl" = x""yes; then :
76906 cat >>confdefs.h <<_ACEOF
76907 #define HAVE_HYPOTL 1
76908 _ACEOF
76911 done
76913 else
76915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76916 $as_echo_n "checking for _hypotl declaration... " >&6; }
76917 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76918 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76919 $as_echo_n "(cached) " >&6
76920 else
76923 ac_ext=cpp
76924 ac_cpp='$CXXCPP $CPPFLAGS'
76925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76930 /* end confdefs.h. */
76931 #include <math.h>
76933 main ()
76935 _hypotl(0, 0);
76937 return 0;
76939 _ACEOF
76940 if ac_fn_cxx_try_compile "$LINENO"; then :
76941 glibcxx_cv_func__hypotl_use=yes
76942 else
76943 glibcxx_cv_func__hypotl_use=no
76945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76946 ac_ext=c
76947 ac_cpp='$CPP $CPPFLAGS'
76948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76957 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76959 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76960 for ac_func in _hypotl
76961 do :
76962 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76963 if test "x$ac_cv_func__hypotl" = x""yes; then :
76964 cat >>confdefs.h <<_ACEOF
76965 #define HAVE__HYPOTL 1
76966 _ACEOF
76969 done
76978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76979 $as_echo_n "checking for ldexpl declaration... " >&6; }
76980 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76981 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76982 $as_echo_n "(cached) " >&6
76983 else
76986 ac_ext=cpp
76987 ac_cpp='$CXXCPP $CPPFLAGS'
76988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76993 /* end confdefs.h. */
76994 #include <math.h>
76996 main ()
76998 ldexpl(0, 0);
77000 return 0;
77002 _ACEOF
77003 if ac_fn_cxx_try_compile "$LINENO"; then :
77004 glibcxx_cv_func_ldexpl_use=yes
77005 else
77006 glibcxx_cv_func_ldexpl_use=no
77008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77009 ac_ext=c
77010 ac_cpp='$CPP $CPPFLAGS'
77011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77020 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77022 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77023 for ac_func in ldexpl
77024 do :
77025 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77026 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77027 cat >>confdefs.h <<_ACEOF
77028 #define HAVE_LDEXPL 1
77029 _ACEOF
77032 done
77034 else
77036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77037 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77038 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77039 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77040 $as_echo_n "(cached) " >&6
77041 else
77044 ac_ext=cpp
77045 ac_cpp='$CXXCPP $CPPFLAGS'
77046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77051 /* end confdefs.h. */
77052 #include <math.h>
77054 main ()
77056 _ldexpl(0, 0);
77058 return 0;
77060 _ACEOF
77061 if ac_fn_cxx_try_compile "$LINENO"; then :
77062 glibcxx_cv_func__ldexpl_use=yes
77063 else
77064 glibcxx_cv_func__ldexpl_use=no
77066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77067 ac_ext=c
77068 ac_cpp='$CPP $CPPFLAGS'
77069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77078 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77080 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77081 for ac_func in _ldexpl
77082 do :
77083 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77084 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77085 cat >>confdefs.h <<_ACEOF
77086 #define HAVE__LDEXPL 1
77087 _ACEOF
77090 done
77099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77100 $as_echo_n "checking for logl declaration... " >&6; }
77101 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77102 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77103 $as_echo_n "(cached) " >&6
77104 else
77107 ac_ext=cpp
77108 ac_cpp='$CXXCPP $CPPFLAGS'
77109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77114 /* end confdefs.h. */
77115 #include <math.h>
77116 #ifdef HAVE_IEEEFP_H
77117 #include <ieeefp.h>
77118 #endif
77121 main ()
77123 logl(0);
77125 return 0;
77127 _ACEOF
77128 if ac_fn_cxx_try_compile "$LINENO"; then :
77129 glibcxx_cv_func_logl_use=yes
77130 else
77131 glibcxx_cv_func_logl_use=no
77133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77134 ac_ext=c
77135 ac_cpp='$CPP $CPPFLAGS'
77136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77145 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77147 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77148 for ac_func in logl
77149 do :
77150 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77151 if test "x$ac_cv_func_logl" = x""yes; then :
77152 cat >>confdefs.h <<_ACEOF
77153 #define HAVE_LOGL 1
77154 _ACEOF
77157 done
77159 else
77161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77162 $as_echo_n "checking for _logl declaration... " >&6; }
77163 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77164 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77165 $as_echo_n "(cached) " >&6
77166 else
77169 ac_ext=cpp
77170 ac_cpp='$CXXCPP $CPPFLAGS'
77171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77176 /* end confdefs.h. */
77177 #include <math.h>
77178 #ifdef HAVE_IEEEFP_H
77179 #include <ieeefp.h>
77180 #endif
77183 main ()
77185 _logl(0);
77187 return 0;
77189 _ACEOF
77190 if ac_fn_cxx_try_compile "$LINENO"; then :
77191 glibcxx_cv_func__logl_use=yes
77192 else
77193 glibcxx_cv_func__logl_use=no
77195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77196 ac_ext=c
77197 ac_cpp='$CPP $CPPFLAGS'
77198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77207 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77209 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77210 for ac_func in _logl
77211 do :
77212 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77213 if test "x$ac_cv_func__logl" = x""yes; then :
77214 cat >>confdefs.h <<_ACEOF
77215 #define HAVE__LOGL 1
77216 _ACEOF
77219 done
77228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77229 $as_echo_n "checking for log10l declaration... " >&6; }
77230 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77231 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77232 $as_echo_n "(cached) " >&6
77233 else
77236 ac_ext=cpp
77237 ac_cpp='$CXXCPP $CPPFLAGS'
77238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77243 /* end confdefs.h. */
77244 #include <math.h>
77245 #ifdef HAVE_IEEEFP_H
77246 #include <ieeefp.h>
77247 #endif
77250 main ()
77252 log10l(0);
77254 return 0;
77256 _ACEOF
77257 if ac_fn_cxx_try_compile "$LINENO"; then :
77258 glibcxx_cv_func_log10l_use=yes
77259 else
77260 glibcxx_cv_func_log10l_use=no
77262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77263 ac_ext=c
77264 ac_cpp='$CPP $CPPFLAGS'
77265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77274 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77276 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77277 for ac_func in log10l
77278 do :
77279 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77280 if test "x$ac_cv_func_log10l" = x""yes; then :
77281 cat >>confdefs.h <<_ACEOF
77282 #define HAVE_LOG10L 1
77283 _ACEOF
77286 done
77288 else
77290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77291 $as_echo_n "checking for _log10l declaration... " >&6; }
77292 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77293 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77294 $as_echo_n "(cached) " >&6
77295 else
77298 ac_ext=cpp
77299 ac_cpp='$CXXCPP $CPPFLAGS'
77300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77305 /* end confdefs.h. */
77306 #include <math.h>
77307 #ifdef HAVE_IEEEFP_H
77308 #include <ieeefp.h>
77309 #endif
77312 main ()
77314 _log10l(0);
77316 return 0;
77318 _ACEOF
77319 if ac_fn_cxx_try_compile "$LINENO"; then :
77320 glibcxx_cv_func__log10l_use=yes
77321 else
77322 glibcxx_cv_func__log10l_use=no
77324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77325 ac_ext=c
77326 ac_cpp='$CPP $CPPFLAGS'
77327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77336 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77338 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77339 for ac_func in _log10l
77340 do :
77341 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77342 if test "x$ac_cv_func__log10l" = x""yes; then :
77343 cat >>confdefs.h <<_ACEOF
77344 #define HAVE__LOG10L 1
77345 _ACEOF
77348 done
77357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77358 $as_echo_n "checking for modfl declaration... " >&6; }
77359 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77360 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77361 $as_echo_n "(cached) " >&6
77362 else
77365 ac_ext=cpp
77366 ac_cpp='$CXXCPP $CPPFLAGS'
77367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77372 /* end confdefs.h. */
77373 #include <math.h>
77375 main ()
77377 modfl(0, 0);
77379 return 0;
77381 _ACEOF
77382 if ac_fn_cxx_try_compile "$LINENO"; then :
77383 glibcxx_cv_func_modfl_use=yes
77384 else
77385 glibcxx_cv_func_modfl_use=no
77387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77388 ac_ext=c
77389 ac_cpp='$CPP $CPPFLAGS'
77390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77399 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77401 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77402 for ac_func in modfl
77403 do :
77404 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77405 if test "x$ac_cv_func_modfl" = x""yes; then :
77406 cat >>confdefs.h <<_ACEOF
77407 #define HAVE_MODFL 1
77408 _ACEOF
77411 done
77413 else
77415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77416 $as_echo_n "checking for _modfl declaration... " >&6; }
77417 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77418 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77419 $as_echo_n "(cached) " >&6
77420 else
77423 ac_ext=cpp
77424 ac_cpp='$CXXCPP $CPPFLAGS'
77425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77430 /* end confdefs.h. */
77431 #include <math.h>
77433 main ()
77435 _modfl(0, 0);
77437 return 0;
77439 _ACEOF
77440 if ac_fn_cxx_try_compile "$LINENO"; then :
77441 glibcxx_cv_func__modfl_use=yes
77442 else
77443 glibcxx_cv_func__modfl_use=no
77445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77446 ac_ext=c
77447 ac_cpp='$CPP $CPPFLAGS'
77448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77457 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77459 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77460 for ac_func in _modfl
77461 do :
77462 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77463 if test "x$ac_cv_func__modfl" = x""yes; then :
77464 cat >>confdefs.h <<_ACEOF
77465 #define HAVE__MODFL 1
77466 _ACEOF
77469 done
77478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77479 $as_echo_n "checking for powl declaration... " >&6; }
77480 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77481 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77482 $as_echo_n "(cached) " >&6
77483 else
77486 ac_ext=cpp
77487 ac_cpp='$CXXCPP $CPPFLAGS'
77488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77493 /* end confdefs.h. */
77494 #include <math.h>
77496 main ()
77498 powl(0, 0);
77500 return 0;
77502 _ACEOF
77503 if ac_fn_cxx_try_compile "$LINENO"; then :
77504 glibcxx_cv_func_powl_use=yes
77505 else
77506 glibcxx_cv_func_powl_use=no
77508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77509 ac_ext=c
77510 ac_cpp='$CPP $CPPFLAGS'
77511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77520 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77522 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77523 for ac_func in powl
77524 do :
77525 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77526 if test "x$ac_cv_func_powl" = x""yes; then :
77527 cat >>confdefs.h <<_ACEOF
77528 #define HAVE_POWL 1
77529 _ACEOF
77532 done
77534 else
77536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77537 $as_echo_n "checking for _powl declaration... " >&6; }
77538 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77539 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77540 $as_echo_n "(cached) " >&6
77541 else
77544 ac_ext=cpp
77545 ac_cpp='$CXXCPP $CPPFLAGS'
77546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77551 /* end confdefs.h. */
77552 #include <math.h>
77554 main ()
77556 _powl(0, 0);
77558 return 0;
77560 _ACEOF
77561 if ac_fn_cxx_try_compile "$LINENO"; then :
77562 glibcxx_cv_func__powl_use=yes
77563 else
77564 glibcxx_cv_func__powl_use=no
77566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77567 ac_ext=c
77568 ac_cpp='$CPP $CPPFLAGS'
77569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77578 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77580 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77581 for ac_func in _powl
77582 do :
77583 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77584 if test "x$ac_cv_func__powl" = x""yes; then :
77585 cat >>confdefs.h <<_ACEOF
77586 #define HAVE__POWL 1
77587 _ACEOF
77590 done
77599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77600 $as_echo_n "checking for sqrtl declaration... " >&6; }
77601 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77602 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77603 $as_echo_n "(cached) " >&6
77604 else
77607 ac_ext=cpp
77608 ac_cpp='$CXXCPP $CPPFLAGS'
77609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77614 /* end confdefs.h. */
77615 #include <math.h>
77616 #ifdef HAVE_IEEEFP_H
77617 #include <ieeefp.h>
77618 #endif
77621 main ()
77623 sqrtl(0);
77625 return 0;
77627 _ACEOF
77628 if ac_fn_cxx_try_compile "$LINENO"; then :
77629 glibcxx_cv_func_sqrtl_use=yes
77630 else
77631 glibcxx_cv_func_sqrtl_use=no
77633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77634 ac_ext=c
77635 ac_cpp='$CPP $CPPFLAGS'
77636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77645 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77647 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77648 for ac_func in sqrtl
77649 do :
77650 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77651 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77652 cat >>confdefs.h <<_ACEOF
77653 #define HAVE_SQRTL 1
77654 _ACEOF
77657 done
77659 else
77661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77662 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77663 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77664 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77665 $as_echo_n "(cached) " >&6
77666 else
77669 ac_ext=cpp
77670 ac_cpp='$CXXCPP $CPPFLAGS'
77671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77676 /* end confdefs.h. */
77677 #include <math.h>
77678 #ifdef HAVE_IEEEFP_H
77679 #include <ieeefp.h>
77680 #endif
77683 main ()
77685 _sqrtl(0);
77687 return 0;
77689 _ACEOF
77690 if ac_fn_cxx_try_compile "$LINENO"; then :
77691 glibcxx_cv_func__sqrtl_use=yes
77692 else
77693 glibcxx_cv_func__sqrtl_use=no
77695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77696 ac_ext=c
77697 ac_cpp='$CPP $CPPFLAGS'
77698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77707 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77709 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77710 for ac_func in _sqrtl
77711 do :
77712 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77713 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77714 cat >>confdefs.h <<_ACEOF
77715 #define HAVE__SQRTL 1
77716 _ACEOF
77719 done
77728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77729 $as_echo_n "checking for sincosl declaration... " >&6; }
77730 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77731 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77732 $as_echo_n "(cached) " >&6
77733 else
77736 ac_ext=cpp
77737 ac_cpp='$CXXCPP $CPPFLAGS'
77738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77743 /* end confdefs.h. */
77744 #include <math.h>
77746 main ()
77748 sincosl(0, 0, 0);
77750 return 0;
77752 _ACEOF
77753 if ac_fn_cxx_try_compile "$LINENO"; then :
77754 glibcxx_cv_func_sincosl_use=yes
77755 else
77756 glibcxx_cv_func_sincosl_use=no
77758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77759 ac_ext=c
77760 ac_cpp='$CPP $CPPFLAGS'
77761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77770 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77772 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77773 for ac_func in sincosl
77774 do :
77775 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77776 if test "x$ac_cv_func_sincosl" = x""yes; then :
77777 cat >>confdefs.h <<_ACEOF
77778 #define HAVE_SINCOSL 1
77779 _ACEOF
77782 done
77784 else
77786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77787 $as_echo_n "checking for _sincosl declaration... " >&6; }
77788 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77789 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77790 $as_echo_n "(cached) " >&6
77791 else
77794 ac_ext=cpp
77795 ac_cpp='$CXXCPP $CPPFLAGS'
77796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77801 /* end confdefs.h. */
77802 #include <math.h>
77804 main ()
77806 _sincosl(0, 0, 0);
77808 return 0;
77810 _ACEOF
77811 if ac_fn_cxx_try_compile "$LINENO"; then :
77812 glibcxx_cv_func__sincosl_use=yes
77813 else
77814 glibcxx_cv_func__sincosl_use=no
77816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77817 ac_ext=c
77818 ac_cpp='$CPP $CPPFLAGS'
77819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77828 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77830 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77831 for ac_func in _sincosl
77832 do :
77833 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77834 if test "x$ac_cv_func__sincosl" = x""yes; then :
77835 cat >>confdefs.h <<_ACEOF
77836 #define HAVE__SINCOSL 1
77837 _ACEOF
77840 done
77849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77850 $as_echo_n "checking for finitel declaration... " >&6; }
77851 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77852 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77853 $as_echo_n "(cached) " >&6
77854 else
77857 ac_ext=cpp
77858 ac_cpp='$CXXCPP $CPPFLAGS'
77859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77864 /* end confdefs.h. */
77865 #include <math.h>
77866 #ifdef HAVE_IEEEFP_H
77867 #include <ieeefp.h>
77868 #endif
77871 main ()
77873 finitel(0);
77875 return 0;
77877 _ACEOF
77878 if ac_fn_cxx_try_compile "$LINENO"; then :
77879 glibcxx_cv_func_finitel_use=yes
77880 else
77881 glibcxx_cv_func_finitel_use=no
77883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77884 ac_ext=c
77885 ac_cpp='$CPP $CPPFLAGS'
77886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77895 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77897 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77898 for ac_func in finitel
77899 do :
77900 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77901 if test "x$ac_cv_func_finitel" = x""yes; then :
77902 cat >>confdefs.h <<_ACEOF
77903 #define HAVE_FINITEL 1
77904 _ACEOF
77907 done
77909 else
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77912 $as_echo_n "checking for _finitel declaration... " >&6; }
77913 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77914 if test "${glibcxx_cv_func__finitel_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 <math.h>
77928 #ifdef HAVE_IEEEFP_H
77929 #include <ieeefp.h>
77930 #endif
77933 main ()
77935 _finitel(0);
77937 return 0;
77939 _ACEOF
77940 if ac_fn_cxx_try_compile "$LINENO"; then :
77941 glibcxx_cv_func__finitel_use=yes
77942 else
77943 glibcxx_cv_func__finitel_use=no
77945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77946 ac_ext=c
77947 ac_cpp='$CPP $CPPFLAGS'
77948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77957 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77959 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77960 for ac_func in _finitel
77961 do :
77962 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77963 if test "x$ac_cv_func__finitel" = x""yes; then :
77964 cat >>confdefs.h <<_ACEOF
77965 #define HAVE__FINITEL 1
77966 _ACEOF
77969 done
77977 LIBS="$ac_save_LIBS"
77978 CXXFLAGS="$ac_save_CXXFLAGS"
77981 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77982 ac_save_CXXFLAGS="$CXXFLAGS"
77983 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77987 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77988 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77989 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77990 $as_echo_n "(cached) " >&6
77991 else
77994 ac_ext=cpp
77995 ac_cpp='$CXXCPP $CPPFLAGS'
77996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78001 /* end confdefs.h. */
78002 #include <stdlib.h>
78004 main ()
78006 at_quick_exit(0);
78008 return 0;
78010 _ACEOF
78011 if ac_fn_cxx_try_compile "$LINENO"; then :
78012 glibcxx_cv_func_at_quick_exit_use=yes
78013 else
78014 glibcxx_cv_func_at_quick_exit_use=no
78016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78017 ac_ext=c
78018 ac_cpp='$CPP $CPPFLAGS'
78019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78028 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78029 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78030 for ac_func in at_quick_exit
78031 do :
78032 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78033 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78034 cat >>confdefs.h <<_ACEOF
78035 #define HAVE_AT_QUICK_EXIT 1
78036 _ACEOF
78039 done
78044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78045 $as_echo_n "checking for quick_exit declaration... " >&6; }
78046 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78047 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78048 $as_echo_n "(cached) " >&6
78049 else
78052 ac_ext=cpp
78053 ac_cpp='$CXXCPP $CPPFLAGS'
78054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78059 /* end confdefs.h. */
78060 #include <stdlib.h>
78062 main ()
78064 quick_exit(0);
78066 return 0;
78068 _ACEOF
78069 if ac_fn_cxx_try_compile "$LINENO"; then :
78070 glibcxx_cv_func_quick_exit_use=yes
78071 else
78072 glibcxx_cv_func_quick_exit_use=no
78074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78075 ac_ext=c
78076 ac_cpp='$CPP $CPPFLAGS'
78077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78086 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78087 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78088 for ac_func in quick_exit
78089 do :
78090 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78091 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78092 cat >>confdefs.h <<_ACEOF
78093 #define HAVE_QUICK_EXIT 1
78094 _ACEOF
78097 done
78102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78103 $as_echo_n "checking for strtold declaration... " >&6; }
78104 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78105 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78106 $as_echo_n "(cached) " >&6
78107 else
78110 ac_ext=cpp
78111 ac_cpp='$CXXCPP $CPPFLAGS'
78112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78117 /* end confdefs.h. */
78118 #include <stdlib.h>
78120 main ()
78122 strtold(0, 0);
78124 return 0;
78126 _ACEOF
78127 if ac_fn_cxx_try_compile "$LINENO"; then :
78128 glibcxx_cv_func_strtold_use=yes
78129 else
78130 glibcxx_cv_func_strtold_use=no
78132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78133 ac_ext=c
78134 ac_cpp='$CPP $CPPFLAGS'
78135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78144 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78145 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78146 for ac_func in strtold
78147 do :
78148 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78149 if test "x$ac_cv_func_strtold" = x""yes; then :
78150 cat >>confdefs.h <<_ACEOF
78151 #define HAVE_STRTOLD 1
78152 _ACEOF
78155 done
78162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78163 $as_echo_n "checking for strtof declaration... " >&6; }
78164 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78165 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78166 $as_echo_n "(cached) " >&6
78167 else
78170 ac_ext=cpp
78171 ac_cpp='$CXXCPP $CPPFLAGS'
78172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78177 /* end confdefs.h. */
78178 #include <stdlib.h>
78180 main ()
78182 strtof(0, 0);
78184 return 0;
78186 _ACEOF
78187 if ac_fn_cxx_try_compile "$LINENO"; then :
78188 glibcxx_cv_func_strtof_use=yes
78189 else
78190 glibcxx_cv_func_strtof_use=no
78192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78193 ac_ext=c
78194 ac_cpp='$CPP $CPPFLAGS'
78195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78204 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78205 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78206 for ac_func in strtof
78207 do :
78208 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78209 if test "x$ac_cv_func_strtof" = x""yes; then :
78210 cat >>confdefs.h <<_ACEOF
78211 #define HAVE_STRTOF 1
78212 _ACEOF
78215 done
78222 CXXFLAGS="$ac_save_CXXFLAGS"
78225 *-vxworks)
78226 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78228 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78230 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78232 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78234 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78236 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78238 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78240 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78242 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78244 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78246 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78248 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78250 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78252 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78254 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78256 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78258 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78260 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78262 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78264 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78268 as_fn_error "No support for this host/target combination." "$LINENO" 5
78270 esac
78274 # At some point, we should differentiate between architectures
78275 # like x86, which have long double versions, and alpha/powerpc/etc.,
78276 # which don't. For the time being, punt.
78277 if test x"long_double_math_on_this_cpu" = x"yes"; then
78278 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78280 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78282 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78284 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78286 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78288 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78290 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78292 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78294 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78296 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78298 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78300 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78302 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78304 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78306 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78308 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78310 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78312 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78314 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78316 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78318 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78320 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78322 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78327 # Check for _Unwind_GetIPInfo.
78330 # Check whether --with-system-libunwind was given.
78331 if test "${with_system_libunwind+set}" = set; then :
78332 withval=$with_system_libunwind;
78335 # If system-libunwind was not specifically set, pick a default setting.
78336 if test x$with_system_libunwind = x; then
78337 case ${target} in
78338 ia64-*-hpux*) with_system_libunwind=yes ;;
78339 *) with_system_libunwind=no ;;
78340 esac
78342 # Based on system-libunwind and target, do we have ipinfo?
78343 if test x$with_system_libunwind = xyes; then
78344 case ${target} in
78345 ia64-*-*) have_unwind_getipinfo=no ;;
78346 *) have_unwind_getipinfo=yes ;;
78347 esac
78348 else
78349 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78351 case ${target} in
78352 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78353 *) have_unwind_getipinfo=yes ;;
78354 esac
78358 if test x$have_unwind_getipinfo = xyes; then
78360 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78365 # Check whether --enable-linux-futex was given.
78366 if test "${enable_linux_futex+set}" = set; then :
78367 enableval=$enable_linux_futex;
78368 case "$enableval" in
78369 yes|no|default) ;;
78370 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78371 esac
78373 else
78374 enable_linux_futex=default
78378 case "$target" in
78379 *-linux*)
78380 case "$enable_linux_futex" in
78381 default)
78382 # If headers don't have gettid/futex syscalls definition, then
78383 # default to no, otherwise there will be compile time failures.
78384 # Otherwise, default to yes. If we don't detect we are
78385 # compiled/linked against NPTL and not cross-compiling, check
78386 # if programs are run by default against NPTL and if not, issue
78387 # a warning.
78388 enable_linux_futex=no
78389 if test x$gcc_no_link = xyes; then
78390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78393 /* end confdefs.h. */
78394 #include <sys/syscall.h>
78395 int lk;
78397 main ()
78399 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78401 return 0;
78403 _ACEOF
78404 if ac_fn_c_try_link "$LINENO"; then :
78405 save_LIBS="$LIBS"
78406 LIBS="-lpthread $LIBS"
78407 if test x$gcc_no_link = xyes; then
78408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78411 /* end confdefs.h. */
78412 #ifndef _GNU_SOURCE
78413 #define _GNU_SOURCE 1
78414 #endif
78415 #include <pthread.h>
78416 pthread_t th; void *status;
78418 main ()
78420 pthread_tryjoin_np (th, &status);
78422 return 0;
78424 _ACEOF
78425 if ac_fn_c_try_link "$LINENO"; then :
78426 enable_linux_futex=yes
78427 else
78428 if test x$cross_compiling = xno; then
78429 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78430 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78432 If so, please configure with --disable-linux-futex" >&5
78433 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78434 If so, please configure with --disable-linux-futex" >&2;}
78437 enable_linux_futex=yes
78439 rm -f core conftest.err conftest.$ac_objext \
78440 conftest$ac_exeext conftest.$ac_ext
78441 LIBS="$save_LIBS"
78443 rm -f core conftest.err conftest.$ac_objext \
78444 conftest$ac_exeext conftest.$ac_ext
78446 yes)
78447 if test x$gcc_no_link = xyes; then
78448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78451 /* end confdefs.h. */
78452 #include <sys/syscall.h>
78453 int lk;
78455 main ()
78457 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78459 return 0;
78461 _ACEOF
78462 if ac_fn_c_try_link "$LINENO"; then :
78464 else
78465 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78467 rm -f core conftest.err conftest.$ac_objext \
78468 conftest$ac_exeext conftest.$ac_ext
78470 esac
78473 enable_linux_futex=no
78475 esac
78476 if test x$enable_linux_futex = xyes; then
78478 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78485 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78487 acx_cv_header_stdint=stddef.h
78488 acx_cv_header_stdint_kind="(already complete)"
78489 for i in stdint.h $inttype_headers; do
78490 unset ac_cv_type_uintptr_t
78491 unset ac_cv_type_uintmax_t
78492 unset ac_cv_type_int_least32_t
78493 unset ac_cv_type_int_fast32_t
78494 unset ac_cv_type_uint64_t
78495 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78496 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78497 #include <$i>
78499 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78500 acx_cv_header_stdint=$i
78501 else
78502 continue
78505 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78506 #include <$i>
78508 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78510 else
78511 acx_cv_header_stdint_kind="(mostly complete)"
78514 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78515 #include <$i>
78517 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78519 else
78520 acx_cv_header_stdint_kind="(mostly complete)"
78523 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78524 #include <$i>
78526 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78528 else
78529 acx_cv_header_stdint_kind="(mostly complete)"
78532 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78533 #include <$i>
78535 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78537 else
78538 acx_cv_header_stdint_kind="(lacks uint64_t)"
78541 break
78542 done
78543 if test "$acx_cv_header_stdint" = stddef.h; then
78544 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78545 for i in stdint.h $inttype_headers; do
78546 unset ac_cv_type_uintptr_t
78547 unset ac_cv_type_uint32_t
78548 unset ac_cv_type_uint64_t
78549 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78550 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78551 #include <$i>
78553 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78554 acx_cv_header_stdint=$i
78555 else
78556 continue
78559 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78560 #include <$i>
78562 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78566 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78567 #include <$i>
78569 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78573 break
78574 done
78576 if test "$acx_cv_header_stdint" = stddef.h; then
78577 acx_cv_header_stdint_kind="(u_intXX_t style)"
78578 for i in sys/types.h $inttype_headers; do
78579 unset ac_cv_type_u_int32_t
78580 unset ac_cv_type_u_int64_t
78581 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78582 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78583 #include <$i>
78585 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78586 acx_cv_header_stdint=$i
78587 else
78588 continue
78591 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78592 #include <$i>
78594 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78598 break
78599 done
78601 if test "$acx_cv_header_stdint" = stddef.h; then
78602 acx_cv_header_stdint_kind="(using manual detection)"
78605 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78606 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78607 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78608 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78609 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78611 # ----------------- Summarize what we found so far
78613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78614 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78616 case `$as_basename -- include/gstdint.h ||
78617 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78618 Xinclude/gstdint.h : 'X\(//\)$' \| \
78619 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78620 $as_echo X/include/gstdint.h |
78621 sed '/^.*\/\([^/][^/]*\)\/*$/{
78622 s//\1/
78625 /^X\/\(\/\/\)$/{
78626 s//\1/
78629 /^X\/\(\/\).*/{
78630 s//\1/
78633 s/.*/./; q'` in
78634 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78635 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78636 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78637 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78638 *) ;;
78639 esac
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78642 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78644 # ----------------- done included file, check C basic types --------
78646 # Lacking an uintptr_t? Test size of void *
78647 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78648 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78651 # This bug is HP SR number 8606223364.
78652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78653 $as_echo_n "checking size of void *... " >&6; }
78654 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78655 $as_echo_n "(cached) " >&6
78656 else
78657 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78659 else
78660 if test "$ac_cv_type_void_p" = yes; then
78661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78663 { as_fn_set_status 77
78664 as_fn_error "cannot compute sizeof (void *)
78665 See \`config.log' for more details." "$LINENO" 5; }; }
78666 else
78667 ac_cv_sizeof_void_p=0
78672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78673 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78677 cat >>confdefs.h <<_ACEOF
78678 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78679 _ACEOF
78682 esac
78684 # Lacking an uint64_t? Test size of long
78685 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78686 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78689 # This bug is HP SR number 8606223364.
78690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78691 $as_echo_n "checking size of long... " >&6; }
78692 if test "${ac_cv_sizeof_long+set}" = set; then :
78693 $as_echo_n "(cached) " >&6
78694 else
78695 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78697 else
78698 if test "$ac_cv_type_long" = yes; then
78699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78701 { as_fn_set_status 77
78702 as_fn_error "cannot compute sizeof (long)
78703 See \`config.log' for more details." "$LINENO" 5; }; }
78704 else
78705 ac_cv_sizeof_long=0
78710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78711 $as_echo "$ac_cv_sizeof_long" >&6; }
78715 cat >>confdefs.h <<_ACEOF
78716 #define SIZEOF_LONG $ac_cv_sizeof_long
78717 _ACEOF
78720 esac
78722 if test $acx_cv_header_stdint = stddef.h; then
78723 # Lacking a good header? Test size of everything and deduce all types.
78724 # The cast to long int works around a bug in the HP C Compiler
78725 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78726 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78727 # This bug is HP SR number 8606223364.
78728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78729 $as_echo_n "checking size of int... " >&6; }
78730 if test "${ac_cv_sizeof_int+set}" = set; then :
78731 $as_echo_n "(cached) " >&6
78732 else
78733 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78735 else
78736 if test "$ac_cv_type_int" = yes; then
78737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78739 { as_fn_set_status 77
78740 as_fn_error "cannot compute sizeof (int)
78741 See \`config.log' for more details." "$LINENO" 5; }; }
78742 else
78743 ac_cv_sizeof_int=0
78748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78749 $as_echo "$ac_cv_sizeof_int" >&6; }
78753 cat >>confdefs.h <<_ACEOF
78754 #define SIZEOF_INT $ac_cv_sizeof_int
78755 _ACEOF
78758 # The cast to long int works around a bug in the HP C Compiler
78759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78761 # This bug is HP SR number 8606223364.
78762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78763 $as_echo_n "checking size of short... " >&6; }
78764 if test "${ac_cv_sizeof_short+set}" = set; then :
78765 $as_echo_n "(cached) " >&6
78766 else
78767 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78769 else
78770 if test "$ac_cv_type_short" = yes; then
78771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78773 { as_fn_set_status 77
78774 as_fn_error "cannot compute sizeof (short)
78775 See \`config.log' for more details." "$LINENO" 5; }; }
78776 else
78777 ac_cv_sizeof_short=0
78782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78783 $as_echo "$ac_cv_sizeof_short" >&6; }
78787 cat >>confdefs.h <<_ACEOF
78788 #define SIZEOF_SHORT $ac_cv_sizeof_short
78789 _ACEOF
78792 # The cast to long int works around a bug in the HP C Compiler
78793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78795 # This bug is HP SR number 8606223364.
78796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78797 $as_echo_n "checking size of char... " >&6; }
78798 if test "${ac_cv_sizeof_char+set}" = set; then :
78799 $as_echo_n "(cached) " >&6
78800 else
78801 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78803 else
78804 if test "$ac_cv_type_char" = yes; then
78805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78807 { as_fn_set_status 77
78808 as_fn_error "cannot compute sizeof (char)
78809 See \`config.log' for more details." "$LINENO" 5; }; }
78810 else
78811 ac_cv_sizeof_char=0
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78817 $as_echo "$ac_cv_sizeof_char" >&6; }
78821 cat >>confdefs.h <<_ACEOF
78822 #define SIZEOF_CHAR $ac_cv_sizeof_char
78823 _ACEOF
78827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78828 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78829 case "$ac_cv_sizeof_char" in
78830 1) acx_cv_type_int8_t=char ;;
78831 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78832 esac
78833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78834 $as_echo "$acx_cv_type_int8_t" >&6; }
78836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78837 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78838 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78839 2:*) acx_cv_type_int16_t=int ;;
78840 *:2) acx_cv_type_int16_t=short ;;
78841 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78842 esac
78843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78844 $as_echo "$acx_cv_type_int16_t" >&6; }
78846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78847 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78848 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78849 4:*) acx_cv_type_int32_t=int ;;
78850 *:4) acx_cv_type_int32_t=long ;;
78851 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78852 esac
78853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78854 $as_echo "$acx_cv_type_int32_t" >&6; }
78857 # These tests are here to make the output prettier
78859 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78860 case "$ac_cv_sizeof_long" in
78861 8) acx_cv_type_int64_t=long ;;
78862 esac
78863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78864 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78866 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78869 # Now we can use the above types
78871 if test "$ac_cv_type_uintptr_t" != yes; then
78872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78873 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78874 case $ac_cv_sizeof_void_p in
78875 2) acx_cv_type_intptr_t=int16_t ;;
78876 4) acx_cv_type_intptr_t=int32_t ;;
78877 8) acx_cv_type_intptr_t=int64_t ;;
78878 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78879 esac
78880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78881 $as_echo "$acx_cv_type_intptr_t" >&6; }
78884 # ----------------- done all checks, emit header -------------
78885 ac_config_commands="$ac_config_commands include/gstdint.h"
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78892 $as_echo_n "checking for GNU c++filt... " >&6; }
78893 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78894 $as_echo_n "(cached) " >&6
78895 else
78896 if test -z "$CXXFILT"; then
78897 ac_path_CXXFILT_found=false
78898 # Loop through the user's path and test for each of PROGNAME-LIST
78899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78900 for as_dir in $PATH
78902 IFS=$as_save_IFS
78903 test -z "$as_dir" && as_dir=.
78904 for ac_prog in c++filt gc++filt; do
78905 for ac_exec_ext in '' $ac_executable_extensions; do
78906 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78907 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78908 # Check for GNU $ac_path_CXXFILT
78909 case `"$ac_path_CXXFILT" --version 2>&1` in
78910 *GNU*)
78911 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78912 esac
78914 $ac_path_CXXFILT_found && break 3
78915 done
78916 done
78917 done
78918 IFS=$as_save_IFS
78919 if test -z "$ac_cv_path_CXXFILT"; then
78922 else
78923 ac_cv_path_CXXFILT=$CXXFILT
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78928 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78929 CXXFILT=$ac_cv_path_CXXFILT
78933 # Check whether --enable-symvers was given.
78934 if test "${enable_symvers+set}" = set; then :
78935 enableval=$enable_symvers;
78936 case "$enableval" in
78937 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78938 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78939 esac
78941 else
78942 enable_symvers=yes
78947 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78948 # don't know enough about $LD to do tricks...
78950 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78951 # with extern "C++" in version scripts.
78954 # Turn a 'yes' into a suitable default.
78955 if test x$enable_symvers = xyes ; then
78956 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78957 enable_symvers=no
78958 else
78959 if test $with_gnu_ld = yes ; then
78960 case ${target_os} in
78961 hpux*)
78962 enable_symvers=no ;;
78964 enable_symvers=gnu ;;
78965 esac
78966 else
78967 case ${target_os} in
78968 darwin*)
78969 enable_symvers=darwin ;;
78970 # Sun symbol versioning exists since Solaris 2.5.
78971 solaris2.[5-9]* | solaris2.1[0-9]*)
78972 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78973 # version scripts, so disable symbol versioning if none can be
78974 # found.
78975 if test -z "$ac_cv_path_CXXFILT"; then
78976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78977 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78979 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78981 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78982 enable_symvers=no
78983 else
78984 enable_symvers=sun
78988 enable_symvers=no ;;
78989 esac
78994 # Check to see if 'darwin' or 'darwin-export' can win.
78995 if test x$enable_symvers = xdarwin-export ; then
78996 enable_symvers=darwin
78999 # Check if 'sun' was requested on non-Solaris 2 platforms.
79000 if test x$enable_symvers = xsun ; then
79001 case ${target_os} in
79002 solaris2*)
79003 # All fine.
79006 # Unlikely to work.
79007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79008 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79010 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79012 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79013 enable_symvers=no
79015 esac
79018 # Check to see if 'gnu' can win.
79019 if test $enable_symvers = gnu ||
79020 test $enable_symvers = gnu-versioned-namespace ||
79021 test $enable_symvers = sun; then
79022 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79024 $as_echo_n "checking for shared libgcc... " >&6; }
79025 ac_save_CFLAGS="$CFLAGS"
79026 CFLAGS=' -lgcc_s'
79027 if test x$gcc_no_link = xyes; then
79028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79031 /* end confdefs.h. */
79034 main ()
79036 return 0;
79038 return 0;
79040 _ACEOF
79041 if ac_fn_c_try_link "$LINENO"; then :
79042 glibcxx_shared_libgcc=yes
79043 else
79044 glibcxx_shared_libgcc=no
79046 rm -f core conftest.err conftest.$ac_objext \
79047 conftest$ac_exeext conftest.$ac_ext
79048 CFLAGS="$ac_save_CFLAGS"
79049 if test $glibcxx_shared_libgcc = no; then
79050 cat > conftest.c <<EOF
79051 int main (void) { return 0; }
79053 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79054 -shared -shared-libgcc -o conftest.so \
79055 conftest.c -v 2>&1 >/dev/null \
79056 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79057 rm -f conftest.c conftest.so
79058 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79059 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79060 if test x$gcc_no_link = xyes; then
79061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79064 /* end confdefs.h. */
79067 main ()
79069 return 0;
79071 return 0;
79073 _ACEOF
79074 if ac_fn_c_try_link "$LINENO"; then :
79075 glibcxx_shared_libgcc=yes
79077 rm -f core conftest.err conftest.$ac_objext \
79078 conftest$ac_exeext conftest.$ac_ext
79079 CFLAGS="$ac_save_CFLAGS"
79082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79083 $as_echo "$glibcxx_shared_libgcc" >&6; }
79085 # For GNU ld, we need at least this version. The format is described in
79086 # GLIBCXX_CHECK_LINKER_FEATURES above.
79087 glibcxx_min_gnu_ld_version=21400
79089 # If no shared libgcc, can't win.
79090 if test $glibcxx_shared_libgcc != yes; then
79091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79092 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79094 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79096 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79097 enable_symvers=no
79098 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79099 : All interesting versions of Sun ld support sun style symbol versioning.
79100 elif test $with_gnu_ld != yes ; then
79101 # just fail for now
79102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79103 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79105 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79107 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79108 enable_symvers=no
79109 elif test $glibcxx_ld_is_gold = yes ; then
79110 : All versions of gold support symbol versioning.
79111 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79112 # The right tools, the right setup, but too old. Fallbacks?
79113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79114 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79116 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79118 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79120 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79122 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79123 enable_symvers=no
79127 # For libtool versioning info, format is CURRENT:REVISION:AGE
79128 libtool_VERSION=6:25:0
79130 # Everything parsed; figure out what files and settings to use.
79131 case $enable_symvers in
79133 SYMVER_FILE=config/abi/pre/none.ver
79135 gnu)
79136 SYMVER_FILE=config/abi/pre/gnu.ver
79138 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79141 gnu-versioned-namespace)
79142 libtool_VERSION=8:0:0
79143 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79145 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79148 darwin)
79149 SYMVER_FILE=config/abi/pre/gnu.ver
79151 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79154 sun)
79155 SYMVER_FILE=config/abi/pre/gnu.ver
79157 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79160 esac
79162 if test x$enable_symvers != xno ; then
79164 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79169 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79170 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79171 $as_echo_n "(cached) " >&6
79172 else
79174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79175 /* end confdefs.h. */
79176 void foo (void); __asm (".symver foo, bar@SYMVER");
79178 main ()
79182 return 0;
79184 _ACEOF
79185 if ac_fn_c_try_compile "$LINENO"; then :
79186 glibcxx_cv_have_as_symver_directive=yes
79187 else
79188 glibcxx_cv_have_as_symver_directive=no
79190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79193 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79194 if test $glibcxx_cv_have_as_symver_directive = yes; then
79196 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79207 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79208 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79210 if test $enable_symvers != no ; then
79211 case ${target_os} in
79212 # The Solaris 2 runtime linker doesn't support the GNU extension of
79213 # binding the same symbol to different versions
79214 solaris2*)
79216 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79219 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79222 esac
79225 # Now, set up compatibility support, if any.
79226 # In addition, need this to deal with std::size_t mangling in
79227 # src/compatibility.cc. In a perfect world, could use
79228 # typeid(std::size_t).name()[0] to do direct substitution.
79229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79230 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79231 ac_save_CFLAGS="$CFLAGS"
79232 CFLAGS="-Werror"
79233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79234 /* end confdefs.h. */
79237 main ()
79239 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79241 return 0;
79243 _ACEOF
79244 if ac_fn_c_try_compile "$LINENO"; then :
79245 glibcxx_size_t_is_i=yes
79246 else
79247 glibcxx_size_t_is_i=no
79249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79250 CFLAGS=$ac_save_CFLAGS
79251 if test "$glibcxx_size_t_is_i" = yes; then
79253 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79257 $as_echo "$glibcxx_size_t_is_i" >&6; }
79259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79260 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79261 ac_save_CFLAGS="$CFLAGS"
79262 CFLAGS="-Werror"
79263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79264 /* end confdefs.h. */
79267 main ()
79269 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79271 return 0;
79273 _ACEOF
79274 if ac_fn_c_try_compile "$LINENO"; then :
79275 glibcxx_ptrdiff_t_is_i=yes
79276 else
79277 glibcxx_ptrdiff_t_is_i=no
79279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79280 CFLAGS=$ac_save_CFLAGS
79281 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79283 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79287 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79292 # Check whether --enable-libstdcxx-visibility was given.
79293 if test "${enable_libstdcxx_visibility+set}" = set; then :
79294 enableval=$enable_libstdcxx_visibility;
79295 case "$enableval" in
79296 yes|no) ;;
79297 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79298 esac
79300 else
79301 enable_libstdcxx_visibility=yes
79306 if test x$enable_libstdcxx_visibility = xyes ; then
79307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79308 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79309 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79310 $as_echo_n "(cached) " >&6
79311 else
79313 save_CFLAGS="$CFLAGS"
79314 CFLAGS="$CFLAGS -Werror"
79315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79316 /* end confdefs.h. */
79317 void __attribute__((visibility("hidden"))) foo(void) { }
79319 main ()
79323 return 0;
79325 _ACEOF
79326 if ac_fn_c_try_compile "$LINENO"; then :
79327 glibcxx_cv_have_attribute_visibility=yes
79328 else
79329 glibcxx_cv_have_attribute_visibility=no
79331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79332 CFLAGS="$save_CFLAGS"
79334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79335 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79336 if test $glibcxx_cv_have_attribute_visibility = no; then
79337 enable_libstdcxx_visibility=no
79342 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79343 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79347 # Check whether --enable-libstdcxx-dual-abi was given.
79348 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79349 enableval=$enable_libstdcxx_dual_abi;
79350 case "$enableval" in
79351 yes|no) ;;
79352 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79353 esac
79355 else
79356 enable_libstdcxx_dual_abi=yes
79360 if test x$enable_symvers = xgnu-versioned-namespace; then
79361 # gnu-versioned-namespace is incompatible with the dual ABI.
79362 enable_libstdcxx_dual_abi="no"
79364 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79365 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79366 $as_echo "$as_me: dual ABI is disabled" >&6;}
79367 default_libstdcxx_abi="gcc4-compatible"
79372 if test x$enable_libstdcxx_dual_abi = xyes; then
79373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79374 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79376 # Check whether --with-default-libstdcxx-abi was given.
79377 if test "${with_default_libstdcxx_abi+set}" = set; then :
79378 withval=$with_default_libstdcxx_abi; case "$withval" in
79379 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79380 new|cxx11) default_libstdcxx_abi="new" ;;
79381 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79382 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79383 esac
79385 else
79386 default_libstdcxx_abi="new"
79389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79390 $as_echo "${default_libstdcxx_abi}" >&6; }
79392 if test $default_libstdcxx_abi = "new"; then
79393 glibcxx_cxx11_abi=1
79394 glibcxx_cxx98_abi=0
79395 else
79396 glibcxx_cxx11_abi=0
79397 glibcxx_cxx98_abi=1
79403 ac_ldbl_compat=no
79404 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79405 case "$target" in
79406 powerpc*-*-linux* | \
79407 sparc*-*-linux* | \
79408 s390*-*-linux* | \
79409 alpha*-*-linux*)
79410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79411 /* end confdefs.h. */
79414 main ()
79417 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79418 #error no need for long double compatibility
79419 #endif
79422 return 0;
79424 _ACEOF
79425 if ac_fn_c_try_compile "$LINENO"; then :
79426 ac_ldbl_compat=yes
79427 else
79428 ac_ldbl_compat=no
79430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79431 if test "$ac_ldbl_compat" = yes; then
79433 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79435 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79436 case "$target" in
79437 powerpc*-*-linux*)
79438 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79439 esac
79441 esac
79445 # Check if assembler supports disabling hardware capability support.
79447 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79449 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79450 # with a different meaning.
79451 case ${target_os} in
79452 solaris2*)
79453 ac_save_CFLAGS="$CFLAGS"
79454 CFLAGS="$CFLAGS -Wa,-nH"
79456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79457 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79459 /* end confdefs.h. */
79462 main ()
79464 return 0;
79466 return 0;
79468 _ACEOF
79469 if ac_fn_c_try_compile "$LINENO"; then :
79470 ac_hwcap_flags=yes
79471 else
79472 ac_hwcap_flags=no
79474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79475 if test "$ac_hwcap_flags" = "yes"; then
79476 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79479 $as_echo "$ac_hwcap_flags" >&6; }
79481 CFLAGS="$ac_save_CFLAGS"
79483 esac
79488 # Check if assembler supports rdrand opcode.
79490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79491 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79492 if test "${ac_cv_x86_rdrand+set}" = set; then :
79493 $as_echo_n "(cached) " >&6
79494 else
79496 ac_cv_x86_rdrand=no
79497 case "$target" in
79498 i?86-*-* | \
79499 x86_64-*-*)
79500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79501 /* end confdefs.h. */
79504 main ()
79506 asm("rdrand %eax");
79508 return 0;
79510 _ACEOF
79511 if ac_fn_c_try_compile "$LINENO"; then :
79512 ac_cv_x86_rdrand=yes
79513 else
79514 ac_cv_x86_rdrand=no
79516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79517 esac
79521 if test $ac_cv_x86_rdrand = yes; then
79523 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79527 $as_echo "$ac_cv_x86_rdrand" >&6; }
79530 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79532 # Do checks for resource limit functions.
79534 setrlimit_have_headers=yes
79535 for ac_header in unistd.h sys/time.h sys/resource.h
79536 do :
79537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79538 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79539 eval as_val=\$$as_ac_Header
79540 if test "x$as_val" = x""yes; then :
79541 cat >>confdefs.h <<_ACEOF
79542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79543 _ACEOF
79545 else
79546 setrlimit_have_headers=no
79549 done
79551 # If don't have the headers, then we can't run the tests now, and we
79552 # won't be seeing any of these during testsuite compilation.
79553 if test $setrlimit_have_headers = yes; then
79554 # Can't do these in a loop, else the resulting syntax is wrong.
79556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79557 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79559 /* end confdefs.h. */
79560 #include <unistd.h>
79561 #include <sys/time.h>
79562 #include <sys/resource.h>
79565 main ()
79567 int f = RLIMIT_DATA ;
79569 return 0;
79571 _ACEOF
79572 if ac_fn_c_try_compile "$LINENO"; then :
79573 glibcxx_mresult=1
79574 else
79575 glibcxx_mresult=0
79577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79579 cat >>confdefs.h <<_ACEOF
79580 #define HAVE_LIMIT_DATA $glibcxx_mresult
79581 _ACEOF
79583 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79585 $as_echo "$res" >&6; }
79588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79589 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79591 /* end confdefs.h. */
79592 #include <unistd.h>
79593 #include <sys/time.h>
79594 #include <sys/resource.h>
79597 main ()
79599 int f = RLIMIT_RSS ;
79601 return 0;
79603 _ACEOF
79604 if ac_fn_c_try_compile "$LINENO"; then :
79605 glibcxx_mresult=1
79606 else
79607 glibcxx_mresult=0
79609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79611 cat >>confdefs.h <<_ACEOF
79612 #define HAVE_LIMIT_RSS $glibcxx_mresult
79613 _ACEOF
79615 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79617 $as_echo "$res" >&6; }
79620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79621 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79623 /* end confdefs.h. */
79624 #include <unistd.h>
79625 #include <sys/time.h>
79626 #include <sys/resource.h>
79629 main ()
79631 int f = RLIMIT_VMEM ;
79633 return 0;
79635 _ACEOF
79636 if ac_fn_c_try_compile "$LINENO"; then :
79637 glibcxx_mresult=1
79638 else
79639 glibcxx_mresult=0
79641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79643 cat >>confdefs.h <<_ACEOF
79644 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79645 _ACEOF
79647 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79649 $as_echo "$res" >&6; }
79652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79653 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79655 /* end confdefs.h. */
79656 #include <unistd.h>
79657 #include <sys/time.h>
79658 #include <sys/resource.h>
79661 main ()
79663 int f = RLIMIT_AS ;
79665 return 0;
79667 _ACEOF
79668 if ac_fn_c_try_compile "$LINENO"; then :
79669 glibcxx_mresult=1
79670 else
79671 glibcxx_mresult=0
79673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79675 cat >>confdefs.h <<_ACEOF
79676 #define HAVE_LIMIT_AS $glibcxx_mresult
79677 _ACEOF
79679 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79681 $as_echo "$res" >&6; }
79684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79685 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79687 /* end confdefs.h. */
79688 #include <unistd.h>
79689 #include <sys/time.h>
79690 #include <sys/resource.h>
79693 main ()
79695 int f = RLIMIT_FSIZE ;
79697 return 0;
79699 _ACEOF
79700 if ac_fn_c_try_compile "$LINENO"; then :
79701 glibcxx_mresult=1
79702 else
79703 glibcxx_mresult=0
79705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79707 cat >>confdefs.h <<_ACEOF
79708 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79709 _ACEOF
79711 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79713 $as_echo "$res" >&6; }
79716 # Check for rlimit, setrlimit.
79717 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79718 $as_echo_n "(cached) " >&6
79719 else
79721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79722 /* end confdefs.h. */
79723 #include <unistd.h>
79724 #include <sys/time.h>
79725 #include <sys/resource.h>
79728 main ()
79730 struct rlimit r;
79731 setrlimit(0, &r);
79733 return 0;
79735 _ACEOF
79736 if ac_fn_c_try_compile "$LINENO"; then :
79737 glibcxx_cv_setrlimit=yes
79738 else
79739 glibcxx_cv_setrlimit=no
79741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79748 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79749 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79750 ac_res_limits=yes
79752 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79754 else
79755 ac_res_limits=no
79757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79758 $as_echo "$ac_res_limits" >&6; }
79761 if $GLIBCXX_IS_NATIVE ; then
79762 # Look for setenv, so that extended locale tests can be performed.
79764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79765 $as_echo_n "checking for setenv declaration... " >&6; }
79766 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79767 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79768 $as_echo_n "(cached) " >&6
79769 else
79772 ac_ext=cpp
79773 ac_cpp='$CXXCPP $CPPFLAGS'
79774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79779 /* end confdefs.h. */
79780 #include <stdlib.h>
79782 main ()
79784 setenv(0, 0, 0);
79786 return 0;
79788 _ACEOF
79789 if ac_fn_cxx_try_compile "$LINENO"; then :
79790 glibcxx_cv_func_setenv_use=yes
79791 else
79792 glibcxx_cv_func_setenv_use=no
79794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79795 ac_ext=c
79796 ac_cpp='$CPP $CPPFLAGS'
79797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79806 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79807 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79808 for ac_func in setenv
79809 do :
79810 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79811 if test "x$ac_cv_func_setenv" = x""yes; then :
79812 cat >>confdefs.h <<_ACEOF
79813 #define HAVE_SETENV 1
79814 _ACEOF
79817 done
79823 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79824 test $enable_symvers != no; then
79825 case "$host" in
79826 *-*-cygwin*)
79827 enable_abi_check=no ;;
79829 enable_abi_check=yes ;;
79830 esac
79831 else
79832 # Only build this as native, since automake does not understand
79833 # CXX_FOR_BUILD.
79834 enable_abi_check=no
79837 # Export file names for ABI checking.
79838 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79840 baseline_subdir_switch="$abi_baseline_subdir_switch"
79844 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79846 # Check whether --enable-libstdcxx-threads was given.
79847 if test "${enable_libstdcxx_threads+set}" = set; then :
79848 enableval=$enable_libstdcxx_threads;
79849 case "$enableval" in
79850 yes|no) ;;
79851 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79852 esac
79854 else
79855 enable_libstdcxx_threads=auto
79860 if test x$enable_libstdcxx_threads = xauto ||
79861 test x$enable_libstdcxx_threads = xyes; then
79864 ac_ext=cpp
79865 ac_cpp='$CXXCPP $CPPFLAGS'
79866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79871 ac_save_CXXFLAGS="$CXXFLAGS"
79872 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79873 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79875 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79876 case $target_thread_file in
79877 posix)
79878 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79879 esac
79881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79882 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79885 /* end confdefs.h. */
79886 #include <unistd.h>
79888 main ()
79891 // In case of POSIX threads check _POSIX_TIMEOUTS.
79892 #if (defined(_PTHREADS) \
79893 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79894 #error
79895 #endif
79898 return 0;
79900 _ACEOF
79901 if ac_fn_cxx_try_compile "$LINENO"; then :
79902 ac_gthread_use_mutex_timedlock=1
79903 else
79904 ac_gthread_use_mutex_timedlock=0
79906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79909 cat >>confdefs.h <<_ACEOF
79910 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79911 _ACEOF
79914 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79915 else res_mutex_timedlock=no ; fi
79916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79917 $as_echo "$res_mutex_timedlock" >&6; }
79919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79920 $as_echo_n "checking for gthreads library... " >&6; }
79922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79923 /* end confdefs.h. */
79924 #include "gthr.h"
79926 main ()
79929 #ifndef __GTHREADS_CXX0X
79930 #error
79931 #endif
79934 return 0;
79936 _ACEOF
79937 if ac_fn_cxx_try_compile "$LINENO"; then :
79938 ac_has_gthreads=yes
79939 else
79940 ac_has_gthreads=no
79942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79943 else
79944 ac_has_gthreads=no
79947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79948 $as_echo "$ac_has_gthreads" >&6; }
79950 if test x"$ac_has_gthreads" = x"yes"; then
79952 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79955 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79956 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79958 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79960 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79966 CXXFLAGS="$ac_save_CXXFLAGS"
79967 ac_ext=c
79968 ac_cpp='$CPP $CPPFLAGS'
79969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79975 # For Filesystem TS.
79976 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79977 do :
79978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79980 eval as_val=\$$as_ac_Header
79981 if test "x$as_val" = x""yes; then :
79982 cat >>confdefs.h <<_ACEOF
79983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79984 _ACEOF
79988 done
79991 # Check whether --enable-libstdcxx-filesystem-ts was given.
79992 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79993 enableval=$enable_libstdcxx_filesystem_ts;
79994 case "$enableval" in
79995 yes|no|auto) ;;
79996 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79997 esac
79999 else
80000 enable_libstdcxx_filesystem_ts=auto
80005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80006 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80007 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80008 enable_libstdcxx_filesystem_ts=no
80010 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80011 case "${target_os}" in
80012 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80013 enable_libstdcxx_filesystem_ts=yes
80015 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80016 enable_libstdcxx_filesystem_ts=yes
80018 rtems*)
80019 enable_libstdcxx_filesystem_ts=yes
80021 solaris*)
80022 enable_libstdcxx_filesystem_ts=yes
80025 enable_libstdcxx_filesystem_ts=no
80027 esac
80029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80030 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80034 ac_ext=cpp
80035 ac_cpp='$CXXCPP $CPPFLAGS'
80036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80040 ac_save_CXXFLAGS="$CXXFLAGS"
80041 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80043 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80044 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80045 $as_echo_n "(cached) " >&6
80046 else
80047 if test x$gcc_no_link = xyes; then
80048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80049 /* end confdefs.h. */
80050 #include <dirent.h>
80052 main ()
80055 struct dirent d;
80056 if (sizeof d.d_type) return 0;
80059 return 0;
80061 _ACEOF
80062 if ac_fn_cxx_try_compile "$LINENO"; then :
80063 glibcxx_cv_dirent_d_type=yes
80064 else
80065 glibcxx_cv_dirent_d_type=no
80067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80068 else
80069 if test x$gcc_no_link = xyes; then
80070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80073 /* end confdefs.h. */
80074 #include <dirent.h>
80076 main ()
80079 struct dirent d;
80080 if (sizeof d.d_type) return 0;
80083 return 0;
80085 _ACEOF
80086 if ac_fn_cxx_try_link "$LINENO"; then :
80087 glibcxx_cv_dirent_d_type=yes
80088 else
80089 glibcxx_cv_dirent_d_type=no
80091 rm -f core conftest.err conftest.$ac_objext \
80092 conftest$ac_exeext conftest.$ac_ext
80097 if test $glibcxx_cv_dirent_d_type = yes; then
80099 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80103 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80105 $as_echo_n "checking for realpath... " >&6; }
80106 if test "${glibcxx_cv_realpath+set}" = set; then :
80107 $as_echo_n "(cached) " >&6
80108 else
80109 if test x$gcc_no_link = xyes; then
80110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80111 /* end confdefs.h. */
80113 #include <limits.h>
80114 #include <stdlib.h>
80115 #include <unistd.h>
80118 main ()
80121 #if _XOPEN_VERSION < 500
80122 #error
80123 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80124 char *tmp = realpath((const char*)NULL, (char*)NULL);
80125 #else
80126 #error
80127 #endif
80130 return 0;
80132 _ACEOF
80133 if ac_fn_cxx_try_compile "$LINENO"; then :
80134 glibcxx_cv_realpath=yes
80135 else
80136 glibcxx_cv_realpath=no
80138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80139 else
80140 if test x$gcc_no_link = xyes; then
80141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80144 /* end confdefs.h. */
80146 #include <limits.h>
80147 #include <stdlib.h>
80148 #include <unistd.h>
80151 main ()
80154 #if _XOPEN_VERSION < 500
80155 #error
80156 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80157 char *tmp = realpath((const char*)NULL, (char*)NULL);
80158 #else
80159 #error
80160 #endif
80163 return 0;
80165 _ACEOF
80166 if ac_fn_cxx_try_link "$LINENO"; then :
80167 glibcxx_cv_realpath=yes
80168 else
80169 glibcxx_cv_realpath=no
80171 rm -f core conftest.err conftest.$ac_objext \
80172 conftest$ac_exeext conftest.$ac_ext
80177 if test $glibcxx_cv_realpath = yes; then
80179 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80183 $as_echo "$glibcxx_cv_realpath" >&6; }
80184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80185 $as_echo_n "checking for utimensat... " >&6; }
80186 if test "${glibcxx_cv_utimensat+set}" = set; then :
80187 $as_echo_n "(cached) " >&6
80188 else
80189 if test x$gcc_no_link = xyes; then
80190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80191 /* end confdefs.h. */
80193 #include <fcntl.h>
80194 #include <sys/stat.h>
80197 main ()
80200 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80201 int i = utimensat(AT_FDCWD, "path", ts, 0);
80204 return 0;
80206 _ACEOF
80207 if ac_fn_cxx_try_compile "$LINENO"; then :
80208 glibcxx_cv_utimensat=yes
80209 else
80210 glibcxx_cv_utimensat=no
80212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80213 else
80214 if test x$gcc_no_link = xyes; then
80215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80218 /* end confdefs.h. */
80220 #include <fcntl.h>
80221 #include <sys/stat.h>
80224 main ()
80227 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80228 int i = utimensat(AT_FDCWD, "path", ts, 0);
80231 return 0;
80233 _ACEOF
80234 if ac_fn_cxx_try_link "$LINENO"; then :
80235 glibcxx_cv_utimensat=yes
80236 else
80237 glibcxx_cv_utimensat=no
80239 rm -f core conftest.err conftest.$ac_objext \
80240 conftest$ac_exeext conftest.$ac_ext
80245 if test $glibcxx_cv_utimensat = yes; then
80247 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80251 $as_echo "$glibcxx_cv_utimensat" >&6; }
80252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80253 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80254 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80255 $as_echo_n "(cached) " >&6
80256 else
80257 if test x$gcc_no_link = xyes; then
80258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80259 /* end confdefs.h. */
80260 #include <sys/stat.h>
80262 main ()
80265 struct stat st;
80266 return st.st_mtim.tv_nsec;
80269 return 0;
80271 _ACEOF
80272 if ac_fn_cxx_try_compile "$LINENO"; then :
80273 glibcxx_cv_st_mtim=yes
80274 else
80275 glibcxx_cv_st_mtim=no
80277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80278 else
80279 if test x$gcc_no_link = xyes; then
80280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80283 /* end confdefs.h. */
80284 #include <sys/stat.h>
80286 main ()
80289 struct stat st;
80290 return st.st_mtim.tv_nsec;
80293 return 0;
80295 _ACEOF
80296 if ac_fn_cxx_try_link "$LINENO"; then :
80297 glibcxx_cv_st_mtim=yes
80298 else
80299 glibcxx_cv_st_mtim=no
80301 rm -f core conftest.err conftest.$ac_objext \
80302 conftest$ac_exeext conftest.$ac_ext
80307 if test $glibcxx_cv_st_mtim = yes; then
80309 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80313 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80315 $as_echo_n "checking for fchmod... " >&6; }
80316 if test "${glibcxx_cv_fchmod+set}" = set; then :
80317 $as_echo_n "(cached) " >&6
80318 else
80319 if test x$gcc_no_link = xyes; then
80320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80321 /* end confdefs.h. */
80322 #include <sys/stat.h>
80324 main ()
80326 fchmod(1, S_IWUSR);
80328 return 0;
80330 _ACEOF
80331 if ac_fn_cxx_try_compile "$LINENO"; then :
80332 glibcxx_cv_fchmod=yes
80333 else
80334 glibcxx_cv_fchmod=no
80336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80337 else
80338 if test x$gcc_no_link = xyes; then
80339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80342 /* end confdefs.h. */
80343 #include <sys/stat.h>
80345 main ()
80347 fchmod(1, S_IWUSR);
80349 return 0;
80351 _ACEOF
80352 if ac_fn_cxx_try_link "$LINENO"; then :
80353 glibcxx_cv_fchmod=yes
80354 else
80355 glibcxx_cv_fchmod=no
80357 rm -f core conftest.err conftest.$ac_objext \
80358 conftest$ac_exeext conftest.$ac_ext
80363 if test $glibcxx_cv_fchmod = yes; then
80365 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80369 $as_echo "$glibcxx_cv_fchmod" >&6; }
80370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80371 $as_echo_n "checking for fchmodat... " >&6; }
80372 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80373 $as_echo_n "(cached) " >&6
80374 else
80375 if test x$gcc_no_link = xyes; then
80376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80377 /* end confdefs.h. */
80379 #include <fcntl.h>
80380 #include <sys/stat.h>
80383 main ()
80385 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80387 return 0;
80389 _ACEOF
80390 if ac_fn_cxx_try_compile "$LINENO"; then :
80391 glibcxx_cv_fchmodat=yes
80392 else
80393 glibcxx_cv_fchmodat=no
80395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80396 else
80397 if test x$gcc_no_link = xyes; then
80398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80401 /* end confdefs.h. */
80403 #include <fcntl.h>
80404 #include <sys/stat.h>
80407 main ()
80409 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80411 return 0;
80413 _ACEOF
80414 if ac_fn_cxx_try_link "$LINENO"; then :
80415 glibcxx_cv_fchmodat=yes
80416 else
80417 glibcxx_cv_fchmodat=no
80419 rm -f core conftest.err conftest.$ac_objext \
80420 conftest$ac_exeext conftest.$ac_ext
80425 if test $glibcxx_cv_fchmodat = yes; then
80427 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80431 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80433 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80434 if test "${glibcxx_cv_sendfile+set}" = set; then :
80435 $as_echo_n "(cached) " >&6
80436 else
80437 case "${target_os}" in
80438 gnu* | linux* | solaris*)
80439 if test x$gcc_no_link = xyes; then
80440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80441 /* end confdefs.h. */
80442 #include <sys/sendfile.h>
80444 main ()
80446 sendfile(1, 2, (off_t*)0, sizeof 1);
80448 return 0;
80450 _ACEOF
80451 if ac_fn_cxx_try_compile "$LINENO"; then :
80452 glibcxx_cv_sendfile=yes
80453 else
80454 glibcxx_cv_sendfile=no
80456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80457 else
80458 if test x$gcc_no_link = xyes; then
80459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80462 /* end confdefs.h. */
80463 #include <sys/sendfile.h>
80465 main ()
80467 sendfile(1, 2, (off_t*)0, sizeof 1);
80469 return 0;
80471 _ACEOF
80472 if ac_fn_cxx_try_link "$LINENO"; then :
80473 glibcxx_cv_sendfile=yes
80474 else
80475 glibcxx_cv_sendfile=no
80477 rm -f core conftest.err conftest.$ac_objext \
80478 conftest$ac_exeext conftest.$ac_ext
80482 glibcxx_cv_sendfile=no
80484 esac
80488 if test $glibcxx_cv_sendfile = yes; then
80490 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80494 $as_echo "$glibcxx_cv_sendfile" >&6; }
80495 CXXFLAGS="$ac_save_CXXFLAGS"
80496 ac_ext=c
80497 ac_cpp='$CPP $CPPFLAGS'
80498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80504 # For Transactional Memory TS
80506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80507 $as_echo_n "checking how size_t is mangled... " >&6; }
80508 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80509 $as_echo_n "(cached) " >&6
80510 else
80512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80513 /* end confdefs.h. */
80516 main ()
80518 extern __SIZE_TYPE__ x; extern unsigned long x;
80520 return 0;
80522 _ACEOF
80523 if ac_fn_c_try_compile "$LINENO"; then :
80524 glibcxx_cv_size_t_mangling=m
80525 else
80527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80528 /* end confdefs.h. */
80531 main ()
80533 extern __SIZE_TYPE__ x; extern unsigned int x;
80535 return 0;
80537 _ACEOF
80538 if ac_fn_c_try_compile "$LINENO"; then :
80539 glibcxx_cv_size_t_mangling=j
80540 else
80542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80543 /* end confdefs.h. */
80546 main ()
80548 extern __SIZE_TYPE__ x; extern unsigned long long x;
80550 return 0;
80552 _ACEOF
80553 if ac_fn_c_try_compile "$LINENO"; then :
80554 glibcxx_cv_size_t_mangling=y
80555 else
80557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80558 /* end confdefs.h. */
80561 main ()
80563 extern __SIZE_TYPE__ x; extern unsigned short x;
80565 return 0;
80567 _ACEOF
80568 if ac_fn_c_try_compile "$LINENO"; then :
80569 glibcxx_cv_size_t_mangling=t
80570 else
80572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80573 /* end confdefs.h. */
80576 main ()
80578 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80580 return 0;
80582 _ACEOF
80583 if ac_fn_c_try_compile "$LINENO"; then :
80584 glibcxx_cv_size_t_mangling=u6uint20
80585 else
80586 glibcxx_cv_size_t_mangling=x
80588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80604 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80605 if test $glibcxx_cv_size_t_mangling = x; then
80606 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80609 cat >>confdefs.h <<_ACEOF
80610 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80611 _ACEOF
80615 # Check which release added std::exception_ptr for the target
80617 if test $enable_symvers != no; then
80618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80619 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80620 case ${target} in
80621 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80622 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80623 ac_exception_ptr_since_gcc46=yes
80626 # If the value of this macro changes then we will need to hardcode
80627 # yes/no here for additional targets based on the original value.
80628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80629 /* end confdefs.h. */
80632 main ()
80635 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80636 # error atomic int not always lock free
80637 #endif
80640 return 0;
80642 _ACEOF
80643 if ac_fn_c_try_compile "$LINENO"; then :
80644 ac_exception_ptr_since_gcc46=yes
80645 else
80646 ac_exception_ptr_since_gcc46=no
80648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80650 esac
80651 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80653 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80656 $as_echo "4.6.0" >&6; }
80657 else
80658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80659 $as_echo "7.1.0" >&6; }
80664 # Define documentation rules conditionally.
80666 # See if makeinfo has been installed and is modern enough
80667 # that we can use it.
80669 # Extract the first word of "makeinfo", so it can be a program name with args.
80670 set dummy makeinfo; ac_word=$2
80671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80672 $as_echo_n "checking for $ac_word... " >&6; }
80673 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80674 $as_echo_n "(cached) " >&6
80675 else
80676 if test -n "$MAKEINFO"; then
80677 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80678 else
80679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80680 for as_dir in $PATH
80682 IFS=$as_save_IFS
80683 test -z "$as_dir" && as_dir=.
80684 for ac_exec_ext in '' $ac_executable_extensions; do
80685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80686 ac_cv_prog_MAKEINFO="makeinfo"
80687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80688 break 2
80690 done
80691 done
80692 IFS=$as_save_IFS
80696 MAKEINFO=$ac_cv_prog_MAKEINFO
80697 if test -n "$MAKEINFO"; then
80698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80699 $as_echo "$MAKEINFO" >&6; }
80700 else
80701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80702 $as_echo "no" >&6; }
80706 if test -n "$MAKEINFO"; then
80707 # Found it, now check the version.
80708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80709 $as_echo_n "checking for modern makeinfo... " >&6; }
80710 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80711 $as_echo_n "(cached) " >&6
80712 else
80713 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80714 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80716 case $ac_prog_version in
80717 '') gcc_cv_prog_makeinfo_modern=no;;
80718 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80719 *) gcc_cv_prog_makeinfo_modern=no;;
80720 esac
80723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80724 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80725 else
80726 gcc_cv_prog_makeinfo_modern=no
80728 if test $gcc_cv_prog_makeinfo_modern = no; then
80729 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80732 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80733 BUILD_INFO_TRUE=
80734 BUILD_INFO_FALSE='#'
80735 else
80736 BUILD_INFO_TRUE='#'
80737 BUILD_INFO_FALSE=
80741 # Check for doxygen
80742 # Extract the first word of "doxygen", so it can be a program name with args.
80743 set dummy doxygen; ac_word=$2
80744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80745 $as_echo_n "checking for $ac_word... " >&6; }
80746 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80747 $as_echo_n "(cached) " >&6
80748 else
80749 if test -n "$DOXYGEN"; then
80750 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80751 else
80752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80753 for as_dir in $PATH
80755 IFS=$as_save_IFS
80756 test -z "$as_dir" && as_dir=.
80757 for ac_exec_ext in '' $ac_executable_extensions; do
80758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80759 ac_cv_prog_DOXYGEN="yes"
80760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80761 break 2
80763 done
80764 done
80765 IFS=$as_save_IFS
80767 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80770 DOXYGEN=$ac_cv_prog_DOXYGEN
80771 if test -n "$DOXYGEN"; then
80772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80773 $as_echo "$DOXYGEN" >&6; }
80774 else
80775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80776 $as_echo "no" >&6; }
80780 # Extract the first word of "dot", so it can be a program name with args.
80781 set dummy dot; ac_word=$2
80782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80783 $as_echo_n "checking for $ac_word... " >&6; }
80784 if test "${ac_cv_prog_DOT+set}" = set; then :
80785 $as_echo_n "(cached) " >&6
80786 else
80787 if test -n "$DOT"; then
80788 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80789 else
80790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80791 for as_dir in $PATH
80793 IFS=$as_save_IFS
80794 test -z "$as_dir" && as_dir=.
80795 for ac_exec_ext in '' $ac_executable_extensions; do
80796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80797 ac_cv_prog_DOT="yes"
80798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80799 break 2
80801 done
80802 done
80803 IFS=$as_save_IFS
80805 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80808 DOT=$ac_cv_prog_DOT
80809 if test -n "$DOT"; then
80810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80811 $as_echo "$DOT" >&6; }
80812 else
80813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80814 $as_echo "no" >&6; }
80819 # Check for docbook
80820 # Extract the first word of "xsltproc", so it can be a program name with args.
80821 set dummy xsltproc; ac_word=$2
80822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80823 $as_echo_n "checking for $ac_word... " >&6; }
80824 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80825 $as_echo_n "(cached) " >&6
80826 else
80827 if test -n "$XSLTPROC"; then
80828 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80829 else
80830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80831 for as_dir in $PATH
80833 IFS=$as_save_IFS
80834 test -z "$as_dir" && as_dir=.
80835 for ac_exec_ext in '' $ac_executable_extensions; do
80836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80837 ac_cv_prog_XSLTPROC="yes"
80838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80839 break 2
80841 done
80842 done
80843 IFS=$as_save_IFS
80845 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80848 XSLTPROC=$ac_cv_prog_XSLTPROC
80849 if test -n "$XSLTPROC"; then
80850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80851 $as_echo "$XSLTPROC" >&6; }
80852 else
80853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80854 $as_echo "no" >&6; }
80858 # Extract the first word of "xmllint", so it can be a program name with args.
80859 set dummy xmllint; ac_word=$2
80860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80861 $as_echo_n "checking for $ac_word... " >&6; }
80862 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80863 $as_echo_n "(cached) " >&6
80864 else
80865 if test -n "$XMLLINT"; then
80866 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80867 else
80868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80869 for as_dir in $PATH
80871 IFS=$as_save_IFS
80872 test -z "$as_dir" && as_dir=.
80873 for ac_exec_ext in '' $ac_executable_extensions; do
80874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80875 ac_cv_prog_XMLLINT="yes"
80876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80877 break 2
80879 done
80880 done
80881 IFS=$as_save_IFS
80883 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80886 XMLLINT=$ac_cv_prog_XMLLINT
80887 if test -n "$XMLLINT"; then
80888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80889 $as_echo "$XMLLINT" >&6; }
80890 else
80891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80892 $as_echo "no" >&6; }
80898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80899 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80900 glibcxx_stylesheets=no
80901 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
80902 glibcxx_stylesheets=yes
80904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80905 $as_echo "$glibcxx_stylesheets" >&6; }
80907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80908 $as_echo_n "checking for local stylesheet directory... " >&6; }
80909 glibcxx_local_stylesheets=no
80910 if test x"$glibcxx_stylesheets" = x"yes"; then
80911 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80912 glibcxx_local_stylesheets=yes
80913 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80915 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80916 glibcxx_local_stylesheets=yes
80917 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80919 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80920 glibcxx_local_stylesheets=yes
80921 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80925 $as_echo "$glibcxx_local_stylesheets" >&6; }
80927 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80929 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80930 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80931 else
80932 glibcxx_stylesheets=no
80935 # Check for epub3 dependencies.
80936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80937 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80938 glibcxx_epub_stylesheets=no
80939 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80940 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80941 glibcxx_epub_stylesheets=yes
80944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80945 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80946 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80947 BUILD_EPUB_TRUE=
80948 BUILD_EPUB_FALSE='#'
80949 else
80950 BUILD_EPUB_TRUE='#'
80951 BUILD_EPUB_FALSE=
80957 # Check for xml/html dependencies.
80958 if test $ac_cv_prog_DOXYGEN = "yes" &&
80959 test $ac_cv_prog_DOT = "yes" &&
80960 test $ac_cv_prog_XSLTPROC = "yes" &&
80961 test $ac_cv_prog_XMLLINT = "yes" &&
80962 test $glibcxx_stylesheets = "yes"; then
80963 BUILD_XML_TRUE=
80964 BUILD_XML_FALSE='#'
80965 else
80966 BUILD_XML_TRUE='#'
80967 BUILD_XML_FALSE=
80971 if test $ac_cv_prog_DOXYGEN = "yes" &&
80972 test $ac_cv_prog_DOT = "yes" &&
80973 test $ac_cv_prog_XSLTPROC = "yes" &&
80974 test $ac_cv_prog_XMLLINT = "yes" &&
80975 test $glibcxx_stylesheets = "yes"; then
80976 BUILD_HTML_TRUE=
80977 BUILD_HTML_FALSE='#'
80978 else
80979 BUILD_HTML_TRUE='#'
80980 BUILD_HTML_FALSE=
80984 # Check for man dependencies.
80985 if test $ac_cv_prog_DOXYGEN = "yes" &&
80986 test $ac_cv_prog_DOT = "yes"; then
80987 BUILD_MAN_TRUE=
80988 BUILD_MAN_FALSE='#'
80989 else
80990 BUILD_MAN_TRUE='#'
80991 BUILD_MAN_FALSE=
80995 # Check for pdf dependencies.
80996 # Extract the first word of "dblatex", so it can be a program name with args.
80997 set dummy dblatex; ac_word=$2
80998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80999 $as_echo_n "checking for $ac_word... " >&6; }
81000 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81001 $as_echo_n "(cached) " >&6
81002 else
81003 if test -n "$DBLATEX"; then
81004 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81005 else
81006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81007 for as_dir in $PATH
81009 IFS=$as_save_IFS
81010 test -z "$as_dir" && as_dir=.
81011 for ac_exec_ext in '' $ac_executable_extensions; do
81012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81013 ac_cv_prog_DBLATEX="yes"
81014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81015 break 2
81017 done
81018 done
81019 IFS=$as_save_IFS
81021 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81024 DBLATEX=$ac_cv_prog_DBLATEX
81025 if test -n "$DBLATEX"; then
81026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81027 $as_echo "$DBLATEX" >&6; }
81028 else
81029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81030 $as_echo "no" >&6; }
81034 # Extract the first word of "pdflatex", so it can be a program name with args.
81035 set dummy pdflatex; ac_word=$2
81036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81037 $as_echo_n "checking for $ac_word... " >&6; }
81038 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81039 $as_echo_n "(cached) " >&6
81040 else
81041 if test -n "$PDFLATEX"; then
81042 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81043 else
81044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81045 for as_dir in $PATH
81047 IFS=$as_save_IFS
81048 test -z "$as_dir" && as_dir=.
81049 for ac_exec_ext in '' $ac_executable_extensions; do
81050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81051 ac_cv_prog_PDFLATEX="yes"
81052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81053 break 2
81055 done
81056 done
81057 IFS=$as_save_IFS
81059 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81062 PDFLATEX=$ac_cv_prog_PDFLATEX
81063 if test -n "$PDFLATEX"; then
81064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81065 $as_echo "$PDFLATEX" >&6; }
81066 else
81067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81068 $as_echo "no" >&6; }
81072 if test $ac_cv_prog_DBLATEX = "yes" &&
81073 test $ac_cv_prog_PDFLATEX = "yes"; then
81074 BUILD_PDF_TRUE=
81075 BUILD_PDF_FALSE='#'
81076 else
81077 BUILD_PDF_TRUE='#'
81078 BUILD_PDF_FALSE=
81083 # Propagate the target-specific source directories through the build chain.
81084 ATOMICITY_SRCDIR=config/${atomicity_dir}
81085 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81086 ATOMIC_FLAGS=${atomic_flags}
81087 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81088 OS_INC_SRCDIR=config/${os_include_dir}
81089 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81090 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81091 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81092 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81104 # Add CET specific flags if Intel CET is enabled.
81105 # Check whether --enable-cet was given.
81106 if test "${enable_cet+set}" = set; then :
81107 enableval=$enable_cet;
81108 case "$enableval" in
81109 yes|no|default) ;;
81110 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81111 esac
81113 else
81114 enable_cet=default
81118 case "$host" in
81119 i[34567]86-*-linux* | x86_64-*-linux*)
81120 case "$enable_cet" in
81121 default)
81122 # Check if assembler supports CET.
81123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81124 /* end confdefs.h. */
81127 main ()
81129 asm ("setssbsy");
81131 return 0;
81133 _ACEOF
81134 if ac_fn_c_try_compile "$LINENO"; then :
81135 enable_cet=yes
81136 else
81137 enable_cet=no
81139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81141 yes)
81142 # Check if assembler supports CET.
81143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81144 /* end confdefs.h. */
81147 main ()
81149 asm ("setssbsy");
81151 return 0;
81153 _ACEOF
81154 if ac_fn_c_try_compile "$LINENO"; then :
81156 else
81157 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81161 esac
81164 enable_cet=no
81166 esac
81167 if test x$enable_cet = xyes; then
81168 CET_FLAGS="-fcf-protection -mcet"
81171 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81172 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81176 # Determine cross-compile flags and AM_CONDITIONALs.
81177 #AC_SUBST(GLIBCXX_IS_NATIVE)
81178 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81179 if test $is_hosted = yes; then
81180 GLIBCXX_HOSTED_TRUE=
81181 GLIBCXX_HOSTED_FALSE='#'
81182 else
81183 GLIBCXX_HOSTED_TRUE='#'
81184 GLIBCXX_HOSTED_FALSE=
81188 if test $enable_libstdcxx_pch = yes; then
81189 GLIBCXX_BUILD_PCH_TRUE=
81190 GLIBCXX_BUILD_PCH_FALSE='#'
81191 else
81192 GLIBCXX_BUILD_PCH_TRUE='#'
81193 GLIBCXX_BUILD_PCH_FALSE=
81197 if test $enable_libstdcxx_allocator_flag = new; then
81198 ENABLE_ALLOCATOR_NEW_TRUE=
81199 ENABLE_ALLOCATOR_NEW_FALSE='#'
81200 else
81201 ENABLE_ALLOCATOR_NEW_TRUE='#'
81202 ENABLE_ALLOCATOR_NEW_FALSE=
81206 if test $enable_cheaders = c; then
81207 GLIBCXX_C_HEADERS_C_TRUE=
81208 GLIBCXX_C_HEADERS_C_FALSE='#'
81209 else
81210 GLIBCXX_C_HEADERS_C_TRUE='#'
81211 GLIBCXX_C_HEADERS_C_FALSE=
81215 if test $enable_cheaders = c_std; then
81216 GLIBCXX_C_HEADERS_C_STD_TRUE=
81217 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81218 else
81219 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81220 GLIBCXX_C_HEADERS_C_STD_FALSE=
81224 if test $enable_cheaders = c_global; then
81225 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81226 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81227 else
81228 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81229 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81233 if test $c_compatibility = yes; then
81234 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81235 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81236 else
81237 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81238 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81242 if test $enable_libstdcxx_debug = yes; then
81243 GLIBCXX_BUILD_DEBUG_TRUE=
81244 GLIBCXX_BUILD_DEBUG_FALSE='#'
81245 else
81246 GLIBCXX_BUILD_DEBUG_TRUE='#'
81247 GLIBCXX_BUILD_DEBUG_FALSE=
81251 if test $enable_extern_template = yes; then
81252 ENABLE_EXTERN_TEMPLATE_TRUE=
81253 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81254 else
81255 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81256 ENABLE_EXTERN_TEMPLATE_FALSE=
81260 if test $python_mod_dir != no; then
81261 ENABLE_PYTHONDIR_TRUE=
81262 ENABLE_PYTHONDIR_FALSE='#'
81263 else
81264 ENABLE_PYTHONDIR_TRUE='#'
81265 ENABLE_PYTHONDIR_FALSE=
81269 if test $enable_werror = yes; then
81270 ENABLE_WERROR_TRUE=
81271 ENABLE_WERROR_FALSE='#'
81272 else
81273 ENABLE_WERROR_TRUE='#'
81274 ENABLE_WERROR_FALSE=
81278 if test $enable_vtable_verify = yes; then
81279 ENABLE_VTABLE_VERIFY_TRUE=
81280 ENABLE_VTABLE_VERIFY_FALSE='#'
81281 else
81282 ENABLE_VTABLE_VERIFY_TRUE='#'
81283 ENABLE_VTABLE_VERIFY_FALSE=
81287 if test $enable_symvers != no; then
81288 ENABLE_SYMVERS_TRUE=
81289 ENABLE_SYMVERS_FALSE='#'
81290 else
81291 ENABLE_SYMVERS_TRUE='#'
81292 ENABLE_SYMVERS_FALSE=
81296 if test $enable_symvers = gnu; then
81297 ENABLE_SYMVERS_GNU_TRUE=
81298 ENABLE_SYMVERS_GNU_FALSE='#'
81299 else
81300 ENABLE_SYMVERS_GNU_TRUE='#'
81301 ENABLE_SYMVERS_GNU_FALSE=
81305 if test $enable_symvers = gnu-versioned-namespace; then
81306 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81307 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81308 else
81309 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81310 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81314 if test $enable_symvers = darwin; then
81315 ENABLE_SYMVERS_DARWIN_TRUE=
81316 ENABLE_SYMVERS_DARWIN_FALSE='#'
81317 else
81318 ENABLE_SYMVERS_DARWIN_TRUE='#'
81319 ENABLE_SYMVERS_DARWIN_FALSE=
81323 if test $enable_symvers = sun; then
81324 ENABLE_SYMVERS_SUN_TRUE=
81325 ENABLE_SYMVERS_SUN_FALSE='#'
81326 else
81327 ENABLE_SYMVERS_SUN_TRUE='#'
81328 ENABLE_SYMVERS_SUN_FALSE=
81332 if test $enable_libstdcxx_visibility = yes; then
81333 ENABLE_VISIBILITY_TRUE=
81334 ENABLE_VISIBILITY_FALSE='#'
81335 else
81336 ENABLE_VISIBILITY_TRUE='#'
81337 ENABLE_VISIBILITY_FALSE=
81341 if test $enable_libstdcxx_dual_abi = yes; then
81342 ENABLE_DUAL_ABI_TRUE=
81343 ENABLE_DUAL_ABI_FALSE='#'
81344 else
81345 ENABLE_DUAL_ABI_TRUE='#'
81346 ENABLE_DUAL_ABI_FALSE=
81350 if test $glibcxx_cxx11_abi = 1; then
81351 ENABLE_CXX11_ABI_TRUE=
81352 ENABLE_CXX11_ABI_FALSE='#'
81353 else
81354 ENABLE_CXX11_ABI_TRUE='#'
81355 ENABLE_CXX11_ABI_FALSE=
81359 if test $ac_ldbl_compat = yes; then
81360 GLIBCXX_LDBL_COMPAT_TRUE=
81361 GLIBCXX_LDBL_COMPAT_FALSE='#'
81362 else
81363 GLIBCXX_LDBL_COMPAT_TRUE='#'
81364 GLIBCXX_LDBL_COMPAT_FALSE=
81368 if test $enable_libstdcxx_filesystem_ts = yes; then
81369 ENABLE_FILESYSTEM_TS_TRUE=
81370 ENABLE_FILESYSTEM_TS_FALSE='#'
81371 else
81372 ENABLE_FILESYSTEM_TS_TRUE='#'
81373 ENABLE_FILESYSTEM_TS_FALSE=
81379 cat >confcache <<\_ACEOF
81380 # This file is a shell script that caches the results of configure
81381 # tests run on this system so they can be shared between configure
81382 # scripts and configure runs, see configure's option --config-cache.
81383 # It is not useful on other systems. If it contains results you don't
81384 # want to keep, you may remove or edit it.
81386 # config.status only pays attention to the cache file if you give it
81387 # the --recheck option to rerun configure.
81389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81391 # following values.
81393 _ACEOF
81395 # The following way of writing the cache mishandles newlines in values,
81396 # but we know of no workaround that is simple, portable, and efficient.
81397 # So, we kill variables containing newlines.
81398 # Ultrix sh set writes to stderr and can't be redirected directly,
81399 # and sets the high bit in the cache file unless we assign to the vars.
81401 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81402 eval ac_val=\$$ac_var
81403 case $ac_val in #(
81404 *${as_nl}*)
81405 case $ac_var in #(
81406 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81407 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81408 esac
81409 case $ac_var in #(
81410 _ | IFS | as_nl) ;; #(
81411 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81412 *) { eval $ac_var=; unset $ac_var;} ;;
81413 esac ;;
81414 esac
81415 done
81417 (set) 2>&1 |
81418 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81419 *${as_nl}ac_space=\ *)
81420 # `set' does not quote correctly, so add quotes: double-quote
81421 # substitution turns \\\\ into \\, and sed turns \\ into \.
81422 sed -n \
81423 "s/'/'\\\\''/g;
81424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81425 ;; #(
81427 # `set' quotes correctly as required by POSIX, so do not add quotes.
81428 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81430 esac |
81431 sort
81433 sed '
81434 /^ac_cv_env_/b end
81435 t clear
81436 :clear
81437 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81438 t end
81439 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81440 :end' >>confcache
81441 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81442 if test -w "$cache_file"; then
81443 test "x$cache_file" != "x/dev/null" &&
81444 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81445 $as_echo "$as_me: updating cache $cache_file" >&6;}
81446 cat confcache >$cache_file
81447 else
81448 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81449 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81452 rm -f confcache
81454 if test ${multilib} = yes; then
81455 multilib_arg="--enable-multilib"
81456 else
81457 multilib_arg=
81460 # Export all the install information.
81462 glibcxx_toolexecdir=no
81463 glibcxx_toolexeclibdir=no
81464 glibcxx_prefixdir=$prefix
81466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81467 $as_echo_n "checking for gxx-include-dir... " >&6; }
81469 # Check whether --with-gxx-include-dir was given.
81470 if test "${with_gxx_include_dir+set}" = set; then :
81471 withval=$with_gxx_include_dir; case "$withval" in
81472 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81473 no) gxx_include_dir=no ;;
81474 *) gxx_include_dir=$withval ;;
81475 esac
81476 else
81477 gxx_include_dir=no
81480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81481 $as_echo "$gxx_include_dir" >&6; }
81483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81484 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81485 # Check whether --enable-version-specific-runtime-libs was given.
81486 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81487 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81488 yes) version_specific_libs=yes ;;
81489 no) version_specific_libs=no ;;
81490 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81491 esac
81492 else
81493 version_specific_libs=no
81496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81497 $as_echo "$version_specific_libs" >&6; }
81499 # Default case for install directory for include files.
81500 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81501 gxx_include_dir='include/c++/${gcc_version}'
81502 if test -n "$with_cross_host" &&
81503 test x"$with_cross_host" != x"no"; then
81504 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81505 else
81506 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81510 # Version-specific runtime libs processing.
81511 if test $version_specific_libs = yes; then
81512 # Need the gcc compiler version to know where to install libraries
81513 # and header files if --enable-version-specific-runtime-libs option
81514 # is selected. FIXME: these variables are misnamed, there are
81515 # no executables installed in _toolexecdir or _toolexeclibdir.
81516 if test x"$gxx_include_dir" = x"no"; then
81517 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81519 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81520 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81523 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81524 # Install a library built with a cross compiler in tooldir, not libdir.
81525 if test x"$glibcxx_toolexecdir" = x"no"; then
81526 if test -n "$with_cross_host" &&
81527 test x"$with_cross_host" != x"no"; then
81528 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81529 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81530 else
81531 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81532 glibcxx_toolexeclibdir='${libdir}'
81534 multi_os_directory=`$CXX -print-multi-os-directory`
81535 case $multi_os_directory in
81536 .) ;; # Avoid trailing /.
81537 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81538 esac
81541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81542 $as_echo_n "checking for install location... " >&6; }
81543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81544 $as_echo "$gxx_include_dir" >&6; }
81552 # Export all the include and flag information to Makefiles.
81554 # Used for every C++ compile we perform.
81555 GLIBCXX_INCLUDES="\
81556 -I$glibcxx_builddir/include/$host_alias \
81557 -I$glibcxx_builddir/include \
81558 -I$glibcxx_srcdir/libsupc++"
81560 # For Canadian crosses, pick this up too.
81561 if test $CANADIAN = yes; then
81562 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81565 # Stuff in the actual top level. Currently only used by libsupc++ to
81566 # get unwind* headers from the libgcc dir.
81567 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81568 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81570 # Now, export this to all the little Makefiles....
81575 # Optimization flags that are probably a good idea for thrill-seekers. Just
81576 # uncomment the lines below and make, everything else is ready to go...
81577 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81578 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81581 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81585 # Determine what GCC version number to use in filesystem paths.
81587 get_gcc_base_ver="cat"
81589 # Check whether --with-gcc-major-version-only was given.
81590 if test "${with_gcc_major_version_only+set}" = set; then :
81591 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81592 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81600 ac_config_files="$ac_config_files Makefile"
81602 ac_config_files="$ac_config_files scripts/testsuite_flags"
81604 ac_config_files="$ac_config_files scripts/extract_symvers"
81606 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81609 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81610 # that multilib installs will end up installed in the correct place.
81611 # The testsuite needs it for multilib-aware ABI baseline files.
81612 # To work around this not being passed down from config-ml.in ->
81613 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81614 # append it here. Only modify Makefiles that have just been created.
81616 # Also, get rid of this simulated-VPATH thing that automake does.
81617 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"
81620 ac_config_commands="$ac_config_commands generate-headers"
81623 cat >confcache <<\_ACEOF
81624 # This file is a shell script that caches the results of configure
81625 # tests run on this system so they can be shared between configure
81626 # scripts and configure runs, see configure's option --config-cache.
81627 # It is not useful on other systems. If it contains results you don't
81628 # want to keep, you may remove or edit it.
81630 # config.status only pays attention to the cache file if you give it
81631 # the --recheck option to rerun configure.
81633 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81634 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81635 # following values.
81637 _ACEOF
81639 # The following way of writing the cache mishandles newlines in values,
81640 # but we know of no workaround that is simple, portable, and efficient.
81641 # So, we kill variables containing newlines.
81642 # Ultrix sh set writes to stderr and can't be redirected directly,
81643 # and sets the high bit in the cache file unless we assign to the vars.
81645 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81646 eval ac_val=\$$ac_var
81647 case $ac_val in #(
81648 *${as_nl}*)
81649 case $ac_var in #(
81650 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81651 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81652 esac
81653 case $ac_var in #(
81654 _ | IFS | as_nl) ;; #(
81655 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81656 *) { eval $ac_var=; unset $ac_var;} ;;
81657 esac ;;
81658 esac
81659 done
81661 (set) 2>&1 |
81662 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81663 *${as_nl}ac_space=\ *)
81664 # `set' does not quote correctly, so add quotes: double-quote
81665 # substitution turns \\\\ into \\, and sed turns \\ into \.
81666 sed -n \
81667 "s/'/'\\\\''/g;
81668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81669 ;; #(
81671 # `set' quotes correctly as required by POSIX, so do not add quotes.
81672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81674 esac |
81675 sort
81677 sed '
81678 /^ac_cv_env_/b end
81679 t clear
81680 :clear
81681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81682 t end
81683 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81684 :end' >>confcache
81685 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81686 if test -w "$cache_file"; then
81687 test "x$cache_file" != "x/dev/null" &&
81688 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81689 $as_echo "$as_me: updating cache $cache_file" >&6;}
81690 cat confcache >$cache_file
81691 else
81692 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81693 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81696 rm -f confcache
81698 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81699 # Let make expand exec_prefix.
81700 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81702 DEFS=-DHAVE_CONFIG_H
81704 ac_libobjs=
81705 ac_ltlibobjs=
81706 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81707 # 1. Remove the extension, and $U if already installed.
81708 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81709 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81710 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81711 # will be set to the directory where LIBOBJS objects are built.
81712 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81713 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81714 done
81715 LIBOBJS=$ac_libobjs
81717 LTLIBOBJS=$ac_ltlibobjs
81720 if test -n "$EXEEXT"; then
81721 am__EXEEXT_TRUE=
81722 am__EXEEXT_FALSE='#'
81723 else
81724 am__EXEEXT_TRUE='#'
81725 am__EXEEXT_FALSE=
81728 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81729 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81732 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81733 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81736 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81737 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81740 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81741 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81744 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81745 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81748 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81749 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81752 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81753 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81756 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81757 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81760 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81761 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81764 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81765 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81768 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81769 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81772 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81773 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81776 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81777 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81780 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81781 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81784 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81785 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81788 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81789 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81792 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81793 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81796 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81797 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81800 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81801 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81804 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81805 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81808 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81809 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81812 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81813 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81816 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81817 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81820 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81821 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81824 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81825 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81828 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81829 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81832 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81833 as_fn_error "conditional \"BUILD_XML\" was never defined.
81834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81836 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81837 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81840 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81841 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81844 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81845 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81849 : ${CONFIG_STATUS=./config.status}
81850 ac_write_fail=0
81851 ac_clean_files_save=$ac_clean_files
81852 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81854 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81855 as_write_fail=0
81856 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81857 #! $SHELL
81858 # Generated by $as_me.
81859 # Run this file to recreate the current configuration.
81860 # Compiler output produced by configure, useful for debugging
81861 # configure, is in config.log if it exists.
81863 debug=false
81864 ac_cs_recheck=false
81865 ac_cs_silent=false
81867 SHELL=\${CONFIG_SHELL-$SHELL}
81868 export SHELL
81869 _ASEOF
81870 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81871 ## -------------------- ##
81872 ## M4sh Initialization. ##
81873 ## -------------------- ##
81875 # Be more Bourne compatible
81876 DUALCASE=1; export DUALCASE # for MKS sh
81877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81878 emulate sh
81879 NULLCMD=:
81880 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81881 # is contrary to our usage. Disable this feature.
81882 alias -g '${1+"$@"}'='"$@"'
81883 setopt NO_GLOB_SUBST
81884 else
81885 case `(set -o) 2>/dev/null` in #(
81886 *posix*) :
81887 set -o posix ;; #(
81888 *) :
81890 esac
81894 as_nl='
81896 export as_nl
81897 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81898 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81900 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81901 # Prefer a ksh shell builtin over an external printf program on Solaris,
81902 # but without wasting forks for bash or zsh.
81903 if test -z "$BASH_VERSION$ZSH_VERSION" \
81904 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81905 as_echo='print -r --'
81906 as_echo_n='print -rn --'
81907 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81908 as_echo='printf %s\n'
81909 as_echo_n='printf %s'
81910 else
81911 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81912 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81913 as_echo_n='/usr/ucb/echo -n'
81914 else
81915 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81916 as_echo_n_body='eval
81917 arg=$1;
81918 case $arg in #(
81919 *"$as_nl"*)
81920 expr "X$arg" : "X\\(.*\\)$as_nl";
81921 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81922 esac;
81923 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81925 export as_echo_n_body
81926 as_echo_n='sh -c $as_echo_n_body as_echo'
81928 export as_echo_body
81929 as_echo='sh -c $as_echo_body as_echo'
81932 # The user is always right.
81933 if test "${PATH_SEPARATOR+set}" != set; then
81934 PATH_SEPARATOR=:
81935 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81936 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81937 PATH_SEPARATOR=';'
81942 # IFS
81943 # We need space, tab and new line, in precisely that order. Quoting is
81944 # there to prevent editors from complaining about space-tab.
81945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81946 # splitting by setting IFS to empty value.)
81947 IFS=" "" $as_nl"
81949 # Find who we are. Look in the path if we contain no directory separator.
81950 case $0 in #((
81951 *[\\/]* ) as_myself=$0 ;;
81952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81953 for as_dir in $PATH
81955 IFS=$as_save_IFS
81956 test -z "$as_dir" && as_dir=.
81957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81958 done
81959 IFS=$as_save_IFS
81962 esac
81963 # We did not find ourselves, most probably we were run as `sh COMMAND'
81964 # in which case we are not to be found in the path.
81965 if test "x$as_myself" = x; then
81966 as_myself=$0
81968 if test ! -f "$as_myself"; then
81969 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81970 exit 1
81973 # Unset variables that we do not need and which cause bugs (e.g. in
81974 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81975 # suppresses any "Segmentation fault" message there. '((' could
81976 # trigger a bug in pdksh 5.2.14.
81977 for as_var in BASH_ENV ENV MAIL MAILPATH
81978 do eval test x\${$as_var+set} = xset \
81979 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81980 done
81981 PS1='$ '
81982 PS2='> '
81983 PS4='+ '
81985 # NLS nuisances.
81986 LC_ALL=C
81987 export LC_ALL
81988 LANGUAGE=C
81989 export LANGUAGE
81991 # CDPATH.
81992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81995 # as_fn_error ERROR [LINENO LOG_FD]
81996 # ---------------------------------
81997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81999 # script with status $?, using 1 if that was 0.
82000 as_fn_error ()
82002 as_status=$?; test $as_status -eq 0 && as_status=1
82003 if test "$3"; then
82004 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82005 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82007 $as_echo "$as_me: error: $1" >&2
82008 as_fn_exit $as_status
82009 } # as_fn_error
82012 # as_fn_set_status STATUS
82013 # -----------------------
82014 # Set $? to STATUS, without forking.
82015 as_fn_set_status ()
82017 return $1
82018 } # as_fn_set_status
82020 # as_fn_exit STATUS
82021 # -----------------
82022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82023 as_fn_exit ()
82025 set +e
82026 as_fn_set_status $1
82027 exit $1
82028 } # as_fn_exit
82030 # as_fn_unset VAR
82031 # ---------------
82032 # Portably unset VAR.
82033 as_fn_unset ()
82035 { eval $1=; unset $1;}
82037 as_unset=as_fn_unset
82038 # as_fn_append VAR VALUE
82039 # ----------------------
82040 # Append the text in VALUE to the end of the definition contained in VAR. Take
82041 # advantage of any shell optimizations that allow amortized linear growth over
82042 # repeated appends, instead of the typical quadratic growth present in naive
82043 # implementations.
82044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82045 eval 'as_fn_append ()
82047 eval $1+=\$2
82049 else
82050 as_fn_append ()
82052 eval $1=\$$1\$2
82054 fi # as_fn_append
82056 # as_fn_arith ARG...
82057 # ------------------
82058 # Perform arithmetic evaluation on the ARGs, and store the result in the
82059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82060 # must be portable across $(()) and expr.
82061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82062 eval 'as_fn_arith ()
82064 as_val=$(( $* ))
82066 else
82067 as_fn_arith ()
82069 as_val=`expr "$@" || test $? -eq 1`
82071 fi # as_fn_arith
82074 if expr a : '\(a\)' >/dev/null 2>&1 &&
82075 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82076 as_expr=expr
82077 else
82078 as_expr=false
82081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82082 as_basename=basename
82083 else
82084 as_basename=false
82087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82088 as_dirname=dirname
82089 else
82090 as_dirname=false
82093 as_me=`$as_basename -- "$0" ||
82094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82095 X"$0" : 'X\(//\)$' \| \
82096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82097 $as_echo X/"$0" |
82098 sed '/^.*\/\([^/][^/]*\)\/*$/{
82099 s//\1/
82102 /^X\/\(\/\/\)$/{
82103 s//\1/
82106 /^X\/\(\/\).*/{
82107 s//\1/
82110 s/.*/./; q'`
82112 # Avoid depending upon Character Ranges.
82113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82116 as_cr_digits='0123456789'
82117 as_cr_alnum=$as_cr_Letters$as_cr_digits
82119 ECHO_C= ECHO_N= ECHO_T=
82120 case `echo -n x` in #(((((
82121 -n*)
82122 case `echo 'xy\c'` in
82123 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82124 xy) ECHO_C='\c';;
82125 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82126 ECHO_T=' ';;
82127 esac;;
82129 ECHO_N='-n';;
82130 esac
82132 rm -f conf$$ conf$$.exe conf$$.file
82133 if test -d conf$$.dir; then
82134 rm -f conf$$.dir/conf$$.file
82135 else
82136 rm -f conf$$.dir
82137 mkdir conf$$.dir 2>/dev/null
82139 if (echo >conf$$.file) 2>/dev/null; then
82140 if ln -s conf$$.file conf$$ 2>/dev/null; then
82141 as_ln_s='ln -s'
82142 # ... but there are two gotchas:
82143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82145 # In both cases, we have to default to `cp -p'.
82146 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82147 as_ln_s='cp -p'
82148 elif ln conf$$.file conf$$ 2>/dev/null; then
82149 as_ln_s=ln
82150 else
82151 as_ln_s='cp -p'
82153 else
82154 as_ln_s='cp -p'
82156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82157 rmdir conf$$.dir 2>/dev/null
82160 # as_fn_mkdir_p
82161 # -------------
82162 # Create "$as_dir" as a directory, including parents if necessary.
82163 as_fn_mkdir_p ()
82166 case $as_dir in #(
82167 -*) as_dir=./$as_dir;;
82168 esac
82169 test -d "$as_dir" || eval $as_mkdir_p || {
82170 as_dirs=
82171 while :; do
82172 case $as_dir in #(
82173 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82174 *) as_qdir=$as_dir;;
82175 esac
82176 as_dirs="'$as_qdir' $as_dirs"
82177 as_dir=`$as_dirname -- "$as_dir" ||
82178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82179 X"$as_dir" : 'X\(//\)[^/]' \| \
82180 X"$as_dir" : 'X\(//\)$' \| \
82181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82182 $as_echo X"$as_dir" |
82183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82184 s//\1/
82187 /^X\(\/\/\)[^/].*/{
82188 s//\1/
82191 /^X\(\/\/\)$/{
82192 s//\1/
82195 /^X\(\/\).*/{
82196 s//\1/
82199 s/.*/./; q'`
82200 test -d "$as_dir" && break
82201 done
82202 test -z "$as_dirs" || eval "mkdir $as_dirs"
82203 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82206 } # as_fn_mkdir_p
82207 if mkdir -p . 2>/dev/null; then
82208 as_mkdir_p='mkdir -p "$as_dir"'
82209 else
82210 test -d ./-p && rmdir ./-p
82211 as_mkdir_p=false
82214 if test -x / >/dev/null 2>&1; then
82215 as_test_x='test -x'
82216 else
82217 if ls -dL / >/dev/null 2>&1; then
82218 as_ls_L_option=L
82219 else
82220 as_ls_L_option=
82222 as_test_x='
82223 eval sh -c '\''
82224 if test -d "$1"; then
82225 test -d "$1/.";
82226 else
82227 case $1 in #(
82228 -*)set "./$1";;
82229 esac;
82230 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82231 ???[sx]*):;;*)false;;esac;fi
82232 '\'' sh
82235 as_executable_p=$as_test_x
82237 # Sed expression to map a string onto a valid CPP name.
82238 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82240 # Sed expression to map a string onto a valid variable name.
82241 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82244 exec 6>&1
82245 ## ----------------------------------- ##
82246 ## Main body of $CONFIG_STATUS script. ##
82247 ## ----------------------------------- ##
82248 _ASEOF
82249 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82252 # Save the log message, to keep $0 and so on meaningful, and to
82253 # report actual input values of CONFIG_FILES etc. instead of their
82254 # values after options handling.
82255 ac_log="
82256 This file was extended by package-unused $as_me version-unused, which was
82257 generated by GNU Autoconf 2.64. Invocation command line was
82259 CONFIG_FILES = $CONFIG_FILES
82260 CONFIG_HEADERS = $CONFIG_HEADERS
82261 CONFIG_LINKS = $CONFIG_LINKS
82262 CONFIG_COMMANDS = $CONFIG_COMMANDS
82263 $ $0 $@
82265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82268 _ACEOF
82270 case $ac_config_files in *"
82271 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82272 esac
82274 case $ac_config_headers in *"
82275 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82276 esac
82279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82280 # Files that config.status was made for.
82281 config_files="$ac_config_files"
82282 config_headers="$ac_config_headers"
82283 config_commands="$ac_config_commands"
82285 _ACEOF
82287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82288 ac_cs_usage="\
82289 \`$as_me' instantiates files and other configuration actions
82290 from templates according to the current configuration. Unless the files
82291 and actions are specified as TAGs, all are instantiated by default.
82293 Usage: $0 [OPTION]... [TAG]...
82295 -h, --help print this help, then exit
82296 -V, --version print version number and configuration settings, then exit
82297 -q, --quiet, --silent
82298 do not print progress messages
82299 -d, --debug don't remove temporary files
82300 --recheck update $as_me by reconfiguring in the same conditions
82301 --file=FILE[:TEMPLATE]
82302 instantiate the configuration file FILE
82303 --header=FILE[:TEMPLATE]
82304 instantiate the configuration header FILE
82306 Configuration files:
82307 $config_files
82309 Configuration headers:
82310 $config_headers
82312 Configuration commands:
82313 $config_commands
82315 Report bugs to the package provider."
82317 _ACEOF
82318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82319 ac_cs_version="\\
82320 package-unused config.status version-unused
82321 configured by $0, generated by GNU Autoconf 2.64,
82322 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82324 Copyright (C) 2009 Free Software Foundation, Inc.
82325 This config.status script is free software; the Free Software Foundation
82326 gives unlimited permission to copy, distribute and modify it."
82328 ac_pwd='$ac_pwd'
82329 srcdir='$srcdir'
82330 INSTALL='$INSTALL'
82331 MKDIR_P='$MKDIR_P'
82332 AWK='$AWK'
82333 test -n "\$AWK" || AWK=awk
82334 _ACEOF
82336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82337 # The default lists apply if the user does not specify any file.
82338 ac_need_defaults=:
82339 while test $# != 0
82341 case $1 in
82342 --*=*)
82343 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82344 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82345 ac_shift=:
82348 ac_option=$1
82349 ac_optarg=$2
82350 ac_shift=shift
82352 esac
82354 case $ac_option in
82355 # Handling of the options.
82356 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82357 ac_cs_recheck=: ;;
82358 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82359 $as_echo "$ac_cs_version"; exit ;;
82360 --debug | --debu | --deb | --de | --d | -d )
82361 debug=: ;;
82362 --file | --fil | --fi | --f )
82363 $ac_shift
82364 case $ac_optarg in
82365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82366 esac
82367 as_fn_append CONFIG_FILES " '$ac_optarg'"
82368 ac_need_defaults=false;;
82369 --header | --heade | --head | --hea )
82370 $ac_shift
82371 case $ac_optarg in
82372 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82373 esac
82374 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82375 ac_need_defaults=false;;
82376 --he | --h)
82377 # Conflict between --help and --header
82378 as_fn_error "ambiguous option: \`$1'
82379 Try \`$0 --help' for more information.";;
82380 --help | --hel | -h )
82381 $as_echo "$ac_cs_usage"; exit ;;
82382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82384 ac_cs_silent=: ;;
82386 # This is an error.
82387 -*) as_fn_error "unrecognized option: \`$1'
82388 Try \`$0 --help' for more information." ;;
82390 *) as_fn_append ac_config_targets " $1"
82391 ac_need_defaults=false ;;
82393 esac
82394 shift
82395 done
82397 ac_configure_extra_args=
82399 if $ac_cs_silent; then
82400 exec 6>/dev/null
82401 ac_configure_extra_args="$ac_configure_extra_args --silent"
82404 _ACEOF
82405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82406 if \$ac_cs_recheck; then
82407 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82408 shift
82409 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82410 CONFIG_SHELL='$SHELL'
82411 export CONFIG_SHELL
82412 exec "\$@"
82415 _ACEOF
82416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82417 exec 5>>config.log
82419 echo
82420 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82421 ## Running $as_me. ##
82422 _ASBOX
82423 $as_echo "$ac_log"
82424 } >&5
82426 _ACEOF
82427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82429 # INIT-COMMANDS
82432 srcdir="$srcdir"
82433 host="$host"
82434 target="$target"
82435 with_multisubdir="$with_multisubdir"
82436 with_multisrctop="$with_multisrctop"
82437 with_target_subdir="$with_target_subdir"
82438 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82439 multi_basedir="$multi_basedir"
82440 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82441 CC="$CC"
82442 CXX="$CXX"
82443 GFORTRAN="$GFORTRAN"
82446 # The HP-UX ksh and POSIX shell print the target directory to stdout
82447 # if CDPATH is set.
82448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82450 sed_quote_subst='$sed_quote_subst'
82451 double_quote_subst='$double_quote_subst'
82452 delay_variable_subst='$delay_variable_subst'
82453 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82454 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82455 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82456 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82457 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82458 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82459 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82460 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82461 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82462 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82463 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82464 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82465 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82466 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82467 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82468 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82469 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82470 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82471 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82472 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82473 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82474 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82475 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82476 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82477 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82478 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82479 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82480 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82481 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82482 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82483 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82484 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82485 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82486 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82487 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82488 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82489 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82490 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82491 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82492 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82493 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82494 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82495 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82496 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82497 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82498 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82499 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82500 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82501 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"`'
82502 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82503 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82504 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82505 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82506 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82507 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82508 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82509 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82510 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82511 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82512 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82513 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82514 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82515 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82516 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82517 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82518 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82519 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82520 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82521 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82522 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82523 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82524 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82525 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82526 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82527 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82528 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82529 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82530 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82531 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82532 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82533 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82534 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82535 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82536 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82537 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82538 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82539 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82540 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82541 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82542 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82543 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82544 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82545 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82546 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82547 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82548 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82549 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82550 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82551 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82552 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82553 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82554 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82555 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82556 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82557 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82558 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82559 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82560 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82561 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82562 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82563 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82564 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82565 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82566 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82567 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82568 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82569 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82570 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82571 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82572 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82573 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82574 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82575 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82576 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82577 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82578 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82579 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82580 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82581 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82582 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82583 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82584 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82585 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82586 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82587 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82588 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82589 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82590 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82591 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82592 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82593 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82594 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82595 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82596 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82597 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82598 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82599 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82600 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82601 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82602 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82603 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82604 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82605 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82606 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82607 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82608 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82609 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82610 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82611 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82612 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82613 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82614 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82615 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82616 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82617 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82618 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82619 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82620 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82621 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82622 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82623 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82624 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82625 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82626 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82627 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82629 LTCC='$LTCC'
82630 LTCFLAGS='$LTCFLAGS'
82631 compiler='$compiler_DEFAULT'
82633 # A function that is used when there is no print builtin or printf.
82634 func_fallback_echo ()
82636 eval 'cat <<_LTECHO_EOF
82638 _LTECHO_EOF'
82641 # Quote evaled strings.
82642 for var in SHELL \
82643 ECHO \
82644 SED \
82645 GREP \
82646 EGREP \
82647 FGREP \
82648 LD \
82649 NM \
82650 LN_S \
82651 lt_SP2NL \
82652 lt_NL2SP \
82653 reload_flag \
82654 OBJDUMP \
82655 deplibs_check_method \
82656 file_magic_cmd \
82657 AR \
82658 AR_FLAGS \
82659 STRIP \
82660 RANLIB \
82661 CC \
82662 CFLAGS \
82663 compiler \
82664 lt_cv_sys_global_symbol_pipe \
82665 lt_cv_sys_global_symbol_to_cdecl \
82666 lt_cv_sys_global_symbol_to_c_name_address \
82667 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82668 lt_prog_compiler_no_builtin_flag \
82669 lt_prog_compiler_wl \
82670 lt_prog_compiler_pic \
82671 lt_prog_compiler_static \
82672 lt_cv_prog_compiler_c_o \
82673 need_locks \
82674 DSYMUTIL \
82675 NMEDIT \
82676 LIPO \
82677 OTOOL \
82678 OTOOL64 \
82679 shrext_cmds \
82680 export_dynamic_flag_spec \
82681 whole_archive_flag_spec \
82682 compiler_needs_object \
82683 with_gnu_ld \
82684 allow_undefined_flag \
82685 no_undefined_flag \
82686 hardcode_libdir_flag_spec \
82687 hardcode_libdir_flag_spec_ld \
82688 hardcode_libdir_separator \
82689 fix_srcfile_path \
82690 exclude_expsyms \
82691 include_expsyms \
82692 file_list_spec \
82693 variables_saved_for_relink \
82694 libname_spec \
82695 library_names_spec \
82696 soname_spec \
82697 install_override_mode \
82698 finish_eval \
82699 old_striplib \
82700 striplib \
82701 compiler_lib_search_dirs \
82702 predep_objects \
82703 postdep_objects \
82704 predeps \
82705 postdeps \
82706 compiler_lib_search_path \
82707 LD_CXX \
82708 reload_flag_CXX \
82709 compiler_CXX \
82710 lt_prog_compiler_no_builtin_flag_CXX \
82711 lt_prog_compiler_wl_CXX \
82712 lt_prog_compiler_pic_CXX \
82713 lt_prog_compiler_static_CXX \
82714 lt_cv_prog_compiler_c_o_CXX \
82715 export_dynamic_flag_spec_CXX \
82716 whole_archive_flag_spec_CXX \
82717 compiler_needs_object_CXX \
82718 with_gnu_ld_CXX \
82719 allow_undefined_flag_CXX \
82720 no_undefined_flag_CXX \
82721 hardcode_libdir_flag_spec_CXX \
82722 hardcode_libdir_flag_spec_ld_CXX \
82723 hardcode_libdir_separator_CXX \
82724 fix_srcfile_path_CXX \
82725 exclude_expsyms_CXX \
82726 include_expsyms_CXX \
82727 file_list_spec_CXX \
82728 compiler_lib_search_dirs_CXX \
82729 predep_objects_CXX \
82730 postdep_objects_CXX \
82731 predeps_CXX \
82732 postdeps_CXX \
82733 compiler_lib_search_path_CXX; do
82734 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82735 *[\\\\\\\`\\"\\\$]*)
82736 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82739 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82741 esac
82742 done
82744 # Double-quote double-evaled strings.
82745 for var in reload_cmds \
82746 old_postinstall_cmds \
82747 old_postuninstall_cmds \
82748 old_archive_cmds \
82749 extract_expsyms_cmds \
82750 old_archive_from_new_cmds \
82751 old_archive_from_expsyms_cmds \
82752 archive_cmds \
82753 archive_expsym_cmds \
82754 module_cmds \
82755 module_expsym_cmds \
82756 export_symbols_cmds \
82757 prelink_cmds \
82758 postinstall_cmds \
82759 postuninstall_cmds \
82760 finish_cmds \
82761 sys_lib_search_path_spec \
82762 sys_lib_dlsearch_path_spec \
82763 reload_cmds_CXX \
82764 old_archive_cmds_CXX \
82765 old_archive_from_new_cmds_CXX \
82766 old_archive_from_expsyms_cmds_CXX \
82767 archive_cmds_CXX \
82768 archive_expsym_cmds_CXX \
82769 module_cmds_CXX \
82770 module_expsym_cmds_CXX \
82771 export_symbols_cmds_CXX \
82772 prelink_cmds_CXX; do
82773 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82774 *[\\\\\\\`\\"\\\$]*)
82775 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82778 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82780 esac
82781 done
82783 ac_aux_dir='$ac_aux_dir'
82784 xsi_shell='$xsi_shell'
82785 lt_shell_append='$lt_shell_append'
82787 # See if we are running on zsh, and set the options which allow our
82788 # commands through without removal of \ escapes INIT.
82789 if test -n "\${ZSH_VERSION+set}" ; then
82790 setopt NO_GLOB_SUBST
82794 PACKAGE='$PACKAGE'
82795 VERSION='$VERSION'
82796 TIMESTAMP='$TIMESTAMP'
82797 RM='$RM'
82798 ofile='$ofile'
82805 GCC="$GCC"
82806 CC="$CC"
82807 acx_cv_header_stdint="$acx_cv_header_stdint"
82808 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82809 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82810 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82811 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82812 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82813 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82814 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82815 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82816 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82817 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82818 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82819 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82820 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82823 _ACEOF
82825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82827 # Handling of arguments.
82828 for ac_config_target in $ac_config_targets
82830 case $ac_config_target in
82831 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82832 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82833 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82834 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82835 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82836 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82837 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82838 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82839 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82840 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82841 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82842 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82843 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82844 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82845 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82846 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82847 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82848 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82849 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82851 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82852 esac
82853 done
82856 # If the user did not use the arguments to specify the items to instantiate,
82857 # then the envvar interface is used. Set only those that are not.
82858 # We use the long form for the default assignment because of an extremely
82859 # bizarre bug on SunOS 4.1.3.
82860 if $ac_need_defaults; then
82861 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82862 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82863 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82866 # Have a temporary directory for convenience. Make it in the build tree
82867 # simply because there is no reason against having it here, and in addition,
82868 # creating and moving files from /tmp can sometimes cause problems.
82869 # Hook for its removal unless debugging.
82870 # Note that there is a small window in which the directory will not be cleaned:
82871 # after its creation but before its name has been assigned to `$tmp'.
82872 $debug ||
82874 tmp=
82875 trap 'exit_status=$?
82876 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82878 trap 'as_fn_exit 1' 1 2 13 15
82880 # Create a (secure) tmp directory for tmp files.
82883 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82884 test -n "$tmp" && test -d "$tmp"
82885 } ||
82887 tmp=./conf$$-$RANDOM
82888 (umask 077 && mkdir "$tmp")
82889 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82891 # Set up the scripts for CONFIG_FILES section.
82892 # No need to generate them if there are no CONFIG_FILES.
82893 # This happens for instance with `./config.status config.h'.
82894 if test -n "$CONFIG_FILES"; then
82897 ac_cr=`echo X | tr X '\015'`
82898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82899 # But we know of no other shell where ac_cr would be empty at this
82900 # point, so we can use a bashism as a fallback.
82901 if test "x$ac_cr" = x; then
82902 eval ac_cr=\$\'\\r\'
82904 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82906 ac_cs_awk_cr='\r'
82907 else
82908 ac_cs_awk_cr=$ac_cr
82911 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82912 _ACEOF
82916 echo "cat >conf$$subs.awk <<_ACEOF" &&
82917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82918 echo "_ACEOF"
82919 } >conf$$subs.sh ||
82920 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82922 ac_delim='%!_!# '
82923 for ac_last_try in false false false false false :; do
82924 . ./conf$$subs.sh ||
82925 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82927 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82928 if test $ac_delim_n = $ac_delim_num; then
82929 break
82930 elif $ac_last_try; then
82931 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82932 else
82933 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82935 done
82936 rm -f conf$$subs.sh
82938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82939 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82940 _ACEOF
82941 sed -n '
82943 s/^/S["/; s/!.*/"]=/
82946 s/^[^!]*!//
82947 :repl
82948 t repl
82949 s/'"$ac_delim"'$//
82950 t delim
82953 s/\(.\{148\}\).*/\1/
82954 t more1
82955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82958 b repl
82959 :more1
82960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82963 s/.\{148\}//
82964 t nl
82965 :delim
82967 s/\(.\{148\}\).*/\1/
82968 t more2
82969 s/["\\]/\\&/g; s/^/"/; s/$/"/
82972 :more2
82973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82976 s/.\{148\}//
82977 t delim
82978 ' <conf$$subs.awk | sed '
82979 /^[^""]/{
82981 s/\n//
82983 ' >>$CONFIG_STATUS || ac_write_fail=1
82984 rm -f conf$$subs.awk
82985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82986 _ACAWK
82987 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82988 for (key in S) S_is_set[key] = 1
82989 FS = "\a"
82993 line = $ 0
82994 nfields = split(line, field, "@")
82995 substed = 0
82996 len = length(field[1])
82997 for (i = 2; i < nfields; i++) {
82998 key = field[i]
82999 keylen = length(key)
83000 if (S_is_set[key]) {
83001 value = S[key]
83002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83003 len += length(value) + length(field[++i])
83004 substed = 1
83005 } else
83006 len += 1 + keylen
83009 print line
83012 _ACAWK
83013 _ACEOF
83014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83015 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83016 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83017 else
83019 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83020 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83021 _ACEOF
83023 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83024 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83025 # trailing colons and then remove the whole line if VPATH becomes empty
83026 # (actually we leave an empty line to preserve line numbers).
83027 if test "x$srcdir" = x.; then
83028 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83029 s/:*\$(srcdir):*/:/
83030 s/:*\${srcdir}:*/:/
83031 s/:*@srcdir@:*/:/
83032 s/^\([^=]*=[ ]*\):*/\1/
83033 s/:*$//
83034 s/^[^=]*=[ ]*$//
83038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83039 fi # test -n "$CONFIG_FILES"
83041 # Set up the scripts for CONFIG_HEADERS section.
83042 # No need to generate them if there are no CONFIG_HEADERS.
83043 # This happens for instance with `./config.status Makefile'.
83044 if test -n "$CONFIG_HEADERS"; then
83045 cat >"$tmp/defines.awk" <<\_ACAWK ||
83046 BEGIN {
83047 _ACEOF
83049 # Transform confdefs.h into an awk script `defines.awk', embedded as
83050 # here-document in config.status, that substitutes the proper values into
83051 # config.h.in to produce config.h.
83053 # Create a delimiter string that does not exist in confdefs.h, to ease
83054 # handling of long lines.
83055 ac_delim='%!_!# '
83056 for ac_last_try in false false :; do
83057 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83058 if test -z "$ac_t"; then
83059 break
83060 elif $ac_last_try; then
83061 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83062 else
83063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83065 done
83067 # For the awk script, D is an array of macro values keyed by name,
83068 # likewise P contains macro parameters if any. Preserve backslash
83069 # newline sequences.
83071 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83072 sed -n '
83073 s/.\{148\}/&'"$ac_delim"'/g
83074 t rset
83075 :rset
83076 s/^[ ]*#[ ]*define[ ][ ]*/ /
83077 t def
83079 :def
83080 s/\\$//
83081 t bsnl
83082 s/["\\]/\\&/g
83083 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83084 D["\1"]=" \3"/p
83085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83087 :bsnl
83088 s/["\\]/\\&/g
83089 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83090 D["\1"]=" \3\\\\\\n"\\/p
83091 t cont
83092 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83093 t cont
83095 :cont
83097 s/.\{148\}/&'"$ac_delim"'/g
83098 t clear
83099 :clear
83100 s/\\$//
83101 t bsnlc
83102 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83104 :bsnlc
83105 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83106 b cont
83107 ' <confdefs.h | sed '
83108 s/'"$ac_delim"'/"\\\
83109 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83112 for (key in D) D_is_set[key] = 1
83113 FS = "\a"
83115 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83116 line = \$ 0
83117 split(line, arg, " ")
83118 if (arg[1] == "#") {
83119 defundef = arg[2]
83120 mac1 = arg[3]
83121 } else {
83122 defundef = substr(arg[1], 2)
83123 mac1 = arg[2]
83125 split(mac1, mac2, "(") #)
83126 macro = mac2[1]
83127 prefix = substr(line, 1, index(line, defundef) - 1)
83128 if (D_is_set[macro]) {
83129 # Preserve the white space surrounding the "#".
83130 print prefix "define", macro P[macro] D[macro]
83131 next
83132 } else {
83133 # Replace #undef with comments. This is necessary, for example,
83134 # in the case of _POSIX_SOURCE, which is predefined and required
83135 # on some systems where configure will not decide to define it.
83136 if (defundef == "undef") {
83137 print "/*", prefix defundef, macro, "*/"
83138 next
83142 { print }
83143 _ACAWK
83144 _ACEOF
83145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83146 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83147 fi # test -n "$CONFIG_HEADERS"
83150 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83151 shift
83152 for ac_tag
83154 case $ac_tag in
83155 :[FHLC]) ac_mode=$ac_tag; continue;;
83156 esac
83157 case $ac_mode$ac_tag in
83158 :[FHL]*:*);;
83159 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83160 :[FH]-) ac_tag=-:-;;
83161 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83162 esac
83163 ac_save_IFS=$IFS
83164 IFS=:
83165 set x $ac_tag
83166 IFS=$ac_save_IFS
83167 shift
83168 ac_file=$1
83169 shift
83171 case $ac_mode in
83172 :L) ac_source=$1;;
83173 :[FH])
83174 ac_file_inputs=
83175 for ac_f
83177 case $ac_f in
83178 -) ac_f="$tmp/stdin";;
83179 *) # Look for the file first in the build tree, then in the source tree
83180 # (if the path is not absolute). The absolute path cannot be DOS-style,
83181 # because $ac_f cannot contain `:'.
83182 test -f "$ac_f" ||
83183 case $ac_f in
83184 [\\/$]*) false;;
83185 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83186 esac ||
83187 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83188 esac
83189 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83190 as_fn_append ac_file_inputs " '$ac_f'"
83191 done
83193 # Let's still pretend it is `configure' which instantiates (i.e., don't
83194 # use $as_me), people would be surprised to read:
83195 # /* config.h. Generated by config.status. */
83196 configure_input='Generated from '`
83197 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83198 `' by configure.'
83199 if test x"$ac_file" != x-; then
83200 configure_input="$ac_file. $configure_input"
83201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83202 $as_echo "$as_me: creating $ac_file" >&6;}
83204 # Neutralize special characters interpreted by sed in replacement strings.
83205 case $configure_input in #(
83206 *\&* | *\|* | *\\* )
83207 ac_sed_conf_input=`$as_echo "$configure_input" |
83208 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83209 *) ac_sed_conf_input=$configure_input;;
83210 esac
83212 case $ac_tag in
83213 *:-:* | *:-) cat >"$tmp/stdin" \
83214 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83215 esac
83217 esac
83219 ac_dir=`$as_dirname -- "$ac_file" ||
83220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83221 X"$ac_file" : 'X\(//\)[^/]' \| \
83222 X"$ac_file" : 'X\(//\)$' \| \
83223 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83224 $as_echo X"$ac_file" |
83225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83226 s//\1/
83229 /^X\(\/\/\)[^/].*/{
83230 s//\1/
83233 /^X\(\/\/\)$/{
83234 s//\1/
83237 /^X\(\/\).*/{
83238 s//\1/
83241 s/.*/./; q'`
83242 as_dir="$ac_dir"; as_fn_mkdir_p
83243 ac_builddir=.
83245 case "$ac_dir" in
83246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83248 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83249 # A ".." for each directory in $ac_dir_suffix.
83250 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83251 case $ac_top_builddir_sub in
83252 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83253 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83254 esac ;;
83255 esac
83256 ac_abs_top_builddir=$ac_pwd
83257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83258 # for backward compatibility:
83259 ac_top_builddir=$ac_top_build_prefix
83261 case $srcdir in
83262 .) # We are building in place.
83263 ac_srcdir=.
83264 ac_top_srcdir=$ac_top_builddir_sub
83265 ac_abs_top_srcdir=$ac_pwd ;;
83266 [\\/]* | ?:[\\/]* ) # Absolute name.
83267 ac_srcdir=$srcdir$ac_dir_suffix;
83268 ac_top_srcdir=$srcdir
83269 ac_abs_top_srcdir=$srcdir ;;
83270 *) # Relative name.
83271 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83272 ac_top_srcdir=$ac_top_build_prefix$srcdir
83273 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83274 esac
83275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83278 case $ac_mode in
83281 # CONFIG_FILE
83284 case $INSTALL in
83285 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83286 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83287 esac
83288 ac_MKDIR_P=$MKDIR_P
83289 case $MKDIR_P in
83290 [\\/$]* | ?:[\\/]* ) ;;
83291 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83292 esac
83293 _ACEOF
83295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83296 # If the template does not know about datarootdir, expand it.
83297 # FIXME: This hack should be removed a few years after 2.60.
83298 ac_datarootdir_hack=; ac_datarootdir_seen=
83299 ac_sed_dataroot='
83300 /datarootdir/ {
83304 /@datadir@/p
83305 /@docdir@/p
83306 /@infodir@/p
83307 /@localedir@/p
83308 /@mandir@/p'
83309 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83310 *datarootdir*) ac_datarootdir_seen=yes;;
83311 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83313 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83314 _ACEOF
83315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83316 ac_datarootdir_hack='
83317 s&@datadir@&$datadir&g
83318 s&@docdir@&$docdir&g
83319 s&@infodir@&$infodir&g
83320 s&@localedir@&$localedir&g
83321 s&@mandir@&$mandir&g
83322 s&\\\${datarootdir}&$datarootdir&g' ;;
83323 esac
83324 _ACEOF
83326 # Neutralize VPATH when `$srcdir' = `.'.
83327 # Shell code in configure.ac might set extrasub.
83328 # FIXME: do we really want to maintain this feature?
83329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83330 ac_sed_extra="$ac_vpsub
83331 $extrasub
83332 _ACEOF
83333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83336 s|@configure_input@|$ac_sed_conf_input|;t t
83337 s&@top_builddir@&$ac_top_builddir_sub&;t t
83338 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83339 s&@srcdir@&$ac_srcdir&;t t
83340 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83341 s&@top_srcdir@&$ac_top_srcdir&;t t
83342 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83343 s&@builddir@&$ac_builddir&;t t
83344 s&@abs_builddir@&$ac_abs_builddir&;t t
83345 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83346 s&@INSTALL@&$ac_INSTALL&;t t
83347 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83348 $ac_datarootdir_hack
83350 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83351 || as_fn_error "could not create $ac_file" "$LINENO" 5
83353 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83354 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83355 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83357 which seems to be undefined. Please make sure it is defined." >&5
83358 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83359 which seems to be undefined. Please make sure it is defined." >&2;}
83361 rm -f "$tmp/stdin"
83362 case $ac_file in
83363 -) cat "$tmp/out" && rm -f "$tmp/out";;
83364 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83365 esac \
83366 || as_fn_error "could not create $ac_file" "$LINENO" 5
83370 # CONFIG_HEADER
83372 if test x"$ac_file" != x-; then
83374 $as_echo "/* $configure_input */" \
83375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83376 } >"$tmp/config.h" \
83377 || as_fn_error "could not create $ac_file" "$LINENO" 5
83378 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83379 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83380 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83381 else
83382 rm -f "$ac_file"
83383 mv "$tmp/config.h" "$ac_file" \
83384 || as_fn_error "could not create $ac_file" "$LINENO" 5
83386 else
83387 $as_echo "/* $configure_input */" \
83388 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83389 || as_fn_error "could not create -" "$LINENO" 5
83391 # Compute "$ac_file"'s index in $config_headers.
83392 _am_arg="$ac_file"
83393 _am_stamp_count=1
83394 for _am_header in $config_headers :; do
83395 case $_am_header in
83396 $_am_arg | $_am_arg:* )
83397 break ;;
83399 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83400 esac
83401 done
83402 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83403 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83404 X"$_am_arg" : 'X\(//\)[^/]' \| \
83405 X"$_am_arg" : 'X\(//\)$' \| \
83406 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83407 $as_echo X"$_am_arg" |
83408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83409 s//\1/
83412 /^X\(\/\/\)[^/].*/{
83413 s//\1/
83416 /^X\(\/\/\)$/{
83417 s//\1/
83420 /^X\(\/\).*/{
83421 s//\1/
83424 s/.*/./; q'`/stamp-h$_am_stamp_count
83427 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83428 $as_echo "$as_me: executing $ac_file commands" >&6;}
83430 esac
83433 case $ac_file$ac_mode in
83434 "default-1":C)
83435 # Only add multilib support code if we just rebuilt the top-level
83436 # Makefile.
83437 case " $CONFIG_FILES " in
83438 *" Makefile "*)
83439 ac_file=Makefile . ${multi_basedir}/config-ml.in
83441 esac ;;
83442 "libtool":C)
83444 # See if we are running on zsh, and set the options which allow our
83445 # commands through without removal of \ escapes.
83446 if test -n "${ZSH_VERSION+set}" ; then
83447 setopt NO_GLOB_SUBST
83450 cfgfile="${ofile}T"
83451 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83452 $RM "$cfgfile"
83454 cat <<_LT_EOF >> "$cfgfile"
83455 #! $SHELL
83457 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83458 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83459 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83460 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83462 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83463 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83464 # Written by Gordon Matzigkeit, 1996
83466 # This file is part of GNU Libtool.
83468 # GNU Libtool is free software; you can redistribute it and/or
83469 # modify it under the terms of the GNU General Public License as
83470 # published by the Free Software Foundation; either version 2 of
83471 # the License, or (at your option) any later version.
83473 # As a special exception to the GNU General Public License,
83474 # if you distribute this file as part of a program or library that
83475 # is built using GNU Libtool, you may include this file under the
83476 # same distribution terms that you use for the rest of that program.
83478 # GNU Libtool is distributed in the hope that it will be useful,
83479 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83480 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83481 # GNU General Public License for more details.
83483 # You should have received a copy of the GNU General Public License
83484 # along with GNU Libtool; see the file COPYING. If not, a copy
83485 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83486 # obtained by writing to the Free Software Foundation, Inc.,
83487 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83490 # The names of the tagged configurations supported by this script.
83491 available_tags="CXX "
83493 # ### BEGIN LIBTOOL CONFIG
83495 # Which release of libtool.m4 was used?
83496 macro_version=$macro_version
83497 macro_revision=$macro_revision
83499 # Whether or not to build shared libraries.
83500 build_libtool_libs=$enable_shared
83502 # Whether or not to build static libraries.
83503 build_old_libs=$enable_static
83505 # What type of objects to build.
83506 pic_mode=$pic_mode
83508 # Whether or not to optimize for fast installation.
83509 fast_install=$enable_fast_install
83511 # Shell to use when invoking shell scripts.
83512 SHELL=$lt_SHELL
83514 # An echo program that protects backslashes.
83515 ECHO=$lt_ECHO
83517 # The host system.
83518 host_alias=$host_alias
83519 host=$host
83520 host_os=$host_os
83522 # The build system.
83523 build_alias=$build_alias
83524 build=$build
83525 build_os=$build_os
83527 # A sed program that does not truncate output.
83528 SED=$lt_SED
83530 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83531 Xsed="\$SED -e 1s/^X//"
83533 # A grep program that handles long lines.
83534 GREP=$lt_GREP
83536 # An ERE matcher.
83537 EGREP=$lt_EGREP
83539 # A literal string matcher.
83540 FGREP=$lt_FGREP
83542 # A BSD- or MS-compatible name lister.
83543 NM=$lt_NM
83545 # Whether we need soft or hard links.
83546 LN_S=$lt_LN_S
83548 # What is the maximum length of a command?
83549 max_cmd_len=$max_cmd_len
83551 # Object file suffix (normally "o").
83552 objext=$ac_objext
83554 # Executable file suffix (normally "").
83555 exeext=$exeext
83557 # whether the shell understands "unset".
83558 lt_unset=$lt_unset
83560 # turn spaces into newlines.
83561 SP2NL=$lt_lt_SP2NL
83563 # turn newlines into spaces.
83564 NL2SP=$lt_lt_NL2SP
83566 # An object symbol dumper.
83567 OBJDUMP=$lt_OBJDUMP
83569 # Method to check whether dependent libraries are shared objects.
83570 deplibs_check_method=$lt_deplibs_check_method
83572 # Command to use when deplibs_check_method == "file_magic".
83573 file_magic_cmd=$lt_file_magic_cmd
83575 # The archiver.
83576 AR=$lt_AR
83577 AR_FLAGS=$lt_AR_FLAGS
83579 # A symbol stripping program.
83580 STRIP=$lt_STRIP
83582 # Commands used to install an old-style archive.
83583 RANLIB=$lt_RANLIB
83584 old_postinstall_cmds=$lt_old_postinstall_cmds
83585 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83587 # Whether to use a lock for old archive extraction.
83588 lock_old_archive_extraction=$lock_old_archive_extraction
83590 # A C compiler.
83591 LTCC=$lt_CC
83593 # LTCC compiler flags.
83594 LTCFLAGS=$lt_CFLAGS
83596 # Take the output of nm and produce a listing of raw symbols and C names.
83597 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83599 # Transform the output of nm in a proper C declaration.
83600 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83602 # Transform the output of nm in a C name address pair.
83603 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83605 # Transform the output of nm in a C name address pair when lib prefix is needed.
83606 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83608 # The name of the directory that contains temporary libtool files.
83609 objdir=$objdir
83611 # Used to examine libraries when file_magic_cmd begins with "file".
83612 MAGIC_CMD=$MAGIC_CMD
83614 # Must we lock files when doing compilation?
83615 need_locks=$lt_need_locks
83617 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83618 DSYMUTIL=$lt_DSYMUTIL
83620 # Tool to change global to local symbols on Mac OS X.
83621 NMEDIT=$lt_NMEDIT
83623 # Tool to manipulate fat objects and archives on Mac OS X.
83624 LIPO=$lt_LIPO
83626 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83627 OTOOL=$lt_OTOOL
83629 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83630 OTOOL64=$lt_OTOOL64
83632 # Old archive suffix (normally "a").
83633 libext=$libext
83635 # Shared library suffix (normally ".so").
83636 shrext_cmds=$lt_shrext_cmds
83638 # The commands to extract the exported symbol list from a shared archive.
83639 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83641 # Variables whose values should be saved in libtool wrapper scripts and
83642 # restored at link time.
83643 variables_saved_for_relink=$lt_variables_saved_for_relink
83645 # Do we need the "lib" prefix for modules?
83646 need_lib_prefix=$need_lib_prefix
83648 # Do we need a version for libraries?
83649 need_version=$need_version
83651 # Library versioning type.
83652 version_type=$version_type
83654 # Shared library runtime path variable.
83655 runpath_var=$runpath_var
83657 # Shared library path variable.
83658 shlibpath_var=$shlibpath_var
83660 # Is shlibpath searched before the hard-coded library search path?
83661 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83663 # Format of library name prefix.
83664 libname_spec=$lt_libname_spec
83666 # List of archive names. First name is the real one, the rest are links.
83667 # The last name is the one that the linker finds with -lNAME
83668 library_names_spec=$lt_library_names_spec
83670 # The coded name of the library, if different from the real name.
83671 soname_spec=$lt_soname_spec
83673 # Permission mode override for installation of shared libraries.
83674 install_override_mode=$lt_install_override_mode
83676 # Command to use after installation of a shared archive.
83677 postinstall_cmds=$lt_postinstall_cmds
83679 # Command to use after uninstallation of a shared archive.
83680 postuninstall_cmds=$lt_postuninstall_cmds
83682 # Commands used to finish a libtool library installation in a directory.
83683 finish_cmds=$lt_finish_cmds
83685 # As "finish_cmds", except a single script fragment to be evaled but
83686 # not shown.
83687 finish_eval=$lt_finish_eval
83689 # Whether we should hardcode library paths into libraries.
83690 hardcode_into_libs=$hardcode_into_libs
83692 # Compile-time system search path for libraries.
83693 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83695 # Run-time system search path for libraries.
83696 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83698 # Whether dlopen is supported.
83699 dlopen_support=$enable_dlopen
83701 # Whether dlopen of programs is supported.
83702 dlopen_self=$enable_dlopen_self
83704 # Whether dlopen of statically linked programs is supported.
83705 dlopen_self_static=$enable_dlopen_self_static
83707 # Commands to strip libraries.
83708 old_striplib=$lt_old_striplib
83709 striplib=$lt_striplib
83712 # The linker used to build libraries.
83713 LD=$lt_LD
83715 # How to create reloadable object files.
83716 reload_flag=$lt_reload_flag
83717 reload_cmds=$lt_reload_cmds
83719 # Commands used to build an old-style archive.
83720 old_archive_cmds=$lt_old_archive_cmds
83722 # A language specific compiler.
83723 CC=$lt_compiler
83725 # Is the compiler the GNU compiler?
83726 with_gcc=$GCC
83728 # Compiler flag to turn off builtin functions.
83729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83731 # How to pass a linker flag through the compiler.
83732 wl=$lt_lt_prog_compiler_wl
83734 # Additional compiler flags for building library objects.
83735 pic_flag=$lt_lt_prog_compiler_pic
83737 # Compiler flag to prevent dynamic linking.
83738 link_static_flag=$lt_lt_prog_compiler_static
83740 # Does compiler simultaneously support -c and -o options?
83741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83743 # Whether or not to add -lc for building shared libraries.
83744 build_libtool_need_lc=$archive_cmds_need_lc
83746 # Whether or not to disallow shared libs when runtime libs are static.
83747 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83749 # Compiler flag to allow reflexive dlopens.
83750 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83752 # Compiler flag to generate shared objects directly from archives.
83753 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83755 # Whether the compiler copes with passing no objects directly.
83756 compiler_needs_object=$lt_compiler_needs_object
83758 # Create an old-style archive from a shared archive.
83759 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83761 # Create a temporary old-style archive to link instead of a shared archive.
83762 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83764 # Commands used to build a shared archive.
83765 archive_cmds=$lt_archive_cmds
83766 archive_expsym_cmds=$lt_archive_expsym_cmds
83768 # Commands used to build a loadable module if different from building
83769 # a shared archive.
83770 module_cmds=$lt_module_cmds
83771 module_expsym_cmds=$lt_module_expsym_cmds
83773 # Whether we are building with GNU ld or not.
83774 with_gnu_ld=$lt_with_gnu_ld
83776 # Flag that allows shared libraries with undefined symbols to be built.
83777 allow_undefined_flag=$lt_allow_undefined_flag
83779 # Flag that enforces no undefined symbols.
83780 no_undefined_flag=$lt_no_undefined_flag
83782 # Flag to hardcode \$libdir into a binary during linking.
83783 # This must work even if \$libdir does not exist
83784 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83786 # If ld is used when linking, flag to hardcode \$libdir into a binary
83787 # during linking. This must work even if \$libdir does not exist.
83788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83790 # Whether we need a single "-rpath" flag with a separated argument.
83791 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83794 # DIR into the resulting binary.
83795 hardcode_direct=$hardcode_direct
83797 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83798 # DIR into the resulting binary and the resulting library dependency is
83799 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83800 # library is relocated.
83801 hardcode_direct_absolute=$hardcode_direct_absolute
83803 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83804 # into the resulting binary.
83805 hardcode_minus_L=$hardcode_minus_L
83807 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83808 # into the resulting binary.
83809 hardcode_shlibpath_var=$hardcode_shlibpath_var
83811 # Set to "yes" if building a shared library automatically hardcodes DIR
83812 # into the library and all subsequent libraries and executables linked
83813 # against it.
83814 hardcode_automatic=$hardcode_automatic
83816 # Set to yes if linker adds runtime paths of dependent libraries
83817 # to runtime path list.
83818 inherit_rpath=$inherit_rpath
83820 # Whether libtool must link a program against all its dependency libraries.
83821 link_all_deplibs=$link_all_deplibs
83823 # Fix the shell variable \$srcfile for the compiler.
83824 fix_srcfile_path=$lt_fix_srcfile_path
83826 # Set to "yes" if exported symbols are required.
83827 always_export_symbols=$always_export_symbols
83829 # The commands to list exported symbols.
83830 export_symbols_cmds=$lt_export_symbols_cmds
83832 # Symbols that should not be listed in the preloaded symbols.
83833 exclude_expsyms=$lt_exclude_expsyms
83835 # Symbols that must always be exported.
83836 include_expsyms=$lt_include_expsyms
83838 # Commands necessary for linking programs (against libraries) with templates.
83839 prelink_cmds=$lt_prelink_cmds
83841 # Specify filename containing input files.
83842 file_list_spec=$lt_file_list_spec
83844 # How to hardcode a shared library path into an executable.
83845 hardcode_action=$hardcode_action
83847 # The directories searched by this compiler when creating a shared library.
83848 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83850 # Dependencies to place before and after the objects being linked to
83851 # create a shared library.
83852 predep_objects=$lt_predep_objects
83853 postdep_objects=$lt_postdep_objects
83854 predeps=$lt_predeps
83855 postdeps=$lt_postdeps
83857 # The library search path used internally by the compiler when linking
83858 # a shared library.
83859 compiler_lib_search_path=$lt_compiler_lib_search_path
83861 # ### END LIBTOOL CONFIG
83863 _LT_EOF
83865 case $host_os in
83866 aix3*)
83867 cat <<\_LT_EOF >> "$cfgfile"
83868 # AIX sometimes has problems with the GCC collect2 program. For some
83869 # reason, if we set the COLLECT_NAMES environment variable, the problems
83870 # vanish in a puff of smoke.
83871 if test "X${COLLECT_NAMES+set}" != Xset; then
83872 COLLECT_NAMES=
83873 export COLLECT_NAMES
83875 _LT_EOF
83877 esac
83880 ltmain="$ac_aux_dir/ltmain.sh"
83883 # We use sed instead of cat because bash on DJGPP gets confused if
83884 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83885 # text mode, it properly converts lines to CR/LF. This bash problem
83886 # is reportedly fixed, but why not run on old versions too?
83887 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83888 || (rm -f "$cfgfile"; exit 1)
83890 case $xsi_shell in
83891 yes)
83892 cat << \_LT_EOF >> "$cfgfile"
83894 # func_dirname file append nondir_replacement
83895 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83896 # otherwise set result to NONDIR_REPLACEMENT.
83897 func_dirname ()
83899 case ${1} in
83900 */*) func_dirname_result="${1%/*}${2}" ;;
83901 * ) func_dirname_result="${3}" ;;
83902 esac
83905 # func_basename file
83906 func_basename ()
83908 func_basename_result="${1##*/}"
83911 # func_dirname_and_basename file append nondir_replacement
83912 # perform func_basename and func_dirname in a single function
83913 # call:
83914 # dirname: Compute the dirname of FILE. If nonempty,
83915 # add APPEND to the result, otherwise set result
83916 # to NONDIR_REPLACEMENT.
83917 # value returned in "$func_dirname_result"
83918 # basename: Compute filename of FILE.
83919 # value retuned in "$func_basename_result"
83920 # Implementation must be kept synchronized with func_dirname
83921 # and func_basename. For efficiency, we do not delegate to
83922 # those functions but instead duplicate the functionality here.
83923 func_dirname_and_basename ()
83925 case ${1} in
83926 */*) func_dirname_result="${1%/*}${2}" ;;
83927 * ) func_dirname_result="${3}" ;;
83928 esac
83929 func_basename_result="${1##*/}"
83932 # func_stripname prefix suffix name
83933 # strip PREFIX and SUFFIX off of NAME.
83934 # PREFIX and SUFFIX must not contain globbing or regex special
83935 # characters, hashes, percent signs, but SUFFIX may contain a leading
83936 # dot (in which case that matches only a dot).
83937 func_stripname ()
83939 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83940 # positional parameters, so assign one to ordinary parameter first.
83941 func_stripname_result=${3}
83942 func_stripname_result=${func_stripname_result#"${1}"}
83943 func_stripname_result=${func_stripname_result%"${2}"}
83946 # func_opt_split
83947 func_opt_split ()
83949 func_opt_split_opt=${1%%=*}
83950 func_opt_split_arg=${1#*=}
83953 # func_lo2o object
83954 func_lo2o ()
83956 case ${1} in
83957 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83958 *) func_lo2o_result=${1} ;;
83959 esac
83962 # func_xform libobj-or-source
83963 func_xform ()
83965 func_xform_result=${1%.*}.lo
83968 # func_arith arithmetic-term...
83969 func_arith ()
83971 func_arith_result=$(( $* ))
83974 # func_len string
83975 # STRING may not start with a hyphen.
83976 func_len ()
83978 func_len_result=${#1}
83981 _LT_EOF
83983 *) # Bourne compatible functions.
83984 cat << \_LT_EOF >> "$cfgfile"
83986 # func_dirname file append nondir_replacement
83987 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83988 # otherwise set result to NONDIR_REPLACEMENT.
83989 func_dirname ()
83991 # Extract subdirectory from the argument.
83992 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83993 if test "X$func_dirname_result" = "X${1}"; then
83994 func_dirname_result="${3}"
83995 else
83996 func_dirname_result="$func_dirname_result${2}"
84000 # func_basename file
84001 func_basename ()
84003 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84007 # func_stripname prefix suffix name
84008 # strip PREFIX and SUFFIX off of NAME.
84009 # PREFIX and SUFFIX must not contain globbing or regex special
84010 # characters, hashes, percent signs, but SUFFIX may contain a leading
84011 # dot (in which case that matches only a dot).
84012 # func_strip_suffix prefix name
84013 func_stripname ()
84015 case ${2} in
84016 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84017 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84018 esac
84021 # sed scripts:
84022 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84023 my_sed_long_arg='1s/^-[^=]*=//'
84025 # func_opt_split
84026 func_opt_split ()
84028 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84029 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84032 # func_lo2o object
84033 func_lo2o ()
84035 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84038 # func_xform libobj-or-source
84039 func_xform ()
84041 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84044 # func_arith arithmetic-term...
84045 func_arith ()
84047 func_arith_result=`expr "$@"`
84050 # func_len string
84051 # STRING may not start with a hyphen.
84052 func_len ()
84054 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84057 _LT_EOF
84058 esac
84060 case $lt_shell_append in
84061 yes)
84062 cat << \_LT_EOF >> "$cfgfile"
84064 # func_append var value
84065 # Append VALUE to the end of shell variable VAR.
84066 func_append ()
84068 eval "$1+=\$2"
84070 _LT_EOF
84073 cat << \_LT_EOF >> "$cfgfile"
84075 # func_append var value
84076 # Append VALUE to the end of shell variable VAR.
84077 func_append ()
84079 eval "$1=\$$1\$2"
84082 _LT_EOF
84084 esac
84087 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84088 || (rm -f "$cfgfile"; exit 1)
84090 mv -f "$cfgfile" "$ofile" ||
84091 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84092 chmod +x "$ofile"
84095 cat <<_LT_EOF >> "$ofile"
84097 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84099 # The linker used to build libraries.
84100 LD=$lt_LD_CXX
84102 # How to create reloadable object files.
84103 reload_flag=$lt_reload_flag_CXX
84104 reload_cmds=$lt_reload_cmds_CXX
84106 # Commands used to build an old-style archive.
84107 old_archive_cmds=$lt_old_archive_cmds_CXX
84109 # A language specific compiler.
84110 CC=$lt_compiler_CXX
84112 # Is the compiler the GNU compiler?
84113 with_gcc=$GCC_CXX
84115 # Compiler flag to turn off builtin functions.
84116 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84118 # How to pass a linker flag through the compiler.
84119 wl=$lt_lt_prog_compiler_wl_CXX
84121 # Additional compiler flags for building library objects.
84122 pic_flag=$lt_lt_prog_compiler_pic_CXX
84124 # Compiler flag to prevent dynamic linking.
84125 link_static_flag=$lt_lt_prog_compiler_static_CXX
84127 # Does compiler simultaneously support -c and -o options?
84128 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84130 # Whether or not to add -lc for building shared libraries.
84131 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84133 # Whether or not to disallow shared libs when runtime libs are static.
84134 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84136 # Compiler flag to allow reflexive dlopens.
84137 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84139 # Compiler flag to generate shared objects directly from archives.
84140 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84142 # Whether the compiler copes with passing no objects directly.
84143 compiler_needs_object=$lt_compiler_needs_object_CXX
84145 # Create an old-style archive from a shared archive.
84146 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84148 # Create a temporary old-style archive to link instead of a shared archive.
84149 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84151 # Commands used to build a shared archive.
84152 archive_cmds=$lt_archive_cmds_CXX
84153 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84155 # Commands used to build a loadable module if different from building
84156 # a shared archive.
84157 module_cmds=$lt_module_cmds_CXX
84158 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84160 # Whether we are building with GNU ld or not.
84161 with_gnu_ld=$lt_with_gnu_ld_CXX
84163 # Flag that allows shared libraries with undefined symbols to be built.
84164 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84166 # Flag that enforces no undefined symbols.
84167 no_undefined_flag=$lt_no_undefined_flag_CXX
84169 # Flag to hardcode \$libdir into a binary during linking.
84170 # This must work even if \$libdir does not exist
84171 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84173 # If ld is used when linking, flag to hardcode \$libdir into a binary
84174 # during linking. This must work even if \$libdir does not exist.
84175 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84177 # Whether we need a single "-rpath" flag with a separated argument.
84178 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84180 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84181 # DIR into the resulting binary.
84182 hardcode_direct=$hardcode_direct_CXX
84184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84185 # DIR into the resulting binary and the resulting library dependency is
84186 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84187 # library is relocated.
84188 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84190 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84191 # into the resulting binary.
84192 hardcode_minus_L=$hardcode_minus_L_CXX
84194 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84195 # into the resulting binary.
84196 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84198 # Set to "yes" if building a shared library automatically hardcodes DIR
84199 # into the library and all subsequent libraries and executables linked
84200 # against it.
84201 hardcode_automatic=$hardcode_automatic_CXX
84203 # Set to yes if linker adds runtime paths of dependent libraries
84204 # to runtime path list.
84205 inherit_rpath=$inherit_rpath_CXX
84207 # Whether libtool must link a program against all its dependency libraries.
84208 link_all_deplibs=$link_all_deplibs_CXX
84210 # Fix the shell variable \$srcfile for the compiler.
84211 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84213 # Set to "yes" if exported symbols are required.
84214 always_export_symbols=$always_export_symbols_CXX
84216 # The commands to list exported symbols.
84217 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84219 # Symbols that should not be listed in the preloaded symbols.
84220 exclude_expsyms=$lt_exclude_expsyms_CXX
84222 # Symbols that must always be exported.
84223 include_expsyms=$lt_include_expsyms_CXX
84225 # Commands necessary for linking programs (against libraries) with templates.
84226 prelink_cmds=$lt_prelink_cmds_CXX
84228 # Specify filename containing input files.
84229 file_list_spec=$lt_file_list_spec_CXX
84231 # How to hardcode a shared library path into an executable.
84232 hardcode_action=$hardcode_action_CXX
84234 # The directories searched by this compiler when creating a shared library.
84235 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84237 # Dependencies to place before and after the objects being linked to
84238 # create a shared library.
84239 predep_objects=$lt_predep_objects_CXX
84240 postdep_objects=$lt_postdep_objects_CXX
84241 predeps=$lt_predeps_CXX
84242 postdeps=$lt_postdeps_CXX
84244 # The library search path used internally by the compiler when linking
84245 # a shared library.
84246 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84248 # ### END LIBTOOL TAG CONFIG: CXX
84249 _LT_EOF
84252 "include/gstdint.h":C)
84253 if test "$GCC" = yes; then
84254 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84255 else
84256 echo "/* generated for $CC */" > tmp-stdint.h
84259 sed 's/^ *//' >> tmp-stdint.h <<EOF
84261 #ifndef GCC_GENERATED_STDINT_H
84262 #define GCC_GENERATED_STDINT_H 1
84264 #include <sys/types.h>
84267 if test "$acx_cv_header_stdint" != stdint.h; then
84268 echo "#include <stddef.h>" >> tmp-stdint.h
84270 if test "$acx_cv_header_stdint" != stddef.h; then
84271 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84274 sed 's/^ *//' >> tmp-stdint.h <<EOF
84275 /* glibc uses these symbols as guards to prevent redefinitions. */
84276 #ifdef __int8_t_defined
84277 #define _INT8_T
84278 #define _INT16_T
84279 #define _INT32_T
84280 #endif
84281 #ifdef __uint32_t_defined
84282 #define _UINT32_T
84283 #endif
84287 # ----------------- done header, emit basic int types -------------
84288 if test "$acx_cv_header_stdint" = stddef.h; then
84289 sed 's/^ *//' >> tmp-stdint.h <<EOF
84291 #ifndef _UINT8_T
84292 #define _UINT8_T
84293 #ifndef __uint8_t_defined
84294 #define __uint8_t_defined
84295 #ifndef uint8_t
84296 typedef unsigned $acx_cv_type_int8_t uint8_t;
84297 #endif
84298 #endif
84299 #endif
84301 #ifndef _UINT16_T
84302 #define _UINT16_T
84303 #ifndef __uint16_t_defined
84304 #define __uint16_t_defined
84305 #ifndef uint16_t
84306 typedef unsigned $acx_cv_type_int16_t uint16_t;
84307 #endif
84308 #endif
84309 #endif
84311 #ifndef _UINT32_T
84312 #define _UINT32_T
84313 #ifndef __uint32_t_defined
84314 #define __uint32_t_defined
84315 #ifndef uint32_t
84316 typedef unsigned $acx_cv_type_int32_t uint32_t;
84317 #endif
84318 #endif
84319 #endif
84321 #ifndef _INT8_T
84322 #define _INT8_T
84323 #ifndef __int8_t_defined
84324 #define __int8_t_defined
84325 #ifndef int8_t
84326 typedef $acx_cv_type_int8_t int8_t;
84327 #endif
84328 #endif
84329 #endif
84331 #ifndef _INT16_T
84332 #define _INT16_T
84333 #ifndef __int16_t_defined
84334 #define __int16_t_defined
84335 #ifndef int16_t
84336 typedef $acx_cv_type_int16_t int16_t;
84337 #endif
84338 #endif
84339 #endif
84341 #ifndef _INT32_T
84342 #define _INT32_T
84343 #ifndef __int32_t_defined
84344 #define __int32_t_defined
84345 #ifndef int32_t
84346 typedef $acx_cv_type_int32_t int32_t;
84347 #endif
84348 #endif
84349 #endif
84351 elif test "$ac_cv_type_u_int32_t" = yes; then
84352 sed 's/^ *//' >> tmp-stdint.h <<EOF
84354 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84355 #ifndef _INT8_T
84356 #define _INT8_T
84357 #endif
84358 #ifndef _INT16_T
84359 #define _INT16_T
84360 #endif
84361 #ifndef _INT32_T
84362 #define _INT32_T
84363 #endif
84365 #ifndef _UINT8_T
84366 #define _UINT8_T
84367 #ifndef __uint8_t_defined
84368 #define __uint8_t_defined
84369 #ifndef uint8_t
84370 typedef u_int8_t uint8_t;
84371 #endif
84372 #endif
84373 #endif
84375 #ifndef _UINT16_T
84376 #define _UINT16_T
84377 #ifndef __uint16_t_defined
84378 #define __uint16_t_defined
84379 #ifndef uint16_t
84380 typedef u_int16_t uint16_t;
84381 #endif
84382 #endif
84383 #endif
84385 #ifndef _UINT32_T
84386 #define _UINT32_T
84387 #ifndef __uint32_t_defined
84388 #define __uint32_t_defined
84389 #ifndef uint32_t
84390 typedef u_int32_t uint32_t;
84391 #endif
84392 #endif
84393 #endif
84395 else
84396 sed 's/^ *//' >> tmp-stdint.h <<EOF
84398 /* Some systems have guard macros to prevent redefinitions, define them. */
84399 #ifndef _INT8_T
84400 #define _INT8_T
84401 #endif
84402 #ifndef _INT16_T
84403 #define _INT16_T
84404 #endif
84405 #ifndef _INT32_T
84406 #define _INT32_T
84407 #endif
84408 #ifndef _UINT8_T
84409 #define _UINT8_T
84410 #endif
84411 #ifndef _UINT16_T
84412 #define _UINT16_T
84413 #endif
84414 #ifndef _UINT32_T
84415 #define _UINT32_T
84416 #endif
84420 # ------------- done basic int types, emit int64_t types ------------
84421 if test "$ac_cv_type_uint64_t" = yes; then
84422 sed 's/^ *//' >> tmp-stdint.h <<EOF
84424 /* system headers have good uint64_t and int64_t */
84425 #ifndef _INT64_T
84426 #define _INT64_T
84427 #endif
84428 #ifndef _UINT64_T
84429 #define _UINT64_T
84430 #endif
84432 elif test "$ac_cv_type_u_int64_t" = yes; then
84433 sed 's/^ *//' >> tmp-stdint.h <<EOF
84435 /* system headers have an u_int64_t (and int64_t) */
84436 #ifndef _INT64_T
84437 #define _INT64_T
84438 #endif
84439 #ifndef _UINT64_T
84440 #define _UINT64_T
84441 #ifndef __uint64_t_defined
84442 #define __uint64_t_defined
84443 #ifndef uint64_t
84444 typedef u_int64_t uint64_t;
84445 #endif
84446 #endif
84447 #endif
84449 elif test -n "$acx_cv_type_int64_t"; then
84450 sed 's/^ *//' >> tmp-stdint.h <<EOF
84452 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84453 #ifndef _INT64_T
84454 #define _INT64_T
84455 #ifndef int64_t
84456 typedef $acx_cv_type_int64_t int64_t;
84457 #endif
84458 #endif
84459 #ifndef _UINT64_T
84460 #define _UINT64_T
84461 #ifndef __uint64_t_defined
84462 #define __uint64_t_defined
84463 #ifndef uint64_t
84464 typedef unsigned $acx_cv_type_int64_t uint64_t;
84465 #endif
84466 #endif
84467 #endif
84469 else
84470 sed 's/^ *//' >> tmp-stdint.h <<EOF
84472 /* some common heuristics for int64_t, using compiler-specific tests */
84473 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84474 #ifndef _INT64_T
84475 #define _INT64_T
84476 #ifndef __int64_t_defined
84477 #ifndef int64_t
84478 typedef long long int64_t;
84479 #endif
84480 #endif
84481 #endif
84482 #ifndef _UINT64_T
84483 #define _UINT64_T
84484 #ifndef uint64_t
84485 typedef unsigned long long uint64_t;
84486 #endif
84487 #endif
84489 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84490 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84491 does not implement __extension__. But that compiler doesn't define
84492 __GNUC_MINOR__. */
84493 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84494 # define __extension__
84495 # endif
84497 # ifndef _INT64_T
84498 # define _INT64_T
84499 # ifndef int64_t
84500 __extension__ typedef long long int64_t;
84501 # endif
84502 # endif
84503 # ifndef _UINT64_T
84504 # define _UINT64_T
84505 # ifndef uint64_t
84506 __extension__ typedef unsigned long long uint64_t;
84507 # endif
84508 # endif
84510 #elif !defined __STRICT_ANSI__
84511 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84513 # ifndef _INT64_T
84514 # define _INT64_T
84515 # ifndef int64_t
84516 typedef __int64 int64_t;
84517 # endif
84518 # endif
84519 # ifndef _UINT64_T
84520 # define _UINT64_T
84521 # ifndef uint64_t
84522 typedef unsigned __int64 uint64_t;
84523 # endif
84524 # endif
84525 # endif /* compiler */
84527 #endif /* ANSI version */
84531 # ------------- done int64_t types, emit intptr types ------------
84532 if test "$ac_cv_type_uintptr_t" != yes; then
84533 sed 's/^ *//' >> tmp-stdint.h <<EOF
84535 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84536 #ifndef __uintptr_t_defined
84537 #ifndef uintptr_t
84538 typedef u$acx_cv_type_intptr_t uintptr_t;
84539 #endif
84540 #endif
84541 #ifndef __intptr_t_defined
84542 #ifndef intptr_t
84543 typedef $acx_cv_type_intptr_t intptr_t;
84544 #endif
84545 #endif
84549 # ------------- done intptr types, emit int_least types ------------
84550 if test "$ac_cv_type_int_least32_t" != yes; then
84551 sed 's/^ *//' >> tmp-stdint.h <<EOF
84553 /* Define int_least types */
84554 typedef int8_t int_least8_t;
84555 typedef int16_t int_least16_t;
84556 typedef int32_t int_least32_t;
84557 #ifdef _INT64_T
84558 typedef int64_t int_least64_t;
84559 #endif
84561 typedef uint8_t uint_least8_t;
84562 typedef uint16_t uint_least16_t;
84563 typedef uint32_t uint_least32_t;
84564 #ifdef _UINT64_T
84565 typedef uint64_t uint_least64_t;
84566 #endif
84570 # ------------- done intptr types, emit int_fast types ------------
84571 if test "$ac_cv_type_int_fast32_t" != yes; then
84572 sed 's/^ *//' >> tmp-stdint.h <<EOF
84574 /* Define int_fast types. short is often slow */
84575 typedef int8_t int_fast8_t;
84576 typedef int int_fast16_t;
84577 typedef int32_t int_fast32_t;
84578 #ifdef _INT64_T
84579 typedef int64_t int_fast64_t;
84580 #endif
84582 typedef uint8_t uint_fast8_t;
84583 typedef unsigned int uint_fast16_t;
84584 typedef uint32_t uint_fast32_t;
84585 #ifdef _UINT64_T
84586 typedef uint64_t uint_fast64_t;
84587 #endif
84591 if test "$ac_cv_type_uintmax_t" != yes; then
84592 sed 's/^ *//' >> tmp-stdint.h <<EOF
84594 /* Define intmax based on what we found */
84595 #ifndef intmax_t
84596 #ifdef _INT64_T
84597 typedef int64_t intmax_t;
84598 #else
84599 typedef long intmax_t;
84600 #endif
84601 #endif
84602 #ifndef uintmax_t
84603 #ifdef _UINT64_T
84604 typedef uint64_t uintmax_t;
84605 #else
84606 typedef unsigned long uintmax_t;
84607 #endif
84608 #endif
84612 sed 's/^ *//' >> tmp-stdint.h <<EOF
84614 #endif /* GCC_GENERATED_STDINT_H */
84617 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84618 rm -f tmp-stdint.h
84619 else
84620 mv -f tmp-stdint.h include/gstdint.h
84624 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84625 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84626 "include/Makefile":F) cat > vpsed$$ << \_EOF
84627 s!`test -f '$<' || echo '$(srcdir)/'`!!
84628 _EOF
84629 sed -f vpsed$$ $ac_file > tmp$$
84630 mv tmp$$ $ac_file
84631 rm vpsed$$
84632 echo 'MULTISUBDIR =' >> $ac_file
84633 ml_norecursion=yes
84634 . ${multi_basedir}/config-ml.in
84635 { ml_norecursion=; unset ml_norecursion;}
84637 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84638 s!`test -f '$<' || echo '$(srcdir)/'`!!
84639 _EOF
84640 sed -f vpsed$$ $ac_file > tmp$$
84641 mv tmp$$ $ac_file
84642 rm vpsed$$
84643 echo 'MULTISUBDIR =' >> $ac_file
84644 ml_norecursion=yes
84645 . ${multi_basedir}/config-ml.in
84646 { ml_norecursion=; unset ml_norecursion;}
84648 "src/Makefile":F) cat > vpsed$$ << \_EOF
84649 s!`test -f '$<' || echo '$(srcdir)/'`!!
84650 _EOF
84651 sed -f vpsed$$ $ac_file > tmp$$
84652 mv tmp$$ $ac_file
84653 rm vpsed$$
84654 echo 'MULTISUBDIR =' >> $ac_file
84655 ml_norecursion=yes
84656 . ${multi_basedir}/config-ml.in
84657 { ml_norecursion=; unset ml_norecursion;}
84659 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84660 s!`test -f '$<' || echo '$(srcdir)/'`!!
84661 _EOF
84662 sed -f vpsed$$ $ac_file > tmp$$
84663 mv tmp$$ $ac_file
84664 rm vpsed$$
84665 echo 'MULTISUBDIR =' >> $ac_file
84666 ml_norecursion=yes
84667 . ${multi_basedir}/config-ml.in
84668 { ml_norecursion=; unset ml_norecursion;}
84670 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84671 s!`test -f '$<' || echo '$(srcdir)/'`!!
84672 _EOF
84673 sed -f vpsed$$ $ac_file > tmp$$
84674 mv tmp$$ $ac_file
84675 rm vpsed$$
84676 echo 'MULTISUBDIR =' >> $ac_file
84677 ml_norecursion=yes
84678 . ${multi_basedir}/config-ml.in
84679 { ml_norecursion=; unset ml_norecursion;}
84681 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84682 s!`test -f '$<' || echo '$(srcdir)/'`!!
84683 _EOF
84684 sed -f vpsed$$ $ac_file > tmp$$
84685 mv tmp$$ $ac_file
84686 rm vpsed$$
84687 echo 'MULTISUBDIR =' >> $ac_file
84688 ml_norecursion=yes
84689 . ${multi_basedir}/config-ml.in
84690 { ml_norecursion=; unset ml_norecursion;}
84692 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84693 s!`test -f '$<' || echo '$(srcdir)/'`!!
84694 _EOF
84695 sed -f vpsed$$ $ac_file > tmp$$
84696 mv tmp$$ $ac_file
84697 rm vpsed$$
84698 echo 'MULTISUBDIR =' >> $ac_file
84699 ml_norecursion=yes
84700 . ${multi_basedir}/config-ml.in
84701 { ml_norecursion=; unset ml_norecursion;}
84703 "po/Makefile":F) cat > vpsed$$ << \_EOF
84704 s!`test -f '$<' || echo '$(srcdir)/'`!!
84705 _EOF
84706 sed -f vpsed$$ $ac_file > tmp$$
84707 mv tmp$$ $ac_file
84708 rm vpsed$$
84709 echo 'MULTISUBDIR =' >> $ac_file
84710 ml_norecursion=yes
84711 . ${multi_basedir}/config-ml.in
84712 { ml_norecursion=; unset ml_norecursion;}
84714 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84715 s!`test -f '$<' || echo '$(srcdir)/'`!!
84716 _EOF
84717 sed -f vpsed$$ $ac_file > tmp$$
84718 mv tmp$$ $ac_file
84719 rm vpsed$$
84720 echo 'MULTISUBDIR =' >> $ac_file
84721 ml_norecursion=yes
84722 . ${multi_basedir}/config-ml.in
84723 { ml_norecursion=; unset ml_norecursion;}
84725 "python/Makefile":F) cat > vpsed$$ << \_EOF
84726 s!`test -f '$<' || echo '$(srcdir)/'`!!
84727 _EOF
84728 sed -f vpsed$$ $ac_file > tmp$$
84729 mv tmp$$ $ac_file
84730 rm vpsed$$
84731 echo 'MULTISUBDIR =' >> $ac_file
84732 ml_norecursion=yes
84733 . ${multi_basedir}/config-ml.in
84734 { ml_norecursion=; unset ml_norecursion;}
84736 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84738 esac
84739 done # for ac_tag
84742 as_fn_exit 0
84743 _ACEOF
84744 ac_clean_files=$ac_clean_files_save
84746 test $ac_write_fail = 0 ||
84747 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84750 # configure is writing to config.log, and then calls config.status.
84751 # config.status does its own redirection, appending to config.log.
84752 # Unfortunately, on DOS this fails, as config.log is still kept open
84753 # by configure, so config.status won't be able to write to it; its
84754 # output is simply discarded. So we exec the FD to /dev/null,
84755 # effectively closing config.log, so it can be properly (re)opened and
84756 # appended to by config.status. When coming back to configure, we
84757 # need to make the FD available again.
84758 if test "$no_create" != yes; then
84759 ac_cs_success=:
84760 ac_config_status_args=
84761 test "$silent" = yes &&
84762 ac_config_status_args="$ac_config_status_args --quiet"
84763 exec 5>/dev/null
84764 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84765 exec 5>>config.log
84766 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84767 # would make configure fail if this is the last instruction.
84768 $ac_cs_success || as_fn_exit $?
84770 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84772 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}